diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 3bff9225..6f86aab9 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -9,7 +9,7 @@ RUN yum -y install git RUN yum -y install python3 -RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.83.0 +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.88.0 ENV PATH="/root/.cargo/bin:${PATH}" diff --git a/.github/workflows/c-test.yaml b/.github/workflows/c-test.yaml index c0e43e72..6d28feef 100644 --- a/.github/workflows/c-test.yaml +++ b/.github/workflows/c-test.yaml @@ -36,7 +36,7 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: 1.83 + toolchain: 1.88 override: true components: clippy, rustfmt - name: Build diff --git a/.github/workflows/cpp-test.yaml b/.github/workflows/cpp-test.yaml index e7868f1b..fe2d291f 100644 --- a/.github/workflows/cpp-test.yaml +++ b/.github/workflows/cpp-test.yaml @@ -41,7 +41,7 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: 1.81 + toolchain: 1.88 override: true components: clippy, rustfmt - name: Build diff --git a/.github/workflows/dotnet-test.yaml b/.github/workflows/dotnet-test.yaml index a7f7f660..7e9d8661 100644 --- a/.github/workflows/dotnet-test.yaml +++ b/.github/workflows/dotnet-test.yaml @@ -69,7 +69,7 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: 1.83 + toolchain: 1.88 override: true components: clippy, rustfmt - name: Setup linux-aarch_64 rust target @@ -124,7 +124,7 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: 1.83 + toolchain: 1.88 override: true components: clippy, rustfmt @@ -176,4 +176,4 @@ jobs: if: "startsWith(github.ref, 'refs/tags/')" run: | cd dotnet/KclLib/bin/Release - dotnet nuget push KclLib.0.11.2.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json + dotnet nuget push KclLib.0.12.0.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json diff --git a/.github/workflows/java-test.yaml b/.github/workflows/java-test.yaml index 2e5af350..e0eaa7c5 100644 --- a/.github/workflows/java-test.yaml +++ b/.github/workflows/java-test.yaml @@ -60,7 +60,7 @@ jobs: - name: Install rust nightly toolchain uses: actions-rs/toolchain@v1 with: - toolchain: 1.83 + toolchain: 1.88 override: true components: clippy, rustfmt diff --git a/.github/workflows/kotlin-test.yaml b/.github/workflows/kotlin-test.yaml index bbd82f8e..49a75080 100644 --- a/.github/workflows/kotlin-test.yaml +++ b/.github/workflows/kotlin-test.yaml @@ -60,7 +60,7 @@ jobs: - name: Install rust nightly toolchain uses: actions-rs/toolchain@v1 with: - toolchain: 1.83 + toolchain: 1.88 override: true components: clippy, rustfmt diff --git a/.github/workflows/lua-test.yaml b/.github/workflows/lua-test.yaml index 92792227..4ecfbc32 100644 --- a/.github/workflows/lua-test.yaml +++ b/.github/workflows/lua-test.yaml @@ -37,7 +37,7 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: 1.83 + toolchain: 1.88 override: true components: clippy, rustfmt - name: Build diff --git a/.github/workflows/nodejs-test.yaml b/.github/workflows/nodejs-test.yaml index a036e1ad..2d77e06c 100644 --- a/.github/workflows/nodejs-test.yaml +++ b/.github/workflows/nodejs-test.yaml @@ -32,23 +32,21 @@ jobs: - name: Install rust toolchain uses: actions-rs/toolchain@v1 with: - toolchain: 1.81 + toolchain: 1.88 override: true components: clippy, rustfmt - uses: pnpm/action-setup@v4 with: - version: 8 + version: 10 - name: Setup node uses: actions/setup-node@v6 with: - node-version: '18' - cache: pnpm - cache-dependency-path: "nodejs/pnpm-lock.yaml" + node-version: '22' - name: Install dependencies - run: pnpm install --no-save --frozen-lockfile + run: pnpm i - name: Check format run: pnpm exec prettier --check . @@ -74,7 +72,13 @@ jobs: -e NAPI_TARGET=x86_64-unknown-linux-gnu \ -w /build/nodejs \ ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian \ - bash -c "corepack prepare pnpm@9.15.4 --activate && pnpm build" + bash -c "corepack prepare pnpm@9.15.4 --activate && + rustup update 1.88 && + rustup default 1.88 && + cargo --version && + cargo clean && + cargo update && + pnpm build" cd nodejs # change owner to current user sudo chown -R 1001:121 *.node @@ -86,8 +90,13 @@ jobs: -w /build/nodejs \ ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64 \ bash -c "set -e && + rustup update 1.88 && + rustup default 1.88 && rustup target add aarch64-unknown-linux-gnu && corepack prepare pnpm@9.15.4 --activate && + cargo --version && + cargo clean && + cargo update && pnpm build --target aarch64-unknown-linux-gnu && aarch64-unknown-linux-gnu-strip *.node" cd nodejs @@ -105,15 +114,14 @@ jobs: - uses: actions/checkout@v5 - uses: pnpm/action-setup@v4 with: - version: 8 + version: 10 - name: Setup node uses: actions/setup-node@v6 with: - node-version: '18' - cache: pnpm - cache-dependency-path: "nodejs/pnpm-lock.yaml" + node-version: '22' + - name: Install dependencies - run: pnpm install --no-save --frozen-lockfile + run: pnpm i - name: Build shell: bash working-directory: . @@ -146,15 +154,14 @@ jobs: - uses: actions/checkout@v5 - uses: pnpm/action-setup@v4 with: - version: 8 + version: 10 - name: Setup node uses: actions/setup-node@v6 with: - node-version: '18' - cache: pnpm - cache-dependency-path: "nodejs/pnpm-lock.yaml" + node-version: '22' + - name: Install dependencies - run: pnpm install --no-save --frozen-lockfile + run: pnpm i - name: Build shell: bash run: ${{ matrix.settings.build }} @@ -196,15 +203,14 @@ jobs: - uses: actions/checkout@v5 - uses: pnpm/action-setup@v4 with: - version: 8 + version: 10 - name: Setup node uses: actions/setup-node@v6 with: - node-version: '18' - cache: pnpm - cache-dependency-path: "nodejs/pnpm-lock.yaml" + node-version: '22' + - name: Install dependencies - run: pnpm install --no-save --frozen-lockfile + run: pnpm i - name: Build run: ${{ matrix.settings.build }} shell: bash @@ -229,16 +235,14 @@ jobs: - uses: actions/checkout@v5 - uses: pnpm/action-setup@v4 with: - version: 8 + version: 10 - name: Setup node uses: actions/setup-node@v6 with: - node-version: "18" - cache: pnpm - cache-dependency-path: "nodejs/pnpm-lock.yaml" + node-version: "22" - name: Install dependencies - run: pnpm install --no-save --frozen-lockfile + run: pnpm i - name: Download all artifacts uses: actions/download-artifact@v6 diff --git a/.github/workflows/rust-test.yaml b/.github/workflows/rust-test.yaml index 7fc431a7..ecaabbe3 100644 --- a/.github/workflows/rust-test.yaml +++ b/.github/workflows/rust-test.yaml @@ -31,7 +31,7 @@ jobs: - name: Install rust nightly toolchain uses: actions-rs/toolchain@v1 with: - toolchain: 1.83 + toolchain: 1.88 override: true components: clippy, rustfmt - name: Rust code test diff --git a/.github/workflows/swift-test.yaml b/.github/workflows/swift-test.yaml index bc83d2c2..58e84484 100644 --- a/.github/workflows/swift-test.yaml +++ b/.github/workflows/swift-test.yaml @@ -43,12 +43,12 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: 1.83 + toolchain: 1.88 override: true components: clippy, rustfmt - name: Setup Swift toolchain uses: swift-actions/setup-swift@v2 with: - swift-version: 5 + swift-version: 6 - name: Build and run tests run: make test diff --git a/.github/workflows/wasm-test.yaml b/.github/workflows/wasm-test.yaml index c90af5c3..5ecf59fd 100644 --- a/.github/workflows/wasm-test.yaml +++ b/.github/workflows/wasm-test.yaml @@ -35,7 +35,7 @@ jobs: - name: Setup Rust uses: actions-rs/toolchain@v1 with: - toolchain: 1.81 + toolchain: 1.88 override: true components: clippy, rustfmt - name: Setup Go diff --git a/.gitignore b/.gitignore index b010176b..628fbd14 100644 --- a/.gitignore +++ b/.gitignore @@ -13,11 +13,7 @@ zz_* /_build* *.dylib *.lock -.kclvm -# KCL cache and temp output -.kclvm -.kclvm_cov *.dylib *.so *.dll diff --git a/Cargo.lock b/Cargo.lock index 2e296166..66080517 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,24 +4,24 @@ version = 4 [[package]] name = "addr2line" -version = "0.24.2" +version = "0.25.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" +checksum = "1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b" dependencies = [ "gimli", ] [[package]] name = "adler2" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" +checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" [[package]] name = "aho-corasick" -version = "1.1.3" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" +checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" dependencies = [ "memchr", ] @@ -35,12 +35,6 @@ dependencies = [ "log", ] -[[package]] -name = "android-tzdata" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" - [[package]] name = "android_system_properties" version = "0.1.5" @@ -62,9 +56,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.18" +version = "0.6.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b" +checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a" dependencies = [ "anstyle", "anstyle-parse", @@ -77,36 +71,37 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.10" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" +checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" [[package]] name = "anstyle-parse" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9" +checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.1.2" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c" +checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "anstyle-wincon" -version = "3.0.6" +version = "3.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2109dbce0e72be3ec00bed26e6a7479ca384ad226efdd66db8fa2e3a38c83125" +checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" dependencies = [ "anstyle", - "windows-sys 0.59.0", + "once_cell_polyfill", + "windows-sys 0.61.2", ] [[package]] @@ -149,36 +144,36 @@ checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + [[package]] name = "autocfg" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" +checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] name = "backtrace" -version = "0.3.74" +version = "0.3.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" +checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6" dependencies = [ "addr2line", - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", "miniz_oxide", "object", "rustc-demangle", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] -[[package]] -name = "base-x" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cbbc9d0964165b47557570cce6c952866c2678457aca742aafc9fb771d30270" - [[package]] name = "base32" version = "0.4.0" @@ -220,9 +215,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.6.0" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" +checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" [[package]] name = "bitmaps" @@ -235,14 +230,14 @@ dependencies = [ [[package]] name = "blake3" -version = "1.5.5" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8ee0c1824c4dea5b5f81736aff91bae041d2c07ee1192bec91054e10e3e601e" +checksum = "3888aaa89e4b2a40fca9848e400f6a658a5a3978de7be858e209cafa8be9a4a0" dependencies = [ "arrayref", "arrayvec", "cc", - "cfg-if 1.0.0", + "cfg-if 1.0.4", "constant_time_eq", ] @@ -298,9 +293,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.16.0" +version = "3.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" +checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" [[package]] name = "byte-tools" @@ -316,16 +311,17 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.9.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" +checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3" [[package]] name = "cc" -version = "1.2.4" +version = "1.2.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9157bbaa6b165880c27a4293a474c91cdcf265cc68cc829bf10be0964a391caf" +checksum = "cd405d82c84ff7f35739f175f67d8b9fb7687a0e84ccdc78bd3568839827cf07" dependencies = [ + "find-msvc-tools", "shlex", ] @@ -337,9 +333,9 @@ checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" [[package]] name = "cfg-if" -version = "1.0.0" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "cfg_aliases" @@ -349,17 +345,16 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" [[package]] name = "chrono" -version = "0.4.39" +version = "0.4.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e36cc9d416881d2e24f9a963be5fb1cd90966419ac844274161d10488b3e825" +checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2" dependencies = [ - "android-tzdata", "iana-time-zone", "js-sys", "num-traits", "serde", "wasm-bindgen", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] @@ -370,18 +365,18 @@ checksum = "bd1b64030216239a2e7c364b13cd96a2097ebf0dfe5025f2dedee14a23f2ab60" [[package]] name = "clap" -version = "4.5.23" +version = "4.5.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3135e7ec2ef7b10c6ed8950f0f792ed96ee093fa088608f1c76e569722700c84" +checksum = "c9e340e012a1bf4935f5282ed1436d1489548e8f72308207ea5df0e23d2d03f8" dependencies = [ "clap_builder", ] [[package]] name = "clap_builder" -version = "4.5.23" +version = "4.5.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30582fc632330df2bd26877bde0c1f4470d57c582bbc070376afcd04d8cb4838" +checksum = "d76b5d13eaa18c901fd2f7fca939fefe3a0727a953561fefdf3b2922b8569d00" dependencies = [ "anstream", "anstyle", @@ -391,15 +386,15 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.7.4" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" +checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d" [[package]] name = "colorchoice" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990" +checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" [[package]] name = "compiler_base_error" @@ -445,12 +440,6 @@ dependencies = [ "rustc_span", ] -[[package]] -name = "const_fn" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "373e9fafaa20882876db20562275ff58d50e0caa2590077fe7ce7bef90211d0d" - [[package]] name = "constant_time_eq" version = "0.3.1" @@ -465,27 +454,27 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "cpufeatures" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b80225097f2e5ae4e7179dd2266824648f3e2f49d9134d584b76389d31c4c3" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" dependencies = [ "libc", ] [[package]] name = "crc32fast" -version = "1.4.2" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" +checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", ] [[package]] name = "crossbeam-channel" -version = "0.5.14" +version = "0.5.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ba6d68e24814cb8de6bb986db8222d3a027d15872cabc0d18817bc3c0e4471" +checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2" dependencies = [ "crossbeam-utils", ] @@ -517,9 +506,9 @@ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" [[package]] name = "crypto-common" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" dependencies = [ "generic-array 0.14.7", "typenum", @@ -527,9 +516,9 @@ dependencies = [ [[package]] name = "darling" -version = "0.20.10" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989" +checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee" dependencies = [ "darling_core", "darling_macro", @@ -537,27 +526,27 @@ dependencies = [ [[package]] name = "darling_core" -version = "0.20.10" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95133861a8032aaea082871032f5815eb9e98cef03fa916ab4500513994df9e5" +checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e" dependencies = [ "fnv", "ident_case", "proc-macro2", "quote", "strsim 0.11.1", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "darling_macro" -version = "0.20.10" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" +checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" dependencies = [ "darling_core", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -566,18 +555,18 @@ version = "5.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "hashbrown 0.14.5", "lock_api", "once_cell", - "parking_lot_core 0.9.10", + "parking_lot_core 0.9.12", ] [[package]] name = "deranged" -version = "0.3.11" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" +checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587" dependencies = [ "powerfmt", ] @@ -600,7 +589,7 @@ dependencies = [ "darling", "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -610,7 +599,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab63b0e2bf4d5928aff72e83a7dace85d7bba5fe12dcc3c5a572d78caffd3f3c" dependencies = [ "derive_builder_core", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -669,12 +658,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "discard" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0" - [[package]] name = "displaydoc" version = "0.2.5" @@ -683,26 +666,26 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "dns-lookup" -version = "2.0.4" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5766087c2235fec47fafa4cfecc81e494ee679d0fd4a59887ea0919bfb0e4fc" +checksum = "cf5597a4b7fe5275fc9dcf88ce26326bc8e4cb87d0130f33752d4c5f717793cf" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", "socket2", - "windows-sys 0.48.0", + "windows-sys 0.60.2", ] [[package]] name = "either" -version = "1.13.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" +checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "ena" @@ -714,69 +697,14 @@ dependencies = [ ] [[package]] -name = "encoding" -version = "0.2.33" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b0d943856b990d12d3b55b359144ff341533e516d94098b1d3fc1ac666d36ec" -dependencies = [ - "encoding-index-japanese", - "encoding-index-korean", - "encoding-index-simpchinese", - "encoding-index-singlebyte", - "encoding-index-tradchinese", -] - -[[package]] -name = "encoding-index-japanese" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04e8b2ff42e9a05335dbf8b5c6f7567e5591d0d916ccef4e0b1710d32a0d0c91" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-korean" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dc33fb8e6bcba213fe2f14275f0963fd16f0a02c878e3095ecfdf5bee529d81" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-simpchinese" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d87a7194909b9118fc707194baa434a4e3b0fb6a5a757c73c3adb07aa25031f7" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-singlebyte" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3351d5acffb224af9ca265f435b859c7c01537c0849754d3db3fdf2bfe2ae84a" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-tradchinese" -version = "1.20141219.5" +name = "encoding_rs" +version = "0.8.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd0e20d5688ce3cab59eb3ef3a2083a5c77bf496cb798dc6fcdb75f323890c18" +checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" dependencies = [ - "encoding_index_tests", + "cfg-if 1.0.4", ] -[[package]] -name = "encoding_index_tests" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a246d82be1c9d791c5dfde9a2bd045fc3cbba3fa2b11ad558f27d01712f00569" - [[package]] name = "enquote" version = "1.1.0" @@ -788,9 +716,9 @@ dependencies = [ [[package]] name = "env_filter" -version = "0.1.2" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f2c92ceda6ceec50f43169f9ee8424fe2db276791afde7b2cd8bc084cb376ab" +checksum = "1bf3c259d255ca70051b30e2e95b5446cdb8949ac4cd22c0d7fd634d89f568e2" dependencies = [ "log", "regex", @@ -798,41 +726,42 @@ dependencies = [ [[package]] name = "env_logger" -version = "0.11.5" +version = "0.11.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13fa619b91fb2381732789fc5de83b45675e882f66623b7d8cb4f643017018d" +checksum = "13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f" dependencies = [ "anstream", "anstyle", "env_filter", - "humantime", + "jiff", "log", ] [[package]] name = "equivalent" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" [[package]] name = "erased-serde" -version = "0.4.5" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24e2389d65ab4fab27dc2a5de7b191e1f6617d1f1c8855c0dc569c94a4cbb18d" +checksum = "89e8918065695684b2b0702da20382d5ae6065cf3327bc2d6436bd49a71ce9f3" dependencies = [ "serde", + "serde_core", "typeid", ] [[package]] name = "errno" -version = "0.3.10" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -853,27 +782,39 @@ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" [[package]] name = "filetime" -version = "0.2.25" +version = "0.2.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586" +checksum = "bc0505cd1b6fa6580283f6bdf70a73fcf4aba1184038c90902b92b3dd0df63ed" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", "libredox", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] +[[package]] +name = "find-msvc-tools" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844" + [[package]] name = "fixedbitset" version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" +[[package]] +name = "fixedbitset" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99" + [[package]] name = "flate2" -version = "1.0.35" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c" +checksum = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb" dependencies = [ "crc32fast", "miniz_oxide", @@ -907,9 +848,9 @@ dependencies = [ [[package]] name = "fluent-langneg" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c4ad0989667548f06ccd0e306ed56b61bd4d35458d54df5ec7587c0e8ed5e94" +checksum = "7eebbe59450baee8282d71676f3bfed5689aeab00b27545e83e5f14b1195e8b0" dependencies = [ "unic-langid", ] @@ -931,9 +872,9 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "form_urlencoded" -version = "1.2.1" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" dependencies = [ "percent-encoding", ] @@ -1019,7 +960,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -1058,7 +999,7 @@ version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "877e94aff08e743b651baaea359664321055749b398adff8740a7399af7796e7" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", ] [[package]] @@ -1082,28 +1023,42 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" +checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "js-sys", "libc", "wasi", "wasm-bindgen", ] +[[package]] +name = "getrandom" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if 1.0.4", + "js-sys", + "libc", + "r-efi", + "wasip2", + "wasm-bindgen", +] + [[package]] name = "gimli" -version = "0.31.1" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" +checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7" [[package]] name = "glob" -version = "0.3.1" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" +checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" [[package]] name = "handlebars" @@ -1133,9 +1088,9 @@ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" [[package]] name = "hashbrown" -version = "0.15.2" +version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" [[package]] name = "heck" @@ -1148,15 +1103,15 @@ dependencies = [ [[package]] name = "heck" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "hermit-abi" -version = "0.3.9" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" +checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" [[package]] name = "hmac" @@ -1167,31 +1122,22 @@ dependencies = [ "digest 0.10.7", ] -[[package]] -name = "home" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf" -dependencies = [ - "windows-sys 0.59.0", -] - [[package]] name = "hostname" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9c7c7c8ac16c798734b8a24560c1362120597c40d5e1459f09498f8f6c8f2ba" +checksum = "a56f203cd1c76362b69e3863fd987520ac36cf70a8c92627449b2f64a8cf7d65" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", - "windows", + "windows-link 0.1.3", ] [[package]] name = "http" -version = "1.2.0" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea" +checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565" dependencies = [ "bytes", "fnv", @@ -1219,12 +1165,12 @@ dependencies = [ [[package]] name = "http-body-util" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" +checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" dependencies = [ "bytes", - "futures-util", + "futures-core", "http", "http-body", "pin-project-lite", @@ -1232,30 +1178,26 @@ dependencies = [ [[package]] name = "httparse" -version = "1.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946" - -[[package]] -name = "humantime" -version = "2.1.0" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" [[package]] name = "hyper" -version = "1.5.2" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "256fb8d4bd6413123cc9d91832d78325c48ff41677595be797d90f42969beae0" +checksum = "2ab2d4f250c3d7b1c9fcdff1cece94ea4e2dfbec68614f7b87cb205f24ca9d11" dependencies = [ + "atomic-waker", "bytes", "futures-channel", - "futures-util", + "futures-core", "http", "http-body", "httparse", "itoa", "pin-project-lite", + "pin-utils", "smallvec", "tokio", "want", @@ -1263,11 +1205,10 @@ dependencies = [ [[package]] name = "hyper-rustls" -version = "0.27.4" +version = "0.27.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6884a48c6826ec44f524c7456b163cebe9e55a18d7b5e307cb4f100371cc767" +checksum = "e3c93eb611681b207e1fe55d5a71ecf91572ec8a6705cdb6857f7d8d5242cf58" dependencies = [ - "futures-util", "http", "hyper", "hyper-util", @@ -1281,16 +1222,21 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.10" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4" +checksum = "52e9a2a24dc5c6821e71a7030e1e14b7b632acac55c40e9d2e082c621261bb56" dependencies = [ + "base64 0.22.1", "bytes", "futures-channel", + "futures-core", "futures-util", "http", "http-body", "hyper", + "ipnet", + "libc", + "percent-encoding", "pin-project-lite", "socket2", "tokio", @@ -1300,14 +1246,15 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.61" +version = "0.1.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220" +checksum = "33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", + "log", "wasm-bindgen", "windows-core", ] @@ -1323,21 +1270,22 @@ dependencies = [ [[package]] name = "icu_collections" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526" +checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43" dependencies = [ "displaydoc", + "potential_utf", "yoke", "zerofrom", "zerovec", ] [[package]] -name = "icu_locid" -version = "1.5.0" +name = "icu_locale_core" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637" +checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6" dependencies = [ "displaydoc", "litemap", @@ -1346,99 +1294,61 @@ dependencies = [ "zerovec", ] -[[package]] -name = "icu_locid_transform" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e" -dependencies = [ - "displaydoc", - "icu_locid", - "icu_locid_transform_data", - "icu_provider", - "tinystr", - "zerovec", -] - -[[package]] -name = "icu_locid_transform_data" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e" - [[package]] name = "icu_normalizer" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f" +checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599" dependencies = [ - "displaydoc", "icu_collections", "icu_normalizer_data", "icu_properties", "icu_provider", "smallvec", - "utf16_iter", - "utf8_iter", - "write16", "zerovec", ] [[package]] name = "icu_normalizer_data" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516" +checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a" [[package]] name = "icu_properties" -version = "1.5.1" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5" +checksum = "e93fcd3157766c0c8da2f8cff6ce651a31f0810eaa1c51ec363ef790bbb5fb99" dependencies = [ - "displaydoc", "icu_collections", - "icu_locid_transform", + "icu_locale_core", "icu_properties_data", "icu_provider", - "tinystr", + "zerotrie", "zerovec", ] [[package]] name = "icu_properties_data" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569" +checksum = "02845b3647bb045f1100ecd6480ff52f34c35f82d9880e029d329c21d1054899" [[package]] name = "icu_provider" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9" +checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614" dependencies = [ "displaydoc", - "icu_locid", - "icu_provider_macros", - "stable_deref_trait", - "tinystr", + "icu_locale_core", "writeable", "yoke", "zerofrom", + "zerotrie", "zerovec", ] -[[package]] -name = "icu_provider_macros" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.90", -] - [[package]] name = "ident_case" version = "1.0.1" @@ -1447,9 +1357,9 @@ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" [[package]] name = "idna" -version = "1.0.3" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" dependencies = [ "idna_adapter", "smallvec", @@ -1458,9 +1368,9 @@ dependencies = [ [[package]] name = "idna_adapter" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71" +checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" dependencies = [ "icu_normalizer", "icu_properties", @@ -1473,7 +1383,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af1955a75fa080c677d3972822ec4bad316169ab1cfc6c257a942c2265dbe5fe" dependencies = [ "bitmaps", - "rand_core", + "rand_core 0.6.4", "rand_xoshiro", "sized-chunks", "typenum", @@ -1488,17 +1398,17 @@ checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" dependencies = [ "autocfg", "hashbrown 0.12.3", - "rustc-rayon 0.5.0", + "rustc-rayon 0.5.1", ] [[package]] name = "indexmap" -version = "2.9.0" +version = "2.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e" +checksum = "0ad4bb2b565bca0645f4d68c5c9af97fba094e9791da685bf83cb5f3ce74acf2" dependencies = [ "equivalent", - "hashbrown 0.15.2", + "hashbrown 0.16.1", ] [[package]] @@ -1538,14 +1448,14 @@ version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", ] [[package]] name = "intl-memoizer" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe22e020fce238ae18a6d5d8c502ee76a52a6e880d99477657e6acc30ec57bda" +checksum = "310da2e345f5eb861e7a07ee182262e94975051db9e4223e909ba90f392f163f" dependencies = [ "type-map", "unic-langid", @@ -1562,21 +1472,34 @@ dependencies = [ [[package]] name = "inventory" -version = "0.3.15" +version = "0.3.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f958d3d68f4167080a18141e10381e7634563984a537f2a49a30fd8e53ac5767" +checksum = "bc61209c082fbeb19919bee74b176221b27223e27b65d781eb91af24eb1fb46e" +dependencies = [ + "rustversion", +] [[package]] name = "ipnet" -version = "2.10.1" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" + +[[package]] +name = "iri-string" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708" +checksum = "4f867b9d1d896b67beb18518eda36fdb77a32ea590de864f1325b294a6d14397" +dependencies = [ + "memchr", + "serde", +] [[package]] name = "is_terminal_polyfill" -version = "1.70.1" +version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" +checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" [[package]] name = "itertools" @@ -1587,18 +1510,52 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" +dependencies = [ + "either", +] + [[package]] name = "itoa" -version = "1.0.14" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" + +[[package]] +name = "jiff" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49cce2b81f2098e7e3efc35bc2e0a6b7abec9d34128283d7a26fa8f32a6dbb35" +dependencies = [ + "jiff-static", + "log", + "portable-atomic", + "portable-atomic-util", + "serde_core", +] + +[[package]] +name = "jiff-static" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" +checksum = "980af8b43c3ad5d8d349ace167ec8170839f753a42d233ba19e08afe1850fa69" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] [[package]] name = "jobserver" -version = "0.1.32" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" +checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" dependencies = [ + "getrandom 0.3.4", "libc", ] @@ -1610,9 +1567,9 @@ checksum = "8b23360e99b8717f20aaa4598f5a6541efbe30630039fbc7706cf954a87947ae" [[package]] name = "js-sys" -version = "0.3.76" +version = "0.3.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6717b6b5b077764fb5966237269cb3c64edddde4b14ce42647430a78ced9e7b7" +checksum = "b011eec8cc36da2aab2d5cff675ec18454fad408585853910a202391cf9f8e65" dependencies = [ "once_cell", "wasm-bindgen", @@ -1668,91 +1625,33 @@ dependencies = [ "hmac", "serde", "serde_json", - "sha2 0.10.8", -] - -[[package]] -name = "kcl-lang" -version = "0.11.2" -dependencies = [ - "anyhow", - "kclvm-api", - "kclvm-evaluator", - "kclvm-loader", - "kclvm-parser", - "kclvm-primitives", - "kclvm-runtime", -] - -[[package]] -name = "kcl-language-server" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" -dependencies = [ - "anyhow", - "chrono", - "clap", - "compiler_base_session", - "crossbeam-channel", - "dashmap", - "env_logger", - "im-rc", - "kclvm-ast", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-parser", - "kclvm-primitives", - "kclvm-query", - "kclvm-sema", - "kclvm-span", - "kclvm-tools", - "kclvm-utils", - "kclvm-version", - "log", - "lsp-server", - "lsp-types", - "maplit", - "notify 7.0.0", - "parking_lot 0.12.3", - "proc_macro_crate", - "ra_ap_vfs", - "ra_ap_vfs-notify", - "ropey", - "rustc-hash 1.1.0", - "rustc_lexer", - "salsa", - "serde", - "serde_json", - "threadpool", - "tokio", - "tokio-test", + "sha2 0.10.9", ] [[package]] -name = "kclvm-api" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +name = "kcl-api" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#8a6d63783880e9d4ab079b69d2bfd795bb5e4b85" dependencies = [ "anyhow", "futures", "jsonrpc-stdio-server", + "kcl-ast", + "kcl-ast-pretty", + "kcl-config", + "kcl-driver", + "kcl-error", "kcl-language-server", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-loader", - "kclvm-parser", - "kclvm-primitives", - "kclvm-query", - "kclvm-runner", - "kclvm-runtime", - "kclvm-sema", - "kclvm-tools", - "kclvm-utils", - "kclvm-version", + "kcl-loader", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-runner", + "kcl-runtime", + "kcl-sema", + "kcl-tools", + "kcl-utils", + "kcl-version", "maplit", "once_cell", "prost", @@ -1760,7 +1659,6 @@ dependencies = [ "prost-types", "prost-wkt", "prost-wkt-build", - "prost-wkt-types", "protoc-bin-vendored", "serde", "serde_json", @@ -1770,15 +1668,15 @@ dependencies = [ ] [[package]] -name = "kclvm-ast" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +name = "kcl-ast" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#8a6d63783880e9d4ab079b69d2bfd795bb5e4b85" dependencies = [ "anyhow", "compiler_base_span", - "kclvm-error", - "kclvm-span", - "kclvm-utils", + "kcl-error", + "kcl-span", + "kcl-utils", "serde", "serde_json", "thread_local", @@ -1786,50 +1684,31 @@ dependencies = [ ] [[package]] -name = "kclvm-ast-pretty" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +name = "kcl-ast-pretty" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#8a6d63783880e9d4ab079b69d2bfd795bb5e4b85" dependencies = [ "compiler_base_macros", "compiler_base_session", "fancy-regex", - "kclvm-ast", - "kclvm-error", - "kclvm-primitives", + "kcl-ast", + "kcl-error", + "kcl-primitives", "pretty_assertions", ] [[package]] -name = "kclvm-compiler" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" -dependencies = [ - "bit-set", - "bitflags 1.3.2", - "fancy-regex", - "kclvm-ast", - "kclvm-error", - "kclvm-primitives", - "kclvm-runtime", - "kclvm-sema", - "once_cell", - "phf", - "time 0.2.27", - "unicode_names2", -] - -[[package]] -name = "kclvm-config" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +name = "kcl-config" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#8a6d63783880e9d4ab079b69d2bfd795bb5e4b85" dependencies = [ "anyhow", "chrono", "dirs", "glob", - "kclvm-ast", - "kclvm-utils", - "kclvm-version", + "kcl-ast", + "kcl-utils", + "kcl-version", "md-5 0.8.0", "pathdiff", "regex", @@ -1842,21 +1721,21 @@ dependencies = [ ] [[package]] -name = "kclvm-driver" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +name = "kcl-driver" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#8a6d63783880e9d4ab079b69d2bfd795bb5e4b85" dependencies = [ "anyhow", "flate2", - "kclvm-ast", - "kclvm-config", - "kclvm-parser", - "kclvm-primitives", - "kclvm-runtime", - "kclvm-utils", + "kcl-ast", + "kcl-config", + "kcl-parser", + "kcl-primitives", + "kcl-runtime", + "kcl-utils", "oci-client", "once_cell", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "serde", "serde_json", "tar", @@ -1865,9 +1744,9 @@ dependencies = [ ] [[package]] -name = "kclvm-error" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +name = "kcl-error" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#8a6d63783880e9d4ab079b69d2bfd795bb5e4b85" dependencies = [ "annotate-snippets", "anyhow", @@ -1875,63 +1754,121 @@ dependencies = [ "compiler_base_macros", "compiler_base_session", "compiler_base_span", - "kclvm-primitives", - "kclvm-runtime", - "kclvm-span", - "kclvm-utils", + "kcl-primitives", + "kcl-runtime", + "kcl-span", + "kcl-utils", "serde", "serde_json", "termize", - "thiserror 1.0.69", + "thiserror 2.0.17", "tracing", ] [[package]] -name = "kclvm-evaluator" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +name = "kcl-evaluator" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#8a6d63783880e9d4ab079b69d2bfd795bb5e4b85" dependencies = [ "anyhow", "generational-arena", - "kclvm-ast", - "kclvm-error", - "kclvm-primitives", - "kclvm-runtime", - "kclvm-sema", + "kcl-ast", + "kcl-error", + "kcl-primitives", + "kcl-runtime", + "kcl-sema", "scopeguard", ] [[package]] -name = "kclvm-lexer" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +name = "kcl-lang" +version = "0.12.0" +dependencies = [ + "anyhow", + "kcl-api", + "kcl-evaluator", + "kcl-loader", + "kcl-parser", + "kcl-primitives", + "kcl-runtime", +] + +[[package]] +name = "kcl-language-server" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#8a6d63783880e9d4ab079b69d2bfd795bb5e4b85" +dependencies = [ + "anyhow", + "chrono", + "clap", + "compiler_base_session", + "crossbeam-channel", + "dashmap", + "env_logger", + "im-rc", + "kcl-ast", + "kcl-config", + "kcl-driver", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-sema", + "kcl-span", + "kcl-tools", + "kcl-utils", + "kcl-version", + "log", + "lsp-server", + "lsp-types", + "maplit", + "notify 7.0.0", + "parking_lot 0.12.5", + "proc_macro_crate", + "ra_ap_vfs", + "ra_ap_vfs-notify", + "ropey", + "rustc-hash 1.1.0", + "rustc_lexer", + "salsa", + "serde", + "serde_json", + "threadpool", + "tokio", + "tokio-test", +] + +[[package]] +name = "kcl-lexer" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#8a6d63783880e9d4ab079b69d2bfd795bb5e4b85" dependencies = [ - "kclvm-error", + "kcl-error", "rustc_lexer", "unic-emoji-char", ] [[package]] -name = "kclvm-loader" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +name = "kcl-loader" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#8a6d63783880e9d4ab079b69d2bfd795bb5e4b85" dependencies = [ "anyhow", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-error", - "kclvm-parser", - "kclvm-primitives", - "kclvm-query", - "kclvm-sema", - "kclvm-utils", + "kcl-ast", + "kcl-ast-pretty", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-sema", + "kcl-utils", "maplit", ] [[package]] -name = "kclvm-macros" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +name = "kcl-macros" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#8a6d63783880e9d4ab079b69d2bfd795bb5e4b85" dependencies = [ "proc-macro2", "quote", @@ -1940,9 +1877,9 @@ dependencies = [ ] [[package]] -name = "kclvm-parser" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +name = "kcl-parser" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#8a6d63783880e9d4ab079b69d2bfd795bb5e4b85" dependencies = [ "anyhow", "bstr", @@ -1953,17 +1890,17 @@ dependencies = [ "either", "enquote", "glob", - "kclvm-ast", - "kclvm-config", - "kclvm-error", - "kclvm-lexer", - "kclvm-primitives", - "kclvm-sema", - "kclvm-span", - "kclvm-utils", + "kcl-ast", + "kcl-config", + "kcl-error", + "kcl-lexer", + "kcl-primitives", + "kcl-sema", + "kcl-span", + "kcl-utils", "num-bigint", - "parking_lot 0.12.3", - "petgraph", + "parking_lot 0.12.5", + "petgraph 0.6.5", "regex", "rustc_lexer", "serde", @@ -1974,39 +1911,39 @@ dependencies = [ ] [[package]] -name = "kclvm-primitives" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +name = "kcl-primitives" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#8a6d63783880e9d4ab079b69d2bfd795bb5e4b85" dependencies = [ - "indexmap 2.9.0", + "indexmap 2.12.1", "rustc-hash 2.1.1", ] [[package]] -name = "kclvm-query" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +name = "kcl-query" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#8a6d63783880e9d4ab079b69d2bfd795bb5e4b85" dependencies = [ "anyhow", "compiler_base_macros", "compiler_base_session", "fancy-regex", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-error", - "kclvm-parser", - "kclvm-primitives", - "kclvm-sema", - "kclvm-utils", + "kcl-ast", + "kcl-ast-pretty", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-sema", + "kcl-utils", "maplit", "serde", "serde_json", ] [[package]] -name = "kclvm-runner" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +name = "kcl-runner" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#8a6d63783880e9d4ab079b69d2bfd795bb5e4b85" dependencies = [ "anyhow", "cc", @@ -2014,19 +1951,18 @@ dependencies = [ "compiler_base_macros", "compiler_base_session", "glob", - "kclvm-ast", - "kclvm-compiler", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-evaluator", - "kclvm-parser", - "kclvm-primitives", - "kclvm-query", - "kclvm-runtime", - "kclvm-sema", - "kclvm-utils", - "kclvm-version", + "kcl-ast", + "kcl-config", + "kcl-driver", + "kcl-error", + "kcl-evaluator", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-runtime", + "kcl-sema", + "kcl-utils", + "kcl-version", "libc", "libloading", "once_cell", @@ -2039,9 +1975,9 @@ dependencies = [ ] [[package]] -name = "kclvm-runtime" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +name = "kcl-runtime" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#8a6d63783880e9d4ab079b69d2bfd795bb5e4b85" dependencies = [ "anyhow", "base32", @@ -2051,15 +1987,15 @@ dependencies = [ "chrono", "cidr", "dns-lookup", - "encoding", + "encoding_rs", "fancy-regex", "generational-arena", "glob", "handlebars", "hostname", - "itertools", - "kclvm-primitives", - "kclvm_runtime_internal_macros", + "itertools 0.10.5", + "kcl-primitives", + "kcl_runtime_internal_macros", "lazy_static", "libc", "md5", @@ -2079,9 +2015,9 @@ dependencies = [ ] [[package]] -name = "kclvm-sema" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +name = "kcl-sema" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#8a6d63783880e9d4ab079b69d2bfd795bb5e4b85" dependencies = [ "anyhow", "bit-set", @@ -2092,17 +2028,17 @@ dependencies = [ "compiler_base_span", "fancy-regex", "generational-arena", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-error", - "kclvm-primitives", - "kclvm-runtime", - "kclvm-span", - "kclvm-utils", + "kcl-ast", + "kcl-ast-pretty", + "kcl-error", + "kcl-primitives", + "kcl-runtime", + "kcl-span", + "kcl-utils", "lazy_static", "once_cell", - "parking_lot 0.12.3", - "petgraph", + "parking_lot 0.12.5", + "petgraph 0.6.5", "phf", "regex", "serde", @@ -2112,38 +2048,38 @@ dependencies = [ ] [[package]] -name = "kclvm-span" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +name = "kcl-span" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#8a6d63783880e9d4ab079b69d2bfd795bb5e4b85" dependencies = [ "compiler_base_span", - "kclvm-macros", + "kcl-macros", "parking_lot 0.11.2", "scoped-tls", ] [[package]] -name = "kclvm-tools" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +name = "kcl-tools" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#8a6d63783880e9d4ab079b69d2bfd795bb5e4b85" dependencies = [ "anyhow", "compiler_base_session", "compiler_base_span", "fancy-regex", "json-spanned-value", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-parser", - "kclvm-primitives", - "kclvm-query", - "kclvm-runner", - "kclvm-runtime", - "kclvm-sema", - "kclvm-utils", + "kcl-ast", + "kcl-ast-pretty", + "kcl-config", + "kcl-driver", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-runner", + "kcl-runtime", + "kcl-sema", + "kcl-utils", "located_yaml", "once_cell", "regex", @@ -2154,9 +2090,9 @@ dependencies = [ ] [[package]] -name = "kclvm-utils" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +name = "kcl-utils" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#8a6d63783880e9d4ab079b69d2bfd795bb5e4b85" dependencies = [ "anyhow", "fslock", @@ -2164,17 +2100,17 @@ dependencies = [ ] [[package]] -name = "kclvm-version" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +name = "kcl-version" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#8a6d63783880e9d4ab079b69d2bfd795bb5e4b85" dependencies = [ "vergen-gitcl", ] [[package]] -name = "kclvm_runtime_internal_macros" -version = "0.5.0" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +name = "kcl_runtime_internal_macros" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#8a6d63783880e9d4ab079b69d2bfd795bb5e4b85" dependencies = [ "proc-macro2", "quote", @@ -2183,9 +2119,9 @@ dependencies = [ [[package]] name = "kqueue" -version = "1.0.8" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7447f1ca1b7b563588a205fe93dea8df60fd981423a768bc1c0ded35ed147d0c" +checksum = "eac30106d7dce88daf4a3fcb4879ea939476d5074a9b7ddd0fb97fa4bed5596a" dependencies = [ "kqueue-sys", "libc", @@ -2209,9 +2145,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.169" +version = "0.2.177" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" +checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976" [[package]] name = "libloading" @@ -2219,19 +2155,19 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "winapi", ] [[package]] name = "libredox" -version = "0.1.3" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" +checksum = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", "libc", - "redox_syscall 0.5.8", + "redox_syscall 0.5.18", ] [[package]] @@ -2245,15 +2181,15 @@ dependencies = [ [[package]] name = "linux-raw-sys" -version = "0.4.14" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" +checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" [[package]] name = "litemap" -version = "0.7.4" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104" +checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77" [[package]] name = "located_yaml" @@ -2268,29 +2204,35 @@ dependencies = [ [[package]] name = "lock_api" -version = "0.4.12" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" dependencies = [ - "autocfg", "scopeguard", ] [[package]] name = "log" -version = "0.4.22" +version = "0.4.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432" + +[[package]] +name = "lru-slab" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" +checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154" [[package]] name = "lsp-server" -version = "0.7.7" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "550446e84739dcaf6d48a4a093973850669e13e8a34d8f8d64851041be267cd9" +checksum = "7d6ada348dbc2703cbe7637b2dda05cff84d3da2819c24abcb305dd613e0ba2e" dependencies = [ "crossbeam-channel", "log", "serde", + "serde_derive", "serde_json", ] @@ -2336,7 +2278,7 @@ version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "digest 0.10.7", ] @@ -2348,9 +2290,9 @@ checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771" [[package]] name = "memchr" -version = "2.7.4" +version = "2.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" +checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" [[package]] name = "memmap2" @@ -2361,19 +2303,14 @@ dependencies = [ "libc", ] -[[package]] -name = "mime" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" - [[package]] name = "miniz_oxide" -version = "0.8.2" +version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ffbe83022cedc1d264172192511ae958937694cd57ce297164951b8b3568394" +checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" dependencies = [ "adler2", + "simd-adler32", ] [[package]] @@ -2390,14 +2327,14 @@ dependencies = [ [[package]] name = "mio" -version = "1.0.3" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" +checksum = "69d83b0086dc8ecf3ce9ae2874b2d1290252e2a30720bea58a5c6639b0092873" dependencies = [ "libc", "log", "wasi", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -2411,9 +2348,9 @@ dependencies = [ [[package]] name = "multimap" -version = "0.8.3" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" +checksum = "1d87ecb2933e8aeadb3e3a02b828fed80a7528047e68b4f424523a0981a3a084" [[package]] name = "notify" @@ -2439,14 +2376,14 @@ version = "7.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c533b4c39709f9ba5005d8002048266593c1cfaf3c5f0739d5b8ab0c6c504009" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", "filetime", "fsevent-sys", "inotify 0.10.2", "kqueue", "libc", "log", - "mio 1.0.3", + "mio 1.1.0", "notify-types", "walkdir", "windows-sys 0.52.0", @@ -2497,9 +2434,9 @@ dependencies = [ [[package]] name = "num_cpus" -version = "1.16.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" +checksum = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b" dependencies = [ "hermit-abi", "libc", @@ -2516,9 +2453,9 @@ dependencies = [ [[package]] name = "object" -version = "0.36.5" +version = "0.37.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aedf0a2d09c573ed1d8d85b30c119153926a2b36dce0ab28322c09a117a4683e" +checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe" dependencies = [ "memchr", ] @@ -2541,7 +2478,7 @@ dependencies = [ "reqwest", "serde", "serde_json", - "sha2 0.10.8", + "sha2 0.10.9", "thiserror 1.0.69", "tokio", "tracing", @@ -2561,15 +2498,21 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.20.2" +version = "1.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" + +[[package]] +name = "once_cell_polyfill" +version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" +checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" [[package]] name = "oorandom" -version = "11.1.4" +version = "11.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9" +checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e" [[package]] name = "opaque-debug" @@ -2602,12 +2545,12 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.3" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" dependencies = [ "lock_api", - "parking_lot_core 0.9.10", + "parking_lot_core 0.9.12", ] [[package]] @@ -2616,7 +2559,7 @@ version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "instant", "libc", "redox_syscall 0.2.16", @@ -2626,15 +2569,15 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.10" +version = "0.9.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", - "redox_syscall 0.5.8", + "redox_syscall 0.5.18", "smallvec", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] @@ -2645,26 +2588,25 @@ checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3" [[package]] name = "percent-encoding" -version = "2.3.1" +version = "2.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" [[package]] name = "pest" -version = "2.7.15" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b7cafe60d6cf8e62e1b9b2ea516a089c008945bb5a275416789e7db0bc199dc" +checksum = "cbcfd20a6d4eeba40179f05735784ad32bdaef05ce8e8af05f180d45bb3e7e22" dependencies = [ "memchr", - "thiserror 2.0.8", "ucd-trie", ] [[package]] name = "pest_derive" -version = "2.7.15" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "816518421cfc6887a0d62bf441b6ffb4536fcc926395a69e1a85852d4363f57e" +checksum = "51f72981ade67b1ca6adc26ec221be9f463f2b5839c7508998daa17c23d94d7f" dependencies = [ "pest", "pest_generator", @@ -2672,26 +2614,25 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.15" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d1396fd3a870fc7838768d171b4616d5c91f6cc25e377b673d714567d99377b" +checksum = "dee9efd8cdb50d719a80088b76f81aec7c41ed6d522ee750178f83883d271625" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "pest_meta" -version = "2.7.15" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1e58089ea25d717bfd31fb534e4f3afcc2cc569c70de3e239778991ea3b7dea" +checksum = "bf1d70880e76bdc13ba52eafa6239ce793d85c8e43896507e43dd8984ff05b82" dependencies = [ - "once_cell", "pest", - "sha2 0.10.8", + "sha2 0.10.9", ] [[package]] @@ -2700,8 +2641,18 @@ version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" dependencies = [ - "fixedbitset", - "indexmap 2.9.0", + "fixedbitset 0.4.2", + "indexmap 2.12.1", +] + +[[package]] +name = "petgraph" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3672b37090dbd86368a4145bc067582552b29c27377cad4e0a306c97f9bd7772" +dependencies = [ + "fixedbitset 0.5.7", + "indexmap 2.12.1", ] [[package]] @@ -2722,7 +2673,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d43f3220d96e0080cc9ea234978ccd80d904eafb17be31bb0f76daaea6493082" dependencies = [ "phf_shared", - "rand", + "rand 0.8.5", ] [[package]] @@ -2750,9 +2701,9 @@ dependencies = [ [[package]] name = "pin-project-lite" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff" +checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" [[package]] name = "pin-utils" @@ -2760,6 +2711,30 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "portable-atomic" +version = "1.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483" + +[[package]] +name = "portable-atomic-util" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507" +dependencies = [ + "portable-atomic", +] + +[[package]] +name = "potential_utf" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77" +dependencies = [ + "zerovec", +] + [[package]] name = "powerfmt" version = "0.2.0" @@ -2768,9 +2743,9 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "ppv-lite86" -version = "0.2.20" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" dependencies = [ "zerocopy", ] @@ -2787,12 +2762,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.1.25" +version = "0.2.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86" +checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" dependencies = [ "proc-macro2", - "syn 1.0.109", + "syn 2.0.111", ] [[package]] @@ -2803,9 +2778,9 @@ checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" [[package]] name = "proc-macro2" -version = "1.0.92" +version = "1.0.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" +checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" dependencies = [ "unicode-ident", ] @@ -2813,18 +2788,18 @@ dependencies = [ [[package]] name = "proc_macro_crate" version = "0.1.0" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +source = "git+https://github.com/kcl-lang/kcl#8a6d63783880e9d4ab079b69d2bfd795bb5e4b85" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "prost" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" +checksum = "7231bd9b3d3d33c86b58adbac74b5ec0ad9f496b19d22801d773636feaa95f3d" dependencies = [ "bytes", "prost-derive", @@ -2832,52 +2807,51 @@ dependencies = [ [[package]] name = "prost-build" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" +checksum = "ac6c3320f9abac597dcbc668774ef006702672474aad53c6d596b62e487b40b1" dependencies = [ - "bytes", - "heck 0.4.1", - "itertools", - "lazy_static", + "heck 0.5.0", + "itertools 0.14.0", "log", "multimap", - "petgraph", + "once_cell", + "petgraph 0.7.1", "prettyplease", "prost", "prost-types", "regex", - "syn 1.0.109", + "syn 2.0.111", "tempfile", - "which", ] [[package]] name = "prost-derive" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4" +checksum = "9120690fafc389a67ba3803df527d0ec9cbbc9cc45e4cc20b332996dfb672425" dependencies = [ "anyhow", - "itertools", + "itertools 0.14.0", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.111", ] [[package]] name = "prost-types" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" +checksum = "b9b4db3d6da204ed77bb26ba83b6122a73aeb2e87e25fbf7ad2e84c4ccbf8f72" dependencies = [ "prost", ] [[package]] name = "prost-wkt" -version = "0.4.1" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "655944d0ce015e71b3ec21279437e6a09e58433e50c7b0677901f3d5235e74f5" dependencies = [ "chrono", "inventory", @@ -2890,41 +2864,26 @@ dependencies = [ [[package]] name = "prost-wkt-build" -version = "0.4.1" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f869f1443fee474b785e935d92e1007f57443e485f51668ed41943fc01a321a2" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "prost", "prost-build", "prost-types", "quote", ] -[[package]] -name = "prost-wkt-types" -version = "0.4.1" -source = "git+https://github.com/kcl-lang/kcl#68b4062e1f6b818b2fc64cfc69ef0a692b35943d" -dependencies = [ - "chrono", - "prost", - "prost-build", - "prost-types", - "prost-wkt", - "prost-wkt-build", - "protoc-bin-vendored", - "regex", - "serde", - "serde_derive", - "serde_json", -] - [[package]] name = "protoc-bin-vendored" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1c381df33c98266b5f08186583660090a4ffa0889e76c7e9a5e175f645a67fa" dependencies = [ "protoc-bin-vendored-linux-aarch_64", "protoc-bin-vendored-linux-ppcle_64", + "protoc-bin-vendored-linux-s390_64", "protoc-bin-vendored-linux-x86_32", "protoc-bin-vendored-linux-x86_64", "protoc-bin-vendored-macos-aarch_64", @@ -2935,71 +2894,87 @@ dependencies = [ [[package]] name = "protoc-bin-vendored-linux-aarch_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c350df4d49b5b9e3ca79f7e646fde2377b199e13cfa87320308397e1f37e1a4c" [[package]] name = "protoc-bin-vendored-linux-ppcle_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a55a63e6c7244f19b5c6393f025017eb5d793fd5467823a099740a7a4222440c" + +[[package]] +name = "protoc-bin-vendored-linux-s390_64" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1dba5565db4288e935d5330a07c264a4ee8e4a5b4a4e6f4e83fad824cc32f3b0" [[package]] name = "protoc-bin-vendored-linux-x86_32" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8854774b24ee28b7868cd71dccaae8e02a2365e67a4a87a6cd11ee6cdbdf9cf5" [[package]] name = "protoc-bin-vendored-linux-x86_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b38b07546580df720fa464ce124c4b03630a6fb83e05c336fea2a241df7e5d78" [[package]] name = "protoc-bin-vendored-macos-aarch_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89278a9926ce312e51f1d999fee8825d324d603213344a9a706daa009f1d8092" [[package]] name = "protoc-bin-vendored-macos-x86_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81745feda7ccfb9471d7a4de888f0652e806d5795b61480605d4943176299756" [[package]] name = "protoc-bin-vendored-win32" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95067976aca6421a523e491fce939a3e65249bac4b977adee0ee9771568e8aa3" [[package]] name = "quinn" -version = "0.11.6" +version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62e96808277ec6f97351a2380e6c25114bc9e67037775464979f3037c92d05ef" +checksum = "b9e20a958963c291dc322d98411f541009df2ced7b5a4f2bd52337638cfccf20" dependencies = [ "bytes", + "cfg_aliases", "pin-project-lite", "quinn-proto", "quinn-udp", "rustc-hash 2.1.1", "rustls", "socket2", - "thiserror 2.0.8", + "thiserror 2.0.17", "tokio", "tracing", + "web-time", ] [[package]] name = "quinn-proto" -version = "0.11.9" +version = "0.11.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2fe5ef3495d7d2e377ff17b1a8ce2ee2ec2a18cde8b6ad6619d65d0701c135d" +checksum = "f1906b49b0c3bc04b5fe5d86a77925ae6524a19b816ae38ce1e426255f1d8a31" dependencies = [ "bytes", - "getrandom", - "rand", + "getrandom 0.3.4", + "lru-slab", + "rand 0.9.2", "ring", "rustc-hash 2.1.1", "rustls", "rustls-pki-types", "slab", - "thiserror 2.0.8", + "thiserror 2.0.17", "tinyvec", "tracing", "web-time", @@ -3007,27 +2982,33 @@ dependencies = [ [[package]] name = "quinn-udp" -version = "0.5.9" +version = "0.5.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c40286217b4ba3a71d644d752e6a0b71f13f1b6a2c5311acfcbe0c2418ed904" +checksum = "addec6a0dcad8a8d96a771f815f0eaf55f9d1805756410b39f5fa81332574cbd" dependencies = [ "cfg_aliases", "libc", "once_cell", "socket2", "tracing", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] [[package]] name = "quote" -version = "1.0.37" +version = "1.0.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" +checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" dependencies = [ "proc-macro2", ] +[[package]] +name = "r-efi" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + [[package]] name = "ra_ap_paths" version = "0.0.149" @@ -3081,8 +3062,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", - "rand_chacha", - "rand_core", + "rand_chacha 0.3.1", + "rand_core 0.6.4", +] + +[[package]] +name = "rand" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" +dependencies = [ + "rand_chacha 0.9.0", + "rand_core 0.9.3", ] [[package]] @@ -3092,7 +3083,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", - "rand_core", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_chacha" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" +dependencies = [ + "ppv-lite86", + "rand_core 0.9.3", ] [[package]] @@ -3101,7 +3102,16 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom", + "getrandom 0.2.16", +] + +[[package]] +name = "rand_core" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" +dependencies = [ + "getrandom 0.3.4", ] [[package]] @@ -3110,7 +3120,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa" dependencies = [ - "rand_core", + "rand_core 0.6.4", ] [[package]] @@ -3124,11 +3134,11 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.8" +version = "0.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", ] [[package]] @@ -3137,20 +3147,20 @@ version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ - "getrandom", + "getrandom 0.2.16", "libredox", "thiserror 1.0.69", ] [[package]] name = "regex" -version = "1.11.1" +version = "1.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" +checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.9", + "regex-automata 0.4.13", "regex-syntax", ] @@ -3162,9 +3172,9 @@ checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" [[package]] name = "regex-automata" -version = "0.4.9" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" +checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" dependencies = [ "aho-corasick", "memchr", @@ -3173,15 +3183,15 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.8.5" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" +checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" [[package]] name = "reqwest" -version = "0.12.9" +version = "0.12.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a77c62af46e79de0a562e1a9849205ffcb7fc1238876e9bd743357570e04046f" +checksum = "9d0946410b9f7b082a427e4ef5c8ff541a88b357bc6c637c40db3a68ac70a36f" dependencies = [ "base64 0.22.1", "bytes", @@ -3193,16 +3203,12 @@ dependencies = [ "hyper", "hyper-rustls", "hyper-util", - "ipnet", "js-sys", "log", - "mime", - "once_cell", "percent-encoding", "pin-project-lite", "quinn", "rustls", - "rustls-pemfile", "rustls-pki-types", "serde", "serde_json", @@ -3210,7 +3216,9 @@ dependencies = [ "sync_wrapper", "tokio", "tokio-rustls", - "tokio-util 0.7.13", + "tokio-util 0.7.17", + "tower", + "tower-http", "tower-service", "url", "wasm-bindgen", @@ -3218,20 +3226,18 @@ dependencies = [ "wasm-streams", "web-sys", "webpki-roots", - "windows-registry", ] [[package]] name = "ring" -version = "0.17.8" +version = "0.17.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" dependencies = [ "cc", - "cfg-if 1.0.0", - "getrandom", + "cfg-if 1.0.4", + "getrandom 0.2.16", "libc", - "spin", "untrusted", "windows-sys 0.52.0", ] @@ -3259,9 +3265,9 @@ dependencies = [ [[package]] name = "rustc-demangle" -version = "0.1.24" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" +checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace" [[package]] name = "rustc-hash" @@ -3288,12 +3294,12 @@ dependencies = [ [[package]] name = "rustc-rayon" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb81aadc8837ca6ecebe0fe1353f15df83b3b3cc2cf7a8afd571bc22aa121710" +checksum = "2cd9fb077db982d7ceb42a90471e5a69a990b58f71e06f0d8340bb2cf35eb751" dependencies = [ "either", - "rustc-rayon-core 0.5.0", + "rustc-rayon-core 0.5.1", ] [[package]] @@ -3310,14 +3316,12 @@ dependencies = [ [[package]] name = "rustc-rayon-core" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67668daaf00e359c126f6dcb40d652d89b458a008c8afa727a42a2d20fca0b7f" +checksum = "2f42932dcd3bcbe484b38a3ccf79b7906fac41c02d408b5b1bac26da3416efdb" dependencies = [ - "crossbeam-channel", "crossbeam-deque", "crossbeam-utils", - "num_cpus", ] [[package]] @@ -3334,7 +3338,7 @@ dependencies = [ "jobserver", "libc", "memmap2", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "rustc-hash 1.1.0", "rustc-rayon 0.3.2", "rustc-rayon-core 0.3.2", @@ -3374,47 +3378,38 @@ dependencies = [ "rustc_data_structures", "scoped-tls", "sha-1", - "sha2 0.10.8", + "sha2 0.10.9", "tracing", "unicode-width", ] -[[package]] -name = "rustc_version" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" -dependencies = [ - "semver 0.9.0", -] - [[package]] name = "rustc_version" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ - "semver 1.0.24", + "semver", ] [[package]] name = "rustix" -version = "0.38.42" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93dc38ecbab2eb790ff964bb77fa94faf256fd3e73285fd7ba0903b76bedb85" +checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", "errno", "libc", "linux-raw-sys", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "rustls" -version = "0.23.20" +version = "0.23.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5065c3f250cbd332cd894be57c40fa52387247659b14a2d6041d121547903b1b" +checksum = "533f54bc6a7d4f647e46ad909549eda97bf5afc1585190ef692b4286b198bd8f" dependencies = [ "once_cell", "ring", @@ -3424,29 +3419,21 @@ dependencies = [ "zeroize", ] -[[package]] -name = "rustls-pemfile" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" -dependencies = [ - "rustls-pki-types", -] - [[package]] name = "rustls-pki-types" -version = "1.10.1" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2bf47e6ff922db3825eb750c4e2ff784c6ff8fb9e13046ef6a1d1c5401b0b37" +checksum = "94182ad936a0c91c324cd46c6511b9510ed16af436d7b5bab34beab0afd55f7a" dependencies = [ "web-time", + "zeroize", ] [[package]] name = "rustls-webpki" -version = "0.102.8" +version = "0.103.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" +checksum = "2ffdfa2f5286e2247234e03f680868ac2815974dc39e00ea15adc445d0aafe52" dependencies = [ "ring", "rustls-pki-types", @@ -3455,15 +3442,15 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.18" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248" +checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" [[package]] name = "ryu" -version = "1.0.18" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" +checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" [[package]] name = "salsa" @@ -3521,76 +3508,73 @@ version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e14e4d63b804dc0c7ec4a1e52bcb63f02c7ac94476755aa579edac21e01f915d" dependencies = [ - "self_cell 1.1.0", + "self_cell 1.2.1", ] [[package]] name = "self_cell" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2fdfc24bc566f839a2da4c4295b82db7d25a24253867d5c64355abb5799bdbe" - -[[package]] -name = "semver" -version = "0.9.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" -dependencies = [ - "semver-parser", -] +checksum = "16c2f82143577edb4921b71ede051dac62ca3c16084e918bf7b40c96ae10eb33" [[package]] name = "semver" -version = "1.0.24" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cb6eb87a131f756572d7fb904f6e7b68633f09cca868c5df1c4b8d1a694bbba" +checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" [[package]] -name = "semver-parser" -version = "0.7.0" +name = "serde" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" +dependencies = [ + "serde_core", + "serde_derive", +] [[package]] -name = "serde" -version = "1.0.216" +name = "serde_core" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b9781016e935a97e8beecf0c933758c97a5520d32930e460142b4cd80c6338e" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.216" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46f859dbbf73865c6627ed570e78961cd3ac92407a2d117204c49232485da55e" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "serde_json" -version = "1.0.115" +version = "1.0.145" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12dc5c46daa8e9fdf4f5e71b6cf9a53f2487da0e86e55808e2d35539666497dd" +checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c" dependencies = [ "itoa", + "memchr", "ryu", "serde", + "serde_core", ] [[package]] name = "serde_repr" -version = "0.1.19" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" +checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -3611,7 +3595,7 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7b4db627b98b36d4203a7b458cf3573730f2bb591b28871d916dfa9efabfd41f" dependencies = [ - "indexmap 2.9.0", + "indexmap 2.12.1", "itoa", "ryu", "serde", @@ -3624,7 +3608,7 @@ version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "cpufeatures", "digest 0.10.7", ] @@ -3651,7 +3635,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" dependencies = [ "block-buffer 0.9.0", - "cfg-if 1.0.0", + "cfg-if 1.0.4", "cpufeatures", "digest 0.9.0", "opaque-debug 0.3.1", @@ -3659,11 +3643,11 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.8" +version = "0.10.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "cpufeatures", "digest 0.10.7", ] @@ -3676,13 +3660,19 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook-registry" -version = "1.4.2" +version = "1.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" +checksum = "7664a098b8e616bdfcc2dc0e9ac44eb231eedf41db4e9fe95d8d32ec728dedad" dependencies = [ "libc", ] +[[package]] +name = "simd-adler32" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" + [[package]] name = "siphasher" version = "0.3.11" @@ -3701,98 +3691,31 @@ dependencies = [ [[package]] name = "slab" -version = "0.4.9" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" -dependencies = [ - "autocfg", -] +checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" [[package]] name = "smallvec" -version = "1.13.2" +version = "1.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" [[package]] name = "socket2" -version = "0.5.8" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8" +checksum = "17129e116933cf371d018bb80ae557e889637989d8638274fb25622827b03881" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.60.2", ] -[[package]] -name = "spin" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" - [[package]] name = "stable_deref_trait" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" - -[[package]] -name = "standback" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e113fb6f3de07a243d434a56ec6f186dfd51cb08448239fe7bcae73f87ff28ff" -dependencies = [ - "version_check", -] - -[[package]] -name = "stdweb" -version = "0.4.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d022496b16281348b52d0e30ae99e01a73d737b2f45d38fed4edf79f9325a1d5" -dependencies = [ - "discard", - "rustc_version 0.2.3", - "stdweb-derive", - "stdweb-internal-macros", - "stdweb-internal-runtime", - "wasm-bindgen", -] - -[[package]] -name = "stdweb-derive" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c87a60a40fccc84bef0652345bbbbbe20a605bf5d0ce81719fc476f5c03b50ef" -dependencies = [ - "proc-macro2", - "quote", - "serde", - "serde_derive", - "syn 1.0.109", -] - -[[package]] -name = "stdweb-internal-macros" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58fa5ff6ad0d98d1ffa8cb115892b6e69d67799f6763e162a1c9db421dc22e11" -dependencies = [ - "base-x", - "proc-macro2", - "quote", - "serde", - "serde_derive", - "serde_json", - "sha1", - "syn 1.0.109", -] - -[[package]] -name = "stdweb-internal-runtime" -version = "0.1.5" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213701ba3370744dcd1a12960caa4843b3d68b4d1c0a5d575e0d65b2ee9d16c0" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" [[package]] name = "str_indices" @@ -3840,9 +3763,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.90" +version = "2.0.111" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31" +checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87" dependencies = [ "proc-macro2", "quote", @@ -3872,20 +3795,20 @@ dependencies = [ [[package]] name = "synstructure" -version = "0.13.1" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" +checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "tar" -version = "0.4.43" +version = "0.4.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c65998313f8e17d0d553d28f91a0df93e4dbbbf770279c7bc21ca0f09ea1a1f6" +checksum = "1d863878d212c87a19c1a610eb53bb01fe12951c0501cf5a0d65f724914a667a" dependencies = [ "filetime", "libc", @@ -3894,15 +3817,15 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.14.0" +version = "3.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c" +checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" dependencies = [ - "cfg-if 1.0.0", "fastrand", + "getrandom 0.3.4", "once_cell", "rustix", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -3935,11 +3858,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.8" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08f5383f3e0071702bf93ab5ee99b52d26936be9dedd9413067cbdcddcb6141a" +checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" dependencies = [ - "thiserror-impl 2.0.8", + "thiserror-impl 2.0.17", ] [[package]] @@ -3950,28 +3873,27 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "thiserror-impl" -version = "2.0.8" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2f357fcec90b3caef6623a099691be676d033b40a058ac95d2a6ade6fa0c943" +checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "thread_local" -version = "1.1.8" +version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" +checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185" dependencies = [ - "cfg-if 1.0.0", - "once_cell", + "cfg-if 1.0.4", ] [[package]] @@ -3985,24 +3907,9 @@ dependencies = [ [[package]] name = "time" -version = "0.2.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4752a97f8eebd6854ff91f1c1824cd6160626ac4bd44287f7f4ea2035a02a242" -dependencies = [ - "const_fn", - "libc", - "standback", - "stdweb", - "time-macros 0.1.1", - "version_check", - "winapi", -] - -[[package]] -name = "time" -version = "0.3.37" +version = "0.3.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21" +checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d" dependencies = [ "deranged", "itoa", @@ -4012,63 +3919,41 @@ dependencies = [ "powerfmt", "serde", "time-core", - "time-macros 0.2.19", + "time-macros", ] [[package]] name = "time-core" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" - -[[package]] -name = "time-macros" -version = "0.1.1" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "957e9c6e26f12cb6d0dd7fc776bb67a706312e7299aed74c8dd5b17ebb27e2f1" -dependencies = [ - "proc-macro-hack", - "time-macros-impl", -] +checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b" [[package]] name = "time-macros" -version = "0.2.19" +version = "0.2.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2834e6017e3e5e4b9834939793b282bc03b37a3336245fa820e35e233e2a85de" +checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3" dependencies = [ "num-conv", "time-core", ] -[[package]] -name = "time-macros-impl" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd3c141a1b43194f3f56a1411225df8646c55781d5f26db825b3d98507eb482f" -dependencies = [ - "proc-macro-hack", - "proc-macro2", - "quote", - "standback", - "syn 1.0.109", -] - [[package]] name = "tinystr" -version = "0.7.6" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f" +checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869" dependencies = [ "displaydoc", + "serde_core", "zerovec", ] [[package]] name = "tinyvec" -version = "1.8.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938" +checksum = "bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa" dependencies = [ "tinyvec_macros", ] @@ -4081,38 +3966,37 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.42.0" +version = "1.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cec9b21b0450273377fc97bd4c33a8acffc8c996c987a7c5b319a0083707551" +checksum = "ff360e02eab121e0bc37a2d3b4d4dc622e6eda3a8e5253d5435ecf5bd4c68408" dependencies = [ - "backtrace", "bytes", "libc", - "mio 1.0.3", - "parking_lot 0.12.3", + "mio 1.1.0", + "parking_lot 0.12.5", "pin-project-lite", "signal-hook-registry", "socket2", "tokio-macros", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] name = "tokio-macros" -version = "2.4.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" +checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "tokio-rustls" -version = "0.26.1" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f6d0975eaace0cf0fcadee4e4aaa5da15b5c079146f2cffb67c113be122bf37" +checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61" dependencies = [ "rustls", "tokio", @@ -4158,9 +4042,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.13" +version = "0.7.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7fcaa8d55a2bdd6b83ace262b016eca0d79ee02818c5c1bcdf0305114081078" +checksum = "2efa149fe76073d6e8fd97ef4f4eca7b67f599660115591483572e406e165594" dependencies = [ "bytes", "futures-core", @@ -4178,6 +4062,45 @@ dependencies = [ "serde", ] +[[package]] +name = "tower" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper", + "tokio", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-http" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adc82fd73de2a9722ac5da747f12383d2bfdb93591ee6c58486e0097890f05f2" +dependencies = [ + "bitflags 2.10.0", + "bytes", + "futures-util", + "http", + "http-body", + "iri-string", + "pin-project-lite", + "tower", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-layer" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" + [[package]] name = "tower-service" version = "0.3.3" @@ -4198,20 +4121,20 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.28" +version = "0.1.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" +checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "tracing-core" -version = "0.1.33" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" +checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678" dependencies = [ "once_cell", ] @@ -4224,30 +4147,30 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "type-map" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "deb68604048ff8fa93347f02441e4487594adc20bb8a084f9e564d2b827a0a9f" +checksum = "cb30dbbd9036155e74adad6812e9898d03ec374946234fbcebd5dfc7b9187b90" dependencies = [ - "rustc-hash 1.1.0", + "rustc-hash 2.1.1", ] [[package]] name = "typeid" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e13db2e0ccd5e14a544e8a246ba2312cd25223f616442d7f2cb0e3db614236e" +checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c" [[package]] name = "typenum" -version = "1.17.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" +checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" [[package]] name = "typetag" -version = "0.2.18" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52ba3b6e86ffe0054b2c44f2d86407388b933b16cb0a70eea3929420db1d9bbe" +checksum = "be2212c8a9b9bcfca32024de14998494cf9a5dfa59ea1b829de98bac374b86bf" dependencies = [ "erased-serde", "inventory", @@ -4258,13 +4181,13 @@ dependencies = [ [[package]] name = "typetag-impl" -version = "0.2.18" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70b20a22c42c8f1cd23ce5e34f165d4d37038f5b663ad20fb6adbdf029172483" +checksum = "27a7a9b72ba121f6f1f6c3632b85604cac41aedb5ddc70accbebb6cac83de846" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -4307,9 +4230,9 @@ dependencies = [ [[package]] name = "unic-langid" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23dd9d1e72a73b25e07123a80776aae3e7b0ec461ef94f9151eed6ec88005a44" +checksum = "a28ba52c9b05311f4f6e62d5d9d46f094bd6e84cb8df7b3ef952748d752a7d05" dependencies = [ "unic-langid-impl", "unic-langid-macros", @@ -4317,18 +4240,18 @@ dependencies = [ [[package]] name = "unic-langid-impl" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a5422c1f65949306c99240b81de9f3f15929f5a8bfe05bb44b034cc8bf593e5" +checksum = "dce1bf08044d4b7a94028c93786f8566047edc11110595914de93362559bc658" dependencies = [ "tinystr", ] [[package]] name = "unic-langid-macros" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0da1cd2c042d3c7569a1008806b02039e7a4a2bdf8f8e96bd3c792434a0e275e" +checksum = "d5957eb82e346d7add14182a3315a7e298f04e1ba4baac36f7f0dbfedba5fc25" dependencies = [ "proc-macro-hack", "tinystr", @@ -4338,13 +4261,13 @@ dependencies = [ [[package]] name = "unic-langid-macros-impl" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ed7f4237ba393424195053097c1516bd4590dc82b84f2f97c5c69e12704555b" +checksum = "a1249a628de3ad34b821ecb1001355bca3940bcb2f88558f1a8bd82e977f75b5" dependencies = [ "proc-macro-hack", "quote", - "syn 2.0.90", + "syn 2.0.111", "unic-langid-impl", ] @@ -4382,27 +4305,27 @@ dependencies = [ [[package]] name = "unicase" -version = "2.8.0" +version = "2.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e51b68083f157f853b6379db119d1c1be0e6e4dec98101079dec41f6f5cf6df" +checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539" [[package]] name = "unicode-casing" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "623f59e6af2a98bdafeb93fa277ac8e1e40440973001ca15cf4ae1541cd16d56" +checksum = "061dbb8cc7f108532b6087a0065eff575e892a4bcb503dc57323a197457cc202" [[package]] name = "unicode-ident" -version = "1.0.14" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" +checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" [[package]] name = "unicode-normalization" -version = "0.1.24" +version = "0.1.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956" +checksum = "5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8" dependencies = [ "tinyvec", ] @@ -4445,9 +4368,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.4" +version = "2.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" +checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b" dependencies = [ "form_urlencoded", "idna", @@ -4455,12 +4378,6 @@ dependencies = [ "serde", ] -[[package]] -name = "utf16_iter" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246" - [[package]] name = "utf8_iter" version = "1.0.4" @@ -4475,46 +4392,48 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.11.0" +version = "1.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a" +checksum = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2" dependencies = [ - "getrandom", + "getrandom 0.3.4", + "js-sys", "serde", + "wasm-bindgen", ] [[package]] name = "vergen" -version = "9.0.2" +version = "9.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31f25fc8f8f05df455c7941e87f093ad22522a9ff33d7a027774815acf6f0639" +checksum = "6b2bf58be11fc9414104c6d3a2e464163db5ef74b12296bda593cac37b6e4777" dependencies = [ "anyhow", "derive_builder", - "rustc_version 0.4.1", + "rustc_version", "rustversion", "vergen-lib", ] [[package]] name = "vergen-gitcl" -version = "1.0.2" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0227006d09f98ab00ea69e9a5e055e676a813cfbed4232986176c86a6080b997" +checksum = "b9dfc1de6eb2e08a4ddf152f1b179529638bedc0ea95e6d667c014506377aefe" dependencies = [ "anyhow", "derive_builder", "rustversion", - "time 0.3.37", + "time", "vergen", "vergen-lib", ] [[package]] name = "vergen-lib" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0c767e6751c09fc85cde58722cf2f1007e80e4c8d5a4321fc90d83dc54ca147" +checksum = "9b07e6010c0f3e59fcb164e0163834597da68d1f864e2b8ca49f74de01e9c166" dependencies = [ "anyhow", "derive_builder", @@ -4548,42 +4467,39 @@ dependencies = [ [[package]] name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" +version = "0.11.1+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" [[package]] -name = "wasm-bindgen" -version = "0.2.99" +name = "wasip2" +version = "1.0.1+wasi-0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a474f6281d1d70c17ae7aa6a613c87fce69a127e2624002df63dcb39d6cf6396" +checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" dependencies = [ - "cfg-if 1.0.0", - "once_cell", - "wasm-bindgen-macro", + "wit-bindgen", ] [[package]] -name = "wasm-bindgen-backend" -version = "0.2.99" +name = "wasm-bindgen" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f89bb38646b4f81674e8f5c3fb81b562be1fd936d84320f3264486418519c79" +checksum = "da95793dfc411fbbd93f5be7715b0578ec61fe87cb1a42b12eb625caa5c5ea60" dependencies = [ - "bumpalo", - "log", - "proc-macro2", - "quote", - "syn 2.0.90", + "cfg-if 1.0.4", + "once_cell", + "rustversion", + "wasm-bindgen-macro", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.49" +version = "0.4.55" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38176d9b44ea84e9184eff0bc34cc167ed044f816accfe5922e54d84cf48eca2" +checksum = "551f88106c6d5e7ccc7cd9a16f312dd3b5d36ea8b4954304657d5dfba115d4a0" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "js-sys", "once_cell", "wasm-bindgen", @@ -4592,9 +4508,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.99" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cc6181fd9a7492eef6fef1f33961e3695e4579b9872a6f7c83aee556666d4fe" +checksum = "04264334509e04a7bf8690f2384ef5265f05143a4bff3889ab7a3269adab59c2" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -4602,22 +4518,25 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.99" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30d7a95b763d3c45903ed6c81f156801839e5ee968bb07e534c44df0fcd330c2" +checksum = "420bc339d9f322e562942d52e115d57e950d12d88983a14c79b86859ee6c7ebc" dependencies = [ + "bumpalo", "proc-macro2", "quote", - "syn 2.0.90", - "wasm-bindgen-backend", + "syn 2.0.111", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.99" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "943aab3fdaaa029a6e0271b35ea10b72b943135afe9bffca82384098ad0e06a6" +checksum = "76f218a38c84bcb33c25ec7059b07847d465ce0e0a76b995e134a45adcb6af76" +dependencies = [ + "unicode-ident", +] [[package]] name = "wasm-streams" @@ -4634,9 +4553,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.76" +version = "0.3.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04dd7223427d52553d3702c004d3b2fe07c148165faa56313cb00211e31c12bc" +checksum = "3a1f95c0d03a47f4ae1f7a64643a6bb97465d9b740f0fa8f90ea33915c99a9a1" dependencies = [ "js-sys", "wasm-bindgen", @@ -4654,25 +4573,13 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.26.7" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d642ff16b7e79272ae451b7322067cdc17cadf68c23264be9d94a32319efe7e" +checksum = "b2878ef029c47c6e8cf779119f20fcf52bde7ad42a731b2a304bc221df17571e" dependencies = [ "rustls-pki-types", ] -[[package]] -name = "which" -version = "4.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" -dependencies = [ - "either", - "home", - "once_cell", - "rustix", -] - [[package]] name = "winapi" version = "0.3.9" @@ -4691,11 +4598,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.9" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -4705,52 +4612,68 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] -name = "windows" -version = "0.52.0" +name = "windows-core" +version = "0.62.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" dependencies = [ - "windows-core", - "windows-targets 0.52.6", + "windows-implement", + "windows-interface", + "windows-link 0.2.1", + "windows-result", + "windows-strings", ] [[package]] -name = "windows-core" -version = "0.52.0" +name = "windows-implement" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" dependencies = [ - "windows-targets 0.52.6", + "proc-macro2", + "quote", + "syn 2.0.111", ] [[package]] -name = "windows-registry" -version = "0.2.0" +name = "windows-interface" +version = "0.59.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" dependencies = [ - "windows-result", - "windows-strings", - "windows-targets 0.52.6", + "proc-macro2", + "quote", + "syn 2.0.111", ] +[[package]] +name = "windows-link" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + [[package]] name = "windows-result" -version = "0.2.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" dependencies = [ - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] name = "windows-strings" -version = "0.1.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" dependencies = [ - "windows-result", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] @@ -4797,11 +4720,20 @@ dependencies = [ [[package]] name = "windows-sys" -version = "0.59.0" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" dependencies = [ - "windows-targets 0.52.6", + "windows-targets 0.53.5", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link 0.2.1", ] [[package]] @@ -4843,13 +4775,30 @@ dependencies = [ "windows_aarch64_gnullvm 0.52.6", "windows_aarch64_msvc 0.52.6", "windows_i686_gnu 0.52.6", - "windows_i686_gnullvm", + "windows_i686_gnullvm 0.52.6", "windows_i686_msvc 0.52.6", "windows_x86_64_gnu 0.52.6", "windows_x86_64_gnullvm 0.52.6", "windows_x86_64_msvc 0.52.6", ] +[[package]] +name = "windows-targets" +version = "0.53.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" +dependencies = [ + "windows-link 0.2.1", + "windows_aarch64_gnullvm 0.53.1", + "windows_aarch64_msvc 0.53.1", + "windows_i686_gnu 0.53.1", + "windows_i686_gnullvm 0.53.1", + "windows_i686_msvc 0.53.1", + "windows_x86_64_gnu 0.53.1", + "windows_x86_64_gnullvm 0.53.1", + "windows_x86_64_msvc 0.53.1", +] + [[package]] name = "windows_aarch64_gnullvm" version = "0.42.2" @@ -4868,6 +4817,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" + [[package]] name = "windows_aarch64_msvc" version = "0.42.2" @@ -4886,6 +4841,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" +[[package]] +name = "windows_aarch64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" + [[package]] name = "windows_i686_gnu" version = "0.42.2" @@ -4904,12 +4865,24 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" +[[package]] +name = "windows_i686_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" + [[package]] name = "windows_i686_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" +[[package]] +name = "windows_i686_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" + [[package]] name = "windows_i686_msvc" version = "0.42.2" @@ -4928,6 +4901,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" +[[package]] +name = "windows_i686_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" + [[package]] name = "windows_x86_64_gnu" version = "0.42.2" @@ -4946,6 +4925,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" +[[package]] +name = "windows_x86_64_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" + [[package]] name = "windows_x86_64_gnullvm" version = "0.42.2" @@ -4964,6 +4949,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" + [[package]] name = "windows_x86_64_msvc" version = "0.42.2" @@ -4983,25 +4974,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] -name = "write16" -version = "1.0.0" +name = "windows_x86_64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" + +[[package]] +name = "wit-bindgen" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936" +checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59" [[package]] name = "writeable" -version = "0.5.5" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51" +checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9" [[package]] name = "xattr" -version = "1.3.1" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f" +checksum = "32e45ad4206f6d2479085147f02bc2ef834ac85886624a23575ae137c8aa8156" dependencies = [ "libc", - "linux-raw-sys", "rustix", ] @@ -5031,11 +5027,10 @@ dependencies = [ [[package]] name = "yoke" -version = "0.7.5" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40" +checksum = "72d6e5c6afb84d73944e5cedb052c4680d5657337201555f9f2a16b7406d4954" dependencies = [ - "serde", "stable_deref_trait", "yoke-derive", "zerofrom", @@ -5043,70 +5038,81 @@ dependencies = [ [[package]] name = "yoke-derive" -version = "0.7.5" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" +checksum = "b659052874eb698efe5b9e8cf382204678a0086ebf46982b79d6ca3182927e5d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", - "synstructure 0.13.1", + "syn 2.0.111", + "synstructure 0.13.2", ] [[package]] name = "zerocopy" -version = "0.7.35" +version = "0.8.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" +checksum = "43fa6694ed34d6e57407afbccdeecfa268c470a7d2a5b0cf49ce9fcc345afb90" dependencies = [ - "byteorder", "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.35" +version = "0.8.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" +checksum = "c640b22cd9817fae95be82f0d2f90b11f7605f6c319d16705c459b27ac2cbc26" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "zerofrom" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e" +checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" dependencies = [ "zerofrom-derive", ] [[package]] name = "zerofrom-derive" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808" +checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", - "synstructure 0.13.1", + "syn 2.0.111", + "synstructure 0.13.2", ] [[package]] name = "zeroize" -version = "1.8.1" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" +checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0" + +[[package]] +name = "zerotrie" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a59c17a5562d507e4b54960e8569ebee33bee890c70aa3fe7b97e85a9fd7851" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] [[package]] name = "zerovec" -version = "0.10.4" +version = "0.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079" +checksum = "6c28719294829477f525be0186d13efa9a3c602f7ec202ca9e353d310fb9a002" dependencies = [ + "serde", "yoke", "zerofrom", "zerovec-derive", @@ -5114,11 +5120,11 @@ dependencies = [ [[package]] name = "zerovec-derive" -version = "0.10.3" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" +checksum = "eadce39539ca5cb3985590102671f2567e659fca9666581ad3411d59207951f3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] diff --git a/Cargo.toml b/Cargo.toml index f46809e2..34f4feee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "kcl-lang" -version = "0.11.2" -edition = "2021" +version = "0.12.0" +edition = "2024" readme = "README.md" documentation = "kcl-lang.io" description = "KCL Rust SDK" @@ -11,9 +11,9 @@ license = "Apache-2.0" [dependencies] anyhow = "1" -kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.11.2" } -kclvm-evaluator = { git = "https://github.com/kcl-lang/kcl", version = "0.11.2" } -kclvm-loader = { git = "https://github.com/kcl-lang/kcl", version = "0.11.2" } -kclvm-parser = { git = "https://github.com/kcl-lang/kcl", version = "0.11.2" } -kclvm-runtime = { git = "https://github.com/kcl-lang/kcl", version = "0.11.2" } -kclvm-primitives = { git = "https://github.com/kcl-lang/kcl", version = "0.11.2" } +kcl-api = { git = "https://github.com/kcl-lang/kcl", version = "0.12.0" } +kcl-evaluator = { git = "https://github.com/kcl-lang/kcl", version = "0.12.0" } +kcl-loader = { git = "https://github.com/kcl-lang/kcl", version = "0.12.0" } +kcl-parser = { git = "https://github.com/kcl-lang/kcl", version = "0.12.0" } +kcl-runtime = { git = "https://github.com/kcl-lang/kcl", version = "0.12.0" } +kcl-primitives = { git = "https://github.com/kcl-lang/kcl", version = "0.12.0" } diff --git a/README.md b/README.md index 80605c71..e8eb00f7 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,8 @@ fn main() -> Result<()> { More Rust APIs can be found [here](https://github.com/kcl-lang/kcl). If you want to use the sub crate of KCL Rust core, you can run the following command. ```shell -# Take the kclvm-runtime as an example. -cargo add --git https://github.com/kcl-lang/kcl kclvm-runtime +# Take the kcl-runtime as an example. +cargo add --git https://github.com/kcl-lang/kcl kcl-runtime ``` ### Go @@ -56,7 +56,7 @@ import ( func main() { client := native.NewNativeServiceClient() - result, err := client.ExecProgram(&api.ExecProgram_Args{ + result, err := client.ExecProgram(&api.ExecProgramArgs{ KFilenameList: []string{"main.k"}, KCodeList: []string{"a = 1"}, }) @@ -95,7 +95,7 @@ This way you'll be able to import the above dependency to use the SDK. com.kcl kcl-lib - 0.11.1-SNAPSHOT + 0.12.0-SNAPSHOT ``` @@ -103,14 +103,14 @@ Write the code ```java import com.kcl.api.API; -import com.kcl.api.Spec.ExecProgram_Args; -import com.kcl.api.Spec.ExecProgram_Result; +import com.kcl.api.Spec.ExecProgramArgs; +import com.kcl.api.Spec.ExecProgramResult; public class ExecProgramTest { public static void main(String[] args) throws Exception { API api = new API(); - ExecProgram_Result result = api - .execProgram(ExecProgram_Args.newBuilder().addKFilenameList("path/to/kcl.k").build()); + ExecProgramResult result = api + .execProgram(ExecProgramArgs.newBuilder().addKFilenameList("path/to/kcl.k").build()); System.out.println(result.getYamlResult()); } } @@ -128,7 +128,7 @@ Write the code using KclLib.API; var api = new API(); -var execArgs = new ExecProgram_Args(); +var execArgs = new ExecProgramArgs(); var path = Path.Combine("test_data", "schema.k"); execArgs.KFilenameList.Add(path); var result = api.ExecProgram(execArgs); @@ -146,7 +146,7 @@ Write the code ```python import kcl_lib.api as api -args = api.ExecProgram_Args(k_filename_list=["./tests/test_data/schema.k"]) +args = api.ExecProgramArgs(k_filename_list=["./tests/test_data/schema.k"]) api = api.API() result = api.exec_program(args) print(result.yaml_result) @@ -197,7 +197,7 @@ This way you'll be able to import the above dependency to use the SDK. com.kcl kcl-lib - 0.11.1-SNAPSHOT + 0.12.0-SNAPSHOT ``` @@ -218,7 +218,7 @@ val result = api.execProgram(args) import KclLib let api = API() -var execArgs = ExecProgram_Args() +var execArgs = ExecProgramArgs() execArgs.kFilenameList.append("schema.k") let result = try api.execProgram(execArgs) ``` @@ -231,7 +231,7 @@ For CMake, you can use FetchContent to add KCL C++ Lib to your project. FetchContent_Declare( kcl-lib GIT_REPOSITORY https://github.com/kcl-lang/lib.git - GIT_TAG v0.11.1 + GIT_TAG v0.12.0 SOURCE_SUBDIR cpp ) FetchContent_MakeAvailable(kcl-lib) diff --git a/c/Cargo.lock b/c/Cargo.lock index 52f87ff5..090b8fda 100644 --- a/c/Cargo.lock +++ b/c/Cargo.lock @@ -4,35 +4,24 @@ version = 4 [[package]] name = "addr2line" -version = "0.24.2" +version = "0.25.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" +checksum = "1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b" dependencies = [ "gimli", ] [[package]] name = "adler2" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" - -[[package]] -name = "ahash" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" -dependencies = [ - "getrandom", - "once_cell", - "version_check", -] +checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" [[package]] name = "aho-corasick" -version = "1.1.3" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" +checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" dependencies = [ "memchr", ] @@ -46,12 +35,6 @@ dependencies = [ "log", ] -[[package]] -name = "android-tzdata" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" - [[package]] name = "android_system_properties" version = "0.1.5" @@ -73,9 +56,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.18" +version = "0.6.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b" +checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a" dependencies = [ "anstyle", "anstyle-parse", @@ -88,43 +71,44 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.10" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" +checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" [[package]] name = "anstyle-parse" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9" +checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.1.2" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c" +checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "anstyle-wincon" -version = "3.0.6" +version = "3.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2109dbce0e72be3ec00bed26e6a7479ca384ad226efdd66db8fa2e3a38c83125" +checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" dependencies = [ "anstyle", - "windows-sys 0.59.0", + "once_cell_polyfill", + "windows-sys 0.61.2", ] [[package]] name = "anyhow" -version = "1.0.94" +version = "1.0.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1fd03a028ef38ba2276dce7e33fcd6369c158a1bca17946c4b1b701891c1ff7" +checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" dependencies = [ "backtrace", ] @@ -160,9 +144,15 @@ checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + [[package]] name = "atty" version = "0.2.14" @@ -176,31 +166,25 @@ dependencies = [ [[package]] name = "autocfg" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" +checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] name = "backtrace" -version = "0.3.74" +version = "0.3.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" +checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6" dependencies = [ "addr2line", - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", "miniz_oxide", "object", "rustc-demangle", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] -[[package]] -name = "base-x" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cbbc9d0964165b47557570cce6c952866c2678457aca742aafc9fb771d30270" - [[package]] name = "base32" version = "0.4.0" @@ -242,9 +226,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.6.0" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" +checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" [[package]] name = "bitmaps" @@ -257,14 +241,14 @@ dependencies = [ [[package]] name = "blake3" -version = "1.5.5" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8ee0c1824c4dea5b5f81736aff91bae041d2c07ee1192bec91054e10e3e601e" +checksum = "3888aaa89e4b2a40fca9848e400f6a658a5a3978de7be858e209cafa8be9a4a0" dependencies = [ "arrayref", "arrayvec", "cc", - "cfg-if 1.0.0", + "cfg-if 1.0.4", "constant_time_eq", ] @@ -320,9 +304,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.16.0" +version = "3.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" +checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" [[package]] name = "byte-tools" @@ -338,9 +322,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.9.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" +checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3" [[package]] name = "cbindgen" @@ -363,10 +347,11 @@ dependencies = [ [[package]] name = "cc" -version = "1.2.4" +version = "1.2.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9157bbaa6b165880c27a4293a474c91cdcf265cc68cc829bf10be0964a391caf" +checksum = "cd405d82c84ff7f35739f175f67d8b9fb7687a0e84ccdc78bd3568839827cf07" dependencies = [ + "find-msvc-tools", "shlex", ] @@ -378,9 +363,9 @@ checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" [[package]] name = "cfg-if" -version = "1.0.0" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "cfg_aliases" @@ -390,17 +375,16 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" [[package]] name = "chrono" -version = "0.4.39" +version = "0.4.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e36cc9d416881d2e24f9a963be5fb1cd90966419ac844274161d10488b3e825" +checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2" dependencies = [ - "android-tzdata", "iana-time-zone", "js-sys", "num-traits", "serde", "wasm-bindgen", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] @@ -426,22 +410,22 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.23" +version = "4.5.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3135e7ec2ef7b10c6ed8950f0f792ed96ee093fa088608f1c76e569722700c84" +checksum = "c9e340e012a1bf4935f5282ed1436d1489548e8f72308207ea5df0e23d2d03f8" dependencies = [ "clap_builder", ] [[package]] name = "clap_builder" -version = "4.5.23" +version = "4.5.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30582fc632330df2bd26877bde0c1f4470d57c582bbc070376afcd04d8cb4838" +checksum = "d76b5d13eaa18c901fd2f7fca939fefe3a0727a953561fefdf3b2922b8569d00" dependencies = [ "anstream", "anstyle", - "clap_lex 0.7.4", + "clap_lex 0.7.6", "strsim 0.11.1", ] @@ -456,15 +440,15 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.7.4" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" +checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d" [[package]] name = "colorchoice" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990" +checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" [[package]] name = "compiler_base_error" @@ -510,12 +494,6 @@ dependencies = [ "rustc_span", ] -[[package]] -name = "const_fn" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "373e9fafaa20882876db20562275ff58d50e0caa2590077fe7ce7bef90211d0d" - [[package]] name = "constant_time_eq" version = "0.3.1" @@ -530,27 +508,27 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "cpufeatures" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b80225097f2e5ae4e7179dd2266824648f3e2f49d9134d584b76389d31c4c3" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" dependencies = [ "libc", ] [[package]] name = "crc32fast" -version = "1.4.2" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" +checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", ] [[package]] name = "crossbeam-channel" -version = "0.5.14" +version = "0.5.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ba6d68e24814cb8de6bb986db8222d3a027d15872cabc0d18817bc3c0e4471" +checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2" dependencies = [ "crossbeam-utils", ] @@ -582,9 +560,9 @@ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" [[package]] name = "crypto-common" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" dependencies = [ "generic-array 0.14.7", "typenum", @@ -592,9 +570,9 @@ dependencies = [ [[package]] name = "darling" -version = "0.20.10" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989" +checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee" dependencies = [ "darling_core", "darling_macro", @@ -602,27 +580,27 @@ dependencies = [ [[package]] name = "darling_core" -version = "0.20.10" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95133861a8032aaea082871032f5815eb9e98cef03fa916ab4500513994df9e5" +checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e" dependencies = [ "fnv", "ident_case", "proc-macro2", "quote", "strsim 0.11.1", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "darling_macro" -version = "0.20.10" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" +checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" dependencies = [ "darling_core", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -631,18 +609,18 @@ version = "5.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "hashbrown 0.14.5", "lock_api", "once_cell", - "parking_lot_core 0.9.10", + "parking_lot_core 0.9.12", ] [[package]] name = "deranged" -version = "0.3.11" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" +checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587" dependencies = [ "powerfmt", ] @@ -665,7 +643,7 @@ dependencies = [ "darling", "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -675,7 +653,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab63b0e2bf4d5928aff72e83a7dace85d7bba5fe12dcc3c5a572d78caffd3f3c" dependencies = [ "derive_builder_core", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -734,12 +712,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "discard" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0" - [[package]] name = "displaydoc" version = "0.2.5" @@ -748,26 +720,26 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "dns-lookup" -version = "2.0.4" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5766087c2235fec47fafa4cfecc81e494ee679d0fd4a59887ea0919bfb0e4fc" +checksum = "cf5597a4b7fe5275fc9dcf88ce26326bc8e4cb87d0130f33752d4c5f717793cf" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", "socket2", - "windows-sys 0.48.0", + "windows-sys 0.60.2", ] [[package]] name = "either" -version = "1.13.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" +checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "ena" @@ -779,69 +751,14 @@ dependencies = [ ] [[package]] -name = "encoding" -version = "0.2.33" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b0d943856b990d12d3b55b359144ff341533e516d94098b1d3fc1ac666d36ec" -dependencies = [ - "encoding-index-japanese", - "encoding-index-korean", - "encoding-index-simpchinese", - "encoding-index-singlebyte", - "encoding-index-tradchinese", -] - -[[package]] -name = "encoding-index-japanese" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04e8b2ff42e9a05335dbf8b5c6f7567e5591d0d916ccef4e0b1710d32a0d0c91" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-korean" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dc33fb8e6bcba213fe2f14275f0963fd16f0a02c878e3095ecfdf5bee529d81" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-simpchinese" -version = "1.20141219.5" +name = "encoding_rs" +version = "0.8.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d87a7194909b9118fc707194baa434a4e3b0fb6a5a757c73c3adb07aa25031f7" +checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" dependencies = [ - "encoding_index_tests", + "cfg-if 1.0.4", ] -[[package]] -name = "encoding-index-singlebyte" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3351d5acffb224af9ca265f435b859c7c01537c0849754d3db3fdf2bfe2ae84a" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-tradchinese" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd0e20d5688ce3cab59eb3ef3a2083a5c77bf496cb798dc6fcdb75f323890c18" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding_index_tests" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a246d82be1c9d791c5dfde9a2bd045fc3cbba3fa2b11ad558f27d01712f00569" - [[package]] name = "enquote" version = "1.1.0" @@ -853,9 +770,9 @@ dependencies = [ [[package]] name = "env_filter" -version = "0.1.2" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f2c92ceda6ceec50f43169f9ee8424fe2db276791afde7b2cd8bc084cb376ab" +checksum = "1bf3c259d255ca70051b30e2e95b5446cdb8949ac4cd22c0d7fd634d89f568e2" dependencies = [ "log", "regex", @@ -863,41 +780,42 @@ dependencies = [ [[package]] name = "env_logger" -version = "0.11.5" +version = "0.11.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13fa619b91fb2381732789fc5de83b45675e882f66623b7d8cb4f643017018d" +checksum = "13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f" dependencies = [ "anstream", "anstyle", "env_filter", - "humantime", + "jiff", "log", ] [[package]] name = "equivalent" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" [[package]] name = "erased-serde" -version = "0.4.5" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24e2389d65ab4fab27dc2a5de7b191e1f6617d1f1c8855c0dc569c94a4cbb18d" +checksum = "89e8918065695684b2b0702da20382d5ae6065cf3327bc2d6436bd49a71ce9f3" dependencies = [ "serde", + "serde_core", "typeid", ] [[package]] name = "errno" -version = "0.3.10" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -918,27 +836,39 @@ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" [[package]] name = "filetime" -version = "0.2.25" +version = "0.2.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586" +checksum = "bc0505cd1b6fa6580283f6bdf70a73fcf4aba1184038c90902b92b3dd0df63ed" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", "libredox", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] +[[package]] +name = "find-msvc-tools" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844" + [[package]] name = "fixedbitset" version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" +[[package]] +name = "fixedbitset" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99" + [[package]] name = "flate2" -version = "1.0.35" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c" +checksum = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb" dependencies = [ "crc32fast", "miniz_oxide", @@ -972,9 +902,9 @@ dependencies = [ [[package]] name = "fluent-langneg" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c4ad0989667548f06ccd0e306ed56b61bd4d35458d54df5ec7587c0e8ed5e94" +checksum = "7eebbe59450baee8282d71676f3bfed5689aeab00b27545e83e5f14b1195e8b0" dependencies = [ "unic-langid", ] @@ -996,9 +926,9 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "form_urlencoded" -version = "1.2.1" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" dependencies = [ "percent-encoding", ] @@ -1084,7 +1014,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -1123,7 +1053,7 @@ version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "877e94aff08e743b651baaea359664321055749b398adff8740a7399af7796e7" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", ] [[package]] @@ -1147,28 +1077,42 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" +checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "js-sys", "libc", "wasi", "wasm-bindgen", ] +[[package]] +name = "getrandom" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if 1.0.4", + "js-sys", + "libc", + "r-efi", + "wasip2", + "wasm-bindgen", +] + [[package]] name = "gimli" -version = "0.31.1" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" +checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7" [[package]] name = "glob" -version = "0.3.1" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" +checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" [[package]] name = "handlebars" @@ -1198,9 +1142,9 @@ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" [[package]] name = "hashbrown" -version = "0.15.2" +version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" [[package]] name = "heck" @@ -1217,6 +1161,12 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + [[package]] name = "hermit-abi" version = "0.1.19" @@ -1228,9 +1178,9 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.3.9" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" +checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" [[package]] name = "hmac" @@ -1241,31 +1191,22 @@ dependencies = [ "digest 0.10.7", ] -[[package]] -name = "home" -version = "0.5.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" -dependencies = [ - "windows-sys 0.52.0", -] - [[package]] name = "hostname" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9c7c7c8ac16c798734b8a24560c1362120597c40d5e1459f09498f8f6c8f2ba" +checksum = "a56f203cd1c76362b69e3863fd987520ac36cf70a8c92627449b2f64a8cf7d65" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", - "windows", + "windows-link 0.1.3", ] [[package]] name = "http" -version = "1.2.0" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea" +checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565" dependencies = [ "bytes", "fnv", @@ -1293,12 +1234,12 @@ dependencies = [ [[package]] name = "http-body-util" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" +checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" dependencies = [ "bytes", - "futures-util", + "futures-core", "http", "http-body", "pin-project-lite", @@ -1306,30 +1247,26 @@ dependencies = [ [[package]] name = "httparse" -version = "1.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946" - -[[package]] -name = "humantime" -version = "2.1.0" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" [[package]] name = "hyper" -version = "1.5.2" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "256fb8d4bd6413123cc9d91832d78325c48ff41677595be797d90f42969beae0" +checksum = "2ab2d4f250c3d7b1c9fcdff1cece94ea4e2dfbec68614f7b87cb205f24ca9d11" dependencies = [ + "atomic-waker", "bytes", "futures-channel", - "futures-util", + "futures-core", "http", "http-body", "httparse", "itoa", "pin-project-lite", + "pin-utils", "smallvec", "tokio", "want", @@ -1337,11 +1274,10 @@ dependencies = [ [[package]] name = "hyper-rustls" -version = "0.27.4" +version = "0.27.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6884a48c6826ec44f524c7456b163cebe9e55a18d7b5e307cb4f100371cc767" +checksum = "e3c93eb611681b207e1fe55d5a71ecf91572ec8a6705cdb6857f7d8d5242cf58" dependencies = [ - "futures-util", "http", "hyper", "hyper-util", @@ -1355,16 +1291,21 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.10" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4" +checksum = "52e9a2a24dc5c6821e71a7030e1e14b7b632acac55c40e9d2e082c621261bb56" dependencies = [ + "base64 0.22.1", "bytes", "futures-channel", + "futures-core", "futures-util", "http", "http-body", "hyper", + "ipnet", + "libc", + "percent-encoding", "pin-project-lite", "socket2", "tokio", @@ -1374,14 +1315,15 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.61" +version = "0.1.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220" +checksum = "33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", + "log", "wasm-bindgen", "windows-core", ] @@ -1397,21 +1339,22 @@ dependencies = [ [[package]] name = "icu_collections" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526" +checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43" dependencies = [ "displaydoc", + "potential_utf", "yoke", "zerofrom", "zerovec", ] [[package]] -name = "icu_locid" -version = "1.5.0" +name = "icu_locale_core" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637" +checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6" dependencies = [ "displaydoc", "litemap", @@ -1420,99 +1363,61 @@ dependencies = [ "zerovec", ] -[[package]] -name = "icu_locid_transform" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e" -dependencies = [ - "displaydoc", - "icu_locid", - "icu_locid_transform_data", - "icu_provider", - "tinystr", - "zerovec", -] - -[[package]] -name = "icu_locid_transform_data" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e" - [[package]] name = "icu_normalizer" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f" +checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599" dependencies = [ - "displaydoc", "icu_collections", "icu_normalizer_data", "icu_properties", "icu_provider", "smallvec", - "utf16_iter", - "utf8_iter", - "write16", "zerovec", ] [[package]] name = "icu_normalizer_data" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516" +checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a" [[package]] name = "icu_properties" -version = "1.5.1" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5" +checksum = "e93fcd3157766c0c8da2f8cff6ce651a31f0810eaa1c51ec363ef790bbb5fb99" dependencies = [ - "displaydoc", "icu_collections", - "icu_locid_transform", + "icu_locale_core", "icu_properties_data", "icu_provider", - "tinystr", + "zerotrie", "zerovec", ] [[package]] name = "icu_properties_data" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569" +checksum = "02845b3647bb045f1100ecd6480ff52f34c35f82d9880e029d329c21d1054899" [[package]] name = "icu_provider" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9" +checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614" dependencies = [ "displaydoc", - "icu_locid", - "icu_provider_macros", - "stable_deref_trait", - "tinystr", + "icu_locale_core", "writeable", "yoke", "zerofrom", + "zerotrie", "zerovec", ] -[[package]] -name = "icu_provider_macros" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.90", -] - [[package]] name = "ident_case" version = "1.0.1" @@ -1521,9 +1426,9 @@ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" [[package]] name = "idna" -version = "1.0.3" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" dependencies = [ "idna_adapter", "smallvec", @@ -1532,9 +1437,9 @@ dependencies = [ [[package]] name = "idna_adapter" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71" +checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" dependencies = [ "icu_normalizer", "icu_properties", @@ -1547,7 +1452,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af1955a75fa080c677d3972822ec4bad316169ab1cfc6c257a942c2265dbe5fe" dependencies = [ "bitmaps", - "rand_core", + "rand_core 0.6.4", "rand_xoshiro", "sized-chunks", "typenum", @@ -1562,17 +1467,17 @@ checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" dependencies = [ "autocfg", "hashbrown 0.12.3", - "rustc-rayon 0.5.0", + "rustc-rayon 0.5.1", ] [[package]] name = "indexmap" -version = "2.7.0" +version = "2.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f" +checksum = "0ad4bb2b565bca0645f4d68c5c9af97fba094e9791da685bf83cb5f3ce74acf2" dependencies = [ "equivalent", - "hashbrown 0.15.2", + "hashbrown 0.16.1", ] [[package]] @@ -1612,14 +1517,14 @@ version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", ] [[package]] name = "intl-memoizer" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe22e020fce238ae18a6d5d8c502ee76a52a6e880d99477657e6acc30ec57bda" +checksum = "310da2e345f5eb861e7a07ee182262e94975051db9e4223e909ba90f392f163f" dependencies = [ "type-map", "unic-langid", @@ -1636,21 +1541,34 @@ dependencies = [ [[package]] name = "inventory" -version = "0.3.15" +version = "0.3.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f958d3d68f4167080a18141e10381e7634563984a537f2a49a30fd8e53ac5767" +checksum = "bc61209c082fbeb19919bee74b176221b27223e27b65d781eb91af24eb1fb46e" +dependencies = [ + "rustversion", +] [[package]] name = "ipnet" -version = "2.10.1" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" + +[[package]] +name = "iri-string" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708" +checksum = "4f867b9d1d896b67beb18518eda36fdb77a32ea590de864f1325b294a6d14397" +dependencies = [ + "memchr", + "serde", +] [[package]] name = "is_terminal_polyfill" -version = "1.70.1" +version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" +checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" [[package]] name = "itertools" @@ -1661,18 +1579,52 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" +dependencies = [ + "either", +] + [[package]] name = "itoa" -version = "1.0.14" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" + +[[package]] +name = "jiff" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49cce2b81f2098e7e3efc35bc2e0a6b7abec9d34128283d7a26fa8f32a6dbb35" +dependencies = [ + "jiff-static", + "log", + "portable-atomic", + "portable-atomic-util", + "serde_core", +] + +[[package]] +name = "jiff-static" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" +checksum = "980af8b43c3ad5d8d349ace167ec8170839f753a42d233ba19e08afe1850fa69" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] [[package]] name = "jobserver" -version = "0.1.32" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" +checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" dependencies = [ + "getrandom 0.3.4", "libc", ] @@ -1684,9 +1636,9 @@ checksum = "8b23360e99b8717f20aaa4598f5a6541efbe30630039fbc7706cf954a87947ae" [[package]] name = "js-sys" -version = "0.3.76" +version = "0.3.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6717b6b5b077764fb5966237269cb3c64edddde4b14ce42647430a78ced9e7b7" +checksum = "b011eec8cc36da2aab2d5cff675ec18454fad408585853910a202391cf9f8e65" dependencies = [ "once_cell", "wasm-bindgen", @@ -1742,112 +1694,58 @@ dependencies = [ "hmac", "serde", "serde_json", - "sha2 0.10.8", + "sha2 0.10.9", ] [[package]] -name = "kcl-language-server" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-api" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", - "chrono", - "clap 4.5.23", - "compiler_base_session", - "crossbeam-channel", - "dashmap", - "env_logger", - "im-rc", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-parser", - "kclvm-query", - "kclvm-sema", - "kclvm-span", - "kclvm-tools", - "kclvm-utils", - "kclvm-version", - "log", - "lsp-server", - "lsp-types", + "futures", + "jsonrpc-stdio-server", + "kcl-ast", + "kcl-ast-pretty", + "kcl-config", + "kcl-driver", + "kcl-error", + "kcl-language-server", + "kcl-loader", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-runner", + "kcl-runtime", + "kcl-sema", + "kcl-tools", + "kcl-utils", + "kcl-version", "maplit", - "notify 7.0.0", - "parking_lot 0.12.3", - "proc_macro_crate", - "ra_ap_vfs", - "ra_ap_vfs-notify", - "ropey", - "rustc-hash 1.1.0", - "rustc_lexer", - "salsa", + "once_cell", + "prost", + "prost-build", + "prost-types", + "prost-wkt", + "prost-wkt-build", + "protoc-bin-vendored", "serde", "serde_json", - "threadpool", + "serde_yaml_ng", + "tempfile", "tokio", - "tokio-test", ] [[package]] -name = "kcl-lib-c" -version = "0.11.1" -dependencies = [ - "cbindgen", - "kclvm-api", -] - -[[package]] -name = "kclvm-api" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" -dependencies = [ - "anyhow", - "futures", - "indexmap 1.9.3", - "jsonrpc-stdio-server", - "kcl-language-server", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-loader", - "kclvm-parser", - "kclvm-query", - "kclvm-runner", - "kclvm-runtime", - "kclvm-sema", - "kclvm-tools", - "kclvm-utils", - "kclvm-version", - "maplit", - "once_cell", - "prost", - "prost-build", - "prost-types", - "prost-wkt", - "prost-wkt-build", - "prost-wkt-types", - "protoc-bin-vendored", - "serde", - "serde_json", - "serde_yaml", - "tempfile", - "tokio", -] - -[[package]] -name = "kclvm-ast" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-ast" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "compiler_base_span", - "kclvm-error", - "kclvm-span", - "kclvm-utils", + "kcl-error", + "kcl-span", + "kcl-utils", "serde", "serde_json", "thread_local", @@ -1855,80 +1753,58 @@ dependencies = [ ] [[package]] -name = "kclvm-ast-pretty" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-ast-pretty" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "compiler_base_macros", "compiler_base_session", "fancy-regex", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-error", + "kcl-ast", + "kcl-error", + "kcl-primitives", "pretty_assertions", ] [[package]] -name = "kclvm-compiler" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" -dependencies = [ - "ahash", - "bit-set", - "bitflags 1.3.2", - "fancy-regex", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-error", - "kclvm-runtime", - "kclvm-sema", - "once_cell", - "phf", - "time 0.2.27", - "unicode_names2", -] - -[[package]] -name = "kclvm-config" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-config" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ - "ahash", "anyhow", "chrono", "dirs", "glob", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-utils", - "kclvm-version", + "kcl-ast", + "kcl-utils", + "kcl-version", "md-5 0.8.0", "pathdiff", "regex", "ron", "serde", "serde_json", - "serde_yaml", + "serde_yaml_ng", "toml", "url", ] [[package]] -name = "kclvm-driver" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-driver" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "flate2", - "indexmap 2.7.0", - "kclvm-ast", - "kclvm-config", - "kclvm-parser", - "kclvm-runtime", - "kclvm-utils", - "oci-distribution", + "kcl-ast", + "kcl-config", + "kcl-parser", + "kcl-primitives", + "kcl-runtime", + "kcl-utils", + "oci-client", "once_cell", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "serde", "serde_json", "tar", @@ -1937,9 +1813,9 @@ dependencies = [ ] [[package]] -name = "kclvm-error" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-error" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "annotate-snippets", "anyhow", @@ -1947,63 +1823,116 @@ dependencies = [ "compiler_base_macros", "compiler_base_session", "compiler_base_span", - "indexmap 1.9.3", - "kclvm-runtime", - "kclvm-span", - "kclvm-utils", + "kcl-primitives", + "kcl-runtime", + "kcl-span", + "kcl-utils", "serde", "serde_json", "termize", - "thiserror 1.0.69", + "thiserror 2.0.17", "tracing", ] [[package]] -name = "kclvm-evaluator" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-evaluator" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "generational-arena", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-error", - "kclvm-runtime", - "kclvm-sema", + "kcl-ast", + "kcl-error", + "kcl-primitives", + "kcl-runtime", + "kcl-sema", "scopeguard", ] [[package]] -name = "kclvm-lexer" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-language-server" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" +dependencies = [ + "anyhow", + "chrono", + "clap 4.5.53", + "compiler_base_session", + "crossbeam-channel", + "dashmap", + "env_logger", + "im-rc", + "kcl-ast", + "kcl-config", + "kcl-driver", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-sema", + "kcl-span", + "kcl-tools", + "kcl-utils", + "kcl-version", + "log", + "lsp-server", + "lsp-types", + "maplit", + "notify 7.0.0", + "parking_lot 0.12.5", + "proc_macro_crate", + "ra_ap_vfs", + "ra_ap_vfs-notify", + "ropey", + "rustc-hash 1.1.0", + "rustc_lexer", + "salsa", + "serde", + "serde_json", + "threadpool", + "tokio", + "tokio-test", +] + +[[package]] +name = "kcl-lexer" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ - "kclvm-error", + "kcl-error", "rustc_lexer", "unic-emoji-char", ] [[package]] -name = "kclvm-loader" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-lib-c" +version = "0.12.0" +dependencies = [ + "cbindgen", + "kcl-api", +] + +[[package]] +name = "kcl-loader" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-error", - "kclvm-parser", - "kclvm-query", - "kclvm-sema", - "kclvm-utils", + "kcl-ast", + "kcl-ast-pretty", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-sema", + "kcl-utils", "maplit", ] [[package]] -name = "kclvm-macros" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-macros" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "proc-macro2", "quote", @@ -2012,9 +1941,9 @@ dependencies = [ ] [[package]] -name = "kclvm-parser" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-parser" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "bstr", @@ -2025,17 +1954,17 @@ dependencies = [ "either", "enquote", "glob", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-config", - "kclvm-error", - "kclvm-lexer", - "kclvm-sema", - "kclvm-span", - "kclvm-utils", + "kcl-ast", + "kcl-config", + "kcl-error", + "kcl-lexer", + "kcl-primitives", + "kcl-sema", + "kcl-span", + "kcl-utils", "num-bigint", - "parking_lot 0.12.3", - "petgraph", + "parking_lot 0.12.5", + "petgraph 0.6.5", "regex", "rustc_lexer", "serde", @@ -2046,30 +1975,39 @@ dependencies = [ ] [[package]] -name = "kclvm-query" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-primitives" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" +dependencies = [ + "indexmap 2.12.1", + "rustc-hash 2.1.1", +] + +[[package]] +name = "kcl-query" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "compiler_base_macros", "compiler_base_session", "fancy-regex", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-error", - "kclvm-parser", - "kclvm-sema", - "kclvm-utils", + "kcl-ast", + "kcl-ast-pretty", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-sema", + "kcl-utils", "maplit", "serde", "serde_json", ] [[package]] -name = "kclvm-runner" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-runner" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "cc", @@ -2077,19 +2015,18 @@ dependencies = [ "compiler_base_macros", "compiler_base_session", "glob", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-compiler", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-evaluator", - "kclvm-parser", - "kclvm-query", - "kclvm-runtime", - "kclvm-sema", - "kclvm-utils", - "kclvm-version", + "kcl-ast", + "kcl-config", + "kcl-driver", + "kcl-error", + "kcl-evaluator", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-runtime", + "kcl-sema", + "kcl-utils", + "kcl-version", "libc", "libloading", "once_cell", @@ -2102,11 +2039,10 @@ dependencies = [ ] [[package]] -name = "kclvm-runtime" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-runtime" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ - "ahash", "anyhow", "base32", "base64 0.13.1", @@ -2115,15 +2051,15 @@ dependencies = [ "chrono", "cidr", "dns-lookup", - "encoding", + "encoding_rs", "fancy-regex", "generational-arena", "glob", "handlebars", "hostname", - "indexmap 1.9.3", - "itertools", - "kclvm_runtime_internal_macros", + "itertools 0.10.5", + "kcl-primitives", + "kcl_runtime_internal_macros", "lazy_static", "libc", "md5", @@ -2132,7 +2068,7 @@ dependencies = [ "regex", "serde", "serde_json", - "serde_yaml", + "serde_yaml_ng", "sha1", "sha2 0.9.9", "unic-ucd-bidi", @@ -2143,11 +2079,10 @@ dependencies = [ ] [[package]] -name = "kclvm-sema" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-sema" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ - "ahash", "anyhow", "bit-set", "bitflags 1.3.2", @@ -2157,17 +2092,17 @@ dependencies = [ "compiler_base_span", "fancy-regex", "generational-arena", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-error", - "kclvm-runtime", - "kclvm-span", - "kclvm-utils", + "kcl-ast", + "kcl-ast-pretty", + "kcl-error", + "kcl-primitives", + "kcl-runtime", + "kcl-span", + "kcl-utils", "lazy_static", "once_cell", - "parking_lot 0.12.3", - "petgraph", + "parking_lot 0.12.5", + "petgraph 0.6.5", "phf", "regex", "serde", @@ -2177,51 +2112,51 @@ dependencies = [ ] [[package]] -name = "kclvm-span" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-span" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "compiler_base_span", - "kclvm-macros", + "kcl-macros", "parking_lot 0.11.2", "scoped-tls", ] [[package]] -name = "kclvm-tools" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-tools" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "compiler_base_session", "compiler_base_span", "fancy-regex", - "indexmap 1.9.3", "json-spanned-value", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-parser", - "kclvm-query", - "kclvm-runner", - "kclvm-runtime", - "kclvm-sema", - "kclvm-utils", + "kcl-ast", + "kcl-ast-pretty", + "kcl-config", + "kcl-driver", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-runner", + "kcl-runtime", + "kcl-sema", + "kcl-utils", "located_yaml", "once_cell", "regex", "rustc_lexer", "serde_json", - "serde_yaml", + "serde_yaml_ng", "walkdir", ] [[package]] -name = "kclvm-utils" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-utils" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "fslock", @@ -2229,17 +2164,17 @@ dependencies = [ ] [[package]] -name = "kclvm-version" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-version" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "vergen-gitcl", ] [[package]] -name = "kclvm_runtime_internal_macros" -version = "0.5.0" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl_runtime_internal_macros" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "proc-macro2", "quote", @@ -2248,9 +2183,9 @@ dependencies = [ [[package]] name = "kqueue" -version = "1.0.8" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7447f1ca1b7b563588a205fe93dea8df60fd981423a768bc1c0ded35ed147d0c" +checksum = "eac30106d7dce88daf4a3fcb4879ea939476d5074a9b7ddd0fb97fa4bed5596a" dependencies = [ "kqueue-sys", "libc", @@ -2274,9 +2209,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.169" +version = "0.2.177" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" +checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976" [[package]] name = "libloading" @@ -2284,19 +2219,19 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "winapi", ] [[package]] name = "libredox" -version = "0.1.3" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" +checksum = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", "libc", - "redox_syscall 0.5.8", + "redox_syscall 0.5.18", ] [[package]] @@ -2310,15 +2245,15 @@ dependencies = [ [[package]] name = "linux-raw-sys" -version = "0.4.14" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" +checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" [[package]] name = "litemap" -version = "0.7.4" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104" +checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77" [[package]] name = "located_yaml" @@ -2333,29 +2268,35 @@ dependencies = [ [[package]] name = "lock_api" -version = "0.4.12" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" dependencies = [ - "autocfg", "scopeguard", ] [[package]] name = "log" -version = "0.4.22" +version = "0.4.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432" + +[[package]] +name = "lru-slab" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" +checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154" [[package]] name = "lsp-server" -version = "0.7.7" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "550446e84739dcaf6d48a4a093973850669e13e8a34d8f8d64851041be267cd9" +checksum = "7d6ada348dbc2703cbe7637b2dda05cff84d3da2819c24abcb305dd613e0ba2e" dependencies = [ "crossbeam-channel", "log", "serde", + "serde_derive", "serde_json", ] @@ -2401,7 +2342,7 @@ version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "digest 0.10.7", ] @@ -2413,9 +2354,9 @@ checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771" [[package]] name = "memchr" -version = "2.7.4" +version = "2.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" +checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" [[package]] name = "memmap2" @@ -2426,19 +2367,14 @@ dependencies = [ "libc", ] -[[package]] -name = "mime" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" - [[package]] name = "miniz_oxide" -version = "0.8.2" +version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ffbe83022cedc1d264172192511ae958937694cd57ce297164951b8b3568394" +checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" dependencies = [ "adler2", + "simd-adler32", ] [[package]] @@ -2455,14 +2391,14 @@ dependencies = [ [[package]] name = "mio" -version = "1.0.3" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" +checksum = "69d83b0086dc8ecf3ce9ae2874b2d1290252e2a30720bea58a5c6639b0092873" dependencies = [ "libc", "log", "wasi", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -2476,9 +2412,9 @@ dependencies = [ [[package]] name = "multimap" -version = "0.8.3" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" +checksum = "1d87ecb2933e8aeadb3e3a02b828fed80a7528047e68b4f424523a0981a3a084" [[package]] name = "notify" @@ -2504,14 +2440,14 @@ version = "7.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c533b4c39709f9ba5005d8002048266593c1cfaf3c5f0739d5b8ab0c6c504009" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", "filetime", "fsevent-sys", "inotify 0.10.2", "kqueue", "libc", "log", - "mio 1.0.3", + "mio 1.1.0", "notify-types", "walkdir", "windows-sys 0.52.0", @@ -2562,11 +2498,11 @@ dependencies = [ [[package]] name = "num_cpus" -version = "1.16.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" +checksum = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b" dependencies = [ - "hermit-abi 0.3.9", + "hermit-abi 0.5.2", "libc", ] @@ -2581,18 +2517,18 @@ dependencies = [ [[package]] name = "object" -version = "0.36.5" +version = "0.37.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aedf0a2d09c573ed1d8d85b30c119153926a2b36dce0ab28322c09a117a4683e" +checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe" dependencies = [ "memchr", ] [[package]] -name = "oci-distribution" +name = "oci-client" version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b95a2c51531af0cb93761f66094044ca6ea879320bccd35ab747ff3fcab3f422" +checksum = "560faeb9396a5bae11b141bed3cec8bf9242e5bfec17d0f48feeeab0f879ca35" dependencies = [ "bytes", "chrono", @@ -2606,7 +2542,7 @@ dependencies = [ "reqwest", "serde", "serde_json", - "sha2 0.10.8", + "sha2 0.10.9", "thiserror 1.0.69", "tokio", "tracing", @@ -2626,15 +2562,21 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.20.2" +version = "1.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" + +[[package]] +name = "once_cell_polyfill" +version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" +checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" [[package]] name = "oorandom" -version = "11.1.4" +version = "11.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9" +checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e" [[package]] name = "opaque-debug" @@ -2673,12 +2615,12 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.3" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" dependencies = [ "lock_api", - "parking_lot_core 0.9.10", + "parking_lot_core 0.9.12", ] [[package]] @@ -2687,7 +2629,7 @@ version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "instant", "libc", "redox_syscall 0.2.16", @@ -2697,15 +2639,15 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.10" +version = "0.9.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", - "redox_syscall 0.5.8", + "redox_syscall 0.5.18", "smallvec", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] @@ -2716,26 +2658,25 @@ checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3" [[package]] name = "percent-encoding" -version = "2.3.1" +version = "2.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" [[package]] name = "pest" -version = "2.7.15" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b7cafe60d6cf8e62e1b9b2ea516a089c008945bb5a275416789e7db0bc199dc" +checksum = "cbcfd20a6d4eeba40179f05735784ad32bdaef05ce8e8af05f180d45bb3e7e22" dependencies = [ "memchr", - "thiserror 2.0.8", "ucd-trie", ] [[package]] name = "pest_derive" -version = "2.7.15" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "816518421cfc6887a0d62bf441b6ffb4536fcc926395a69e1a85852d4363f57e" +checksum = "51f72981ade67b1ca6adc26ec221be9f463f2b5839c7508998daa17c23d94d7f" dependencies = [ "pest", "pest_generator", @@ -2743,26 +2684,25 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.15" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d1396fd3a870fc7838768d171b4616d5c91f6cc25e377b673d714567d99377b" +checksum = "dee9efd8cdb50d719a80088b76f81aec7c41ed6d522ee750178f83883d271625" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "pest_meta" -version = "2.7.15" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1e58089ea25d717bfd31fb534e4f3afcc2cc569c70de3e239778991ea3b7dea" +checksum = "bf1d70880e76bdc13ba52eafa6239ce793d85c8e43896507e43dd8984ff05b82" dependencies = [ - "once_cell", "pest", - "sha2 0.10.8", + "sha2 0.10.9", ] [[package]] @@ -2771,8 +2711,18 @@ version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" dependencies = [ - "fixedbitset", - "indexmap 2.7.0", + "fixedbitset 0.4.2", + "indexmap 2.12.1", +] + +[[package]] +name = "petgraph" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3672b37090dbd86368a4145bc067582552b29c27377cad4e0a306c97f9bd7772" +dependencies = [ + "fixedbitset 0.5.7", + "indexmap 2.12.1", ] [[package]] @@ -2793,7 +2743,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d43f3220d96e0080cc9ea234978ccd80d904eafb17be31bb0f76daaea6493082" dependencies = [ "phf_shared", - "rand", + "rand 0.8.5", ] [[package]] @@ -2821,9 +2771,9 @@ dependencies = [ [[package]] name = "pin-project-lite" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff" +checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" [[package]] name = "pin-utils" @@ -2831,6 +2781,30 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "portable-atomic" +version = "1.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483" + +[[package]] +name = "portable-atomic-util" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507" +dependencies = [ + "portable-atomic", +] + +[[package]] +name = "potential_utf" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77" +dependencies = [ + "zerovec", +] + [[package]] name = "powerfmt" version = "0.2.0" @@ -2839,9 +2813,9 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "ppv-lite86" -version = "0.2.20" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" dependencies = [ "zerocopy", ] @@ -2858,12 +2832,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.1.25" +version = "0.2.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86" +checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" dependencies = [ "proc-macro2", - "syn 1.0.109", + "syn 2.0.111", ] [[package]] @@ -2874,9 +2848,9 @@ checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" [[package]] name = "proc-macro2" -version = "1.0.92" +version = "1.0.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" +checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" dependencies = [ "unicode-ident", ] @@ -2884,18 +2858,18 @@ dependencies = [ [[package]] name = "proc_macro_crate" version = "0.1.0" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "prost" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" +checksum = "7231bd9b3d3d33c86b58adbac74b5ec0ad9f496b19d22801d773636feaa95f3d" dependencies = [ "bytes", "prost-derive", @@ -2903,52 +2877,51 @@ dependencies = [ [[package]] name = "prost-build" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" +checksum = "ac6c3320f9abac597dcbc668774ef006702672474aad53c6d596b62e487b40b1" dependencies = [ - "bytes", - "heck 0.4.1", - "itertools", - "lazy_static", + "heck 0.5.0", + "itertools 0.14.0", "log", "multimap", - "petgraph", + "once_cell", + "petgraph 0.7.1", "prettyplease", "prost", "prost-types", "regex", - "syn 1.0.109", + "syn 2.0.111", "tempfile", - "which", ] [[package]] name = "prost-derive" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4" +checksum = "9120690fafc389a67ba3803df527d0ec9cbbc9cc45e4cc20b332996dfb672425" dependencies = [ "anyhow", - "itertools", + "itertools 0.14.0", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.111", ] [[package]] name = "prost-types" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" +checksum = "b9b4db3d6da204ed77bb26ba83b6122a73aeb2e87e25fbf7ad2e84c4ccbf8f72" dependencies = [ "prost", ] [[package]] name = "prost-wkt" -version = "0.4.1" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "655944d0ce015e71b3ec21279437e6a09e58433e50c7b0677901f3d5235e74f5" dependencies = [ "chrono", "inventory", @@ -2961,41 +2934,26 @@ dependencies = [ [[package]] name = "prost-wkt-build" -version = "0.4.1" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f869f1443fee474b785e935d92e1007f57443e485f51668ed41943fc01a321a2" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "prost", "prost-build", "prost-types", "quote", ] -[[package]] -name = "prost-wkt-types" -version = "0.4.1" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" -dependencies = [ - "chrono", - "prost", - "prost-build", - "prost-types", - "prost-wkt", - "prost-wkt-build", - "protoc-bin-vendored", - "regex", - "serde", - "serde_derive", - "serde_json", -] - [[package]] name = "protoc-bin-vendored" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1c381df33c98266b5f08186583660090a4ffa0889e76c7e9a5e175f645a67fa" dependencies = [ "protoc-bin-vendored-linux-aarch_64", "protoc-bin-vendored-linux-ppcle_64", + "protoc-bin-vendored-linux-s390_64", "protoc-bin-vendored-linux-x86_32", "protoc-bin-vendored-linux-x86_64", "protoc-bin-vendored-macos-aarch_64", @@ -3006,71 +2964,87 @@ dependencies = [ [[package]] name = "protoc-bin-vendored-linux-aarch_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c350df4d49b5b9e3ca79f7e646fde2377b199e13cfa87320308397e1f37e1a4c" [[package]] name = "protoc-bin-vendored-linux-ppcle_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a55a63e6c7244f19b5c6393f025017eb5d793fd5467823a099740a7a4222440c" + +[[package]] +name = "protoc-bin-vendored-linux-s390_64" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1dba5565db4288e935d5330a07c264a4ee8e4a5b4a4e6f4e83fad824cc32f3b0" [[package]] name = "protoc-bin-vendored-linux-x86_32" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8854774b24ee28b7868cd71dccaae8e02a2365e67a4a87a6cd11ee6cdbdf9cf5" [[package]] name = "protoc-bin-vendored-linux-x86_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b38b07546580df720fa464ce124c4b03630a6fb83e05c336fea2a241df7e5d78" [[package]] name = "protoc-bin-vendored-macos-aarch_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89278a9926ce312e51f1d999fee8825d324d603213344a9a706daa009f1d8092" [[package]] name = "protoc-bin-vendored-macos-x86_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81745feda7ccfb9471d7a4de888f0652e806d5795b61480605d4943176299756" [[package]] name = "protoc-bin-vendored-win32" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95067976aca6421a523e491fce939a3e65249bac4b977adee0ee9771568e8aa3" [[package]] name = "quinn" -version = "0.11.6" +version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62e96808277ec6f97351a2380e6c25114bc9e67037775464979f3037c92d05ef" +checksum = "b9e20a958963c291dc322d98411f541009df2ced7b5a4f2bd52337638cfccf20" dependencies = [ "bytes", + "cfg_aliases", "pin-project-lite", "quinn-proto", "quinn-udp", - "rustc-hash 2.1.0", + "rustc-hash 2.1.1", "rustls", "socket2", - "thiserror 2.0.8", + "thiserror 2.0.17", "tokio", "tracing", + "web-time", ] [[package]] name = "quinn-proto" -version = "0.11.9" +version = "0.11.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2fe5ef3495d7d2e377ff17b1a8ce2ee2ec2a18cde8b6ad6619d65d0701c135d" +checksum = "f1906b49b0c3bc04b5fe5d86a77925ae6524a19b816ae38ce1e426255f1d8a31" dependencies = [ "bytes", - "getrandom", - "rand", + "getrandom 0.3.4", + "lru-slab", + "rand 0.9.2", "ring", - "rustc-hash 2.1.0", + "rustc-hash 2.1.1", "rustls", "rustls-pki-types", "slab", - "thiserror 2.0.8", + "thiserror 2.0.17", "tinyvec", "tracing", "web-time", @@ -3078,27 +3052,33 @@ dependencies = [ [[package]] name = "quinn-udp" -version = "0.5.9" +version = "0.5.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c40286217b4ba3a71d644d752e6a0b71f13f1b6a2c5311acfcbe0c2418ed904" +checksum = "addec6a0dcad8a8d96a771f815f0eaf55f9d1805756410b39f5fa81332574cbd" dependencies = [ "cfg_aliases", "libc", "once_cell", "socket2", "tracing", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] [[package]] name = "quote" -version = "1.0.37" +version = "1.0.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" +checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" dependencies = [ "proc-macro2", ] +[[package]] +name = "r-efi" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + [[package]] name = "ra_ap_paths" version = "0.0.149" @@ -3152,8 +3132,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", - "rand_chacha", - "rand_core", + "rand_chacha 0.3.1", + "rand_core 0.6.4", +] + +[[package]] +name = "rand" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" +dependencies = [ + "rand_chacha 0.9.0", + "rand_core 0.9.3", ] [[package]] @@ -3163,7 +3153,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", - "rand_core", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_chacha" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" +dependencies = [ + "ppv-lite86", + "rand_core 0.9.3", ] [[package]] @@ -3172,7 +3172,16 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom", + "getrandom 0.2.16", +] + +[[package]] +name = "rand_core" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" +dependencies = [ + "getrandom 0.3.4", ] [[package]] @@ -3181,7 +3190,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa" dependencies = [ - "rand_core", + "rand_core 0.6.4", ] [[package]] @@ -3195,11 +3204,11 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.8" +version = "0.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", ] [[package]] @@ -3208,20 +3217,20 @@ version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ - "getrandom", + "getrandom 0.2.16", "libredox", "thiserror 1.0.69", ] [[package]] name = "regex" -version = "1.11.1" +version = "1.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" +checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.9", + "regex-automata 0.4.13", "regex-syntax", ] @@ -3233,9 +3242,9 @@ checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" [[package]] name = "regex-automata" -version = "0.4.9" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" +checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" dependencies = [ "aho-corasick", "memchr", @@ -3244,15 +3253,15 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.8.5" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" +checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" [[package]] name = "reqwest" -version = "0.12.9" +version = "0.12.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a77c62af46e79de0a562e1a9849205ffcb7fc1238876e9bd743357570e04046f" +checksum = "9d0946410b9f7b082a427e4ef5c8ff541a88b357bc6c637c40db3a68ac70a36f" dependencies = [ "base64 0.22.1", "bytes", @@ -3264,16 +3273,12 @@ dependencies = [ "hyper", "hyper-rustls", "hyper-util", - "ipnet", "js-sys", "log", - "mime", - "once_cell", "percent-encoding", "pin-project-lite", "quinn", "rustls", - "rustls-pemfile", "rustls-pki-types", "serde", "serde_json", @@ -3281,7 +3286,9 @@ dependencies = [ "sync_wrapper", "tokio", "tokio-rustls", - "tokio-util 0.7.13", + "tokio-util 0.7.17", + "tower", + "tower-http", "tower-service", "url", "wasm-bindgen", @@ -3289,20 +3296,18 @@ dependencies = [ "wasm-streams", "web-sys", "webpki-roots", - "windows-registry", ] [[package]] name = "ring" -version = "0.17.8" +version = "0.17.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" dependencies = [ "cc", - "cfg-if 1.0.0", - "getrandom", + "cfg-if 1.0.4", + "getrandom 0.2.16", "libc", - "spin", "untrusted", "windows-sys 0.52.0", ] @@ -3330,9 +3335,9 @@ dependencies = [ [[package]] name = "rustc-demangle" -version = "0.1.24" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" +checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace" [[package]] name = "rustc-hash" @@ -3342,9 +3347,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustc-hash" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497" +checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" [[package]] name = "rustc-rayon" @@ -3359,12 +3364,12 @@ dependencies = [ [[package]] name = "rustc-rayon" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb81aadc8837ca6ecebe0fe1353f15df83b3b3cc2cf7a8afd571bc22aa121710" +checksum = "2cd9fb077db982d7ceb42a90471e5a69a990b58f71e06f0d8340bb2cf35eb751" dependencies = [ "either", - "rustc-rayon-core 0.5.0", + "rustc-rayon-core 0.5.1", ] [[package]] @@ -3381,14 +3386,12 @@ dependencies = [ [[package]] name = "rustc-rayon-core" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67668daaf00e359c126f6dcb40d652d89b458a008c8afa727a42a2d20fca0b7f" +checksum = "2f42932dcd3bcbe484b38a3ccf79b7906fac41c02d408b5b1bac26da3416efdb" dependencies = [ - "crossbeam-channel", "crossbeam-deque", "crossbeam-utils", - "num_cpus", ] [[package]] @@ -3405,7 +3408,7 @@ dependencies = [ "jobserver", "libc", "memmap2", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "rustc-hash 1.1.0", "rustc-rayon 0.3.2", "rustc-rayon-core 0.3.2", @@ -3445,47 +3448,38 @@ dependencies = [ "rustc_data_structures", "scoped-tls", "sha-1", - "sha2 0.10.8", + "sha2 0.10.9", "tracing", "unicode-width", ] -[[package]] -name = "rustc_version" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" -dependencies = [ - "semver 0.9.0", -] - [[package]] name = "rustc_version" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ - "semver 1.0.24", + "semver", ] [[package]] name = "rustix" -version = "0.38.42" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93dc38ecbab2eb790ff964bb77fa94faf256fd3e73285fd7ba0903b76bedb85" +checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", "errno", "libc", "linux-raw-sys", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "rustls" -version = "0.23.20" +version = "0.23.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5065c3f250cbd332cd894be57c40fa52387247659b14a2d6041d121547903b1b" +checksum = "533f54bc6a7d4f647e46ad909549eda97bf5afc1585190ef692b4286b198bd8f" dependencies = [ "once_cell", "ring", @@ -3495,29 +3489,21 @@ dependencies = [ "zeroize", ] -[[package]] -name = "rustls-pemfile" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" -dependencies = [ - "rustls-pki-types", -] - [[package]] name = "rustls-pki-types" -version = "1.10.1" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2bf47e6ff922db3825eb750c4e2ff784c6ff8fb9e13046ef6a1d1c5401b0b37" +checksum = "94182ad936a0c91c324cd46c6511b9510ed16af436d7b5bab34beab0afd55f7a" dependencies = [ "web-time", + "zeroize", ] [[package]] name = "rustls-webpki" -version = "0.102.8" +version = "0.103.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" +checksum = "2ffdfa2f5286e2247234e03f680868ac2815974dc39e00ea15adc445d0aafe52" dependencies = [ "ring", "rustls-pki-types", @@ -3526,15 +3512,15 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.18" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248" +checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" [[package]] name = "ryu" -version = "1.0.18" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" +checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" [[package]] name = "salsa" @@ -3592,76 +3578,73 @@ version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e14e4d63b804dc0c7ec4a1e52bcb63f02c7ac94476755aa579edac21e01f915d" dependencies = [ - "self_cell 1.1.0", + "self_cell 1.2.1", ] [[package]] name = "self_cell" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2fdfc24bc566f839a2da4c4295b82db7d25a24253867d5c64355abb5799bdbe" - -[[package]] -name = "semver" -version = "0.9.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" -dependencies = [ - "semver-parser", -] +checksum = "16c2f82143577edb4921b71ede051dac62ca3c16084e918bf7b40c96ae10eb33" [[package]] name = "semver" -version = "1.0.24" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cb6eb87a131f756572d7fb904f6e7b68633f09cca868c5df1c4b8d1a694bbba" +checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" [[package]] -name = "semver-parser" -version = "0.7.0" +name = "serde" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" +dependencies = [ + "serde_core", + "serde_derive", +] [[package]] -name = "serde" -version = "1.0.216" +name = "serde_core" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b9781016e935a97e8beecf0c933758c97a5520d32930e460142b4cd80c6338e" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.216" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46f859dbbf73865c6627ed570e78961cd3ac92407a2d117204c49232485da55e" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "serde_json" -version = "1.0.115" +version = "1.0.145" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12dc5c46daa8e9fdf4f5e71b6cf9a53f2487da0e86e55808e2d35539666497dd" +checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c" dependencies = [ "itoa", + "memchr", "ryu", "serde", + "serde_core", ] [[package]] name = "serde_repr" -version = "0.1.19" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" +checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -3677,11 +3660,12 @@ dependencies = [ ] [[package]] -name = "serde_yaml" -version = "0.9.34+deprecated" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "serde_yaml_ng" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b4db627b98b36d4203a7b458cf3573730f2bb591b28871d916dfa9efabfd41f" dependencies = [ - "indexmap 2.7.0", + "indexmap 2.12.1", "itoa", "ryu", "serde", @@ -3694,7 +3678,7 @@ version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "cpufeatures", "digest 0.10.7", ] @@ -3721,7 +3705,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" dependencies = [ "block-buffer 0.9.0", - "cfg-if 1.0.0", + "cfg-if 1.0.4", "cpufeatures", "digest 0.9.0", "opaque-debug 0.3.1", @@ -3729,11 +3713,11 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.8" +version = "0.10.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "cpufeatures", "digest 0.10.7", ] @@ -3746,13 +3730,19 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook-registry" -version = "1.4.2" +version = "1.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" +checksum = "7664a098b8e616bdfcc2dc0e9ac44eb231eedf41db4e9fe95d8d32ec728dedad" dependencies = [ "libc", ] +[[package]] +name = "simd-adler32" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" + [[package]] name = "siphasher" version = "0.3.11" @@ -3771,98 +3761,31 @@ dependencies = [ [[package]] name = "slab" -version = "0.4.9" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" -dependencies = [ - "autocfg", -] +checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" [[package]] name = "smallvec" -version = "1.13.2" +version = "1.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" [[package]] name = "socket2" -version = "0.5.8" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8" +checksum = "17129e116933cf371d018bb80ae557e889637989d8638274fb25622827b03881" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.60.2", ] -[[package]] -name = "spin" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" - [[package]] name = "stable_deref_trait" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" - -[[package]] -name = "standback" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e113fb6f3de07a243d434a56ec6f186dfd51cb08448239fe7bcae73f87ff28ff" -dependencies = [ - "version_check", -] - -[[package]] -name = "stdweb" -version = "0.4.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d022496b16281348b52d0e30ae99e01a73d737b2f45d38fed4edf79f9325a1d5" -dependencies = [ - "discard", - "rustc_version 0.2.3", - "stdweb-derive", - "stdweb-internal-macros", - "stdweb-internal-runtime", - "wasm-bindgen", -] - -[[package]] -name = "stdweb-derive" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c87a60a40fccc84bef0652345bbbbbe20a605bf5d0ce81719fc476f5c03b50ef" -dependencies = [ - "proc-macro2", - "quote", - "serde", - "serde_derive", - "syn 1.0.109", -] - -[[package]] -name = "stdweb-internal-macros" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58fa5ff6ad0d98d1ffa8cb115892b6e69d67799f6763e162a1c9db421dc22e11" -dependencies = [ - "base-x", - "proc-macro2", - "quote", - "serde", - "serde_derive", - "serde_json", - "sha1", - "syn 1.0.109", -] - -[[package]] -name = "stdweb-internal-runtime" -version = "0.1.5" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213701ba3370744dcd1a12960caa4843b3d68b4d1c0a5d575e0d65b2ee9d16c0" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" [[package]] name = "str_indices" @@ -3910,9 +3833,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.90" +version = "2.0.111" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31" +checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87" dependencies = [ "proc-macro2", "quote", @@ -3942,20 +3865,20 @@ dependencies = [ [[package]] name = "synstructure" -version = "0.13.1" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" +checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "tar" -version = "0.4.43" +version = "0.4.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c65998313f8e17d0d553d28f91a0df93e4dbbbf770279c7bc21ca0f09ea1a1f6" +checksum = "1d863878d212c87a19c1a610eb53bb01fe12951c0501cf5a0d65f724914a667a" dependencies = [ "filetime", "libc", @@ -3964,15 +3887,15 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.14.0" +version = "3.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c" +checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" dependencies = [ - "cfg-if 1.0.0", "fastrand", + "getrandom 0.3.4", "once_cell", "rustix", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -3996,9 +3919,9 @@ dependencies = [ [[package]] name = "textwrap" -version = "0.16.1" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9" +checksum = "c13547615a44dc9c452a8a534638acdf07120d4b6847c8178705da06306a3057" [[package]] name = "thiserror" @@ -4011,11 +3934,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.8" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08f5383f3e0071702bf93ab5ee99b52d26936be9dedd9413067cbdcddcb6141a" +checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" dependencies = [ - "thiserror-impl 2.0.8", + "thiserror-impl 2.0.17", ] [[package]] @@ -4026,28 +3949,27 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "thiserror-impl" -version = "2.0.8" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2f357fcec90b3caef6623a099691be676d033b40a058ac95d2a6ade6fa0c943" +checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "thread_local" -version = "1.1.8" +version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" +checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185" dependencies = [ - "cfg-if 1.0.0", - "once_cell", + "cfg-if 1.0.4", ] [[package]] @@ -4061,24 +3983,9 @@ dependencies = [ [[package]] name = "time" -version = "0.2.27" +version = "0.3.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4752a97f8eebd6854ff91f1c1824cd6160626ac4bd44287f7f4ea2035a02a242" -dependencies = [ - "const_fn", - "libc", - "standback", - "stdweb", - "time-macros 0.1.1", - "version_check", - "winapi", -] - -[[package]] -name = "time" -version = "0.3.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21" +checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d" dependencies = [ "deranged", "itoa", @@ -4088,63 +3995,41 @@ dependencies = [ "powerfmt", "serde", "time-core", - "time-macros 0.2.19", + "time-macros", ] [[package]] name = "time-core" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" - -[[package]] -name = "time-macros" -version = "0.1.1" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "957e9c6e26f12cb6d0dd7fc776bb67a706312e7299aed74c8dd5b17ebb27e2f1" -dependencies = [ - "proc-macro-hack", - "time-macros-impl", -] +checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b" [[package]] name = "time-macros" -version = "0.2.19" +version = "0.2.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2834e6017e3e5e4b9834939793b282bc03b37a3336245fa820e35e233e2a85de" +checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3" dependencies = [ "num-conv", "time-core", ] -[[package]] -name = "time-macros-impl" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd3c141a1b43194f3f56a1411225df8646c55781d5f26db825b3d98507eb482f" -dependencies = [ - "proc-macro-hack", - "proc-macro2", - "quote", - "standback", - "syn 1.0.109", -] - [[package]] name = "tinystr" -version = "0.7.6" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f" +checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869" dependencies = [ "displaydoc", + "serde_core", "zerovec", ] [[package]] name = "tinyvec" -version = "1.8.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938" +checksum = "bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa" dependencies = [ "tinyvec_macros", ] @@ -4157,38 +4042,37 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.42.0" +version = "1.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cec9b21b0450273377fc97bd4c33a8acffc8c996c987a7c5b319a0083707551" +checksum = "ff360e02eab121e0bc37a2d3b4d4dc622e6eda3a8e5253d5435ecf5bd4c68408" dependencies = [ - "backtrace", "bytes", "libc", - "mio 1.0.3", - "parking_lot 0.12.3", + "mio 1.1.0", + "parking_lot 0.12.5", "pin-project-lite", "signal-hook-registry", "socket2", "tokio-macros", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] name = "tokio-macros" -version = "2.4.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" +checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "tokio-rustls" -version = "0.26.1" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f6d0975eaace0cf0fcadee4e4aaa5da15b5c079146f2cffb67c113be122bf37" +checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61" dependencies = [ "rustls", "tokio", @@ -4234,9 +4118,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.13" +version = "0.7.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7fcaa8d55a2bdd6b83ace262b016eca0d79ee02818c5c1bcdf0305114081078" +checksum = "2efa149fe76073d6e8fd97ef4f4eca7b67f599660115591483572e406e165594" dependencies = [ "bytes", "futures-core", @@ -4254,6 +4138,45 @@ dependencies = [ "serde", ] +[[package]] +name = "tower" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper", + "tokio", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-http" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adc82fd73de2a9722ac5da747f12383d2bfdb93591ee6c58486e0097890f05f2" +dependencies = [ + "bitflags 2.10.0", + "bytes", + "futures-util", + "http", + "http-body", + "iri-string", + "pin-project-lite", + "tower", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-layer" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" + [[package]] name = "tower-service" version = "0.3.3" @@ -4274,20 +4197,20 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.28" +version = "0.1.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" +checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "tracing-core" -version = "0.1.33" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" +checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678" dependencies = [ "once_cell", ] @@ -4300,30 +4223,30 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "type-map" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "deb68604048ff8fa93347f02441e4487594adc20bb8a084f9e564d2b827a0a9f" +checksum = "cb30dbbd9036155e74adad6812e9898d03ec374946234fbcebd5dfc7b9187b90" dependencies = [ - "rustc-hash 1.1.0", + "rustc-hash 2.1.1", ] [[package]] name = "typeid" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e13db2e0ccd5e14a544e8a246ba2312cd25223f616442d7f2cb0e3db614236e" +checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c" [[package]] name = "typenum" -version = "1.17.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" +checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" [[package]] name = "typetag" -version = "0.2.18" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52ba3b6e86ffe0054b2c44f2d86407388b933b16cb0a70eea3929420db1d9bbe" +checksum = "be2212c8a9b9bcfca32024de14998494cf9a5dfa59ea1b829de98bac374b86bf" dependencies = [ "erased-serde", "inventory", @@ -4334,13 +4257,13 @@ dependencies = [ [[package]] name = "typetag-impl" -version = "0.2.18" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70b20a22c42c8f1cd23ce5e34f165d4d37038f5b663ad20fb6adbdf029172483" +checksum = "27a7a9b72ba121f6f1f6c3632b85604cac41aedb5ddc70accbebb6cac83de846" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -4383,9 +4306,9 @@ dependencies = [ [[package]] name = "unic-langid" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23dd9d1e72a73b25e07123a80776aae3e7b0ec461ef94f9151eed6ec88005a44" +checksum = "a28ba52c9b05311f4f6e62d5d9d46f094bd6e84cb8df7b3ef952748d752a7d05" dependencies = [ "unic-langid-impl", "unic-langid-macros", @@ -4393,18 +4316,18 @@ dependencies = [ [[package]] name = "unic-langid-impl" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a5422c1f65949306c99240b81de9f3f15929f5a8bfe05bb44b034cc8bf593e5" +checksum = "dce1bf08044d4b7a94028c93786f8566047edc11110595914de93362559bc658" dependencies = [ "tinystr", ] [[package]] name = "unic-langid-macros" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0da1cd2c042d3c7569a1008806b02039e7a4a2bdf8f8e96bd3c792434a0e275e" +checksum = "d5957eb82e346d7add14182a3315a7e298f04e1ba4baac36f7f0dbfedba5fc25" dependencies = [ "proc-macro-hack", "tinystr", @@ -4414,13 +4337,13 @@ dependencies = [ [[package]] name = "unic-langid-macros-impl" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ed7f4237ba393424195053097c1516bd4590dc82b84f2f97c5c69e12704555b" +checksum = "a1249a628de3ad34b821ecb1001355bca3940bcb2f88558f1a8bd82e977f75b5" dependencies = [ "proc-macro-hack", "quote", - "syn 2.0.90", + "syn 2.0.111", "unic-langid-impl", ] @@ -4458,27 +4381,27 @@ dependencies = [ [[package]] name = "unicase" -version = "2.8.0" +version = "2.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e51b68083f157f853b6379db119d1c1be0e6e4dec98101079dec41f6f5cf6df" +checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539" [[package]] name = "unicode-casing" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "623f59e6af2a98bdafeb93fa277ac8e1e40440973001ca15cf4ae1541cd16d56" +checksum = "061dbb8cc7f108532b6087a0065eff575e892a4bcb503dc57323a197457cc202" [[package]] name = "unicode-ident" -version = "1.0.14" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" +checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" [[package]] name = "unicode-normalization" -version = "0.1.24" +version = "0.1.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956" +checksum = "5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8" dependencies = [ "tinyvec", ] @@ -4521,9 +4444,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.4" +version = "2.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" +checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b" dependencies = [ "form_urlencoded", "idna", @@ -4531,12 +4454,6 @@ dependencies = [ "serde", ] -[[package]] -name = "utf16_iter" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246" - [[package]] name = "utf8_iter" version = "1.0.4" @@ -4551,46 +4468,48 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.11.0" +version = "1.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a" +checksum = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2" dependencies = [ - "getrandom", + "getrandom 0.3.4", + "js-sys", "serde", + "wasm-bindgen", ] [[package]] name = "vergen" -version = "9.0.2" +version = "9.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31f25fc8f8f05df455c7941e87f093ad22522a9ff33d7a027774815acf6f0639" +checksum = "6b2bf58be11fc9414104c6d3a2e464163db5ef74b12296bda593cac37b6e4777" dependencies = [ "anyhow", "derive_builder", - "rustc_version 0.4.1", + "rustc_version", "rustversion", "vergen-lib", ] [[package]] name = "vergen-gitcl" -version = "1.0.2" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0227006d09f98ab00ea69e9a5e055e676a813cfbed4232986176c86a6080b997" +checksum = "b9dfc1de6eb2e08a4ddf152f1b179529638bedc0ea95e6d667c014506377aefe" dependencies = [ "anyhow", "derive_builder", "rustversion", - "time 0.3.37", + "time", "vergen", "vergen-lib", ] [[package]] name = "vergen-lib" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0c767e6751c09fc85cde58722cf2f1007e80e4c8d5a4321fc90d83dc54ca147" +checksum = "9b07e6010c0f3e59fcb164e0163834597da68d1f864e2b8ca49f74de01e9c166" dependencies = [ "anyhow", "derive_builder", @@ -4624,42 +4543,39 @@ dependencies = [ [[package]] name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" +version = "0.11.1+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" [[package]] -name = "wasm-bindgen" -version = "0.2.99" +name = "wasip2" +version = "1.0.1+wasi-0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a474f6281d1d70c17ae7aa6a613c87fce69a127e2624002df63dcb39d6cf6396" +checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" dependencies = [ - "cfg-if 1.0.0", - "once_cell", - "wasm-bindgen-macro", + "wit-bindgen", ] [[package]] -name = "wasm-bindgen-backend" -version = "0.2.99" +name = "wasm-bindgen" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f89bb38646b4f81674e8f5c3fb81b562be1fd936d84320f3264486418519c79" +checksum = "da95793dfc411fbbd93f5be7715b0578ec61fe87cb1a42b12eb625caa5c5ea60" dependencies = [ - "bumpalo", - "log", - "proc-macro2", - "quote", - "syn 2.0.90", + "cfg-if 1.0.4", + "once_cell", + "rustversion", + "wasm-bindgen-macro", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.49" +version = "0.4.55" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38176d9b44ea84e9184eff0bc34cc167ed044f816accfe5922e54d84cf48eca2" +checksum = "551f88106c6d5e7ccc7cd9a16f312dd3b5d36ea8b4954304657d5dfba115d4a0" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "js-sys", "once_cell", "wasm-bindgen", @@ -4668,9 +4584,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.99" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cc6181fd9a7492eef6fef1f33961e3695e4579b9872a6f7c83aee556666d4fe" +checksum = "04264334509e04a7bf8690f2384ef5265f05143a4bff3889ab7a3269adab59c2" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -4678,22 +4594,25 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.99" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30d7a95b763d3c45903ed6c81f156801839e5ee968bb07e534c44df0fcd330c2" +checksum = "420bc339d9f322e562942d52e115d57e950d12d88983a14c79b86859ee6c7ebc" dependencies = [ + "bumpalo", "proc-macro2", "quote", - "syn 2.0.90", - "wasm-bindgen-backend", + "syn 2.0.111", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.99" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "943aab3fdaaa029a6e0271b35ea10b72b943135afe9bffca82384098ad0e06a6" +checksum = "76f218a38c84bcb33c25ec7059b07847d465ce0e0a76b995e134a45adcb6af76" +dependencies = [ + "unicode-ident", +] [[package]] name = "wasm-streams" @@ -4710,9 +4629,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.76" +version = "0.3.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04dd7223427d52553d3702c004d3b2fe07c148165faa56313cb00211e31c12bc" +checksum = "3a1f95c0d03a47f4ae1f7a64643a6bb97465d9b740f0fa8f90ea33915c99a9a1" dependencies = [ "js-sys", "wasm-bindgen", @@ -4730,25 +4649,13 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.26.7" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d642ff16b7e79272ae451b7322067cdc17cadf68c23264be9d94a32319efe7e" +checksum = "b2878ef029c47c6e8cf779119f20fcf52bde7ad42a731b2a304bc221df17571e" dependencies = [ "rustls-pki-types", ] -[[package]] -name = "which" -version = "4.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" -dependencies = [ - "either", - "home", - "once_cell", - "rustix", -] - [[package]] name = "winapi" version = "0.3.9" @@ -4767,11 +4674,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.9" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -4781,52 +4688,68 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] -name = "windows" -version = "0.52.0" +name = "windows-core" +version = "0.62.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" dependencies = [ - "windows-core", - "windows-targets 0.52.6", + "windows-implement", + "windows-interface", + "windows-link 0.2.1", + "windows-result", + "windows-strings", ] [[package]] -name = "windows-core" -version = "0.52.0" +name = "windows-implement" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" dependencies = [ - "windows-targets 0.52.6", + "proc-macro2", + "quote", + "syn 2.0.111", ] [[package]] -name = "windows-registry" -version = "0.2.0" +name = "windows-interface" +version = "0.59.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" dependencies = [ - "windows-result", - "windows-strings", - "windows-targets 0.52.6", + "proc-macro2", + "quote", + "syn 2.0.111", ] +[[package]] +name = "windows-link" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + [[package]] name = "windows-result" -version = "0.2.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" dependencies = [ - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] name = "windows-strings" -version = "0.1.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" dependencies = [ - "windows-result", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] @@ -4873,11 +4796,20 @@ dependencies = [ [[package]] name = "windows-sys" -version = "0.59.0" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" dependencies = [ - "windows-targets 0.52.6", + "windows-targets 0.53.5", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link 0.2.1", ] [[package]] @@ -4919,13 +4851,30 @@ dependencies = [ "windows_aarch64_gnullvm 0.52.6", "windows_aarch64_msvc 0.52.6", "windows_i686_gnu 0.52.6", - "windows_i686_gnullvm", + "windows_i686_gnullvm 0.52.6", "windows_i686_msvc 0.52.6", "windows_x86_64_gnu 0.52.6", "windows_x86_64_gnullvm 0.52.6", "windows_x86_64_msvc 0.52.6", ] +[[package]] +name = "windows-targets" +version = "0.53.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" +dependencies = [ + "windows-link 0.2.1", + "windows_aarch64_gnullvm 0.53.1", + "windows_aarch64_msvc 0.53.1", + "windows_i686_gnu 0.53.1", + "windows_i686_gnullvm 0.53.1", + "windows_i686_msvc 0.53.1", + "windows_x86_64_gnu 0.53.1", + "windows_x86_64_gnullvm 0.53.1", + "windows_x86_64_msvc 0.53.1", +] + [[package]] name = "windows_aarch64_gnullvm" version = "0.42.2" @@ -4944,6 +4893,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" + [[package]] name = "windows_aarch64_msvc" version = "0.42.2" @@ -4962,6 +4917,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" +[[package]] +name = "windows_aarch64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" + [[package]] name = "windows_i686_gnu" version = "0.42.2" @@ -4980,12 +4941,24 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" +[[package]] +name = "windows_i686_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" + [[package]] name = "windows_i686_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" +[[package]] +name = "windows_i686_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" + [[package]] name = "windows_i686_msvc" version = "0.42.2" @@ -5004,6 +4977,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" +[[package]] +name = "windows_i686_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" + [[package]] name = "windows_x86_64_gnu" version = "0.42.2" @@ -5022,6 +5001,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" +[[package]] +name = "windows_x86_64_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" + [[package]] name = "windows_x86_64_gnullvm" version = "0.42.2" @@ -5040,6 +5025,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" + [[package]] name = "windows_x86_64_msvc" version = "0.42.2" @@ -5059,25 +5050,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] -name = "write16" -version = "1.0.0" +name = "windows_x86_64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" + +[[package]] +name = "wit-bindgen" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936" +checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59" [[package]] name = "writeable" -version = "0.5.5" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51" +checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9" [[package]] name = "xattr" -version = "1.3.1" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f" +checksum = "32e45ad4206f6d2479085147f02bc2ef834ac85886624a23575ae137c8aa8156" dependencies = [ "libc", - "linux-raw-sys", "rustix", ] @@ -5107,11 +5103,10 @@ dependencies = [ [[package]] name = "yoke" -version = "0.7.5" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40" +checksum = "72d6e5c6afb84d73944e5cedb052c4680d5657337201555f9f2a16b7406d4954" dependencies = [ - "serde", "stable_deref_trait", "yoke-derive", "zerofrom", @@ -5119,70 +5114,81 @@ dependencies = [ [[package]] name = "yoke-derive" -version = "0.7.5" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" +checksum = "b659052874eb698efe5b9e8cf382204678a0086ebf46982b79d6ca3182927e5d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", - "synstructure 0.13.1", + "syn 2.0.111", + "synstructure 0.13.2", ] [[package]] name = "zerocopy" -version = "0.7.35" +version = "0.8.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" +checksum = "43fa6694ed34d6e57407afbccdeecfa268c470a7d2a5b0cf49ce9fcc345afb90" dependencies = [ - "byteorder", "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.35" +version = "0.8.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" +checksum = "c640b22cd9817fae95be82f0d2f90b11f7605f6c319d16705c459b27ac2cbc26" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "zerofrom" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e" +checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" dependencies = [ "zerofrom-derive", ] [[package]] name = "zerofrom-derive" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808" +checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", - "synstructure 0.13.1", + "syn 2.0.111", + "synstructure 0.13.2", ] [[package]] name = "zeroize" -version = "1.8.1" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" +checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0" + +[[package]] +name = "zerotrie" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a59c17a5562d507e4b54960e8569ebee33bee890c70aa3fe7b97e85a9fd7851" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] [[package]] name = "zerovec" -version = "0.10.4" +version = "0.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079" +checksum = "6c28719294829477f525be0186d13efa9a3c602f7ec202ca9e353d310fb9a002" dependencies = [ + "serde", "yoke", "zerofrom", "zerovec-derive", @@ -5190,11 +5196,11 @@ dependencies = [ [[package]] name = "zerovec-derive" -version = "0.10.3" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" +checksum = "eadce39539ca5cb3985590102671f2567e659fca9666581ad3411d59207951f3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] diff --git a/c/Cargo.toml b/c/Cargo.toml index 12f555bf..276aa45a 100644 --- a/c/Cargo.toml +++ b/c/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "kcl-lib-c" -version = "0.11.2" -edition = "2021" +version = "0.12.0" +edition = "2024" publish = false [lib] @@ -12,4 +12,4 @@ doc = false cbindgen = "0.26.0" [dependencies] -kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.11.2" } +kcl-api = { git = "https://github.com/kcl-lang/kcl", version = "0.12.0" } diff --git a/c/README.md b/c/README.md index 0cb5503f..765106e2 100644 --- a/c/README.md +++ b/c/README.md @@ -45,12 +45,12 @@ int exec_file(const char* file_str) { }; struct Buffer* files[] = { &file }; struct RepeatedString strs = { .repeated = &files[0], .index = 0, .max_size = 1 }; - ExecProgram_Args args = ExecProgram_Args_init_zero; + ExecProgramArgs args = ExecProgramArgs_init_zero; args.k_filename_list.funcs.encode = encode_str_list; args.k_filename_list.arg = &strs; pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); - status = pb_encode(&stream, ExecProgram_Args_fields, &args); + status = pb_encode(&stream, ExecProgramArgs_fields, &args); message_length = stream.bytes_written; if (!status) { @@ -58,7 +58,7 @@ int exec_file(const char* file_str) { return 1; } - const char* api_str = "KclvmService.ExecProgram"; + const char* api_str = "KclService.ExecProgram"; size_t result_length = call_native((const uint8_t*)api_str, strlen(api_str), buffer, message_length, result_buffer); if (check_error_prefix(result_buffer)) { printf("%s", result_buffer); @@ -66,7 +66,7 @@ int exec_file(const char* file_str) { } pb_istream_t istream = pb_istream_from_buffer(result_buffer, result_length); - ExecProgram_Result result = ExecProgram_Result_init_default; + ExecProgramResult result = ExecProgramResult_init_default; uint8_t yaml_value_buffer[BUFFER_SIZE] = { 0 }; result.yaml_result.arg = yaml_value_buffer; @@ -84,7 +84,7 @@ int exec_file(const char* file_str) { result.log_message.arg = log_value_buffer; result.log_message.funcs.decode = decode_string; - status = pb_decode(&istream, ExecProgram_Result_fields, &result); + status = pb_decode(&istream, ExecProgramResult_fields, &result); if (!status) { printf("Decoding failed: %s\n", PB_GET_ERROR(&istream)); @@ -123,14 +123,14 @@ int validate(const char* code_str, const char* data_str) size_t message_length; bool status; - ValidateCode_Args validate_args = ValidateCode_Args_init_zero; + ValidateCodeArgs validate_args = ValidateCodeArgs_init_zero; validate_args.code.funcs.encode = encode_string; validate_args.code.arg = (void*)code_str; validate_args.data.funcs.encode = encode_string; validate_args.data.arg = (void*)data_str; pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); - status = pb_encode(&stream, ValidateCode_Args_fields, &validate_args); + status = pb_encode(&stream, ValidateCodeArgs_fields, &validate_args); message_length = stream.bytes_written; if (!status) { @@ -138,16 +138,16 @@ int validate(const char* code_str, const char* data_str) return 1; } - const char* api_str = "KclvmService.ValidateCode"; + const char* api_str = "KclService.ValidateCode"; size_t result_length = call_native((const uint8_t*)api_str, strlen(api_str), buffer, message_length, result_buffer); pb_istream_t istream = pb_istream_from_buffer(result_buffer, result_length); - ValidateCode_Result result = ValidateCode_Result_init_default; + ValidateCodeResult result = ValidateCodeResult_init_default; result.err_message.funcs.decode = decode_string; uint8_t value_buffer[BUFFER_SIZE] = { 0 }; result.err_message.arg = value_buffer; - status = pb_decode(&istream, ValidateCode_Result_fields, &result); + status = pb_decode(&istream, ValidateCodeResult_fields, &result); if (!status) { printf("Decoding failed: %s\n", PB_GET_ERROR(&istream)); diff --git a/c/examples/exec_api.c b/c/examples/exec_api.c index d80b0564..09cd4f7a 100644 --- a/c/examples/exec_api.c +++ b/c/examples/exec_api.c @@ -12,12 +12,12 @@ int exec_file(const char* file_str) }; struct Buffer* files[] = { &file }; struct RepeatedString strs = { .repeated = &files[0], .index = 0, .max_size = 1 }; - ExecProgram_Args args = ExecProgram_Args_init_zero; + ExecProgramArgs args = ExecProgramArgs_init_zero; args.k_filename_list.funcs.encode = encode_str_list; args.k_filename_list.arg = &strs; pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); - status = pb_encode(&stream, ExecProgram_Args_fields, &args); + status = pb_encode(&stream, ExecProgramArgs_fields, &args); message_length = stream.bytes_written; if (!status) { @@ -25,7 +25,7 @@ int exec_file(const char* file_str) return 1; } - const char* api_str = "KclvmService.ExecProgram"; + const char* api_str = "KclService.ExecProgram"; size_t result_length = call_native((const uint8_t*)api_str, strlen(api_str), buffer, message_length, result_buffer); if (check_error_prefix(result_buffer)) { printf("%s", result_buffer); @@ -33,7 +33,7 @@ int exec_file(const char* file_str) } pb_istream_t istream = pb_istream_from_buffer(result_buffer, result_length); - ExecProgram_Result result = ExecProgram_Result_init_default; + ExecProgramResult result = ExecProgramResult_init_default; uint8_t yaml_value_buffer[BUFFER_SIZE] = { 0 }; result.yaml_result.arg = yaml_value_buffer; @@ -51,7 +51,7 @@ int exec_file(const char* file_str) result.log_message.arg = log_value_buffer; result.log_message.funcs.decode = decode_string; - status = pb_decode(&istream, ExecProgram_Result_fields, &result); + status = pb_decode(&istream, ExecProgramResult_fields, &result); if (!status) { printf("Decoding failed: %s\n", PB_GET_ERROR(&istream)); diff --git a/c/examples/ping_api.c b/c/examples/ping_api.c index f9d2464f..64a58d29 100644 --- a/c/examples/ping_api.c +++ b/c/examples/ping_api.c @@ -7,12 +7,12 @@ int ping(const char* msg) size_t message_length; bool status; - Ping_Args ping_args = Ping_Args_init_zero; + PingArgs ping_args = PingArgs_init_zero; pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); ping_args.value.funcs.encode = encode_string; ping_args.value.arg = (void*)msg; - status = pb_encode(&stream, Ping_Args_fields, &ping_args); + status = pb_encode(&stream, PingArgs_fields, &ping_args); message_length = stream.bytes_written; if (!status) { @@ -20,16 +20,16 @@ int ping(const char* msg) return 1; } - const char* api_str = "KclvmService.Ping"; + const char* api_str = "KclService.Ping"; size_t result_length = call_native((const uint8_t*)api_str, strlen(api_str), buffer, message_length, result_buffer); pb_istream_t istream = pb_istream_from_buffer(result_buffer, result_length); - Ping_Result decoded_ping_args = Ping_Result_init_default; + PingResult decoded_ping_args = PingResult_init_default; decoded_ping_args.value.funcs.decode = decode_string; uint8_t value_buffer[BUFFER_SIZE] = { 0 }; decoded_ping_args.value.arg = value_buffer; - status = pb_decode(&istream, Ping_Result_fields, &decoded_ping_args); + status = pb_decode(&istream, PingResult_fields, &decoded_ping_args); if (!status) { printf("Decoding failed: %s\n", PB_GET_ERROR(&istream)); diff --git a/c/examples/validate_api.c b/c/examples/validate_api.c index d52c5ea2..2dccbc62 100644 --- a/c/examples/validate_api.c +++ b/c/examples/validate_api.c @@ -7,14 +7,14 @@ int validate(const char* code_str, const char* data_str) size_t message_length; bool status; - ValidateCode_Args validate_args = ValidateCode_Args_init_zero; + ValidateCodeArgs validate_args = ValidateCodeArgs_init_zero; validate_args.code.funcs.encode = encode_string; validate_args.code.arg = (void*)code_str; validate_args.data.funcs.encode = encode_string; validate_args.data.arg = (void*)data_str; pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); - status = pb_encode(&stream, ValidateCode_Args_fields, &validate_args); + status = pb_encode(&stream, ValidateCodeArgs_fields, &validate_args); message_length = stream.bytes_written; if (!status) { @@ -22,16 +22,16 @@ int validate(const char* code_str, const char* data_str) return 1; } - const char* api_str = "KclvmService.ValidateCode"; + const char* api_str = "KclService.ValidateCode"; size_t result_length = call_native((const uint8_t*)api_str, strlen(api_str), buffer, message_length, result_buffer); pb_istream_t istream = pb_istream_from_buffer(result_buffer, result_length); - ValidateCode_Result result = ValidateCode_Result_init_default; + ValidateCodeResult result = ValidateCodeResult_init_default; result.err_message.funcs.decode = decode_string; uint8_t value_buffer[BUFFER_SIZE] = { 0 }; result.err_message.arg = value_buffer; - status = pb_decode(&istream, ValidateCode_Result_fields, &result); + status = pb_decode(&istream, ValidateCodeResult_fields, &result); if (!status) { printf("Decoding failed: %s\n", PB_GET_ERROR(&istream)); diff --git a/c/include/spec.pb.h b/c/include/spec.pb.h index 19d4cc66..ba36f116 100644 --- a/c/include/spec.pb.h +++ b/c/include/spec.pb.h @@ -39,24 +39,24 @@ typedef struct _Error { } Error; /* Message for ping request arguments. */ -typedef struct _Ping_Args { +typedef struct _PingArgs { /* Value to be sent in the ping request. */ pb_callback_t value; -} Ping_Args; +} PingArgs; /* Message for ping response. */ -typedef struct _Ping_Result { +typedef struct _PingResult { /* Value received in the ping response. */ pb_callback_t value; -} Ping_Result; +} PingResult; /* Message for version request arguments. Empty message. */ -typedef struct _GetVersion_Args { /* empty */ +typedef struct _GetVersionArgs { /* empty */ char dummy_field; -} GetVersion_Args; +} GetVersionArgs; /* Message for version response. */ -typedef struct _GetVersion_Result { +typedef struct _GetVersionResult { /* KCL version. */ pb_callback_t version; /* Checksum of the KCL version. */ @@ -65,74 +65,74 @@ typedef struct _GetVersion_Result { pb_callback_t git_sha; /* Detailed version information as a string. */ pb_callback_t version_info; -} GetVersion_Result; +} GetVersionResult; /* Message for list method request arguments. Empty message. */ -typedef struct _ListMethod_Args { /* empty */ +typedef struct _ListMethodArgs { /* empty */ char dummy_field; -} ListMethod_Args; +} ListMethodArgs; /* Message for list method response. */ -typedef struct _ListMethod_Result { +typedef struct _ListMethodResult { /* List of available method names. */ pb_callback_t method_name_list; -} ListMethod_Result; +} ListMethodResult; /* Message for parse file request arguments. */ -typedef struct _ParseFile_Args { +typedef struct _ParseFileArgs { /* Path of the file to be parsed. */ pb_callback_t path; /* Source code to be parsed. */ pb_callback_t source; /* External packages path. */ pb_callback_t external_pkgs; -} ParseFile_Args; +} ParseFileArgs; /* Message for parse file response. */ -typedef struct _ParseFile_Result { +typedef struct _ParseFileResult { /* Abstract Syntax Tree (AST) in JSON format. */ pb_callback_t ast_json; /* File dependency paths. */ pb_callback_t deps; /* List of parse errors. */ pb_callback_t errors; -} ParseFile_Result; +} ParseFileResult; /* Message for parse program request arguments. */ -typedef struct _ParseProgram_Args { +typedef struct _ParseProgramArgs { /* Paths of the program files to be parsed. */ pb_callback_t paths; /* Source codes to be parsed. */ pb_callback_t sources; /* External packages path. */ pb_callback_t external_pkgs; -} ParseProgram_Args; +} ParseProgramArgs; /* Message for parse program response. */ -typedef struct _ParseProgram_Result { +typedef struct _ParseProgramResult { /* Abstract Syntax Tree (AST) in JSON format. */ pb_callback_t ast_json; /* Returns the files in the order they should be compiled. */ pb_callback_t paths; /* List of parse errors. */ pb_callback_t errors; -} ParseProgram_Result; +} ParseProgramResult; /* Message for load package request arguments. */ -typedef struct _LoadPackage_Args { +typedef struct _LoadPackageArgs { /* Arguments for parsing the program. */ bool has_parse_args; - ParseProgram_Args parse_args; + ParseProgramArgs parse_args; /* Flag indicating whether to resolve AST. */ bool resolve_ast; /* Flag indicating whether to load built-in modules. */ bool load_builtin; /* Flag indicating whether to include AST index. */ bool with_ast_index; -} LoadPackage_Args; +} LoadPackageArgs; /* Message for load package response. */ -typedef struct _LoadPackage_Result { +typedef struct _LoadPackageResult { /* Program Abstract Syntax Tree (AST) in JSON format. */ pb_callback_t program; /* Returns the files in the order they should be compiled. */ @@ -153,18 +153,18 @@ typedef struct _LoadPackage_Result { pb_callback_t fully_qualified_name_map; /* Map of package scope with package path as key. */ pb_callback_t pkg_scope_map; -} LoadPackage_Result; +} LoadPackageResult; -typedef struct _LoadPackage_Result_SymbolNodeMapEntry { +typedef struct _LoadPackageResult_SymbolNodeMapEntry { pb_callback_t key; pb_callback_t value; -} LoadPackage_Result_SymbolNodeMapEntry; +} LoadPackageResult_SymbolNodeMapEntry; /* Message for list options response. */ -typedef struct _ListOptions_Result { +typedef struct _ListOptionsResult { /* List of available options. */ pb_callback_t options; -} ListOptions_Result; +} ListOptionsResult; /* Message representing a help option. */ typedef struct _OptionHelp { @@ -190,17 +190,17 @@ typedef struct _SymbolIndex { pb_callback_t kind; } SymbolIndex; -typedef struct _LoadPackage_Result_NodeSymbolMapEntry { +typedef struct _LoadPackageResult_NodeSymbolMapEntry { pb_callback_t key; bool has_value; SymbolIndex value; -} LoadPackage_Result_NodeSymbolMapEntry; +} LoadPackageResult_NodeSymbolMapEntry; -typedef struct _LoadPackage_Result_FullyQualifiedNameMapEntry { +typedef struct _LoadPackageResult_FullyQualifiedNameMapEntry { pb_callback_t key; bool has_value; SymbolIndex value; -} LoadPackage_Result_FullyQualifiedNameMapEntry; +} LoadPackageResult_FullyQualifiedNameMapEntry; /* Message representing a scope index. */ typedef struct _ScopeIndex { @@ -212,11 +212,11 @@ typedef struct _ScopeIndex { pb_callback_t kind; } ScopeIndex; -typedef struct _LoadPackage_Result_PkgScopeMapEntry { +typedef struct _LoadPackageResult_PkgScopeMapEntry { pb_callback_t key; bool has_value; ScopeIndex value; -} LoadPackage_Result_PkgScopeMapEntry; +} LoadPackageResult_PkgScopeMapEntry; /* Message representing a scope in KCL. */ typedef struct _Scope { @@ -234,14 +234,14 @@ typedef struct _Scope { pb_callback_t defs; } Scope; -typedef struct _LoadPackage_Result_ScopesEntry { +typedef struct _LoadPackageResult_ScopesEntry { pb_callback_t key; bool has_value; Scope value; -} LoadPackage_Result_ScopesEntry; +} LoadPackageResult_ScopesEntry; /* Message for execute program request arguments. */ -typedef struct _ExecProgram_Args { +typedef struct _ExecProgramArgs { /* Working directory. */ pb_callback_t work_dir; /* List of KCL filenames. */ @@ -278,10 +278,10 @@ typedef struct _ExecProgram_Args { pb_callback_t path_selector; /* Flag for fast evaluation. */ bool fast_eval; -} ExecProgram_Args; +} ExecProgramArgs; /* Message for execute program response. */ -typedef struct _ExecProgram_Result { +typedef struct _ExecProgramResult { /* Result in JSON format. */ pb_callback_t json_result; /* Result in YAML format. */ @@ -290,91 +290,91 @@ typedef struct _ExecProgram_Result { pb_callback_t log_message; /* Error message from execution. */ pb_callback_t err_message; -} ExecProgram_Result; +} ExecProgramResult; /* Message for build program request arguments. */ -typedef struct _BuildProgram_Args { +typedef struct _BuildProgramArgs { /* Arguments for executing the program. */ bool has_exec_args; - ExecProgram_Args exec_args; + ExecProgramArgs exec_args; /* Output path. */ pb_callback_t output; -} BuildProgram_Args; +} BuildProgramArgs; /* Message for build program response. */ -typedef struct _BuildProgram_Result { +typedef struct _BuildProgramResult { /* Path of the built program. */ pb_callback_t path; -} BuildProgram_Result; +} BuildProgramResult; /* Message for execute artifact request arguments. */ -typedef struct _ExecArtifact_Args { +typedef struct _ExecArtifactArgs { /* Path of the artifact. */ pb_callback_t path; /* Arguments for executing the program. */ bool has_exec_args; - ExecProgram_Args exec_args; -} ExecArtifact_Args; + ExecProgramArgs exec_args; +} ExecArtifactArgs; /* Message for format code request arguments. */ -typedef struct _FormatCode_Args { +typedef struct _FormatCodeArgs { /* Source code to be formatted. */ pb_callback_t source; -} FormatCode_Args; +} FormatCodeArgs; /* Message for format code response. */ -typedef struct _FormatCode_Result { +typedef struct _FormatCodeResult { /* Formatted code as bytes. */ pb_callback_t formatted; -} FormatCode_Result; +} FormatCodeResult; /* Message for format file path request arguments. */ -typedef struct _FormatPath_Args { +typedef struct _FormatPathArgs { /* Path of the file to format. */ pb_callback_t path; -} FormatPath_Args; +} FormatPathArgs; /* Message for format file path response. */ -typedef struct _FormatPath_Result { +typedef struct _FormatPathResult { /* List of changed file paths. */ pb_callback_t changed_paths; -} FormatPath_Result; +} FormatPathResult; /* Message for lint file path request arguments. */ -typedef struct _LintPath_Args { +typedef struct _LintPathArgs { /* Paths of the files to lint. */ pb_callback_t paths; -} LintPath_Args; +} LintPathArgs; /* Message for lint file path response. */ -typedef struct _LintPath_Result { +typedef struct _LintPathResult { /* List of lint results. */ pb_callback_t results; -} LintPath_Result; +} LintPathResult; /* Message for override file request arguments. */ -typedef struct _OverrideFile_Args { +typedef struct _OverrideFileArgs { /* Path of the file to override. */ pb_callback_t file; /* List of override specifications. */ pb_callback_t specs; /* List of import paths. */ pb_callback_t import_paths; -} OverrideFile_Args; +} OverrideFileArgs; /* Message for override file response. */ -typedef struct _OverrideFile_Result { +typedef struct _OverrideFileResult { /* Result of the override operation. */ bool result; /* List of parse errors encountered. */ pb_callback_t parse_errors; -} OverrideFile_Result; +} OverrideFileResult; /* Message for list variables options. */ -typedef struct _ListVariables_Options { +typedef struct _ListVariablesOptions { /* Flag to merge program configuration. */ bool merge_program; -} ListVariables_Options; +} ListVariablesOptions; /* Message representing a list of variables. */ typedef struct _VariableList { @@ -383,31 +383,31 @@ typedef struct _VariableList { } VariableList; /* Message for list variables request arguments. */ -typedef struct _ListVariables_Args { +typedef struct _ListVariablesArgs { /* Files to be processed. */ pb_callback_t files; /* Specifications for variables. */ pb_callback_t specs; /* Options for listing variables. */ bool has_options; - ListVariables_Options options; -} ListVariables_Args; + ListVariablesOptions options; +} ListVariablesArgs; /* Message for list variables response. */ -typedef struct _ListVariables_Result { +typedef struct _ListVariablesResult { /* Map of variable lists by file. */ pb_callback_t variables; /* List of unsupported codes. */ pb_callback_t unsupported_codes; /* List of parse errors encountered. */ pb_callback_t parse_errors; -} ListVariables_Result; +} ListVariablesResult; -typedef struct _ListVariables_Result_VariablesEntry { +typedef struct _ListVariablesResult_VariablesEntry { pb_callback_t key; bool has_value; VariableList value; -} ListVariables_Result_VariablesEntry; +} ListVariablesResult_VariablesEntry; /* Message representing a variable. */ typedef struct _Variable { @@ -433,22 +433,22 @@ typedef struct _MapEntry { } MapEntry; /* Message for get schema type mapping request arguments. */ -typedef struct _GetSchemaTypeMapping_Args { +typedef struct _GetSchemaTypeMappingArgs { /* Arguments for executing the program. */ bool has_exec_args; - ExecProgram_Args exec_args; + ExecProgramArgs exec_args; /* Name of the schema. */ pb_callback_t schema_name; -} GetSchemaTypeMapping_Args; +} GetSchemaTypeMappingArgs; /* Message for get schema type mapping response. */ -typedef struct _GetSchemaTypeMapping_Result { +typedef struct _GetSchemaTypeMappingResult { /* Map of schema type mappings. */ pb_callback_t schema_type_mapping; -} GetSchemaTypeMapping_Result; +} GetSchemaTypeMappingResult; /* Message for validate code request arguments. */ -typedef struct _ValidateCode_Args { +typedef struct _ValidateCodeArgs { /* Path to the data file. */ pb_callback_t datafile; /* Data content. */ @@ -463,15 +463,15 @@ typedef struct _ValidateCode_Args { pb_callback_t attribute_name; /* Format of the validation (e.g., "json", "yaml"). */ pb_callback_t format; -} ValidateCode_Args; +} ValidateCodeArgs; /* Message for validate code response. */ -typedef struct _ValidateCode_Result { +typedef struct _ValidateCodeResult { /* Flag indicating if validation was successful. */ bool success; /* Error message from validation. */ pb_callback_t err_message; -} ValidateCode_Result; +} ValidateCodeResult; /* Message representing a position in the source code. */ typedef struct _Position { @@ -493,7 +493,7 @@ typedef struct _Message { } Message; /* Message for list dependency files request arguments. */ -typedef struct _ListDepFiles_Args { +typedef struct _ListDepFilesArgs { /* Working directory. */ pb_callback_t work_dir; /* Flag to use absolute paths. */ @@ -502,25 +502,25 @@ typedef struct _ListDepFiles_Args { bool include_all; /* Flag to use fast parser. */ bool use_fast_parser; -} ListDepFiles_Args; +} ListDepFilesArgs; /* Message for list dependency files response. */ -typedef struct _ListDepFiles_Result { +typedef struct _ListDepFilesResult { /* Root package path. */ pb_callback_t pkgroot; /* Package path. */ pb_callback_t pkgpath; /* List of file paths in the package. */ pb_callback_t files; -} ListDepFiles_Result; +} ListDepFilesResult; /* Message for load settings files request arguments. */ -typedef struct _LoadSettingsFiles_Args { +typedef struct _LoadSettingsFilesArgs { /* Working directory. */ pb_callback_t work_dir; /* Setting files to load. */ pb_callback_t files; -} LoadSettingsFiles_Args; +} LoadSettingsFilesArgs; /* Message representing KCL CLI configuration. */ typedef struct _CliConfig { @@ -551,13 +551,13 @@ typedef struct _CliConfig { } CliConfig; /* Message for load settings files response. */ -typedef struct _LoadSettingsFiles_Result { +typedef struct _LoadSettingsFilesResult { /* KCL CLI configuration. */ bool has_kcl_cli_configs; CliConfig kcl_cli_configs; /* List of KCL options as key-value pairs. */ pb_callback_t kcl_options; -} LoadSettingsFiles_Result; +} LoadSettingsFilesResult; /* Message representing a key-value pair. */ typedef struct _KeyValuePair { @@ -568,7 +568,7 @@ typedef struct _KeyValuePair { } KeyValuePair; /* Message for rename request arguments. */ -typedef struct _Rename_Args { +typedef struct _RenameArgs { /* File path to the package root. */ pb_callback_t package_root; /* Path to the target symbol to be renamed. */ @@ -577,16 +577,16 @@ typedef struct _Rename_Args { pb_callback_t file_paths; /* New name of the symbol. */ pb_callback_t new_name; -} Rename_Args; +} RenameArgs; /* Message for rename response. */ -typedef struct _Rename_Result { +typedef struct _RenameResult { /* List of file paths that got changed. */ pb_callback_t changed_files; -} Rename_Result; +} RenameResult; /* Message for rename code request arguments. */ -typedef struct _RenameCode_Args { +typedef struct _RenameCodeArgs { /* File path to the package root. */ pb_callback_t package_root; /* Path to the target symbol to be renamed. */ @@ -595,42 +595,42 @@ typedef struct _RenameCode_Args { pb_callback_t source_codes; /* New name of the symbol. */ pb_callback_t new_name; -} RenameCode_Args; +} RenameCodeArgs; -typedef struct _RenameCode_Args_SourceCodesEntry { +typedef struct _RenameCodeArgs_SourceCodesEntry { pb_callback_t key; pb_callback_t value; -} RenameCode_Args_SourceCodesEntry; +} RenameCodeArgs_SourceCodesEntry; /* Message for rename code response. */ -typedef struct _RenameCode_Result { +typedef struct _RenameCodeResult { /* Map of changed code with filename as key and modified code as value. */ pb_callback_t changed_codes; -} RenameCode_Result; +} RenameCodeResult; -typedef struct _RenameCode_Result_ChangedCodesEntry { +typedef struct _RenameCodeResult_ChangedCodesEntry { pb_callback_t key; pb_callback_t value; -} RenameCode_Result_ChangedCodesEntry; +} RenameCodeResult_ChangedCodesEntry; /* Message for test request arguments. */ -typedef struct _Test_Args { +typedef struct _TestArgs { /* Execution program arguments. */ bool has_exec_args; - ExecProgram_Args exec_args; + ExecProgramArgs exec_args; /* List of KCL package paths to be tested. */ pb_callback_t pkg_list; /* Regular expression for filtering tests to run. */ pb_callback_t run_regexp; /* Flag to stop the test run on the first failure. */ bool fail_fast; -} Test_Args; +} TestArgs; /* Message for test response. */ -typedef struct _Test_Result { +typedef struct _TestResult { /* List of test case information. */ pb_callback_t info; -} Test_Result; +} TestResult; /* Message representing information about a single test case. */ typedef struct _TestCaseInfo { @@ -645,18 +645,18 @@ typedef struct _TestCaseInfo { } TestCaseInfo; /* Message for update dependencies request arguments. */ -typedef struct _UpdateDependencies_Args { +typedef struct _UpdateDependenciesArgs { /* Path to the manifest file. */ pb_callback_t manifest_path; /* Flag to vendor dependencies locally. */ bool vendor; -} UpdateDependencies_Args; +} UpdateDependenciesArgs; /* Message for update dependencies response. */ -typedef struct _UpdateDependencies_Result { +typedef struct _UpdateDependenciesResult { /* List of external packages updated. */ pb_callback_t external_pkgs; -} UpdateDependencies_Result; +} UpdateDependenciesResult; /* Message representing a KCL type. */ typedef struct _KclType { @@ -713,17 +713,17 @@ typedef struct _Symbol { bool is_global; } Symbol; -typedef struct _LoadPackage_Result_SymbolsEntry { +typedef struct _LoadPackageResult_SymbolsEntry { pb_callback_t key; bool has_value; Symbol value; -} LoadPackage_Result_SymbolsEntry; +} LoadPackageResult_SymbolsEntry; -typedef struct _GetSchemaTypeMapping_Result_SchemaTypeMappingEntry { +typedef struct _GetSchemaTypeMappingResult_SchemaTypeMappingEntry { pb_callback_t key; bool has_value; KclType value; -} GetSchemaTypeMapping_Result_SchemaTypeMappingEntry; +} GetSchemaTypeMappingResult_SchemaTypeMappingEntry; typedef struct _KclType_PropertiesEntry { pb_callback_t key; @@ -772,73 +772,73 @@ extern "C" { #define Argument_init_default {{{NULL}, NULL}, {{NULL}, NULL}} #define Error_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} #define Message_init_default {{{NULL}, NULL}, false, Position_init_default} -#define Ping_Args_init_default {{{NULL}, NULL}} -#define Ping_Result_init_default {{{NULL}, NULL}} -#define GetVersion_Args_init_default {0} -#define GetVersion_Result_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define ListMethod_Args_init_default {0} -#define ListMethod_Result_init_default {{{NULL}, NULL}} -#define ParseFile_Args_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define ParseFile_Result_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define ParseProgram_Args_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define ParseProgram_Result_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define LoadPackage_Args_init_default {false, ParseProgram_Args_init_default, 0, 0, 0} -#define LoadPackage_Result_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define LoadPackage_Result_ScopesEntry_init_default {{{NULL}, NULL}, false, Scope_init_default} -#define LoadPackage_Result_SymbolsEntry_init_default {{{NULL}, NULL}, false, Symbol_init_default} -#define LoadPackage_Result_NodeSymbolMapEntry_init_default {{{NULL}, NULL}, false, SymbolIndex_init_default} -#define LoadPackage_Result_SymbolNodeMapEntry_init_default {{{NULL}, NULL}, {{NULL}, NULL}} -#define LoadPackage_Result_FullyQualifiedNameMapEntry_init_default {{{NULL}, NULL}, false, SymbolIndex_init_default} -#define LoadPackage_Result_PkgScopeMapEntry_init_default {{{NULL}, NULL}, false, ScopeIndex_init_default} -#define ListOptions_Result_init_default {{{NULL}, NULL}} +#define PingArgs_init_default {{{NULL}, NULL}} +#define PingResult_init_default {{{NULL}, NULL}} +#define GetVersionArgs_init_default {0} +#define GetVersionResult_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define ListMethodArgs_init_default {0} +#define ListMethodResult_init_default {{{NULL}, NULL}} +#define ParseFileArgs_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define ParseFileResult_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define ParseProgramArgs_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define ParseProgramResult_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define LoadPackageArgs_init_default {false, ParseProgramArgs_init_default, 0, 0, 0} +#define LoadPackageResult_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define LoadPackageResult_ScopesEntry_init_default {{{NULL}, NULL}, false, Scope_init_default} +#define LoadPackageResult_SymbolsEntry_init_default {{{NULL}, NULL}, false, Symbol_init_default} +#define LoadPackageResult_NodeSymbolMapEntry_init_default {{{NULL}, NULL}, false, SymbolIndex_init_default} +#define LoadPackageResult_SymbolNodeMapEntry_init_default {{{NULL}, NULL}, {{NULL}, NULL}} +#define LoadPackageResult_FullyQualifiedNameMapEntry_init_default {{{NULL}, NULL}, false, SymbolIndex_init_default} +#define LoadPackageResult_PkgScopeMapEntry_init_default {{{NULL}, NULL}, false, ScopeIndex_init_default} +#define ListOptionsResult_init_default {{{NULL}, NULL}} #define OptionHelp_init_default {{{NULL}, NULL}, {{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}} #define Symbol_init_default {false, KclType_init_default, {{NULL}, NULL}, false, SymbolIndex_init_default, false, SymbolIndex_init_default, {{NULL}, NULL}, 0} #define Scope_init_default {{{NULL}, NULL}, false, ScopeIndex_init_default, false, SymbolIndex_init_default, {{NULL}, NULL}, {{NULL}, NULL}} #define SymbolIndex_init_default {0, 0, {{NULL}, NULL}} #define ScopeIndex_init_default {0, 0, {{NULL}, NULL}} -#define ExecProgram_Args_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, 0, 0, 0, 0, 0, 0, 0, {{NULL}, NULL}, 0, 0, 0, {{NULL}, NULL}, 0} -#define ExecProgram_Result_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define BuildProgram_Args_init_default {false, ExecProgram_Args_init_default, {{NULL}, NULL}} -#define BuildProgram_Result_init_default {{{NULL}, NULL}} -#define ExecArtifact_Args_init_default {{{NULL}, NULL}, false, ExecProgram_Args_init_default} -#define FormatCode_Args_init_default {{{NULL}, NULL}} -#define FormatCode_Result_init_default {{{NULL}, NULL}} -#define FormatPath_Args_init_default {{{NULL}, NULL}} -#define FormatPath_Result_init_default {{{NULL}, NULL}} -#define LintPath_Args_init_default {{{NULL}, NULL}} -#define LintPath_Result_init_default {{{NULL}, NULL}} -#define OverrideFile_Args_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define OverrideFile_Result_init_default {0, {{NULL}, NULL}} -#define ListVariables_Options_init_default {0} +#define ExecProgramArgs_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, 0, 0, 0, 0, 0, 0, 0, {{NULL}, NULL}, 0, 0, 0, {{NULL}, NULL}, 0} +#define ExecProgramResult_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define BuildProgramArgs_init_default {false, ExecProgramArgs_init_default, {{NULL}, NULL}} +#define BuildProgramResult_init_default {{{NULL}, NULL}} +#define ExecArtifactArgs_init_default {{{NULL}, NULL}, false, ExecProgramArgs_init_default} +#define FormatCodeArgs_init_default {{{NULL}, NULL}} +#define FormatCodeResult_init_default {{{NULL}, NULL}} +#define FormatPathArgs_init_default {{{NULL}, NULL}} +#define FormatPathResult_init_default {{{NULL}, NULL}} +#define LintPathArgs_init_default {{{NULL}, NULL}} +#define LintPathResult_init_default {{{NULL}, NULL}} +#define OverrideFileArgs_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define OverrideFileResult_init_default {0, {{NULL}, NULL}} +#define ListVariablesOptions_init_default {0} #define VariableList_init_default {{{NULL}, NULL}} -#define ListVariables_Args_init_default {{{NULL}, NULL}, {{NULL}, NULL}, false, ListVariables_Options_init_default} -#define ListVariables_Result_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define ListVariables_Result_VariablesEntry_init_default {{{NULL}, NULL}, false, VariableList_init_default} +#define ListVariablesArgs_init_default {{{NULL}, NULL}, {{NULL}, NULL}, false, ListVariablesOptions_init_default} +#define ListVariablesResult_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define ListVariablesResult_VariablesEntry_init_default {{{NULL}, NULL}, false, VariableList_init_default} #define Variable_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} #define MapEntry_init_default {{{NULL}, NULL}, false, Variable_init_default} -#define GetSchemaTypeMapping_Args_init_default {false, ExecProgram_Args_init_default, {{NULL}, NULL}} -#define GetSchemaTypeMapping_Result_init_default {{{NULL}, NULL}} -#define GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_init_default {{{NULL}, NULL}, false, KclType_init_default} -#define ValidateCode_Args_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define ValidateCode_Result_init_default {0, {{NULL}, NULL}} +#define GetSchemaTypeMappingArgs_init_default {false, ExecProgramArgs_init_default, {{NULL}, NULL}} +#define GetSchemaTypeMappingResult_init_default {{{NULL}, NULL}} +#define GetSchemaTypeMappingResult_SchemaTypeMappingEntry_init_default {{{NULL}, NULL}, false, KclType_init_default} +#define ValidateCodeArgs_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define ValidateCodeResult_init_default {0, {{NULL}, NULL}} #define Position_init_default {0, 0, {{NULL}, NULL}} -#define ListDepFiles_Args_init_default {{{NULL}, NULL}, 0, 0, 0} -#define ListDepFiles_Result_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define LoadSettingsFiles_Args_init_default {{{NULL}, NULL}, {{NULL}, NULL}} -#define LoadSettingsFiles_Result_init_default {false, CliConfig_init_default, {{NULL}, NULL}} +#define ListDepFilesArgs_init_default {{{NULL}, NULL}, 0, 0, 0} +#define ListDepFilesResult_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define LoadSettingsFilesArgs_init_default {{{NULL}, NULL}, {{NULL}, NULL}} +#define LoadSettingsFilesResult_init_default {false, CliConfig_init_default, {{NULL}, NULL}} #define CliConfig_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, 0, 0, 0, 0, 0, 0, 0, 0} #define KeyValuePair_init_default {{{NULL}, NULL}, {{NULL}, NULL}} -#define Rename_Args_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define Rename_Result_init_default {{{NULL}, NULL}} -#define RenameCode_Args_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define RenameCode_Args_SourceCodesEntry_init_default {{{NULL}, NULL}, {{NULL}, NULL}} -#define RenameCode_Result_init_default {{{NULL}, NULL}} -#define RenameCode_Result_ChangedCodesEntry_init_default {{{NULL}, NULL}, {{NULL}, NULL}} -#define Test_Args_init_default {false, ExecProgram_Args_init_default, {{NULL}, NULL}, {{NULL}, NULL}, 0} -#define Test_Result_init_default {{{NULL}, NULL}} +#define RenameArgs_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define RenameResult_init_default {{{NULL}, NULL}} +#define RenameCodeArgs_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define RenameCodeArgs_SourceCodesEntry_init_default {{{NULL}, NULL}, {{NULL}, NULL}} +#define RenameCodeResult_init_default {{{NULL}, NULL}} +#define RenameCodeResult_ChangedCodesEntry_init_default {{{NULL}, NULL}, {{NULL}, NULL}} +#define TestArgs_init_default {false, ExecProgramArgs_init_default, {{NULL}, NULL}, {{NULL}, NULL}, 0} +#define TestResult_init_default {{{NULL}, NULL}} #define TestCaseInfo_init_default {{{NULL}, NULL}, {{NULL}, NULL}, 0, {{NULL}, NULL}} -#define UpdateDependencies_Args_init_default {{{NULL}, NULL}, 0} -#define UpdateDependencies_Result_init_default {{{NULL}, NULL}} +#define UpdateDependenciesArgs_init_default {{{NULL}, NULL}, 0} +#define UpdateDependenciesResult_init_default {{{NULL}, NULL}} #define KclType_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} #define KclType_PropertiesEntry_init_default {{{NULL}, NULL}, false, KclType_init_default} #define KclType_ExamplesEntry_init_default {{{NULL}, NULL}, false, Example_init_default} @@ -849,73 +849,73 @@ extern "C" { #define Argument_init_zero {{{NULL}, NULL}, {{NULL}, NULL}} #define Error_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} #define Message_init_zero {{{NULL}, NULL}, false, Position_init_zero} -#define Ping_Args_init_zero {{{NULL}, NULL}} -#define Ping_Result_init_zero {{{NULL}, NULL}} -#define GetVersion_Args_init_zero {0} -#define GetVersion_Result_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define ListMethod_Args_init_zero {0} -#define ListMethod_Result_init_zero {{{NULL}, NULL}} -#define ParseFile_Args_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define ParseFile_Result_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define ParseProgram_Args_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define ParseProgram_Result_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define LoadPackage_Args_init_zero {false, ParseProgram_Args_init_zero, 0, 0, 0} -#define LoadPackage_Result_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define LoadPackage_Result_ScopesEntry_init_zero {{{NULL}, NULL}, false, Scope_init_zero} -#define LoadPackage_Result_SymbolsEntry_init_zero {{{NULL}, NULL}, false, Symbol_init_zero} -#define LoadPackage_Result_NodeSymbolMapEntry_init_zero {{{NULL}, NULL}, false, SymbolIndex_init_zero} -#define LoadPackage_Result_SymbolNodeMapEntry_init_zero {{{NULL}, NULL}, {{NULL}, NULL}} -#define LoadPackage_Result_FullyQualifiedNameMapEntry_init_zero {{{NULL}, NULL}, false, SymbolIndex_init_zero} -#define LoadPackage_Result_PkgScopeMapEntry_init_zero {{{NULL}, NULL}, false, ScopeIndex_init_zero} -#define ListOptions_Result_init_zero {{{NULL}, NULL}} +#define PingArgs_init_zero {{{NULL}, NULL}} +#define PingResult_init_zero {{{NULL}, NULL}} +#define GetVersionArgs_init_zero {0} +#define GetVersionResult_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define ListMethodArgs_init_zero {0} +#define ListMethodResult_init_zero {{{NULL}, NULL}} +#define ParseFileArgs_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define ParseFileResult_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define ParseProgramArgs_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define ParseProgramResult_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define LoadPackageArgs_init_zero {false, ParseProgramArgs_init_zero, 0, 0, 0} +#define LoadPackageResult_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define LoadPackageResult_ScopesEntry_init_zero {{{NULL}, NULL}, false, Scope_init_zero} +#define LoadPackageResult_SymbolsEntry_init_zero {{{NULL}, NULL}, false, Symbol_init_zero} +#define LoadPackageResult_NodeSymbolMapEntry_init_zero {{{NULL}, NULL}, false, SymbolIndex_init_zero} +#define LoadPackageResult_SymbolNodeMapEntry_init_zero {{{NULL}, NULL}, {{NULL}, NULL}} +#define LoadPackageResult_FullyQualifiedNameMapEntry_init_zero {{{NULL}, NULL}, false, SymbolIndex_init_zero} +#define LoadPackageResult_PkgScopeMapEntry_init_zero {{{NULL}, NULL}, false, ScopeIndex_init_zero} +#define ListOptionsResult_init_zero {{{NULL}, NULL}} #define OptionHelp_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}} #define Symbol_init_zero {false, KclType_init_zero, {{NULL}, NULL}, false, SymbolIndex_init_zero, false, SymbolIndex_init_zero, {{NULL}, NULL}, 0} #define Scope_init_zero {{{NULL}, NULL}, false, ScopeIndex_init_zero, false, SymbolIndex_init_zero, {{NULL}, NULL}, {{NULL}, NULL}} #define SymbolIndex_init_zero {0, 0, {{NULL}, NULL}} #define ScopeIndex_init_zero {0, 0, {{NULL}, NULL}} -#define ExecProgram_Args_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, 0, 0, 0, 0, 0, 0, 0, {{NULL}, NULL}, 0, 0, 0, {{NULL}, NULL}, 0} -#define ExecProgram_Result_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define BuildProgram_Args_init_zero {false, ExecProgram_Args_init_zero, {{NULL}, NULL}} -#define BuildProgram_Result_init_zero {{{NULL}, NULL}} -#define ExecArtifact_Args_init_zero {{{NULL}, NULL}, false, ExecProgram_Args_init_zero} -#define FormatCode_Args_init_zero {{{NULL}, NULL}} -#define FormatCode_Result_init_zero {{{NULL}, NULL}} -#define FormatPath_Args_init_zero {{{NULL}, NULL}} -#define FormatPath_Result_init_zero {{{NULL}, NULL}} -#define LintPath_Args_init_zero {{{NULL}, NULL}} -#define LintPath_Result_init_zero {{{NULL}, NULL}} -#define OverrideFile_Args_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define OverrideFile_Result_init_zero {0, {{NULL}, NULL}} -#define ListVariables_Options_init_zero {0} +#define ExecProgramArgs_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, 0, 0, 0, 0, 0, 0, 0, {{NULL}, NULL}, 0, 0, 0, {{NULL}, NULL}, 0} +#define ExecProgramResult_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define BuildProgramArgs_init_zero {false, ExecProgramArgs_init_zero, {{NULL}, NULL}} +#define BuildProgramResult_init_zero {{{NULL}, NULL}} +#define ExecArtifactArgs_init_zero {{{NULL}, NULL}, false, ExecProgramArgs_init_zero} +#define FormatCodeArgs_init_zero {{{NULL}, NULL}} +#define FormatCodeResult_init_zero {{{NULL}, NULL}} +#define FormatPathArgs_init_zero {{{NULL}, NULL}} +#define FormatPathResult_init_zero {{{NULL}, NULL}} +#define LintPathArgs_init_zero {{{NULL}, NULL}} +#define LintPathResult_init_zero {{{NULL}, NULL}} +#define OverrideFileArgs_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define OverrideFileResult_init_zero {0, {{NULL}, NULL}} +#define ListVariablesOptions_init_zero {0} #define VariableList_init_zero {{{NULL}, NULL}} -#define ListVariables_Args_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, false, ListVariables_Options_init_zero} -#define ListVariables_Result_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define ListVariables_Result_VariablesEntry_init_zero {{{NULL}, NULL}, false, VariableList_init_zero} +#define ListVariablesArgs_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, false, ListVariablesOptions_init_zero} +#define ListVariablesResult_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define ListVariablesResult_VariablesEntry_init_zero {{{NULL}, NULL}, false, VariableList_init_zero} #define Variable_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} #define MapEntry_init_zero {{{NULL}, NULL}, false, Variable_init_zero} -#define GetSchemaTypeMapping_Args_init_zero {false, ExecProgram_Args_init_zero, {{NULL}, NULL}} -#define GetSchemaTypeMapping_Result_init_zero {{{NULL}, NULL}} -#define GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_init_zero {{{NULL}, NULL}, false, KclType_init_zero} -#define ValidateCode_Args_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define ValidateCode_Result_init_zero {0, {{NULL}, NULL}} +#define GetSchemaTypeMappingArgs_init_zero {false, ExecProgramArgs_init_zero, {{NULL}, NULL}} +#define GetSchemaTypeMappingResult_init_zero {{{NULL}, NULL}} +#define GetSchemaTypeMappingResult_SchemaTypeMappingEntry_init_zero {{{NULL}, NULL}, false, KclType_init_zero} +#define ValidateCodeArgs_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define ValidateCodeResult_init_zero {0, {{NULL}, NULL}} #define Position_init_zero {0, 0, {{NULL}, NULL}} -#define ListDepFiles_Args_init_zero {{{NULL}, NULL}, 0, 0, 0} -#define ListDepFiles_Result_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define LoadSettingsFiles_Args_init_zero {{{NULL}, NULL}, {{NULL}, NULL}} -#define LoadSettingsFiles_Result_init_zero {false, CliConfig_init_zero, {{NULL}, NULL}} +#define ListDepFilesArgs_init_zero {{{NULL}, NULL}, 0, 0, 0} +#define ListDepFilesResult_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define LoadSettingsFilesArgs_init_zero {{{NULL}, NULL}, {{NULL}, NULL}} +#define LoadSettingsFilesResult_init_zero {false, CliConfig_init_zero, {{NULL}, NULL}} #define CliConfig_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, 0, 0, 0, 0, 0, 0, 0, 0} #define KeyValuePair_init_zero {{{NULL}, NULL}, {{NULL}, NULL}} -#define Rename_Args_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define Rename_Result_init_zero {{{NULL}, NULL}} -#define RenameCode_Args_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} -#define RenameCode_Args_SourceCodesEntry_init_zero {{{NULL}, NULL}, {{NULL}, NULL}} -#define RenameCode_Result_init_zero {{{NULL}, NULL}} -#define RenameCode_Result_ChangedCodesEntry_init_zero {{{NULL}, NULL}, {{NULL}, NULL}} -#define Test_Args_init_zero {false, ExecProgram_Args_init_zero, {{NULL}, NULL}, {{NULL}, NULL}, 0} -#define Test_Result_init_zero {{{NULL}, NULL}} +#define RenameArgs_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define RenameResult_init_zero {{{NULL}, NULL}} +#define RenameCodeArgs_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} +#define RenameCodeArgs_SourceCodesEntry_init_zero {{{NULL}, NULL}, {{NULL}, NULL}} +#define RenameCodeResult_init_zero {{{NULL}, NULL}} +#define RenameCodeResult_ChangedCodesEntry_init_zero {{{NULL}, NULL}, {{NULL}, NULL}} +#define TestArgs_init_zero {false, ExecProgramArgs_init_zero, {{NULL}, NULL}, {{NULL}, NULL}, 0} +#define TestResult_init_zero {{{NULL}, NULL}} #define TestCaseInfo_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, 0, {{NULL}, NULL}} -#define UpdateDependencies_Args_init_zero {{{NULL}, NULL}, 0} -#define UpdateDependencies_Result_init_zero {{{NULL}, NULL}} +#define UpdateDependenciesArgs_init_zero {{{NULL}, NULL}, 0} +#define UpdateDependenciesResult_init_zero {{{NULL}, NULL}} #define KclType_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}} #define KclType_PropertiesEntry_init_zero {{{NULL}, NULL}, false, KclType_init_zero} #define KclType_ExamplesEntry_init_zero {{{NULL}, NULL}, false, Example_init_zero} @@ -931,42 +931,42 @@ extern "C" { #define Error_level_tag 1 #define Error_code_tag 2 #define Error_messages_tag 3 -#define Ping_Args_value_tag 1 -#define Ping_Result_value_tag 1 -#define GetVersion_Result_version_tag 1 -#define GetVersion_Result_checksum_tag 2 -#define GetVersion_Result_git_sha_tag 3 -#define GetVersion_Result_version_info_tag 4 -#define ListMethod_Result_method_name_list_tag 1 -#define ParseFile_Args_path_tag 1 -#define ParseFile_Args_source_tag 2 -#define ParseFile_Args_external_pkgs_tag 3 -#define ParseFile_Result_ast_json_tag 1 -#define ParseFile_Result_deps_tag 2 -#define ParseFile_Result_errors_tag 3 -#define ParseProgram_Args_paths_tag 1 -#define ParseProgram_Args_sources_tag 2 -#define ParseProgram_Args_external_pkgs_tag 3 -#define ParseProgram_Result_ast_json_tag 1 -#define ParseProgram_Result_paths_tag 2 -#define ParseProgram_Result_errors_tag 3 -#define LoadPackage_Args_parse_args_tag 1 -#define LoadPackage_Args_resolve_ast_tag 2 -#define LoadPackage_Args_load_builtin_tag 3 -#define LoadPackage_Args_with_ast_index_tag 4 -#define LoadPackage_Result_program_tag 1 -#define LoadPackage_Result_paths_tag 2 -#define LoadPackage_Result_parse_errors_tag 3 -#define LoadPackage_Result_type_errors_tag 4 -#define LoadPackage_Result_scopes_tag 5 -#define LoadPackage_Result_symbols_tag 6 -#define LoadPackage_Result_node_symbol_map_tag 7 -#define LoadPackage_Result_symbol_node_map_tag 8 -#define LoadPackage_Result_fully_qualified_name_map_tag 9 -#define LoadPackage_Result_pkg_scope_map_tag 10 -#define LoadPackage_Result_SymbolNodeMapEntry_key_tag 1 -#define LoadPackage_Result_SymbolNodeMapEntry_value_tag 2 -#define ListOptions_Result_options_tag 2 +#define PingArgs_value_tag 1 +#define PingResult_value_tag 1 +#define GetVersionResult_version_tag 1 +#define GetVersionResult_checksum_tag 2 +#define GetVersionResult_git_sha_tag 3 +#define GetVersionResult_version_info_tag 4 +#define ListMethodResult_method_name_list_tag 1 +#define ParseFileArgs_path_tag 1 +#define ParseFileArgs_source_tag 2 +#define ParseFileArgs_external_pkgs_tag 3 +#define ParseFileResult_ast_json_tag 1 +#define ParseFileResult_deps_tag 2 +#define ParseFileResult_errors_tag 3 +#define ParseProgramArgs_paths_tag 1 +#define ParseProgramArgs_sources_tag 2 +#define ParseProgramArgs_external_pkgs_tag 3 +#define ParseProgramResult_ast_json_tag 1 +#define ParseProgramResult_paths_tag 2 +#define ParseProgramResult_errors_tag 3 +#define LoadPackageArgs_parse_args_tag 1 +#define LoadPackageArgs_resolve_ast_tag 2 +#define LoadPackageArgs_load_builtin_tag 3 +#define LoadPackageArgs_with_ast_index_tag 4 +#define LoadPackageResult_program_tag 1 +#define LoadPackageResult_paths_tag 2 +#define LoadPackageResult_parse_errors_tag 3 +#define LoadPackageResult_type_errors_tag 4 +#define LoadPackageResult_scopes_tag 5 +#define LoadPackageResult_symbols_tag 6 +#define LoadPackageResult_node_symbol_map_tag 7 +#define LoadPackageResult_symbol_node_map_tag 8 +#define LoadPackageResult_fully_qualified_name_map_tag 9 +#define LoadPackageResult_pkg_scope_map_tag 10 +#define LoadPackageResult_SymbolNodeMapEntry_key_tag 1 +#define LoadPackageResult_SymbolNodeMapEntry_value_tag 2 +#define ListOptionsResult_options_tag 2 #define OptionHelp_name_tag 1 #define OptionHelp_type_tag 2 #define OptionHelp_required_tag 3 @@ -975,70 +975,70 @@ extern "C" { #define SymbolIndex_i_tag 1 #define SymbolIndex_g_tag 2 #define SymbolIndex_kind_tag 3 -#define LoadPackage_Result_NodeSymbolMapEntry_key_tag 1 -#define LoadPackage_Result_NodeSymbolMapEntry_value_tag 2 -#define LoadPackage_Result_FullyQualifiedNameMapEntry_key_tag 1 -#define LoadPackage_Result_FullyQualifiedNameMapEntry_value_tag 2 +#define LoadPackageResult_NodeSymbolMapEntry_key_tag 1 +#define LoadPackageResult_NodeSymbolMapEntry_value_tag 2 +#define LoadPackageResult_FullyQualifiedNameMapEntry_key_tag 1 +#define LoadPackageResult_FullyQualifiedNameMapEntry_value_tag 2 #define ScopeIndex_i_tag 1 #define ScopeIndex_g_tag 2 #define ScopeIndex_kind_tag 3 -#define LoadPackage_Result_PkgScopeMapEntry_key_tag 1 -#define LoadPackage_Result_PkgScopeMapEntry_value_tag 2 +#define LoadPackageResult_PkgScopeMapEntry_key_tag 1 +#define LoadPackageResult_PkgScopeMapEntry_value_tag 2 #define Scope_kind_tag 1 #define Scope_parent_tag 2 #define Scope_owner_tag 3 #define Scope_children_tag 4 #define Scope_defs_tag 5 -#define LoadPackage_Result_ScopesEntry_key_tag 1 -#define LoadPackage_Result_ScopesEntry_value_tag 2 -#define ExecProgram_Args_work_dir_tag 1 -#define ExecProgram_Args_k_filename_list_tag 2 -#define ExecProgram_Args_k_code_list_tag 3 -#define ExecProgram_Args_args_tag 4 -#define ExecProgram_Args_overrides_tag 5 -#define ExecProgram_Args_disable_yaml_result_tag 6 -#define ExecProgram_Args_print_override_ast_tag 7 -#define ExecProgram_Args_strict_range_check_tag 8 -#define ExecProgram_Args_disable_none_tag 9 -#define ExecProgram_Args_verbose_tag 10 -#define ExecProgram_Args_debug_tag 11 -#define ExecProgram_Args_sort_keys_tag 12 -#define ExecProgram_Args_external_pkgs_tag 13 -#define ExecProgram_Args_include_schema_type_path_tag 14 -#define ExecProgram_Args_compile_only_tag 15 -#define ExecProgram_Args_show_hidden_tag 16 -#define ExecProgram_Args_path_selector_tag 17 -#define ExecProgram_Args_fast_eval_tag 18 -#define ExecProgram_Result_json_result_tag 1 -#define ExecProgram_Result_yaml_result_tag 2 -#define ExecProgram_Result_log_message_tag 3 -#define ExecProgram_Result_err_message_tag 4 -#define BuildProgram_Args_exec_args_tag 1 -#define BuildProgram_Args_output_tag 2 -#define BuildProgram_Result_path_tag 1 -#define ExecArtifact_Args_path_tag 1 -#define ExecArtifact_Args_exec_args_tag 2 -#define FormatCode_Args_source_tag 1 -#define FormatCode_Result_formatted_tag 1 -#define FormatPath_Args_path_tag 1 -#define FormatPath_Result_changed_paths_tag 1 -#define LintPath_Args_paths_tag 1 -#define LintPath_Result_results_tag 1 -#define OverrideFile_Args_file_tag 1 -#define OverrideFile_Args_specs_tag 2 -#define OverrideFile_Args_import_paths_tag 3 -#define OverrideFile_Result_result_tag 1 -#define OverrideFile_Result_parse_errors_tag 2 -#define ListVariables_Options_merge_program_tag 1 +#define LoadPackageResult_ScopesEntry_key_tag 1 +#define LoadPackageResult_ScopesEntry_value_tag 2 +#define ExecProgramArgs_work_dir_tag 1 +#define ExecProgramArgs_k_filename_list_tag 2 +#define ExecProgramArgs_k_code_list_tag 3 +#define ExecProgramArgs_args_tag 4 +#define ExecProgramArgs_overrides_tag 5 +#define ExecProgramArgs_disable_yaml_result_tag 6 +#define ExecProgramArgs_print_override_ast_tag 7 +#define ExecProgramArgs_strict_range_check_tag 8 +#define ExecProgramArgs_disable_none_tag 9 +#define ExecProgramArgs_verbose_tag 10 +#define ExecProgramArgs_debug_tag 11 +#define ExecProgramArgs_sort_keys_tag 12 +#define ExecProgramArgs_external_pkgs_tag 13 +#define ExecProgramArgs_include_schema_type_path_tag 14 +#define ExecProgramArgs_compile_only_tag 15 +#define ExecProgramArgs_show_hidden_tag 16 +#define ExecProgramArgs_path_selector_tag 17 +#define ExecProgramArgs_fast_eval_tag 18 +#define ExecProgramResult_json_result_tag 1 +#define ExecProgramResult_yaml_result_tag 2 +#define ExecProgramResult_log_message_tag 3 +#define ExecProgramResult_err_message_tag 4 +#define BuildProgramArgs_exec_args_tag 1 +#define BuildProgramArgs_output_tag 2 +#define BuildProgramResult_path_tag 1 +#define ExecArtifactArgs_path_tag 1 +#define ExecArtifactArgs_exec_args_tag 2 +#define FormatCodeArgs_source_tag 1 +#define FormatCodeResult_formatted_tag 1 +#define FormatPathArgs_path_tag 1 +#define FormatPathResult_changed_paths_tag 1 +#define LintPathArgs_paths_tag 1 +#define LintPathResult_results_tag 1 +#define OverrideFileArgs_file_tag 1 +#define OverrideFileArgs_specs_tag 2 +#define OverrideFileArgs_import_paths_tag 3 +#define OverrideFileResult_result_tag 1 +#define OverrideFileResult_parse_errors_tag 2 +#define ListVariablesOptions_merge_program_tag 1 #define VariableList_variables_tag 1 -#define ListVariables_Args_files_tag 1 -#define ListVariables_Args_specs_tag 2 -#define ListVariables_Args_options_tag 3 -#define ListVariables_Result_variables_tag 1 -#define ListVariables_Result_unsupported_codes_tag 2 -#define ListVariables_Result_parse_errors_tag 3 -#define ListVariables_Result_VariablesEntry_key_tag 1 -#define ListVariables_Result_VariablesEntry_value_tag 2 +#define ListVariablesArgs_files_tag 1 +#define ListVariablesArgs_specs_tag 2 +#define ListVariablesArgs_options_tag 3 +#define ListVariablesResult_variables_tag 1 +#define ListVariablesResult_unsupported_codes_tag 2 +#define ListVariablesResult_parse_errors_tag 3 +#define ListVariablesResult_VariablesEntry_key_tag 1 +#define ListVariablesResult_VariablesEntry_value_tag 2 #define Variable_value_tag 1 #define Variable_type_name_tag 2 #define Variable_op_sym_tag 3 @@ -1046,32 +1046,32 @@ extern "C" { #define Variable_dict_entries_tag 5 #define MapEntry_key_tag 1 #define MapEntry_value_tag 2 -#define GetSchemaTypeMapping_Args_exec_args_tag 1 -#define GetSchemaTypeMapping_Args_schema_name_tag 2 -#define GetSchemaTypeMapping_Result_schema_type_mapping_tag 1 -#define ValidateCode_Args_datafile_tag 1 -#define ValidateCode_Args_data_tag 2 -#define ValidateCode_Args_file_tag 3 -#define ValidateCode_Args_code_tag 4 -#define ValidateCode_Args_schema_tag 5 -#define ValidateCode_Args_attribute_name_tag 6 -#define ValidateCode_Args_format_tag 7 -#define ValidateCode_Result_success_tag 1 -#define ValidateCode_Result_err_message_tag 2 +#define GetSchemaTypeMappingArgs_exec_args_tag 1 +#define GetSchemaTypeMappingArgs_schema_name_tag 2 +#define GetSchemaTypeMappingResult_schema_type_mapping_tag 1 +#define ValidateCodeArgs_datafile_tag 1 +#define ValidateCodeArgs_data_tag 2 +#define ValidateCodeArgs_file_tag 3 +#define ValidateCodeArgs_code_tag 4 +#define ValidateCodeArgs_schema_tag 5 +#define ValidateCodeArgs_attribute_name_tag 6 +#define ValidateCodeArgs_format_tag 7 +#define ValidateCodeResult_success_tag 1 +#define ValidateCodeResult_err_message_tag 2 #define Position_line_tag 1 #define Position_column_tag 2 #define Position_filename_tag 3 #define Message_msg_tag 1 #define Message_pos_tag 2 -#define ListDepFiles_Args_work_dir_tag 1 -#define ListDepFiles_Args_use_abs_path_tag 2 -#define ListDepFiles_Args_include_all_tag 3 -#define ListDepFiles_Args_use_fast_parser_tag 4 -#define ListDepFiles_Result_pkgroot_tag 1 -#define ListDepFiles_Result_pkgpath_tag 2 -#define ListDepFiles_Result_files_tag 3 -#define LoadSettingsFiles_Args_work_dir_tag 1 -#define LoadSettingsFiles_Args_files_tag 2 +#define ListDepFilesArgs_work_dir_tag 1 +#define ListDepFilesArgs_use_abs_path_tag 2 +#define ListDepFilesArgs_include_all_tag 3 +#define ListDepFilesArgs_use_fast_parser_tag 4 +#define ListDepFilesResult_pkgroot_tag 1 +#define ListDepFilesResult_pkgpath_tag 2 +#define ListDepFilesResult_files_tag 3 +#define LoadSettingsFilesArgs_work_dir_tag 1 +#define LoadSettingsFilesArgs_files_tag 2 #define CliConfig_files_tag 1 #define CliConfig_output_tag 2 #define CliConfig_overrides_tag 3 @@ -1084,36 +1084,36 @@ extern "C" { #define CliConfig_show_hidden_tag 10 #define CliConfig_include_schema_type_path_tag 11 #define CliConfig_fast_eval_tag 12 -#define LoadSettingsFiles_Result_kcl_cli_configs_tag 1 -#define LoadSettingsFiles_Result_kcl_options_tag 2 +#define LoadSettingsFilesResult_kcl_cli_configs_tag 1 +#define LoadSettingsFilesResult_kcl_options_tag 2 #define KeyValuePair_key_tag 1 #define KeyValuePair_value_tag 2 -#define Rename_Args_package_root_tag 1 -#define Rename_Args_symbol_path_tag 2 -#define Rename_Args_file_paths_tag 3 -#define Rename_Args_new_name_tag 4 -#define Rename_Result_changed_files_tag 1 -#define RenameCode_Args_package_root_tag 1 -#define RenameCode_Args_symbol_path_tag 2 -#define RenameCode_Args_source_codes_tag 3 -#define RenameCode_Args_new_name_tag 4 -#define RenameCode_Args_SourceCodesEntry_key_tag 1 -#define RenameCode_Args_SourceCodesEntry_value_tag 2 -#define RenameCode_Result_changed_codes_tag 1 -#define RenameCode_Result_ChangedCodesEntry_key_tag 1 -#define RenameCode_Result_ChangedCodesEntry_value_tag 2 -#define Test_Args_exec_args_tag 1 -#define Test_Args_pkg_list_tag 2 -#define Test_Args_run_regexp_tag 3 -#define Test_Args_fail_fast_tag 4 -#define Test_Result_info_tag 2 +#define RenameArgs_package_root_tag 1 +#define RenameArgs_symbol_path_tag 2 +#define RenameArgs_file_paths_tag 3 +#define RenameArgs_new_name_tag 4 +#define RenameResult_changed_files_tag 1 +#define RenameCodeArgs_package_root_tag 1 +#define RenameCodeArgs_symbol_path_tag 2 +#define RenameCodeArgs_source_codes_tag 3 +#define RenameCodeArgs_new_name_tag 4 +#define RenameCodeArgs_SourceCodesEntry_key_tag 1 +#define RenameCodeArgs_SourceCodesEntry_value_tag 2 +#define RenameCodeResult_changed_codes_tag 1 +#define RenameCodeResult_ChangedCodesEntry_key_tag 1 +#define RenameCodeResult_ChangedCodesEntry_value_tag 2 +#define TestArgs_exec_args_tag 1 +#define TestArgs_pkg_list_tag 2 +#define TestArgs_run_regexp_tag 3 +#define TestArgs_fail_fast_tag 4 +#define TestResult_info_tag 2 #define TestCaseInfo_name_tag 1 #define TestCaseInfo_error_tag 2 #define TestCaseInfo_duration_tag 3 #define TestCaseInfo_log_message_tag 4 -#define UpdateDependencies_Args_manifest_path_tag 1 -#define UpdateDependencies_Args_vendor_tag 2 -#define UpdateDependencies_Result_external_pkgs_tag 3 +#define UpdateDependenciesArgs_manifest_path_tag 1 +#define UpdateDependenciesArgs_vendor_tag 2 +#define UpdateDependenciesResult_external_pkgs_tag 3 #define KclType_type_tag 1 #define KclType_union_types_tag 2 #define KclType_default_tag 3 @@ -1136,10 +1136,10 @@ extern "C" { #define Symbol_def_tag 4 #define Symbol_attrs_tag 5 #define Symbol_is_global_tag 6 -#define LoadPackage_Result_SymbolsEntry_key_tag 1 -#define LoadPackage_Result_SymbolsEntry_value_tag 2 -#define GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_key_tag 1 -#define GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_value_tag 2 +#define LoadPackageResult_SymbolsEntry_key_tag 1 +#define LoadPackageResult_SymbolsEntry_value_tag 2 +#define GetSchemaTypeMappingResult_SchemaTypeMappingEntry_key_tag 1 +#define GetSchemaTypeMappingResult_SchemaTypeMappingEntry_value_tag 2 #define KclType_PropertiesEntry_key_tag 1 #define KclType_PropertiesEntry_value_tag 2 #define Decorator_name_tag 1 @@ -1181,81 +1181,81 @@ X(a, STATIC, OPTIONAL, MESSAGE, pos, 2) #define Message_DEFAULT NULL #define Message_pos_MSGTYPE Position -#define Ping_Args_FIELDLIST(X, a) \ +#define PingArgs_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, value, 1) -#define Ping_Args_CALLBACK pb_default_field_callback -#define Ping_Args_DEFAULT NULL +#define PingArgs_CALLBACK pb_default_field_callback +#define PingArgs_DEFAULT NULL -#define Ping_Result_FIELDLIST(X, a) \ +#define PingResult_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, value, 1) -#define Ping_Result_CALLBACK pb_default_field_callback -#define Ping_Result_DEFAULT NULL +#define PingResult_CALLBACK pb_default_field_callback +#define PingResult_DEFAULT NULL -#define GetVersion_Args_FIELDLIST(X, a) \ +#define GetVersionArgs_FIELDLIST(X, a) \ -#define GetVersion_Args_CALLBACK NULL -#define GetVersion_Args_DEFAULT NULL +#define GetVersionArgs_CALLBACK NULL +#define GetVersionArgs_DEFAULT NULL -#define GetVersion_Result_FIELDLIST(X, a) \ +#define GetVersionResult_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, version, 1) \ X(a, CALLBACK, SINGULAR, STRING, checksum, 2) \ X(a, CALLBACK, SINGULAR, STRING, git_sha, 3) \ X(a, CALLBACK, SINGULAR, STRING, version_info, 4) -#define GetVersion_Result_CALLBACK pb_default_field_callback -#define GetVersion_Result_DEFAULT NULL +#define GetVersionResult_CALLBACK pb_default_field_callback +#define GetVersionResult_DEFAULT NULL -#define ListMethod_Args_FIELDLIST(X, a) \ +#define ListMethodArgs_FIELDLIST(X, a) \ -#define ListMethod_Args_CALLBACK NULL -#define ListMethod_Args_DEFAULT NULL +#define ListMethodArgs_CALLBACK NULL +#define ListMethodArgs_DEFAULT NULL -#define ListMethod_Result_FIELDLIST(X, a) \ +#define ListMethodResult_FIELDLIST(X, a) \ X(a, CALLBACK, REPEATED, STRING, method_name_list, 1) -#define ListMethod_Result_CALLBACK pb_default_field_callback -#define ListMethod_Result_DEFAULT NULL +#define ListMethodResult_CALLBACK pb_default_field_callback +#define ListMethodResult_DEFAULT NULL -#define ParseFile_Args_FIELDLIST(X, a) \ +#define ParseFileArgs_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, path, 1) \ X(a, CALLBACK, SINGULAR, STRING, source, 2) \ X(a, CALLBACK, REPEATED, MESSAGE, external_pkgs, 3) -#define ParseFile_Args_CALLBACK pb_default_field_callback -#define ParseFile_Args_DEFAULT NULL -#define ParseFile_Args_external_pkgs_MSGTYPE ExternalPkg +#define ParseFileArgs_CALLBACK pb_default_field_callback +#define ParseFileArgs_DEFAULT NULL +#define ParseFileArgs_external_pkgs_MSGTYPE ExternalPkg -#define ParseFile_Result_FIELDLIST(X, a) \ +#define ParseFileResult_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, ast_json, 1) \ X(a, CALLBACK, REPEATED, STRING, deps, 2) \ X(a, CALLBACK, REPEATED, MESSAGE, errors, 3) -#define ParseFile_Result_CALLBACK pb_default_field_callback -#define ParseFile_Result_DEFAULT NULL -#define ParseFile_Result_errors_MSGTYPE Error +#define ParseFileResult_CALLBACK pb_default_field_callback +#define ParseFileResult_DEFAULT NULL +#define ParseFileResult_errors_MSGTYPE Error -#define ParseProgram_Args_FIELDLIST(X, a) \ +#define ParseProgramArgs_FIELDLIST(X, a) \ X(a, CALLBACK, REPEATED, STRING, paths, 1) \ X(a, CALLBACK, REPEATED, STRING, sources, 2) \ X(a, CALLBACK, REPEATED, MESSAGE, external_pkgs, 3) -#define ParseProgram_Args_CALLBACK pb_default_field_callback -#define ParseProgram_Args_DEFAULT NULL -#define ParseProgram_Args_external_pkgs_MSGTYPE ExternalPkg +#define ParseProgramArgs_CALLBACK pb_default_field_callback +#define ParseProgramArgs_DEFAULT NULL +#define ParseProgramArgs_external_pkgs_MSGTYPE ExternalPkg -#define ParseProgram_Result_FIELDLIST(X, a) \ +#define ParseProgramResult_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, ast_json, 1) \ X(a, CALLBACK, REPEATED, STRING, paths, 2) \ X(a, CALLBACK, REPEATED, MESSAGE, errors, 3) -#define ParseProgram_Result_CALLBACK pb_default_field_callback -#define ParseProgram_Result_DEFAULT NULL -#define ParseProgram_Result_errors_MSGTYPE Error +#define ParseProgramResult_CALLBACK pb_default_field_callback +#define ParseProgramResult_DEFAULT NULL +#define ParseProgramResult_errors_MSGTYPE Error -#define LoadPackage_Args_FIELDLIST(X, a) \ +#define LoadPackageArgs_FIELDLIST(X, a) \ X(a, STATIC, OPTIONAL, MESSAGE, parse_args, 1) \ X(a, STATIC, SINGULAR, BOOL, resolve_ast, 2) \ X(a, STATIC, SINGULAR, BOOL, load_builtin, 3) \ X(a, STATIC, SINGULAR, BOOL, with_ast_index, 4) -#define LoadPackage_Args_CALLBACK NULL -#define LoadPackage_Args_DEFAULT NULL -#define LoadPackage_Args_parse_args_MSGTYPE ParseProgram_Args +#define LoadPackageArgs_CALLBACK NULL +#define LoadPackageArgs_DEFAULT NULL +#define LoadPackageArgs_parse_args_MSGTYPE ParseProgramArgs -#define LoadPackage_Result_FIELDLIST(X, a) \ +#define LoadPackageResult_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, program, 1) \ X(a, CALLBACK, REPEATED, STRING, paths, 2) \ X(a, CALLBACK, REPEATED, MESSAGE, parse_errors, 3) \ @@ -1266,63 +1266,63 @@ X(a, CALLBACK, REPEATED, MESSAGE, node_symbol_map, 7) \ X(a, CALLBACK, REPEATED, MESSAGE, symbol_node_map, 8) \ X(a, CALLBACK, REPEATED, MESSAGE, fully_qualified_name_map, 9) \ X(a, CALLBACK, REPEATED, MESSAGE, pkg_scope_map, 10) -#define LoadPackage_Result_CALLBACK pb_default_field_callback -#define LoadPackage_Result_DEFAULT NULL -#define LoadPackage_Result_parse_errors_MSGTYPE Error -#define LoadPackage_Result_type_errors_MSGTYPE Error -#define LoadPackage_Result_scopes_MSGTYPE LoadPackage_Result_ScopesEntry -#define LoadPackage_Result_symbols_MSGTYPE LoadPackage_Result_SymbolsEntry -#define LoadPackage_Result_node_symbol_map_MSGTYPE LoadPackage_Result_NodeSymbolMapEntry -#define LoadPackage_Result_symbol_node_map_MSGTYPE LoadPackage_Result_SymbolNodeMapEntry -#define LoadPackage_Result_fully_qualified_name_map_MSGTYPE LoadPackage_Result_FullyQualifiedNameMapEntry -#define LoadPackage_Result_pkg_scope_map_MSGTYPE LoadPackage_Result_PkgScopeMapEntry - -#define LoadPackage_Result_ScopesEntry_FIELDLIST(X, a) \ +#define LoadPackageResult_CALLBACK pb_default_field_callback +#define LoadPackageResult_DEFAULT NULL +#define LoadPackageResult_parse_errors_MSGTYPE Error +#define LoadPackageResult_type_errors_MSGTYPE Error +#define LoadPackageResult_scopes_MSGTYPE LoadPackageResult_ScopesEntry +#define LoadPackageResult_symbols_MSGTYPE LoadPackageResult_SymbolsEntry +#define LoadPackageResult_node_symbol_map_MSGTYPE LoadPackageResult_NodeSymbolMapEntry +#define LoadPackageResult_symbol_node_map_MSGTYPE LoadPackageResult_SymbolNodeMapEntry +#define LoadPackageResult_fully_qualified_name_map_MSGTYPE LoadPackageResult_FullyQualifiedNameMapEntry +#define LoadPackageResult_pkg_scope_map_MSGTYPE LoadPackageResult_PkgScopeMapEntry + +#define LoadPackageResult_ScopesEntry_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, key, 1) \ X(a, STATIC, OPTIONAL, MESSAGE, value, 2) -#define LoadPackage_Result_ScopesEntry_CALLBACK pb_default_field_callback -#define LoadPackage_Result_ScopesEntry_DEFAULT NULL -#define LoadPackage_Result_ScopesEntry_value_MSGTYPE Scope +#define LoadPackageResult_ScopesEntry_CALLBACK pb_default_field_callback +#define LoadPackageResult_ScopesEntry_DEFAULT NULL +#define LoadPackageResult_ScopesEntry_value_MSGTYPE Scope -#define LoadPackage_Result_SymbolsEntry_FIELDLIST(X, a) \ +#define LoadPackageResult_SymbolsEntry_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, key, 1) \ X(a, STATIC, OPTIONAL, MESSAGE, value, 2) -#define LoadPackage_Result_SymbolsEntry_CALLBACK pb_default_field_callback -#define LoadPackage_Result_SymbolsEntry_DEFAULT NULL -#define LoadPackage_Result_SymbolsEntry_value_MSGTYPE Symbol +#define LoadPackageResult_SymbolsEntry_CALLBACK pb_default_field_callback +#define LoadPackageResult_SymbolsEntry_DEFAULT NULL +#define LoadPackageResult_SymbolsEntry_value_MSGTYPE Symbol -#define LoadPackage_Result_NodeSymbolMapEntry_FIELDLIST(X, a) \ +#define LoadPackageResult_NodeSymbolMapEntry_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, key, 1) \ X(a, STATIC, OPTIONAL, MESSAGE, value, 2) -#define LoadPackage_Result_NodeSymbolMapEntry_CALLBACK pb_default_field_callback -#define LoadPackage_Result_NodeSymbolMapEntry_DEFAULT NULL -#define LoadPackage_Result_NodeSymbolMapEntry_value_MSGTYPE SymbolIndex +#define LoadPackageResult_NodeSymbolMapEntry_CALLBACK pb_default_field_callback +#define LoadPackageResult_NodeSymbolMapEntry_DEFAULT NULL +#define LoadPackageResult_NodeSymbolMapEntry_value_MSGTYPE SymbolIndex -#define LoadPackage_Result_SymbolNodeMapEntry_FIELDLIST(X, a) \ +#define LoadPackageResult_SymbolNodeMapEntry_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, key, 1) \ X(a, CALLBACK, SINGULAR, STRING, value, 2) -#define LoadPackage_Result_SymbolNodeMapEntry_CALLBACK pb_default_field_callback -#define LoadPackage_Result_SymbolNodeMapEntry_DEFAULT NULL +#define LoadPackageResult_SymbolNodeMapEntry_CALLBACK pb_default_field_callback +#define LoadPackageResult_SymbolNodeMapEntry_DEFAULT NULL -#define LoadPackage_Result_FullyQualifiedNameMapEntry_FIELDLIST(X, a) \ +#define LoadPackageResult_FullyQualifiedNameMapEntry_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, key, 1) \ X(a, STATIC, OPTIONAL, MESSAGE, value, 2) -#define LoadPackage_Result_FullyQualifiedNameMapEntry_CALLBACK pb_default_field_callback -#define LoadPackage_Result_FullyQualifiedNameMapEntry_DEFAULT NULL -#define LoadPackage_Result_FullyQualifiedNameMapEntry_value_MSGTYPE SymbolIndex +#define LoadPackageResult_FullyQualifiedNameMapEntry_CALLBACK pb_default_field_callback +#define LoadPackageResult_FullyQualifiedNameMapEntry_DEFAULT NULL +#define LoadPackageResult_FullyQualifiedNameMapEntry_value_MSGTYPE SymbolIndex -#define LoadPackage_Result_PkgScopeMapEntry_FIELDLIST(X, a) \ +#define LoadPackageResult_PkgScopeMapEntry_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, key, 1) \ X(a, STATIC, OPTIONAL, MESSAGE, value, 2) -#define LoadPackage_Result_PkgScopeMapEntry_CALLBACK pb_default_field_callback -#define LoadPackage_Result_PkgScopeMapEntry_DEFAULT NULL -#define LoadPackage_Result_PkgScopeMapEntry_value_MSGTYPE ScopeIndex +#define LoadPackageResult_PkgScopeMapEntry_CALLBACK pb_default_field_callback +#define LoadPackageResult_PkgScopeMapEntry_DEFAULT NULL +#define LoadPackageResult_PkgScopeMapEntry_value_MSGTYPE ScopeIndex -#define ListOptions_Result_FIELDLIST(X, a) \ +#define ListOptionsResult_FIELDLIST(X, a) \ X(a, CALLBACK, REPEATED, MESSAGE, options, 2) -#define ListOptions_Result_CALLBACK pb_default_field_callback -#define ListOptions_Result_DEFAULT NULL -#define ListOptions_Result_options_MSGTYPE OptionHelp +#define ListOptionsResult_CALLBACK pb_default_field_callback +#define ListOptionsResult_DEFAULT NULL +#define ListOptionsResult_options_MSGTYPE OptionHelp #define OptionHelp_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, name, 1) \ @@ -1374,7 +1374,7 @@ X(a, CALLBACK, SINGULAR, STRING, kind, 3) #define ScopeIndex_CALLBACK pb_default_field_callback #define ScopeIndex_DEFAULT NULL -#define ExecProgram_Args_FIELDLIST(X, a) \ +#define ExecProgramArgs_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, work_dir, 1) \ X(a, CALLBACK, REPEATED, STRING, k_filename_list, 2) \ X(a, CALLBACK, REPEATED, STRING, k_code_list, 3) \ @@ -1393,86 +1393,86 @@ X(a, STATIC, SINGULAR, BOOL, compile_only, 15) \ X(a, STATIC, SINGULAR, BOOL, show_hidden, 16) \ X(a, CALLBACK, REPEATED, STRING, path_selector, 17) \ X(a, STATIC, SINGULAR, BOOL, fast_eval, 18) -#define ExecProgram_Args_CALLBACK pb_default_field_callback -#define ExecProgram_Args_DEFAULT NULL -#define ExecProgram_Args_args_MSGTYPE Argument -#define ExecProgram_Args_external_pkgs_MSGTYPE ExternalPkg +#define ExecProgramArgs_CALLBACK pb_default_field_callback +#define ExecProgramArgs_DEFAULT NULL +#define ExecProgramArgs_args_MSGTYPE Argument +#define ExecProgramArgs_external_pkgs_MSGTYPE ExternalPkg -#define ExecProgram_Result_FIELDLIST(X, a) \ +#define ExecProgramResult_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, json_result, 1) \ X(a, CALLBACK, SINGULAR, STRING, yaml_result, 2) \ X(a, CALLBACK, SINGULAR, STRING, log_message, 3) \ X(a, CALLBACK, SINGULAR, STRING, err_message, 4) -#define ExecProgram_Result_CALLBACK pb_default_field_callback -#define ExecProgram_Result_DEFAULT NULL +#define ExecProgramResult_CALLBACK pb_default_field_callback +#define ExecProgramResult_DEFAULT NULL -#define BuildProgram_Args_FIELDLIST(X, a) \ +#define BuildProgramArgs_FIELDLIST(X, a) \ X(a, STATIC, OPTIONAL, MESSAGE, exec_args, 1) \ X(a, CALLBACK, SINGULAR, STRING, output, 2) -#define BuildProgram_Args_CALLBACK pb_default_field_callback -#define BuildProgram_Args_DEFAULT NULL -#define BuildProgram_Args_exec_args_MSGTYPE ExecProgram_Args +#define BuildProgramArgs_CALLBACK pb_default_field_callback +#define BuildProgramArgs_DEFAULT NULL +#define BuildProgramArgs_exec_args_MSGTYPE ExecProgramArgs -#define BuildProgram_Result_FIELDLIST(X, a) \ +#define BuildProgramResult_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, path, 1) -#define BuildProgram_Result_CALLBACK pb_default_field_callback -#define BuildProgram_Result_DEFAULT NULL +#define BuildProgramResult_CALLBACK pb_default_field_callback +#define BuildProgramResult_DEFAULT NULL -#define ExecArtifact_Args_FIELDLIST(X, a) \ +#define ExecArtifactArgs_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, path, 1) \ X(a, STATIC, OPTIONAL, MESSAGE, exec_args, 2) -#define ExecArtifact_Args_CALLBACK pb_default_field_callback -#define ExecArtifact_Args_DEFAULT NULL -#define ExecArtifact_Args_exec_args_MSGTYPE ExecProgram_Args +#define ExecArtifactArgs_CALLBACK pb_default_field_callback +#define ExecArtifactArgs_DEFAULT NULL +#define ExecArtifactArgs_exec_args_MSGTYPE ExecProgramArgs -#define FormatCode_Args_FIELDLIST(X, a) \ +#define FormatCodeArgs_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, source, 1) -#define FormatCode_Args_CALLBACK pb_default_field_callback -#define FormatCode_Args_DEFAULT NULL +#define FormatCodeArgs_CALLBACK pb_default_field_callback +#define FormatCodeArgs_DEFAULT NULL -#define FormatCode_Result_FIELDLIST(X, a) \ +#define FormatCodeResult_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, BYTES, formatted, 1) -#define FormatCode_Result_CALLBACK pb_default_field_callback -#define FormatCode_Result_DEFAULT NULL +#define FormatCodeResult_CALLBACK pb_default_field_callback +#define FormatCodeResult_DEFAULT NULL -#define FormatPath_Args_FIELDLIST(X, a) \ +#define FormatPathArgs_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, path, 1) -#define FormatPath_Args_CALLBACK pb_default_field_callback -#define FormatPath_Args_DEFAULT NULL +#define FormatPathArgs_CALLBACK pb_default_field_callback +#define FormatPathArgs_DEFAULT NULL -#define FormatPath_Result_FIELDLIST(X, a) \ +#define FormatPathResult_FIELDLIST(X, a) \ X(a, CALLBACK, REPEATED, STRING, changed_paths, 1) -#define FormatPath_Result_CALLBACK pb_default_field_callback -#define FormatPath_Result_DEFAULT NULL +#define FormatPathResult_CALLBACK pb_default_field_callback +#define FormatPathResult_DEFAULT NULL -#define LintPath_Args_FIELDLIST(X, a) \ +#define LintPathArgs_FIELDLIST(X, a) \ X(a, CALLBACK, REPEATED, STRING, paths, 1) -#define LintPath_Args_CALLBACK pb_default_field_callback -#define LintPath_Args_DEFAULT NULL +#define LintPathArgs_CALLBACK pb_default_field_callback +#define LintPathArgs_DEFAULT NULL -#define LintPath_Result_FIELDLIST(X, a) \ +#define LintPathResult_FIELDLIST(X, a) \ X(a, CALLBACK, REPEATED, STRING, results, 1) -#define LintPath_Result_CALLBACK pb_default_field_callback -#define LintPath_Result_DEFAULT NULL +#define LintPathResult_CALLBACK pb_default_field_callback +#define LintPathResult_DEFAULT NULL -#define OverrideFile_Args_FIELDLIST(X, a) \ +#define OverrideFileArgs_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, file, 1) \ X(a, CALLBACK, REPEATED, STRING, specs, 2) \ X(a, CALLBACK, REPEATED, STRING, import_paths, 3) -#define OverrideFile_Args_CALLBACK pb_default_field_callback -#define OverrideFile_Args_DEFAULT NULL +#define OverrideFileArgs_CALLBACK pb_default_field_callback +#define OverrideFileArgs_DEFAULT NULL -#define OverrideFile_Result_FIELDLIST(X, a) \ +#define OverrideFileResult_FIELDLIST(X, a) \ X(a, STATIC, SINGULAR, BOOL, result, 1) \ X(a, CALLBACK, REPEATED, MESSAGE, parse_errors, 2) -#define OverrideFile_Result_CALLBACK pb_default_field_callback -#define OverrideFile_Result_DEFAULT NULL -#define OverrideFile_Result_parse_errors_MSGTYPE Error +#define OverrideFileResult_CALLBACK pb_default_field_callback +#define OverrideFileResult_DEFAULT NULL +#define OverrideFileResult_parse_errors_MSGTYPE Error -#define ListVariables_Options_FIELDLIST(X, a) \ +#define ListVariablesOptions_FIELDLIST(X, a) \ X(a, STATIC, SINGULAR, BOOL, merge_program, 1) -#define ListVariables_Options_CALLBACK NULL -#define ListVariables_Options_DEFAULT NULL +#define ListVariablesOptions_CALLBACK NULL +#define ListVariablesOptions_DEFAULT NULL #define VariableList_FIELDLIST(X, a) \ X(a, CALLBACK, REPEATED, MESSAGE, variables, 1) @@ -1480,29 +1480,29 @@ X(a, CALLBACK, REPEATED, MESSAGE, variables, 1) #define VariableList_DEFAULT NULL #define VariableList_variables_MSGTYPE Variable -#define ListVariables_Args_FIELDLIST(X, a) \ +#define ListVariablesArgs_FIELDLIST(X, a) \ X(a, CALLBACK, REPEATED, STRING, files, 1) \ X(a, CALLBACK, REPEATED, STRING, specs, 2) \ X(a, STATIC, OPTIONAL, MESSAGE, options, 3) -#define ListVariables_Args_CALLBACK pb_default_field_callback -#define ListVariables_Args_DEFAULT NULL -#define ListVariables_Args_options_MSGTYPE ListVariables_Options +#define ListVariablesArgs_CALLBACK pb_default_field_callback +#define ListVariablesArgs_DEFAULT NULL +#define ListVariablesArgs_options_MSGTYPE ListVariablesOptions -#define ListVariables_Result_FIELDLIST(X, a) \ +#define ListVariablesResult_FIELDLIST(X, a) \ X(a, CALLBACK, REPEATED, MESSAGE, variables, 1) \ X(a, CALLBACK, REPEATED, STRING, unsupported_codes, 2) \ X(a, CALLBACK, REPEATED, MESSAGE, parse_errors, 3) -#define ListVariables_Result_CALLBACK pb_default_field_callback -#define ListVariables_Result_DEFAULT NULL -#define ListVariables_Result_variables_MSGTYPE ListVariables_Result_VariablesEntry -#define ListVariables_Result_parse_errors_MSGTYPE Error +#define ListVariablesResult_CALLBACK pb_default_field_callback +#define ListVariablesResult_DEFAULT NULL +#define ListVariablesResult_variables_MSGTYPE ListVariablesResult_VariablesEntry +#define ListVariablesResult_parse_errors_MSGTYPE Error -#define ListVariables_Result_VariablesEntry_FIELDLIST(X, a) \ +#define ListVariablesResult_VariablesEntry_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, key, 1) \ X(a, STATIC, OPTIONAL, MESSAGE, value, 2) -#define ListVariables_Result_VariablesEntry_CALLBACK pb_default_field_callback -#define ListVariables_Result_VariablesEntry_DEFAULT NULL -#define ListVariables_Result_VariablesEntry_value_MSGTYPE VariableList +#define ListVariablesResult_VariablesEntry_CALLBACK pb_default_field_callback +#define ListVariablesResult_VariablesEntry_DEFAULT NULL +#define ListVariablesResult_VariablesEntry_value_MSGTYPE VariableList #define Variable_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, value, 1) \ @@ -1522,27 +1522,27 @@ X(a, STATIC, OPTIONAL, MESSAGE, value, 2) #define MapEntry_DEFAULT NULL #define MapEntry_value_MSGTYPE Variable -#define GetSchemaTypeMapping_Args_FIELDLIST(X, a) \ +#define GetSchemaTypeMappingArgs_FIELDLIST(X, a) \ X(a, STATIC, OPTIONAL, MESSAGE, exec_args, 1) \ X(a, CALLBACK, SINGULAR, STRING, schema_name, 2) -#define GetSchemaTypeMapping_Args_CALLBACK pb_default_field_callback -#define GetSchemaTypeMapping_Args_DEFAULT NULL -#define GetSchemaTypeMapping_Args_exec_args_MSGTYPE ExecProgram_Args +#define GetSchemaTypeMappingArgs_CALLBACK pb_default_field_callback +#define GetSchemaTypeMappingArgs_DEFAULT NULL +#define GetSchemaTypeMappingArgs_exec_args_MSGTYPE ExecProgramArgs -#define GetSchemaTypeMapping_Result_FIELDLIST(X, a) \ +#define GetSchemaTypeMappingResult_FIELDLIST(X, a) \ X(a, CALLBACK, REPEATED, MESSAGE, schema_type_mapping, 1) -#define GetSchemaTypeMapping_Result_CALLBACK pb_default_field_callback -#define GetSchemaTypeMapping_Result_DEFAULT NULL -#define GetSchemaTypeMapping_Result_schema_type_mapping_MSGTYPE GetSchemaTypeMapping_Result_SchemaTypeMappingEntry +#define GetSchemaTypeMappingResult_CALLBACK pb_default_field_callback +#define GetSchemaTypeMappingResult_DEFAULT NULL +#define GetSchemaTypeMappingResult_schema_type_mapping_MSGTYPE GetSchemaTypeMappingResult_SchemaTypeMappingEntry -#define GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_FIELDLIST(X, a) \ +#define GetSchemaTypeMappingResult_SchemaTypeMappingEntry_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, key, 1) \ X(a, STATIC, OPTIONAL, MESSAGE, value, 2) -#define GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_CALLBACK pb_default_field_callback -#define GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_DEFAULT NULL -#define GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_value_MSGTYPE KclType +#define GetSchemaTypeMappingResult_SchemaTypeMappingEntry_CALLBACK pb_default_field_callback +#define GetSchemaTypeMappingResult_SchemaTypeMappingEntry_DEFAULT NULL +#define GetSchemaTypeMappingResult_SchemaTypeMappingEntry_value_MSGTYPE KclType -#define ValidateCode_Args_FIELDLIST(X, a) \ +#define ValidateCodeArgs_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, datafile, 1) \ X(a, CALLBACK, SINGULAR, STRING, data, 2) \ X(a, CALLBACK, SINGULAR, STRING, file, 3) \ @@ -1550,14 +1550,14 @@ X(a, CALLBACK, SINGULAR, STRING, code, 4) \ X(a, CALLBACK, SINGULAR, STRING, schema, 5) \ X(a, CALLBACK, SINGULAR, STRING, attribute_name, 6) \ X(a, CALLBACK, SINGULAR, STRING, format, 7) -#define ValidateCode_Args_CALLBACK pb_default_field_callback -#define ValidateCode_Args_DEFAULT NULL +#define ValidateCodeArgs_CALLBACK pb_default_field_callback +#define ValidateCodeArgs_DEFAULT NULL -#define ValidateCode_Result_FIELDLIST(X, a) \ +#define ValidateCodeResult_FIELDLIST(X, a) \ X(a, STATIC, SINGULAR, BOOL, success, 1) \ X(a, CALLBACK, SINGULAR, STRING, err_message, 2) -#define ValidateCode_Result_CALLBACK pb_default_field_callback -#define ValidateCode_Result_DEFAULT NULL +#define ValidateCodeResult_CALLBACK pb_default_field_callback +#define ValidateCodeResult_DEFAULT NULL #define Position_FIELDLIST(X, a) \ X(a, STATIC, SINGULAR, INT64, line, 1) \ @@ -1566,34 +1566,34 @@ X(a, CALLBACK, SINGULAR, STRING, filename, 3) #define Position_CALLBACK pb_default_field_callback #define Position_DEFAULT NULL -#define ListDepFiles_Args_FIELDLIST(X, a) \ +#define ListDepFilesArgs_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, work_dir, 1) \ X(a, STATIC, SINGULAR, BOOL, use_abs_path, 2) \ X(a, STATIC, SINGULAR, BOOL, include_all, 3) \ X(a, STATIC, SINGULAR, BOOL, use_fast_parser, 4) -#define ListDepFiles_Args_CALLBACK pb_default_field_callback -#define ListDepFiles_Args_DEFAULT NULL +#define ListDepFilesArgs_CALLBACK pb_default_field_callback +#define ListDepFilesArgs_DEFAULT NULL -#define ListDepFiles_Result_FIELDLIST(X, a) \ +#define ListDepFilesResult_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, pkgroot, 1) \ X(a, CALLBACK, SINGULAR, STRING, pkgpath, 2) \ X(a, CALLBACK, REPEATED, STRING, files, 3) -#define ListDepFiles_Result_CALLBACK pb_default_field_callback -#define ListDepFiles_Result_DEFAULT NULL +#define ListDepFilesResult_CALLBACK pb_default_field_callback +#define ListDepFilesResult_DEFAULT NULL -#define LoadSettingsFiles_Args_FIELDLIST(X, a) \ +#define LoadSettingsFilesArgs_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, work_dir, 1) \ X(a, CALLBACK, REPEATED, STRING, files, 2) -#define LoadSettingsFiles_Args_CALLBACK pb_default_field_callback -#define LoadSettingsFiles_Args_DEFAULT NULL +#define LoadSettingsFilesArgs_CALLBACK pb_default_field_callback +#define LoadSettingsFilesArgs_DEFAULT NULL -#define LoadSettingsFiles_Result_FIELDLIST(X, a) \ +#define LoadSettingsFilesResult_FIELDLIST(X, a) \ X(a, STATIC, OPTIONAL, MESSAGE, kcl_cli_configs, 1) \ X(a, CALLBACK, REPEATED, MESSAGE, kcl_options, 2) -#define LoadSettingsFiles_Result_CALLBACK pb_default_field_callback -#define LoadSettingsFiles_Result_DEFAULT NULL -#define LoadSettingsFiles_Result_kcl_cli_configs_MSGTYPE CliConfig -#define LoadSettingsFiles_Result_kcl_options_MSGTYPE KeyValuePair +#define LoadSettingsFilesResult_CALLBACK pb_default_field_callback +#define LoadSettingsFilesResult_DEFAULT NULL +#define LoadSettingsFilesResult_kcl_cli_configs_MSGTYPE CliConfig +#define LoadSettingsFilesResult_kcl_options_MSGTYPE KeyValuePair #define CliConfig_FIELDLIST(X, a) \ X(a, CALLBACK, REPEATED, STRING, files, 1) \ @@ -1617,60 +1617,60 @@ X(a, CALLBACK, SINGULAR, STRING, value, 2) #define KeyValuePair_CALLBACK pb_default_field_callback #define KeyValuePair_DEFAULT NULL -#define Rename_Args_FIELDLIST(X, a) \ +#define RenameArgs_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, package_root, 1) \ X(a, CALLBACK, SINGULAR, STRING, symbol_path, 2) \ X(a, CALLBACK, REPEATED, STRING, file_paths, 3) \ X(a, CALLBACK, SINGULAR, STRING, new_name, 4) -#define Rename_Args_CALLBACK pb_default_field_callback -#define Rename_Args_DEFAULT NULL +#define RenameArgs_CALLBACK pb_default_field_callback +#define RenameArgs_DEFAULT NULL -#define Rename_Result_FIELDLIST(X, a) \ +#define RenameResult_FIELDLIST(X, a) \ X(a, CALLBACK, REPEATED, STRING, changed_files, 1) -#define Rename_Result_CALLBACK pb_default_field_callback -#define Rename_Result_DEFAULT NULL +#define RenameResult_CALLBACK pb_default_field_callback +#define RenameResult_DEFAULT NULL -#define RenameCode_Args_FIELDLIST(X, a) \ +#define RenameCodeArgs_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, package_root, 1) \ X(a, CALLBACK, SINGULAR, STRING, symbol_path, 2) \ X(a, CALLBACK, REPEATED, MESSAGE, source_codes, 3) \ X(a, CALLBACK, SINGULAR, STRING, new_name, 4) -#define RenameCode_Args_CALLBACK pb_default_field_callback -#define RenameCode_Args_DEFAULT NULL -#define RenameCode_Args_source_codes_MSGTYPE RenameCode_Args_SourceCodesEntry +#define RenameCodeArgs_CALLBACK pb_default_field_callback +#define RenameCodeArgs_DEFAULT NULL +#define RenameCodeArgs_source_codes_MSGTYPE RenameCodeArgs_SourceCodesEntry -#define RenameCode_Args_SourceCodesEntry_FIELDLIST(X, a) \ +#define RenameCodeArgs_SourceCodesEntry_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, key, 1) \ X(a, CALLBACK, SINGULAR, STRING, value, 2) -#define RenameCode_Args_SourceCodesEntry_CALLBACK pb_default_field_callback -#define RenameCode_Args_SourceCodesEntry_DEFAULT NULL +#define RenameCodeArgs_SourceCodesEntry_CALLBACK pb_default_field_callback +#define RenameCodeArgs_SourceCodesEntry_DEFAULT NULL -#define RenameCode_Result_FIELDLIST(X, a) \ +#define RenameCodeResult_FIELDLIST(X, a) \ X(a, CALLBACK, REPEATED, MESSAGE, changed_codes, 1) -#define RenameCode_Result_CALLBACK pb_default_field_callback -#define RenameCode_Result_DEFAULT NULL -#define RenameCode_Result_changed_codes_MSGTYPE RenameCode_Result_ChangedCodesEntry +#define RenameCodeResult_CALLBACK pb_default_field_callback +#define RenameCodeResult_DEFAULT NULL +#define RenameCodeResult_changed_codes_MSGTYPE RenameCodeResult_ChangedCodesEntry -#define RenameCode_Result_ChangedCodesEntry_FIELDLIST(X, a) \ +#define RenameCodeResult_ChangedCodesEntry_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, key, 1) \ X(a, CALLBACK, SINGULAR, STRING, value, 2) -#define RenameCode_Result_ChangedCodesEntry_CALLBACK pb_default_field_callback -#define RenameCode_Result_ChangedCodesEntry_DEFAULT NULL +#define RenameCodeResult_ChangedCodesEntry_CALLBACK pb_default_field_callback +#define RenameCodeResult_ChangedCodesEntry_DEFAULT NULL -#define Test_Args_FIELDLIST(X, a) \ +#define TestArgs_FIELDLIST(X, a) \ X(a, STATIC, OPTIONAL, MESSAGE, exec_args, 1) \ X(a, CALLBACK, REPEATED, STRING, pkg_list, 2) \ X(a, CALLBACK, SINGULAR, STRING, run_regexp, 3) \ X(a, STATIC, SINGULAR, BOOL, fail_fast, 4) -#define Test_Args_CALLBACK pb_default_field_callback -#define Test_Args_DEFAULT NULL -#define Test_Args_exec_args_MSGTYPE ExecProgram_Args +#define TestArgs_CALLBACK pb_default_field_callback +#define TestArgs_DEFAULT NULL +#define TestArgs_exec_args_MSGTYPE ExecProgramArgs -#define Test_Result_FIELDLIST(X, a) \ +#define TestResult_FIELDLIST(X, a) \ X(a, CALLBACK, REPEATED, MESSAGE, info, 2) -#define Test_Result_CALLBACK pb_default_field_callback -#define Test_Result_DEFAULT NULL -#define Test_Result_info_MSGTYPE TestCaseInfo +#define TestResult_CALLBACK pb_default_field_callback +#define TestResult_DEFAULT NULL +#define TestResult_info_MSGTYPE TestCaseInfo #define TestCaseInfo_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, name, 1) \ @@ -1680,17 +1680,17 @@ X(a, CALLBACK, SINGULAR, STRING, log_message, 4) #define TestCaseInfo_CALLBACK pb_default_field_callback #define TestCaseInfo_DEFAULT NULL -#define UpdateDependencies_Args_FIELDLIST(X, a) \ +#define UpdateDependenciesArgs_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, manifest_path, 1) \ X(a, STATIC, SINGULAR, BOOL, vendor, 2) -#define UpdateDependencies_Args_CALLBACK pb_default_field_callback -#define UpdateDependencies_Args_DEFAULT NULL +#define UpdateDependenciesArgs_CALLBACK pb_default_field_callback +#define UpdateDependenciesArgs_DEFAULT NULL -#define UpdateDependencies_Result_FIELDLIST(X, a) \ +#define UpdateDependenciesResult_FIELDLIST(X, a) \ X(a, CALLBACK, REPEATED, MESSAGE, external_pkgs, 3) -#define UpdateDependencies_Result_CALLBACK pb_default_field_callback -#define UpdateDependencies_Result_DEFAULT NULL -#define UpdateDependencies_Result_external_pkgs_MSGTYPE ExternalPkg +#define UpdateDependenciesResult_CALLBACK pb_default_field_callback +#define UpdateDependenciesResult_DEFAULT NULL +#define UpdateDependenciesResult_external_pkgs_MSGTYPE ExternalPkg #define KclType_FIELDLIST(X, a) \ X(a, CALLBACK, SINGULAR, STRING, type, 1) \ @@ -1758,73 +1758,73 @@ extern const pb_msgdesc_t ExternalPkg_msg; extern const pb_msgdesc_t Argument_msg; extern const pb_msgdesc_t Error_msg; extern const pb_msgdesc_t Message_msg; -extern const pb_msgdesc_t Ping_Args_msg; -extern const pb_msgdesc_t Ping_Result_msg; -extern const pb_msgdesc_t GetVersion_Args_msg; -extern const pb_msgdesc_t GetVersion_Result_msg; -extern const pb_msgdesc_t ListMethod_Args_msg; -extern const pb_msgdesc_t ListMethod_Result_msg; -extern const pb_msgdesc_t ParseFile_Args_msg; -extern const pb_msgdesc_t ParseFile_Result_msg; -extern const pb_msgdesc_t ParseProgram_Args_msg; -extern const pb_msgdesc_t ParseProgram_Result_msg; -extern const pb_msgdesc_t LoadPackage_Args_msg; -extern const pb_msgdesc_t LoadPackage_Result_msg; -extern const pb_msgdesc_t LoadPackage_Result_ScopesEntry_msg; -extern const pb_msgdesc_t LoadPackage_Result_SymbolsEntry_msg; -extern const pb_msgdesc_t LoadPackage_Result_NodeSymbolMapEntry_msg; -extern const pb_msgdesc_t LoadPackage_Result_SymbolNodeMapEntry_msg; -extern const pb_msgdesc_t LoadPackage_Result_FullyQualifiedNameMapEntry_msg; -extern const pb_msgdesc_t LoadPackage_Result_PkgScopeMapEntry_msg; -extern const pb_msgdesc_t ListOptions_Result_msg; +extern const pb_msgdesc_t PingArgs_msg; +extern const pb_msgdesc_t PingResult_msg; +extern const pb_msgdesc_t GetVersionArgs_msg; +extern const pb_msgdesc_t GetVersionResult_msg; +extern const pb_msgdesc_t ListMethodArgs_msg; +extern const pb_msgdesc_t ListMethodResult_msg; +extern const pb_msgdesc_t ParseFileArgs_msg; +extern const pb_msgdesc_t ParseFileResult_msg; +extern const pb_msgdesc_t ParseProgramArgs_msg; +extern const pb_msgdesc_t ParseProgramResult_msg; +extern const pb_msgdesc_t LoadPackageArgs_msg; +extern const pb_msgdesc_t LoadPackageResult_msg; +extern const pb_msgdesc_t LoadPackageResult_ScopesEntry_msg; +extern const pb_msgdesc_t LoadPackageResult_SymbolsEntry_msg; +extern const pb_msgdesc_t LoadPackageResult_NodeSymbolMapEntry_msg; +extern const pb_msgdesc_t LoadPackageResult_SymbolNodeMapEntry_msg; +extern const pb_msgdesc_t LoadPackageResult_FullyQualifiedNameMapEntry_msg; +extern const pb_msgdesc_t LoadPackageResult_PkgScopeMapEntry_msg; +extern const pb_msgdesc_t ListOptionsResult_msg; extern const pb_msgdesc_t OptionHelp_msg; extern const pb_msgdesc_t Symbol_msg; extern const pb_msgdesc_t Scope_msg; extern const pb_msgdesc_t SymbolIndex_msg; extern const pb_msgdesc_t ScopeIndex_msg; -extern const pb_msgdesc_t ExecProgram_Args_msg; -extern const pb_msgdesc_t ExecProgram_Result_msg; -extern const pb_msgdesc_t BuildProgram_Args_msg; -extern const pb_msgdesc_t BuildProgram_Result_msg; -extern const pb_msgdesc_t ExecArtifact_Args_msg; -extern const pb_msgdesc_t FormatCode_Args_msg; -extern const pb_msgdesc_t FormatCode_Result_msg; -extern const pb_msgdesc_t FormatPath_Args_msg; -extern const pb_msgdesc_t FormatPath_Result_msg; -extern const pb_msgdesc_t LintPath_Args_msg; -extern const pb_msgdesc_t LintPath_Result_msg; -extern const pb_msgdesc_t OverrideFile_Args_msg; -extern const pb_msgdesc_t OverrideFile_Result_msg; -extern const pb_msgdesc_t ListVariables_Options_msg; +extern const pb_msgdesc_t ExecProgramArgs_msg; +extern const pb_msgdesc_t ExecProgramResult_msg; +extern const pb_msgdesc_t BuildProgramArgs_msg; +extern const pb_msgdesc_t BuildProgramResult_msg; +extern const pb_msgdesc_t ExecArtifactArgs_msg; +extern const pb_msgdesc_t FormatCodeArgs_msg; +extern const pb_msgdesc_t FormatCodeResult_msg; +extern const pb_msgdesc_t FormatPathArgs_msg; +extern const pb_msgdesc_t FormatPathResult_msg; +extern const pb_msgdesc_t LintPathArgs_msg; +extern const pb_msgdesc_t LintPathResult_msg; +extern const pb_msgdesc_t OverrideFileArgs_msg; +extern const pb_msgdesc_t OverrideFileResult_msg; +extern const pb_msgdesc_t ListVariablesOptions_msg; extern const pb_msgdesc_t VariableList_msg; -extern const pb_msgdesc_t ListVariables_Args_msg; -extern const pb_msgdesc_t ListVariables_Result_msg; -extern const pb_msgdesc_t ListVariables_Result_VariablesEntry_msg; +extern const pb_msgdesc_t ListVariablesArgs_msg; +extern const pb_msgdesc_t ListVariablesResult_msg; +extern const pb_msgdesc_t ListVariablesResult_VariablesEntry_msg; extern const pb_msgdesc_t Variable_msg; extern const pb_msgdesc_t MapEntry_msg; -extern const pb_msgdesc_t GetSchemaTypeMapping_Args_msg; -extern const pb_msgdesc_t GetSchemaTypeMapping_Result_msg; -extern const pb_msgdesc_t GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_msg; -extern const pb_msgdesc_t ValidateCode_Args_msg; -extern const pb_msgdesc_t ValidateCode_Result_msg; +extern const pb_msgdesc_t GetSchemaTypeMappingArgs_msg; +extern const pb_msgdesc_t GetSchemaTypeMappingResult_msg; +extern const pb_msgdesc_t GetSchemaTypeMappingResult_SchemaTypeMappingEntry_msg; +extern const pb_msgdesc_t ValidateCodeArgs_msg; +extern const pb_msgdesc_t ValidateCodeResult_msg; extern const pb_msgdesc_t Position_msg; -extern const pb_msgdesc_t ListDepFiles_Args_msg; -extern const pb_msgdesc_t ListDepFiles_Result_msg; -extern const pb_msgdesc_t LoadSettingsFiles_Args_msg; -extern const pb_msgdesc_t LoadSettingsFiles_Result_msg; +extern const pb_msgdesc_t ListDepFilesArgs_msg; +extern const pb_msgdesc_t ListDepFilesResult_msg; +extern const pb_msgdesc_t LoadSettingsFilesArgs_msg; +extern const pb_msgdesc_t LoadSettingsFilesResult_msg; extern const pb_msgdesc_t CliConfig_msg; extern const pb_msgdesc_t KeyValuePair_msg; -extern const pb_msgdesc_t Rename_Args_msg; -extern const pb_msgdesc_t Rename_Result_msg; -extern const pb_msgdesc_t RenameCode_Args_msg; -extern const pb_msgdesc_t RenameCode_Args_SourceCodesEntry_msg; -extern const pb_msgdesc_t RenameCode_Result_msg; -extern const pb_msgdesc_t RenameCode_Result_ChangedCodesEntry_msg; -extern const pb_msgdesc_t Test_Args_msg; -extern const pb_msgdesc_t Test_Result_msg; +extern const pb_msgdesc_t RenameArgs_msg; +extern const pb_msgdesc_t RenameResult_msg; +extern const pb_msgdesc_t RenameCodeArgs_msg; +extern const pb_msgdesc_t RenameCodeArgs_SourceCodesEntry_msg; +extern const pb_msgdesc_t RenameCodeResult_msg; +extern const pb_msgdesc_t RenameCodeResult_ChangedCodesEntry_msg; +extern const pb_msgdesc_t TestArgs_msg; +extern const pb_msgdesc_t TestResult_msg; extern const pb_msgdesc_t TestCaseInfo_msg; -extern const pb_msgdesc_t UpdateDependencies_Args_msg; -extern const pb_msgdesc_t UpdateDependencies_Result_msg; +extern const pb_msgdesc_t UpdateDependenciesArgs_msg; +extern const pb_msgdesc_t UpdateDependenciesResult_msg; extern const pb_msgdesc_t KclType_msg; extern const pb_msgdesc_t KclType_PropertiesEntry_msg; extern const pb_msgdesc_t KclType_ExamplesEntry_msg; @@ -1837,73 +1837,73 @@ extern const pb_msgdesc_t Example_msg; #define Argument_fields &Argument_msg #define Error_fields &Error_msg #define Message_fields &Message_msg -#define Ping_Args_fields &Ping_Args_msg -#define Ping_Result_fields &Ping_Result_msg -#define GetVersion_Args_fields &GetVersion_Args_msg -#define GetVersion_Result_fields &GetVersion_Result_msg -#define ListMethod_Args_fields &ListMethod_Args_msg -#define ListMethod_Result_fields &ListMethod_Result_msg -#define ParseFile_Args_fields &ParseFile_Args_msg -#define ParseFile_Result_fields &ParseFile_Result_msg -#define ParseProgram_Args_fields &ParseProgram_Args_msg -#define ParseProgram_Result_fields &ParseProgram_Result_msg -#define LoadPackage_Args_fields &LoadPackage_Args_msg -#define LoadPackage_Result_fields &LoadPackage_Result_msg -#define LoadPackage_Result_ScopesEntry_fields &LoadPackage_Result_ScopesEntry_msg -#define LoadPackage_Result_SymbolsEntry_fields &LoadPackage_Result_SymbolsEntry_msg -#define LoadPackage_Result_NodeSymbolMapEntry_fields &LoadPackage_Result_NodeSymbolMapEntry_msg -#define LoadPackage_Result_SymbolNodeMapEntry_fields &LoadPackage_Result_SymbolNodeMapEntry_msg -#define LoadPackage_Result_FullyQualifiedNameMapEntry_fields &LoadPackage_Result_FullyQualifiedNameMapEntry_msg -#define LoadPackage_Result_PkgScopeMapEntry_fields &LoadPackage_Result_PkgScopeMapEntry_msg -#define ListOptions_Result_fields &ListOptions_Result_msg +#define PingArgs_fields &PingArgs_msg +#define PingResult_fields &PingResult_msg +#define GetVersionArgs_fields &GetVersionArgs_msg +#define GetVersionResult_fields &GetVersionResult_msg +#define ListMethodArgs_fields &ListMethodArgs_msg +#define ListMethodResult_fields &ListMethodResult_msg +#define ParseFileArgs_fields &ParseFileArgs_msg +#define ParseFileResult_fields &ParseFileResult_msg +#define ParseProgramArgs_fields &ParseProgramArgs_msg +#define ParseProgramResult_fields &ParseProgramResult_msg +#define LoadPackageArgs_fields &LoadPackageArgs_msg +#define LoadPackageResult_fields &LoadPackageResult_msg +#define LoadPackageResult_ScopesEntry_fields &LoadPackageResult_ScopesEntry_msg +#define LoadPackageResult_SymbolsEntry_fields &LoadPackageResult_SymbolsEntry_msg +#define LoadPackageResult_NodeSymbolMapEntry_fields &LoadPackageResult_NodeSymbolMapEntry_msg +#define LoadPackageResult_SymbolNodeMapEntry_fields &LoadPackageResult_SymbolNodeMapEntry_msg +#define LoadPackageResult_FullyQualifiedNameMapEntry_fields &LoadPackageResult_FullyQualifiedNameMapEntry_msg +#define LoadPackageResult_PkgScopeMapEntry_fields &LoadPackageResult_PkgScopeMapEntry_msg +#define ListOptionsResult_fields &ListOptionsResult_msg #define OptionHelp_fields &OptionHelp_msg #define Symbol_fields &Symbol_msg #define Scope_fields &Scope_msg #define SymbolIndex_fields &SymbolIndex_msg #define ScopeIndex_fields &ScopeIndex_msg -#define ExecProgram_Args_fields &ExecProgram_Args_msg -#define ExecProgram_Result_fields &ExecProgram_Result_msg -#define BuildProgram_Args_fields &BuildProgram_Args_msg -#define BuildProgram_Result_fields &BuildProgram_Result_msg -#define ExecArtifact_Args_fields &ExecArtifact_Args_msg -#define FormatCode_Args_fields &FormatCode_Args_msg -#define FormatCode_Result_fields &FormatCode_Result_msg -#define FormatPath_Args_fields &FormatPath_Args_msg -#define FormatPath_Result_fields &FormatPath_Result_msg -#define LintPath_Args_fields &LintPath_Args_msg -#define LintPath_Result_fields &LintPath_Result_msg -#define OverrideFile_Args_fields &OverrideFile_Args_msg -#define OverrideFile_Result_fields &OverrideFile_Result_msg -#define ListVariables_Options_fields &ListVariables_Options_msg +#define ExecProgramArgs_fields &ExecProgramArgs_msg +#define ExecProgramResult_fields &ExecProgramResult_msg +#define BuildProgramArgs_fields &BuildProgramArgs_msg +#define BuildProgramResult_fields &BuildProgramResult_msg +#define ExecArtifactArgs_fields &ExecArtifactArgs_msg +#define FormatCodeArgs_fields &FormatCodeArgs_msg +#define FormatCodeResult_fields &FormatCodeResult_msg +#define FormatPathArgs_fields &FormatPathArgs_msg +#define FormatPathResult_fields &FormatPathResult_msg +#define LintPathArgs_fields &LintPathArgs_msg +#define LintPathResult_fields &LintPathResult_msg +#define OverrideFileArgs_fields &OverrideFileArgs_msg +#define OverrideFileResult_fields &OverrideFileResult_msg +#define ListVariablesOptions_fields &ListVariablesOptions_msg #define VariableList_fields &VariableList_msg -#define ListVariables_Args_fields &ListVariables_Args_msg -#define ListVariables_Result_fields &ListVariables_Result_msg -#define ListVariables_Result_VariablesEntry_fields &ListVariables_Result_VariablesEntry_msg +#define ListVariablesArgs_fields &ListVariablesArgs_msg +#define ListVariablesResult_fields &ListVariablesResult_msg +#define ListVariablesResult_VariablesEntry_fields &ListVariablesResult_VariablesEntry_msg #define Variable_fields &Variable_msg #define MapEntry_fields &MapEntry_msg -#define GetSchemaTypeMapping_Args_fields &GetSchemaTypeMapping_Args_msg -#define GetSchemaTypeMapping_Result_fields &GetSchemaTypeMapping_Result_msg -#define GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_fields &GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_msg -#define ValidateCode_Args_fields &ValidateCode_Args_msg -#define ValidateCode_Result_fields &ValidateCode_Result_msg +#define GetSchemaTypeMappingArgs_fields &GetSchemaTypeMappingArgs_msg +#define GetSchemaTypeMappingResult_fields &GetSchemaTypeMappingResult_msg +#define GetSchemaTypeMappingResult_SchemaTypeMappingEntry_fields &GetSchemaTypeMappingResult_SchemaTypeMappingEntry_msg +#define ValidateCodeArgs_fields &ValidateCodeArgs_msg +#define ValidateCodeResult_fields &ValidateCodeResult_msg #define Position_fields &Position_msg -#define ListDepFiles_Args_fields &ListDepFiles_Args_msg -#define ListDepFiles_Result_fields &ListDepFiles_Result_msg -#define LoadSettingsFiles_Args_fields &LoadSettingsFiles_Args_msg -#define LoadSettingsFiles_Result_fields &LoadSettingsFiles_Result_msg +#define ListDepFilesArgs_fields &ListDepFilesArgs_msg +#define ListDepFilesResult_fields &ListDepFilesResult_msg +#define LoadSettingsFilesArgs_fields &LoadSettingsFilesArgs_msg +#define LoadSettingsFilesResult_fields &LoadSettingsFilesResult_msg #define CliConfig_fields &CliConfig_msg #define KeyValuePair_fields &KeyValuePair_msg -#define Rename_Args_fields &Rename_Args_msg -#define Rename_Result_fields &Rename_Result_msg -#define RenameCode_Args_fields &RenameCode_Args_msg -#define RenameCode_Args_SourceCodesEntry_fields &RenameCode_Args_SourceCodesEntry_msg -#define RenameCode_Result_fields &RenameCode_Result_msg -#define RenameCode_Result_ChangedCodesEntry_fields &RenameCode_Result_ChangedCodesEntry_msg -#define Test_Args_fields &Test_Args_msg -#define Test_Result_fields &Test_Result_msg +#define RenameArgs_fields &RenameArgs_msg +#define RenameResult_fields &RenameResult_msg +#define RenameCodeArgs_fields &RenameCodeArgs_msg +#define RenameCodeArgs_SourceCodesEntry_fields &RenameCodeArgs_SourceCodesEntry_msg +#define RenameCodeResult_fields &RenameCodeResult_msg +#define RenameCodeResult_ChangedCodesEntry_fields &RenameCodeResult_ChangedCodesEntry_msg +#define TestArgs_fields &TestArgs_msg +#define TestResult_fields &TestResult_msg #define TestCaseInfo_fields &TestCaseInfo_msg -#define UpdateDependencies_Args_fields &UpdateDependencies_Args_msg -#define UpdateDependencies_Result_fields &UpdateDependencies_Result_msg +#define UpdateDependenciesArgs_fields &UpdateDependenciesArgs_msg +#define UpdateDependenciesResult_fields &UpdateDependenciesResult_msg #define KclType_fields &KclType_msg #define KclType_PropertiesEntry_fields &KclType_PropertiesEntry_msg #define KclType_ExamplesEntry_fields &KclType_ExamplesEntry_msg @@ -1916,80 +1916,80 @@ extern const pb_msgdesc_t Example_msg; /* Argument_size depends on runtime parameters */ /* Error_size depends on runtime parameters */ /* Message_size depends on runtime parameters */ -/* Ping_Args_size depends on runtime parameters */ -/* Ping_Result_size depends on runtime parameters */ -/* GetVersion_Result_size depends on runtime parameters */ -/* ListMethod_Result_size depends on runtime parameters */ -/* ParseFile_Args_size depends on runtime parameters */ -/* ParseFile_Result_size depends on runtime parameters */ -/* ParseProgram_Args_size depends on runtime parameters */ -/* ParseProgram_Result_size depends on runtime parameters */ -/* LoadPackage_Args_size depends on runtime parameters */ -/* LoadPackage_Result_size depends on runtime parameters */ -/* LoadPackage_Result_ScopesEntry_size depends on runtime parameters */ -/* LoadPackage_Result_SymbolsEntry_size depends on runtime parameters */ -/* LoadPackage_Result_NodeSymbolMapEntry_size depends on runtime parameters */ -/* LoadPackage_Result_SymbolNodeMapEntry_size depends on runtime parameters */ -/* LoadPackage_Result_FullyQualifiedNameMapEntry_size depends on runtime parameters */ -/* LoadPackage_Result_PkgScopeMapEntry_size depends on runtime parameters */ -/* ListOptions_Result_size depends on runtime parameters */ +/* PingArgs_size depends on runtime parameters */ +/* PingResult_size depends on runtime parameters */ +/* GetVersionResult_size depends on runtime parameters */ +/* ListMethodResult_size depends on runtime parameters */ +/* ParseFileArgs_size depends on runtime parameters */ +/* ParseFileResult_size depends on runtime parameters */ +/* ParseProgramArgs_size depends on runtime parameters */ +/* ParseProgramResult_size depends on runtime parameters */ +/* LoadPackageArgs_size depends on runtime parameters */ +/* LoadPackageResult_size depends on runtime parameters */ +/* LoadPackageResult_ScopesEntry_size depends on runtime parameters */ +/* LoadPackageResult_SymbolsEntry_size depends on runtime parameters */ +/* LoadPackageResult_NodeSymbolMapEntry_size depends on runtime parameters */ +/* LoadPackageResult_SymbolNodeMapEntry_size depends on runtime parameters */ +/* LoadPackageResult_FullyQualifiedNameMapEntry_size depends on runtime parameters */ +/* LoadPackageResult_PkgScopeMapEntry_size depends on runtime parameters */ +/* ListOptionsResult_size depends on runtime parameters */ /* OptionHelp_size depends on runtime parameters */ /* Symbol_size depends on runtime parameters */ /* Scope_size depends on runtime parameters */ /* SymbolIndex_size depends on runtime parameters */ /* ScopeIndex_size depends on runtime parameters */ -/* ExecProgram_Args_size depends on runtime parameters */ -/* ExecProgram_Result_size depends on runtime parameters */ -/* BuildProgram_Args_size depends on runtime parameters */ -/* BuildProgram_Result_size depends on runtime parameters */ -/* ExecArtifact_Args_size depends on runtime parameters */ -/* FormatCode_Args_size depends on runtime parameters */ -/* FormatCode_Result_size depends on runtime parameters */ -/* FormatPath_Args_size depends on runtime parameters */ -/* FormatPath_Result_size depends on runtime parameters */ -/* LintPath_Args_size depends on runtime parameters */ -/* LintPath_Result_size depends on runtime parameters */ -/* OverrideFile_Args_size depends on runtime parameters */ -/* OverrideFile_Result_size depends on runtime parameters */ +/* ExecProgramArgs_size depends on runtime parameters */ +/* ExecProgramResult_size depends on runtime parameters */ +/* BuildProgramArgs_size depends on runtime parameters */ +/* BuildProgramResult_size depends on runtime parameters */ +/* ExecArtifactArgs_size depends on runtime parameters */ +/* FormatCodeArgs_size depends on runtime parameters */ +/* FormatCodeResult_size depends on runtime parameters */ +/* FormatPathArgs_size depends on runtime parameters */ +/* FormatPathResult_size depends on runtime parameters */ +/* LintPathArgs_size depends on runtime parameters */ +/* LintPathResult_size depends on runtime parameters */ +/* OverrideFileArgs_size depends on runtime parameters */ +/* OverrideFileResult_size depends on runtime parameters */ /* VariableList_size depends on runtime parameters */ -/* ListVariables_Args_size depends on runtime parameters */ -/* ListVariables_Result_size depends on runtime parameters */ -/* ListVariables_Result_VariablesEntry_size depends on runtime parameters */ +/* ListVariablesArgs_size depends on runtime parameters */ +/* ListVariablesResult_size depends on runtime parameters */ +/* ListVariablesResult_VariablesEntry_size depends on runtime parameters */ /* Variable_size depends on runtime parameters */ /* MapEntry_size depends on runtime parameters */ -/* GetSchemaTypeMapping_Args_size depends on runtime parameters */ -/* GetSchemaTypeMapping_Result_size depends on runtime parameters */ -/* GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_size depends on runtime parameters */ -/* ValidateCode_Args_size depends on runtime parameters */ -/* ValidateCode_Result_size depends on runtime parameters */ +/* GetSchemaTypeMappingArgs_size depends on runtime parameters */ +/* GetSchemaTypeMappingResult_size depends on runtime parameters */ +/* GetSchemaTypeMappingResult_SchemaTypeMappingEntry_size depends on runtime parameters */ +/* ValidateCodeArgs_size depends on runtime parameters */ +/* ValidateCodeResult_size depends on runtime parameters */ /* Position_size depends on runtime parameters */ -/* ListDepFiles_Args_size depends on runtime parameters */ -/* ListDepFiles_Result_size depends on runtime parameters */ -/* LoadSettingsFiles_Args_size depends on runtime parameters */ -/* LoadSettingsFiles_Result_size depends on runtime parameters */ +/* ListDepFilesArgs_size depends on runtime parameters */ +/* ListDepFilesResult_size depends on runtime parameters */ +/* LoadSettingsFilesArgs_size depends on runtime parameters */ +/* LoadSettingsFilesResult_size depends on runtime parameters */ /* CliConfig_size depends on runtime parameters */ /* KeyValuePair_size depends on runtime parameters */ -/* Rename_Args_size depends on runtime parameters */ -/* Rename_Result_size depends on runtime parameters */ -/* RenameCode_Args_size depends on runtime parameters */ -/* RenameCode_Args_SourceCodesEntry_size depends on runtime parameters */ -/* RenameCode_Result_size depends on runtime parameters */ -/* RenameCode_Result_ChangedCodesEntry_size depends on runtime parameters */ -/* Test_Args_size depends on runtime parameters */ -/* Test_Result_size depends on runtime parameters */ +/* RenameArgs_size depends on runtime parameters */ +/* RenameResult_size depends on runtime parameters */ +/* RenameCodeArgs_size depends on runtime parameters */ +/* RenameCodeArgs_SourceCodesEntry_size depends on runtime parameters */ +/* RenameCodeResult_size depends on runtime parameters */ +/* RenameCodeResult_ChangedCodesEntry_size depends on runtime parameters */ +/* TestArgs_size depends on runtime parameters */ +/* TestResult_size depends on runtime parameters */ /* TestCaseInfo_size depends on runtime parameters */ -/* UpdateDependencies_Args_size depends on runtime parameters */ -/* UpdateDependencies_Result_size depends on runtime parameters */ +/* UpdateDependenciesArgs_size depends on runtime parameters */ +/* UpdateDependenciesResult_size depends on runtime parameters */ /* KclType_size depends on runtime parameters */ /* KclType_PropertiesEntry_size depends on runtime parameters */ /* KclType_ExamplesEntry_size depends on runtime parameters */ /* Decorator_size depends on runtime parameters */ /* Decorator_KeywordsEntry_size depends on runtime parameters */ /* Example_size depends on runtime parameters */ -#define GetVersion_Args_size 0 -#define ListMethod_Args_size 0 -#define ListVariables_Options_size 2 -#define SPEC_PB_H_MAX_SIZE ListVariables_Options_size +#define GetVersionArgs_size 0 +#define ListMethodArgs_size 0 +#define ListVariablesOptions_size 2 +#define SPEC_PB_H_MAX_SIZE ListVariablesOptions_size #ifdef __cplusplus } /* extern "C" */ diff --git a/c/lib/pb_decode.c b/c/lib/pb_decode.c index fadc7b48..e71fff98 100644 --- a/c/lib/pb_decode.c +++ b/c/lib/pb_decode.c @@ -327,9 +327,9 @@ static bool checkreturn read_raw_value(pb_istream_t* stream, pb_wire_type_t wire case PB_WT_STRING: /* Calling read_raw_value with a PB_WT_STRING is an error. - * Explicitly handle this case and fallthrough to default to avoid - * compiler warnings. - */ + * Explicitly handle this case and fallthrough to default to avoid + * compiler warnings. + */ default: PB_RETURN_ERROR(stream, "invalid wire_type"); @@ -494,12 +494,12 @@ static bool checkreturn decode_static_field(pb_istream_t* stream, pb_wire_type_t case PB_HTYPE_ONEOF: if (PB_LTYPE_IS_SUBMSG(field->type) && *(pb_size_t*)field->pSize != field->tag) { /* We memset to zero so that any callbacks are set to NULL. - * This is because the callbacks might otherwise have values - * from some other union field. - * If callbacks are needed inside oneof field, use .proto - * option submsg_callback to have a separate callback function - * that can set the fields before submessage is decoded. - * pb_dec_submessage() will set any default values. */ + * This is because the callbacks might otherwise have values + * from some other union field. + * If callbacks are needed inside oneof field, use .proto + * option submsg_callback to have a separate callback function + * that can set the fields before submessage is decoded. + * pb_dec_submessage() will set any default values. */ memset(field->pData, 0, (size_t)field->data_size); /* Set default values for the submessage fields. */ @@ -637,8 +637,8 @@ static bool checkreturn decode_pointer_field(pb_istream_t* stream, pb_wire_type_ if ((size_t)*size + 1 > allocated_size) { /* Allocate more storage. This tries to guess the - * number of remaining entries. Round the division - * upwards. */ + * number of remaining entries. Round the division + * upwards. */ size_t remain = (substream.bytes_left - 1) / field->data_size + 1; if (remain < PB_SIZE_MAX - allocated_size) allocated_size += remain; @@ -1308,11 +1308,11 @@ static bool checkreturn pb_dec_varint(pb_istream_t* stream, const pb_field_iter_ return false; /* See issue 97: Google's C++ protobuf allows negative varint values to - * be cast as int32_t, instead of the int64_t that should be used when - * encoding. Nanopb versions before 0.2.5 had a bug in encoding. In order to - * not break decoding of such messages, we cast <=32 bit fields to - * int32_t first to get the sign correct. - */ + * be cast as int32_t, instead of the int64_t that should be used when + * encoding. Nanopb versions before 0.2.5 had a bug in encoding. In order to + * not break decoding of such messages, we cast <=32 bit fields to + * int32_t first to get the sign correct. + */ if (field->data_size == sizeof(pb_int64_t)) svalue = (pb_int64_t)value; else diff --git a/c/lib/spec.pb.c b/c/lib/spec.pb.c index ab43cb9a..c6f07f00 100644 --- a/c/lib/spec.pb.c +++ b/c/lib/spec.pb.c @@ -14,43 +14,43 @@ PB_BIND(Error, Error, AUTO) PB_BIND(Message, Message, AUTO) -PB_BIND(Ping_Args, Ping_Args, AUTO) +PB_BIND(PingArgs, PingArgs, AUTO) -PB_BIND(Ping_Result, Ping_Result, AUTO) +PB_BIND(PingResult, PingResult, AUTO) -PB_BIND(GetVersion_Args, GetVersion_Args, AUTO) +PB_BIND(GetVersionArgs, GetVersionArgs, AUTO) -PB_BIND(GetVersion_Result, GetVersion_Result, AUTO) +PB_BIND(GetVersionResult, GetVersionResult, AUTO) -PB_BIND(ListMethod_Args, ListMethod_Args, AUTO) +PB_BIND(ListMethodArgs, ListMethodArgs, AUTO) -PB_BIND(ListMethod_Result, ListMethod_Result, AUTO) +PB_BIND(ListMethodResult, ListMethodResult, AUTO) -PB_BIND(ParseFile_Args, ParseFile_Args, AUTO) +PB_BIND(ParseFileArgs, ParseFileArgs, AUTO) -PB_BIND(ParseFile_Result, ParseFile_Result, AUTO) +PB_BIND(ParseFileResult, ParseFileResult, AUTO) -PB_BIND(ParseProgram_Args, ParseProgram_Args, AUTO) +PB_BIND(ParseProgramArgs, ParseProgramArgs, AUTO) -PB_BIND(ParseProgram_Result, ParseProgram_Result, AUTO) +PB_BIND(ParseProgramResult, ParseProgramResult, AUTO) -PB_BIND(LoadPackage_Args, LoadPackage_Args, AUTO) +PB_BIND(LoadPackageArgs, LoadPackageArgs, AUTO) -PB_BIND(LoadPackage_Result, LoadPackage_Result, AUTO) +PB_BIND(LoadPackageResult, LoadPackageResult, AUTO) -PB_BIND(LoadPackage_Result_ScopesEntry, LoadPackage_Result_ScopesEntry, AUTO) +PB_BIND(LoadPackageResult_ScopesEntry, LoadPackageResult_ScopesEntry, AUTO) -PB_BIND(LoadPackage_Result_SymbolsEntry, LoadPackage_Result_SymbolsEntry, 2) +PB_BIND(LoadPackageResult_SymbolsEntry, LoadPackageResult_SymbolsEntry, 2) -PB_BIND(LoadPackage_Result_NodeSymbolMapEntry, LoadPackage_Result_NodeSymbolMapEntry, AUTO) +PB_BIND(LoadPackageResult_NodeSymbolMapEntry, LoadPackageResult_NodeSymbolMapEntry, AUTO) -PB_BIND(LoadPackage_Result_SymbolNodeMapEntry, LoadPackage_Result_SymbolNodeMapEntry, AUTO) +PB_BIND(LoadPackageResult_SymbolNodeMapEntry, LoadPackageResult_SymbolNodeMapEntry, AUTO) -PB_BIND(LoadPackage_Result_FullyQualifiedNameMapEntry, LoadPackage_Result_FullyQualifiedNameMapEntry, AUTO) +PB_BIND(LoadPackageResult_FullyQualifiedNameMapEntry, LoadPackageResult_FullyQualifiedNameMapEntry, AUTO) -PB_BIND(LoadPackage_Result_PkgScopeMapEntry, LoadPackage_Result_PkgScopeMapEntry, AUTO) +PB_BIND(LoadPackageResult_PkgScopeMapEntry, LoadPackageResult_PkgScopeMapEntry, AUTO) -PB_BIND(ListOptions_Result, ListOptions_Result, AUTO) +PB_BIND(ListOptionsResult, ListOptionsResult, AUTO) PB_BIND(OptionHelp, OptionHelp, AUTO) @@ -62,91 +62,91 @@ PB_BIND(SymbolIndex, SymbolIndex, AUTO) PB_BIND(ScopeIndex, ScopeIndex, AUTO) -PB_BIND(ExecProgram_Args, ExecProgram_Args, AUTO) +PB_BIND(ExecProgramArgs, ExecProgramArgs, AUTO) -PB_BIND(ExecProgram_Result, ExecProgram_Result, AUTO) +PB_BIND(ExecProgramResult, ExecProgramResult, AUTO) -PB_BIND(BuildProgram_Args, BuildProgram_Args, AUTO) +PB_BIND(BuildProgramArgs, BuildProgramArgs, AUTO) -PB_BIND(BuildProgram_Result, BuildProgram_Result, AUTO) +PB_BIND(BuildProgramResult, BuildProgramResult, AUTO) -PB_BIND(ExecArtifact_Args, ExecArtifact_Args, AUTO) +PB_BIND(ExecArtifactArgs, ExecArtifactArgs, AUTO) -PB_BIND(FormatCode_Args, FormatCode_Args, AUTO) +PB_BIND(FormatCodeArgs, FormatCodeArgs, AUTO) -PB_BIND(FormatCode_Result, FormatCode_Result, AUTO) +PB_BIND(FormatCodeResult, FormatCodeResult, AUTO) -PB_BIND(FormatPath_Args, FormatPath_Args, AUTO) +PB_BIND(FormatPathArgs, FormatPathArgs, AUTO) -PB_BIND(FormatPath_Result, FormatPath_Result, AUTO) +PB_BIND(FormatPathResult, FormatPathResult, AUTO) -PB_BIND(LintPath_Args, LintPath_Args, AUTO) +PB_BIND(LintPathArgs, LintPathArgs, AUTO) -PB_BIND(LintPath_Result, LintPath_Result, AUTO) +PB_BIND(LintPathResult, LintPathResult, AUTO) -PB_BIND(OverrideFile_Args, OverrideFile_Args, AUTO) +PB_BIND(OverrideFileArgs, OverrideFileArgs, AUTO) -PB_BIND(OverrideFile_Result, OverrideFile_Result, AUTO) +PB_BIND(OverrideFileResult, OverrideFileResult, AUTO) -PB_BIND(ListVariables_Options, ListVariables_Options, AUTO) +PB_BIND(ListVariablesOptions, ListVariablesOptions, AUTO) PB_BIND(VariableList, VariableList, AUTO) -PB_BIND(ListVariables_Args, ListVariables_Args, AUTO) +PB_BIND(ListVariablesArgs, ListVariablesArgs, AUTO) -PB_BIND(ListVariables_Result, ListVariables_Result, AUTO) +PB_BIND(ListVariablesResult, ListVariablesResult, AUTO) -PB_BIND(ListVariables_Result_VariablesEntry, ListVariables_Result_VariablesEntry, AUTO) +PB_BIND(ListVariablesResult_VariablesEntry, ListVariablesResult_VariablesEntry, AUTO) PB_BIND(Variable, Variable, AUTO) PB_BIND(MapEntry, MapEntry, AUTO) -PB_BIND(GetSchemaTypeMapping_Args, GetSchemaTypeMapping_Args, AUTO) +PB_BIND(GetSchemaTypeMappingArgs, GetSchemaTypeMappingArgs, AUTO) -PB_BIND(GetSchemaTypeMapping_Result, GetSchemaTypeMapping_Result, AUTO) +PB_BIND(GetSchemaTypeMappingResult, GetSchemaTypeMappingResult, AUTO) -PB_BIND(GetSchemaTypeMapping_Result_SchemaTypeMappingEntry, GetSchemaTypeMapping_Result_SchemaTypeMappingEntry, 2) +PB_BIND(GetSchemaTypeMappingResult_SchemaTypeMappingEntry, GetSchemaTypeMappingResult_SchemaTypeMappingEntry, 2) -PB_BIND(ValidateCode_Args, ValidateCode_Args, AUTO) +PB_BIND(ValidateCodeArgs, ValidateCodeArgs, AUTO) -PB_BIND(ValidateCode_Result, ValidateCode_Result, AUTO) +PB_BIND(ValidateCodeResult, ValidateCodeResult, AUTO) PB_BIND(Position, Position, AUTO) -PB_BIND(ListDepFiles_Args, ListDepFiles_Args, AUTO) +PB_BIND(ListDepFilesArgs, ListDepFilesArgs, AUTO) -PB_BIND(ListDepFiles_Result, ListDepFiles_Result, AUTO) +PB_BIND(ListDepFilesResult, ListDepFilesResult, AUTO) -PB_BIND(LoadSettingsFiles_Args, LoadSettingsFiles_Args, AUTO) +PB_BIND(LoadSettingsFilesArgs, LoadSettingsFilesArgs, AUTO) -PB_BIND(LoadSettingsFiles_Result, LoadSettingsFiles_Result, AUTO) +PB_BIND(LoadSettingsFilesResult, LoadSettingsFilesResult, AUTO) PB_BIND(CliConfig, CliConfig, AUTO) PB_BIND(KeyValuePair, KeyValuePair, AUTO) -PB_BIND(Rename_Args, Rename_Args, AUTO) +PB_BIND(RenameArgs, RenameArgs, AUTO) -PB_BIND(Rename_Result, Rename_Result, AUTO) +PB_BIND(RenameResult, RenameResult, AUTO) -PB_BIND(RenameCode_Args, RenameCode_Args, AUTO) +PB_BIND(RenameCodeArgs, RenameCodeArgs, AUTO) -PB_BIND(RenameCode_Args_SourceCodesEntry, RenameCode_Args_SourceCodesEntry, AUTO) +PB_BIND(RenameCodeArgs_SourceCodesEntry, RenameCodeArgs_SourceCodesEntry, AUTO) -PB_BIND(RenameCode_Result, RenameCode_Result, AUTO) +PB_BIND(RenameCodeResult, RenameCodeResult, AUTO) -PB_BIND(RenameCode_Result_ChangedCodesEntry, RenameCode_Result_ChangedCodesEntry, AUTO) +PB_BIND(RenameCodeResult_ChangedCodesEntry, RenameCodeResult_ChangedCodesEntry, AUTO) -PB_BIND(Test_Args, Test_Args, AUTO) +PB_BIND(TestArgs, TestArgs, AUTO) -PB_BIND(Test_Result, Test_Result, AUTO) +PB_BIND(TestResult, TestResult, AUTO) PB_BIND(TestCaseInfo, TestCaseInfo, AUTO) -PB_BIND(UpdateDependencies_Args, UpdateDependencies_Args, AUTO) +PB_BIND(UpdateDependenciesArgs, UpdateDependenciesArgs, AUTO) -PB_BIND(UpdateDependencies_Result, UpdateDependencies_Result, AUTO) +PB_BIND(UpdateDependenciesResult, UpdateDependenciesResult, AUTO) PB_BIND(KclType, KclType, 2) diff --git a/c/src/lib.rs b/c/src/lib.rs index 00530d37..97bfea87 100644 --- a/c/src/lib.rs +++ b/c/src/lib.rs @@ -1 +1 @@ -extern crate kclvm_api; +extern crate kcl_api; diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 5609cb14..f6c4db34 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.10) -project(kcl-lib VERSION 0.11.2 LANGUAGES CXX) +project(kcl-lib VERSION 0.12.0 LANGUAGES CXX) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/cpp/Cargo.lock b/cpp/Cargo.lock index e1291dd8..707a48ed 100644 --- a/cpp/Cargo.lock +++ b/cpp/Cargo.lock @@ -4,35 +4,24 @@ version = 4 [[package]] name = "addr2line" -version = "0.24.2" +version = "0.25.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" +checksum = "1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b" dependencies = [ "gimli", ] [[package]] name = "adler2" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" - -[[package]] -name = "ahash" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" -dependencies = [ - "getrandom", - "once_cell", - "version_check", -] +checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" [[package]] name = "aho-corasick" -version = "1.1.3" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" +checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" dependencies = [ "memchr", ] @@ -46,12 +35,6 @@ dependencies = [ "log", ] -[[package]] -name = "android-tzdata" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" - [[package]] name = "android_system_properties" version = "0.1.5" @@ -67,15 +50,15 @@ version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ccaf7e9dfbb6ab22c82e473cd1a8a7bd313c19a5b7e40970f3d89ef5a5c9e81e" dependencies = [ - "unicode-width", + "unicode-width 0.1.14", "yansi-term", ] [[package]] name = "anstream" -version = "0.6.18" +version = "0.6.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b" +checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a" dependencies = [ "anstyle", "anstyle-parse", @@ -88,43 +71,44 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.10" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" +checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" [[package]] name = "anstyle-parse" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9" +checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.1.2" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c" +checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "anstyle-wincon" -version = "3.0.6" +version = "3.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2109dbce0e72be3ec00bed26e6a7479ca384ad226efdd66db8fa2e3a38c83125" +checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" dependencies = [ "anstyle", - "windows-sys 0.59.0", + "once_cell_polyfill", + "windows-sys 0.61.2", ] [[package]] name = "anyhow" -version = "1.0.94" +version = "1.0.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1fd03a028ef38ba2276dce7e33fcd6369c158a1bca17946c4b1b701891c1ff7" +checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" dependencies = [ "backtrace", ] @@ -160,36 +144,36 @@ checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + [[package]] name = "autocfg" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" +checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] name = "backtrace" -version = "0.3.74" +version = "0.3.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" +checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6" dependencies = [ "addr2line", - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", "miniz_oxide", "object", "rustc-demangle", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] -[[package]] -name = "base-x" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cbbc9d0964165b47557570cce6c952866c2678457aca742aafc9fb771d30270" - [[package]] name = "base32" version = "0.4.0" @@ -231,9 +215,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.6.0" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" +checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" [[package]] name = "bitmaps" @@ -246,14 +230,14 @@ dependencies = [ [[package]] name = "blake3" -version = "1.5.5" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8ee0c1824c4dea5b5f81736aff91bae041d2c07ee1192bec91054e10e3e601e" +checksum = "3888aaa89e4b2a40fca9848e400f6a658a5a3978de7be858e209cafa8be9a4a0" dependencies = [ "arrayref", "arrayvec", "cc", - "cfg-if 1.0.0", + "cfg-if 1.0.4", "constant_time_eq", ] @@ -309,9 +293,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.16.0" +version = "3.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" +checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" [[package]] name = "byte-tools" @@ -327,16 +311,17 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.9.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" +checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3" [[package]] name = "cc" -version = "1.2.4" +version = "1.2.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9157bbaa6b165880c27a4293a474c91cdcf265cc68cc829bf10be0964a391caf" +checksum = "cd405d82c84ff7f35739f175f67d8b9fb7687a0e84ccdc78bd3568839827cf07" dependencies = [ + "find-msvc-tools", "shlex", ] @@ -348,9 +333,9 @@ checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" [[package]] name = "cfg-if" -version = "1.0.0" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "cfg_aliases" @@ -360,17 +345,16 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" [[package]] name = "chrono" -version = "0.4.39" +version = "0.4.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e36cc9d416881d2e24f9a963be5fb1cd90966419ac844274161d10488b3e825" +checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2" dependencies = [ - "android-tzdata", "iana-time-zone", "js-sys", "num-traits", "serde", "wasm-bindgen", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] @@ -381,18 +365,18 @@ checksum = "bd1b64030216239a2e7c364b13cd96a2097ebf0dfe5025f2dedee14a23f2ab60" [[package]] name = "clap" -version = "4.5.23" +version = "4.5.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3135e7ec2ef7b10c6ed8950f0f792ed96ee093fa088608f1c76e569722700c84" +checksum = "c9e340e012a1bf4935f5282ed1436d1489548e8f72308207ea5df0e23d2d03f8" dependencies = [ "clap_builder", ] [[package]] name = "clap_builder" -version = "4.5.23" +version = "4.5.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30582fc632330df2bd26877bde0c1f4470d57c582bbc070376afcd04d8cb4838" +checksum = "d76b5d13eaa18c901fd2f7fca939fefe3a0727a953561fefdf3b2922b8569d00" dependencies = [ "anstream", "anstyle", @@ -402,25 +386,26 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.7.4" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" +checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d" [[package]] name = "codespan-reporting" -version = "0.11.1" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" +checksum = "af491d569909a7e4dee0ad7db7f5341fef5c614d5b8ec8cf765732aba3cff681" dependencies = [ + "serde", "termcolor", - "unicode-width", + "unicode-width 0.2.2", ] [[package]] name = "colorchoice" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990" +checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" [[package]] name = "compiler_base_error" @@ -466,12 +451,6 @@ dependencies = [ "rustc_span", ] -[[package]] -name = "const_fn" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "373e9fafaa20882876db20562275ff58d50e0caa2590077fe7ce7bef90211d0d" - [[package]] name = "constant_time_eq" version = "0.3.1" @@ -486,27 +465,27 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "cpufeatures" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b80225097f2e5ae4e7179dd2266824648f3e2f49d9134d584b76389d31c4c3" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" dependencies = [ "libc", ] [[package]] name = "crc32fast" -version = "1.4.2" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" +checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", ] [[package]] name = "crossbeam-channel" -version = "0.5.14" +version = "0.5.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ba6d68e24814cb8de6bb986db8222d3a027d15872cabc0d18817bc3c0e4471" +checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2" dependencies = [ "crossbeam-utils", ] @@ -538,9 +517,9 @@ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" [[package]] name = "crypto-common" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" dependencies = [ "generic-array 0.14.7", "typenum", @@ -548,11 +527,12 @@ dependencies = [ [[package]] name = "cxx" -version = "1.0.135" +version = "1.0.189" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d44ff199ff93242c3afe480ab588d544dd08d72e92885e152ffebc670f076ad" +checksum = "2b788601e7e3e6944d9b37efbae0bee7ee44d9aab533838d4854f631534a1a49" dependencies = [ "cc", + "cxx-build", "cxxbridge-cmd", "cxxbridge-flags", "cxxbridge-macro", @@ -562,54 +542,56 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.135" +version = "1.0.189" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66fd8f17ad454fc1e4f4ab83abffcc88a532e90350d3ffddcb73030220fcbd52" +checksum = "5e11d62eb0de451f6d3aa83f2cec0986af61c23bd7515f1e2d6572c6c9e53c96" dependencies = [ "cc", "codespan-reporting", + "indexmap 2.12.1", "proc-macro2", "quote", "scratch", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "cxxbridge-cmd" -version = "1.0.135" +version = "1.0.189" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4717c9c806a9e07fdcb34c84965a414ea40fafe57667187052cf1eb7f5e8a8a9" +checksum = "6a368ed4a0fd83ebd3f2808613842d942a409c41cc24cd9d83f1696a00d78afe" dependencies = [ "clap", "codespan-reporting", + "indexmap 2.12.1", "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "cxxbridge-flags" -version = "1.0.135" +version = "1.0.189" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f6515329bf3d98f4073101c7866ff2bec4e635a13acb82e3f3753fff0bf43cb" +checksum = "a9571a7c69f236d7202f517553241496125ed56a86baa1ce346d02aa72357c74" [[package]] name = "cxxbridge-macro" -version = "1.0.135" +version = "1.0.189" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb93e6a7ce8ec985c02bbb758237a31598b340acbbc3c19c5a4fa6adaaac92ab" +checksum = "eba2aaae28ca1d721d3f364bb29d51811921e7194c08bb9eaf745c8ab8d81309" dependencies = [ + "indexmap 2.12.1", "proc-macro2", "quote", - "rustversion", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "darling" -version = "0.20.10" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989" +checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee" dependencies = [ "darling_core", "darling_macro", @@ -617,27 +599,27 @@ dependencies = [ [[package]] name = "darling_core" -version = "0.20.10" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95133861a8032aaea082871032f5815eb9e98cef03fa916ab4500513994df9e5" +checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e" dependencies = [ "fnv", "ident_case", "proc-macro2", "quote", "strsim 0.11.1", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "darling_macro" -version = "0.20.10" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" +checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" dependencies = [ "darling_core", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -646,18 +628,18 @@ version = "5.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "hashbrown 0.14.5", "lock_api", "once_cell", - "parking_lot_core 0.9.10", + "parking_lot_core 0.9.12", ] [[package]] name = "deranged" -version = "0.3.11" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" +checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587" dependencies = [ "powerfmt", ] @@ -680,7 +662,7 @@ dependencies = [ "darling", "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -690,7 +672,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab63b0e2bf4d5928aff72e83a7dace85d7bba5fe12dcc3c5a572d78caffd3f3c" dependencies = [ "derive_builder_core", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -749,12 +731,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "discard" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0" - [[package]] name = "displaydoc" version = "0.2.5" @@ -763,26 +739,26 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "dns-lookup" -version = "2.0.4" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5766087c2235fec47fafa4cfecc81e494ee679d0fd4a59887ea0919bfb0e4fc" +checksum = "cf5597a4b7fe5275fc9dcf88ce26326bc8e4cb87d0130f33752d4c5f717793cf" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", "socket2", - "windows-sys 0.48.0", + "windows-sys 0.60.2", ] [[package]] name = "either" -version = "1.13.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" +checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "ena" @@ -794,69 +770,14 @@ dependencies = [ ] [[package]] -name = "encoding" -version = "0.2.33" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b0d943856b990d12d3b55b359144ff341533e516d94098b1d3fc1ac666d36ec" -dependencies = [ - "encoding-index-japanese", - "encoding-index-korean", - "encoding-index-simpchinese", - "encoding-index-singlebyte", - "encoding-index-tradchinese", -] - -[[package]] -name = "encoding-index-japanese" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04e8b2ff42e9a05335dbf8b5c6f7567e5591d0d916ccef4e0b1710d32a0d0c91" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-korean" -version = "1.20141219.5" +name = "encoding_rs" +version = "0.8.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dc33fb8e6bcba213fe2f14275f0963fd16f0a02c878e3095ecfdf5bee529d81" +checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" dependencies = [ - "encoding_index_tests", + "cfg-if 1.0.4", ] -[[package]] -name = "encoding-index-simpchinese" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d87a7194909b9118fc707194baa434a4e3b0fb6a5a757c73c3adb07aa25031f7" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-singlebyte" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3351d5acffb224af9ca265f435b859c7c01537c0849754d3db3fdf2bfe2ae84a" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-tradchinese" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd0e20d5688ce3cab59eb3ef3a2083a5c77bf496cb798dc6fcdb75f323890c18" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding_index_tests" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a246d82be1c9d791c5dfde9a2bd045fc3cbba3fa2b11ad558f27d01712f00569" - [[package]] name = "enquote" version = "1.1.0" @@ -868,9 +789,9 @@ dependencies = [ [[package]] name = "env_filter" -version = "0.1.2" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f2c92ceda6ceec50f43169f9ee8424fe2db276791afde7b2cd8bc084cb376ab" +checksum = "1bf3c259d255ca70051b30e2e95b5446cdb8949ac4cd22c0d7fd634d89f568e2" dependencies = [ "log", "regex", @@ -878,41 +799,42 @@ dependencies = [ [[package]] name = "env_logger" -version = "0.11.5" +version = "0.11.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13fa619b91fb2381732789fc5de83b45675e882f66623b7d8cb4f643017018d" +checksum = "13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f" dependencies = [ "anstream", "anstyle", "env_filter", - "humantime", + "jiff", "log", ] [[package]] name = "equivalent" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" [[package]] name = "erased-serde" -version = "0.4.5" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24e2389d65ab4fab27dc2a5de7b191e1f6617d1f1c8855c0dc569c94a4cbb18d" +checksum = "89e8918065695684b2b0702da20382d5ae6065cf3327bc2d6436bd49a71ce9f3" dependencies = [ "serde", + "serde_core", "typeid", ] [[package]] name = "errno" -version = "0.3.10" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -933,27 +855,39 @@ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" [[package]] name = "filetime" -version = "0.2.25" +version = "0.2.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586" +checksum = "bc0505cd1b6fa6580283f6bdf70a73fcf4aba1184038c90902b92b3dd0df63ed" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", "libredox", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] +[[package]] +name = "find-msvc-tools" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844" + [[package]] name = "fixedbitset" version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" +[[package]] +name = "fixedbitset" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99" + [[package]] name = "flate2" -version = "1.0.35" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c" +checksum = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb" dependencies = [ "crc32fast", "miniz_oxide", @@ -987,9 +921,9 @@ dependencies = [ [[package]] name = "fluent-langneg" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c4ad0989667548f06ccd0e306ed56b61bd4d35458d54df5ec7587c0e8ed5e94" +checksum = "7eebbe59450baee8282d71676f3bfed5689aeab00b27545e83e5f14b1195e8b0" dependencies = [ "unic-langid", ] @@ -1011,15 +945,15 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "foldhash" -version = "0.1.3" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f81ec6369c545a7d40e4589b5597581fa1c441fe1cce96dd1de43159910a36a2" +checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" [[package]] name = "form_urlencoded" -version = "1.2.1" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" dependencies = [ "percent-encoding", ] @@ -1105,7 +1039,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -1144,7 +1078,7 @@ version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "877e94aff08e743b651baaea359664321055749b398adff8740a7399af7796e7" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", ] [[package]] @@ -1168,28 +1102,42 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" +checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "js-sys", "libc", "wasi", "wasm-bindgen", ] +[[package]] +name = "getrandom" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if 1.0.4", + "js-sys", + "libc", + "r-efi", + "wasip2", + "wasm-bindgen", +] + [[package]] name = "gimli" -version = "0.31.1" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" +checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7" [[package]] name = "glob" -version = "0.3.1" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" +checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" [[package]] name = "handlebars" @@ -1219,9 +1167,9 @@ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" [[package]] name = "hashbrown" -version = "0.15.2" +version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" [[package]] name = "heck" @@ -1234,15 +1182,15 @@ dependencies = [ [[package]] name = "heck" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "hermit-abi" -version = "0.3.9" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" +checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" [[package]] name = "hmac" @@ -1253,31 +1201,22 @@ dependencies = [ "digest 0.10.7", ] -[[package]] -name = "home" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf" -dependencies = [ - "windows-sys 0.59.0", -] - [[package]] name = "hostname" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9c7c7c8ac16c798734b8a24560c1362120597c40d5e1459f09498f8f6c8f2ba" +checksum = "a56f203cd1c76362b69e3863fd987520ac36cf70a8c92627449b2f64a8cf7d65" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", - "windows", + "windows-link 0.1.3", ] [[package]] name = "http" -version = "1.2.0" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea" +checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565" dependencies = [ "bytes", "fnv", @@ -1305,12 +1244,12 @@ dependencies = [ [[package]] name = "http-body-util" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" +checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" dependencies = [ "bytes", - "futures-util", + "futures-core", "http", "http-body", "pin-project-lite", @@ -1318,30 +1257,26 @@ dependencies = [ [[package]] name = "httparse" -version = "1.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946" - -[[package]] -name = "humantime" -version = "2.1.0" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" [[package]] name = "hyper" -version = "1.5.2" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "256fb8d4bd6413123cc9d91832d78325c48ff41677595be797d90f42969beae0" +checksum = "2ab2d4f250c3d7b1c9fcdff1cece94ea4e2dfbec68614f7b87cb205f24ca9d11" dependencies = [ + "atomic-waker", "bytes", "futures-channel", - "futures-util", + "futures-core", "http", "http-body", "httparse", "itoa", "pin-project-lite", + "pin-utils", "smallvec", "tokio", "want", @@ -1349,11 +1284,10 @@ dependencies = [ [[package]] name = "hyper-rustls" -version = "0.27.4" +version = "0.27.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6884a48c6826ec44f524c7456b163cebe9e55a18d7b5e307cb4f100371cc767" +checksum = "e3c93eb611681b207e1fe55d5a71ecf91572ec8a6705cdb6857f7d8d5242cf58" dependencies = [ - "futures-util", "http", "hyper", "hyper-util", @@ -1367,16 +1301,21 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.10" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4" +checksum = "52e9a2a24dc5c6821e71a7030e1e14b7b632acac55c40e9d2e082c621261bb56" dependencies = [ + "base64 0.22.1", "bytes", "futures-channel", + "futures-core", "futures-util", "http", "http-body", "hyper", + "ipnet", + "libc", + "percent-encoding", "pin-project-lite", "socket2", "tokio", @@ -1386,14 +1325,15 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.61" +version = "0.1.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220" +checksum = "33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", + "log", "wasm-bindgen", "windows-core", ] @@ -1409,21 +1349,22 @@ dependencies = [ [[package]] name = "icu_collections" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526" +checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43" dependencies = [ "displaydoc", + "potential_utf", "yoke", "zerofrom", "zerovec", ] [[package]] -name = "icu_locid" -version = "1.5.0" +name = "icu_locale_core" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637" +checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6" dependencies = [ "displaydoc", "litemap", @@ -1432,99 +1373,61 @@ dependencies = [ "zerovec", ] -[[package]] -name = "icu_locid_transform" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e" -dependencies = [ - "displaydoc", - "icu_locid", - "icu_locid_transform_data", - "icu_provider", - "tinystr", - "zerovec", -] - -[[package]] -name = "icu_locid_transform_data" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e" - [[package]] name = "icu_normalizer" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f" +checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599" dependencies = [ - "displaydoc", "icu_collections", "icu_normalizer_data", "icu_properties", "icu_provider", "smallvec", - "utf16_iter", - "utf8_iter", - "write16", "zerovec", ] [[package]] name = "icu_normalizer_data" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516" +checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a" [[package]] name = "icu_properties" -version = "1.5.1" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5" +checksum = "e93fcd3157766c0c8da2f8cff6ce651a31f0810eaa1c51ec363ef790bbb5fb99" dependencies = [ - "displaydoc", "icu_collections", - "icu_locid_transform", + "icu_locale_core", "icu_properties_data", "icu_provider", - "tinystr", + "zerotrie", "zerovec", ] [[package]] name = "icu_properties_data" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569" +checksum = "02845b3647bb045f1100ecd6480ff52f34c35f82d9880e029d329c21d1054899" [[package]] name = "icu_provider" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9" +checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614" dependencies = [ "displaydoc", - "icu_locid", - "icu_provider_macros", - "stable_deref_trait", - "tinystr", + "icu_locale_core", "writeable", "yoke", "zerofrom", + "zerotrie", "zerovec", ] -[[package]] -name = "icu_provider_macros" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.90", -] - [[package]] name = "ident_case" version = "1.0.1" @@ -1533,9 +1436,9 @@ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" [[package]] name = "idna" -version = "1.0.3" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" dependencies = [ "idna_adapter", "smallvec", @@ -1544,9 +1447,9 @@ dependencies = [ [[package]] name = "idna_adapter" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71" +checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" dependencies = [ "icu_normalizer", "icu_properties", @@ -1559,7 +1462,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af1955a75fa080c677d3972822ec4bad316169ab1cfc6c257a942c2265dbe5fe" dependencies = [ "bitmaps", - "rand_core", + "rand_core 0.6.4", "rand_xoshiro", "sized-chunks", "typenum", @@ -1574,17 +1477,17 @@ checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" dependencies = [ "autocfg", "hashbrown 0.12.3", - "rustc-rayon 0.5.0", + "rustc-rayon 0.5.1", ] [[package]] name = "indexmap" -version = "2.7.0" +version = "2.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f" +checksum = "0ad4bb2b565bca0645f4d68c5c9af97fba094e9791da685bf83cb5f3ce74acf2" dependencies = [ "equivalent", - "hashbrown 0.15.2", + "hashbrown 0.16.1", ] [[package]] @@ -1624,14 +1527,14 @@ version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", ] [[package]] name = "intl-memoizer" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe22e020fce238ae18a6d5d8c502ee76a52a6e880d99477657e6acc30ec57bda" +checksum = "310da2e345f5eb861e7a07ee182262e94975051db9e4223e909ba90f392f163f" dependencies = [ "type-map", "unic-langid", @@ -1648,21 +1551,34 @@ dependencies = [ [[package]] name = "inventory" -version = "0.3.15" +version = "0.3.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f958d3d68f4167080a18141e10381e7634563984a537f2a49a30fd8e53ac5767" +checksum = "bc61209c082fbeb19919bee74b176221b27223e27b65d781eb91af24eb1fb46e" +dependencies = [ + "rustversion", +] [[package]] name = "ipnet" -version = "2.10.1" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" + +[[package]] +name = "iri-string" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708" +checksum = "4f867b9d1d896b67beb18518eda36fdb77a32ea590de864f1325b294a6d14397" +dependencies = [ + "memchr", + "serde", +] [[package]] name = "is_terminal_polyfill" -version = "1.70.1" +version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" +checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" [[package]] name = "itertools" @@ -1673,18 +1589,52 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" +dependencies = [ + "either", +] + [[package]] name = "itoa" -version = "1.0.14" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" + +[[package]] +name = "jiff" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49cce2b81f2098e7e3efc35bc2e0a6b7abec9d34128283d7a26fa8f32a6dbb35" +dependencies = [ + "jiff-static", + "log", + "portable-atomic", + "portable-atomic-util", + "serde_core", +] + +[[package]] +name = "jiff-static" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" +checksum = "980af8b43c3ad5d8d349ace167ec8170839f753a42d233ba19e08afe1850fa69" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] [[package]] name = "jobserver" -version = "0.1.32" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" +checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" dependencies = [ + "getrandom 0.3.4", "libc", ] @@ -1696,9 +1646,9 @@ checksum = "8b23360e99b8717f20aaa4598f5a6541efbe30630039fbc7706cf954a87947ae" [[package]] name = "js-sys" -version = "0.3.76" +version = "0.3.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6717b6b5b077764fb5966237269cb3c64edddde4b14ce42647430a78ced9e7b7" +checksum = "b011eec8cc36da2aab2d5cff675ec18454fad408585853910a202391cf9f8e65" dependencies = [ "once_cell", "wasm-bindgen", @@ -1754,114 +1704,58 @@ dependencies = [ "hmac", "serde", "serde_json", - "sha2 0.10.8", + "sha2 0.10.9", ] [[package]] -name = "kcl-language-server" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-api" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", - "chrono", - "clap", - "compiler_base_session", - "crossbeam-channel", - "dashmap", - "env_logger", - "im-rc", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-parser", - "kclvm-query", - "kclvm-sema", - "kclvm-span", - "kclvm-tools", - "kclvm-utils", - "kclvm-version", - "log", - "lsp-server", - "lsp-types", + "futures", + "jsonrpc-stdio-server", + "kcl-ast", + "kcl-ast-pretty", + "kcl-config", + "kcl-driver", + "kcl-error", + "kcl-language-server", + "kcl-loader", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-runner", + "kcl-runtime", + "kcl-sema", + "kcl-tools", + "kcl-utils", + "kcl-version", "maplit", - "notify 7.0.0", - "parking_lot 0.12.3", - "proc_macro_crate", - "ra_ap_vfs", - "ra_ap_vfs-notify", - "ropey", - "rustc-hash 1.1.0", - "rustc_lexer", - "salsa", + "once_cell", + "prost", + "prost-build", + "prost-types", + "prost-wkt", + "prost-wkt-build", + "protoc-bin-vendored", "serde", "serde_json", - "threadpool", - "tokio", - "tokio-test", -] - -[[package]] -name = "kcl-lib-cpp" -version = "0.11.2" -dependencies = [ - "anyhow", - "cxx", - "cxx-build", - "kclvm-api", -] - -[[package]] -name = "kclvm-api" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" -dependencies = [ - "anyhow", - "futures", - "indexmap 1.9.3", - "jsonrpc-stdio-server", - "kcl-language-server", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-loader", - "kclvm-parser", - "kclvm-query", - "kclvm-runner", - "kclvm-runtime", - "kclvm-sema", - "kclvm-tools", - "kclvm-utils", - "kclvm-version", - "maplit", - "once_cell", - "prost", - "prost-build", - "prost-types", - "prost-wkt", - "prost-wkt-build", - "prost-wkt-types", - "protoc-bin-vendored", - "serde", - "serde_json", - "serde_yaml", - "tempfile", + "serde_yaml_ng", + "tempfile", "tokio", ] [[package]] -name = "kclvm-ast" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-ast" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "compiler_base_span", - "kclvm-error", - "kclvm-span", - "kclvm-utils", + "kcl-error", + "kcl-span", + "kcl-utils", "serde", "serde_json", "thread_local", @@ -1869,80 +1763,58 @@ dependencies = [ ] [[package]] -name = "kclvm-ast-pretty" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-ast-pretty" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "compiler_base_macros", "compiler_base_session", "fancy-regex", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-error", + "kcl-ast", + "kcl-error", + "kcl-primitives", "pretty_assertions", ] [[package]] -name = "kclvm-compiler" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" -dependencies = [ - "ahash", - "bit-set", - "bitflags 1.3.2", - "fancy-regex", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-error", - "kclvm-runtime", - "kclvm-sema", - "once_cell", - "phf", - "time 0.2.27", - "unicode_names2", -] - -[[package]] -name = "kclvm-config" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-config" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ - "ahash", "anyhow", "chrono", "dirs", "glob", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-utils", - "kclvm-version", + "kcl-ast", + "kcl-utils", + "kcl-version", "md-5 0.8.0", "pathdiff", "regex", "ron", "serde", "serde_json", - "serde_yaml", + "serde_yaml_ng", "toml", "url", ] [[package]] -name = "kclvm-driver" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-driver" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "flate2", - "indexmap 2.7.0", - "kclvm-ast", - "kclvm-config", - "kclvm-parser", - "kclvm-runtime", - "kclvm-utils", - "oci-distribution", + "kcl-ast", + "kcl-config", + "kcl-parser", + "kcl-primitives", + "kcl-runtime", + "kcl-utils", + "oci-client", "once_cell", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "serde", "serde_json", "tar", @@ -1951,9 +1823,9 @@ dependencies = [ ] [[package]] -name = "kclvm-error" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-error" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "annotate-snippets", "anyhow", @@ -1961,63 +1833,118 @@ dependencies = [ "compiler_base_macros", "compiler_base_session", "compiler_base_span", - "indexmap 1.9.3", - "kclvm-runtime", - "kclvm-span", - "kclvm-utils", + "kcl-primitives", + "kcl-runtime", + "kcl-span", + "kcl-utils", "serde", "serde_json", "termize", - "thiserror 1.0.69", + "thiserror 2.0.17", "tracing", ] [[package]] -name = "kclvm-evaluator" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-evaluator" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "generational-arena", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-error", - "kclvm-runtime", - "kclvm-sema", + "kcl-ast", + "kcl-error", + "kcl-primitives", + "kcl-runtime", + "kcl-sema", "scopeguard", ] [[package]] -name = "kclvm-lexer" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-language-server" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" +dependencies = [ + "anyhow", + "chrono", + "clap", + "compiler_base_session", + "crossbeam-channel", + "dashmap", + "env_logger", + "im-rc", + "kcl-ast", + "kcl-config", + "kcl-driver", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-sema", + "kcl-span", + "kcl-tools", + "kcl-utils", + "kcl-version", + "log", + "lsp-server", + "lsp-types", + "maplit", + "notify 7.0.0", + "parking_lot 0.12.5", + "proc_macro_crate", + "ra_ap_vfs", + "ra_ap_vfs-notify", + "ropey", + "rustc-hash 1.1.0", + "rustc_lexer", + "salsa", + "serde", + "serde_json", + "threadpool", + "tokio", + "tokio-test", +] + +[[package]] +name = "kcl-lexer" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ - "kclvm-error", + "kcl-error", "rustc_lexer", "unic-emoji-char", ] [[package]] -name = "kclvm-loader" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-lib-cpp" +version = "0.12.0" dependencies = [ "anyhow", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-error", - "kclvm-parser", - "kclvm-query", - "kclvm-sema", - "kclvm-utils", + "cxx", + "cxx-build", + "kcl-api", +] + +[[package]] +name = "kcl-loader" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" +dependencies = [ + "anyhow", + "kcl-ast", + "kcl-ast-pretty", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-sema", + "kcl-utils", "maplit", ] [[package]] -name = "kclvm-macros" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-macros" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "proc-macro2", "quote", @@ -2026,9 +1953,9 @@ dependencies = [ ] [[package]] -name = "kclvm-parser" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-parser" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "bstr", @@ -2039,17 +1966,17 @@ dependencies = [ "either", "enquote", "glob", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-config", - "kclvm-error", - "kclvm-lexer", - "kclvm-sema", - "kclvm-span", - "kclvm-utils", + "kcl-ast", + "kcl-config", + "kcl-error", + "kcl-lexer", + "kcl-primitives", + "kcl-sema", + "kcl-span", + "kcl-utils", "num-bigint", - "parking_lot 0.12.3", - "petgraph", + "parking_lot 0.12.5", + "petgraph 0.6.5", "regex", "rustc_lexer", "serde", @@ -2060,30 +1987,39 @@ dependencies = [ ] [[package]] -name = "kclvm-query" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-primitives" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" +dependencies = [ + "indexmap 2.12.1", + "rustc-hash 2.1.1", +] + +[[package]] +name = "kcl-query" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "compiler_base_macros", "compiler_base_session", "fancy-regex", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-error", - "kclvm-parser", - "kclvm-sema", - "kclvm-utils", + "kcl-ast", + "kcl-ast-pretty", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-sema", + "kcl-utils", "maplit", "serde", "serde_json", ] [[package]] -name = "kclvm-runner" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-runner" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "cc", @@ -2091,19 +2027,18 @@ dependencies = [ "compiler_base_macros", "compiler_base_session", "glob", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-compiler", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-evaluator", - "kclvm-parser", - "kclvm-query", - "kclvm-runtime", - "kclvm-sema", - "kclvm-utils", - "kclvm-version", + "kcl-ast", + "kcl-config", + "kcl-driver", + "kcl-error", + "kcl-evaluator", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-runtime", + "kcl-sema", + "kcl-utils", + "kcl-version", "libc", "libloading", "once_cell", @@ -2116,11 +2051,10 @@ dependencies = [ ] [[package]] -name = "kclvm-runtime" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-runtime" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ - "ahash", "anyhow", "base32", "base64 0.13.1", @@ -2129,15 +2063,15 @@ dependencies = [ "chrono", "cidr", "dns-lookup", - "encoding", + "encoding_rs", "fancy-regex", "generational-arena", "glob", "handlebars", "hostname", - "indexmap 1.9.3", - "itertools", - "kclvm_runtime_internal_macros", + "itertools 0.10.5", + "kcl-primitives", + "kcl_runtime_internal_macros", "lazy_static", "libc", "md5", @@ -2146,7 +2080,7 @@ dependencies = [ "regex", "serde", "serde_json", - "serde_yaml", + "serde_yaml_ng", "sha1", "sha2 0.9.9", "unic-ucd-bidi", @@ -2157,11 +2091,10 @@ dependencies = [ ] [[package]] -name = "kclvm-sema" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-sema" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ - "ahash", "anyhow", "bit-set", "bitflags 1.3.2", @@ -2171,17 +2104,17 @@ dependencies = [ "compiler_base_span", "fancy-regex", "generational-arena", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-error", - "kclvm-runtime", - "kclvm-span", - "kclvm-utils", + "kcl-ast", + "kcl-ast-pretty", + "kcl-error", + "kcl-primitives", + "kcl-runtime", + "kcl-span", + "kcl-utils", "lazy_static", "once_cell", - "parking_lot 0.12.3", - "petgraph", + "parking_lot 0.12.5", + "petgraph 0.6.5", "phf", "regex", "serde", @@ -2191,51 +2124,51 @@ dependencies = [ ] [[package]] -name = "kclvm-span" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-span" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "compiler_base_span", - "kclvm-macros", + "kcl-macros", "parking_lot 0.11.2", "scoped-tls", ] [[package]] -name = "kclvm-tools" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-tools" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "compiler_base_session", "compiler_base_span", "fancy-regex", - "indexmap 1.9.3", "json-spanned-value", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-parser", - "kclvm-query", - "kclvm-runner", - "kclvm-runtime", - "kclvm-sema", - "kclvm-utils", + "kcl-ast", + "kcl-ast-pretty", + "kcl-config", + "kcl-driver", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-runner", + "kcl-runtime", + "kcl-sema", + "kcl-utils", "located_yaml", "once_cell", "regex", "rustc_lexer", "serde_json", - "serde_yaml", + "serde_yaml_ng", "walkdir", ] [[package]] -name = "kclvm-utils" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-utils" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "fslock", @@ -2243,17 +2176,17 @@ dependencies = [ ] [[package]] -name = "kclvm-version" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-version" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "vergen-gitcl", ] [[package]] -name = "kclvm_runtime_internal_macros" -version = "0.5.0" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl_runtime_internal_macros" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "proc-macro2", "quote", @@ -2262,9 +2195,9 @@ dependencies = [ [[package]] name = "kqueue" -version = "1.0.8" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7447f1ca1b7b563588a205fe93dea8df60fd981423a768bc1c0ded35ed147d0c" +checksum = "eac30106d7dce88daf4a3fcb4879ea939476d5074a9b7ddd0fb97fa4bed5596a" dependencies = [ "kqueue-sys", "libc", @@ -2288,9 +2221,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.169" +version = "0.2.177" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" +checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976" [[package]] name = "libloading" @@ -2298,26 +2231,26 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "winapi", ] [[package]] name = "libredox" -version = "0.1.3" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" +checksum = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", "libc", - "redox_syscall 0.5.8", + "redox_syscall 0.5.18", ] [[package]] name = "link-cplusplus" -version = "1.0.9" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d240c6f7e1ba3a28b0249f774e6a9dd0175054b52dfbb61b16eb8505c3785c9" +checksum = "7f78c730aaa7d0b9336a299029ea49f9ee53b0ed06e9202e8cb7db9bae7b8c82" dependencies = [ "cc", ] @@ -2333,15 +2266,15 @@ dependencies = [ [[package]] name = "linux-raw-sys" -version = "0.4.14" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" +checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" [[package]] name = "litemap" -version = "0.7.4" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104" +checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77" [[package]] name = "located_yaml" @@ -2356,29 +2289,35 @@ dependencies = [ [[package]] name = "lock_api" -version = "0.4.12" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" dependencies = [ - "autocfg", "scopeguard", ] [[package]] name = "log" -version = "0.4.22" +version = "0.4.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432" + +[[package]] +name = "lru-slab" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" +checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154" [[package]] name = "lsp-server" -version = "0.7.7" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "550446e84739dcaf6d48a4a093973850669e13e8a34d8f8d64851041be267cd9" +checksum = "7d6ada348dbc2703cbe7637b2dda05cff84d3da2819c24abcb305dd613e0ba2e" dependencies = [ "crossbeam-channel", "log", "serde", + "serde_derive", "serde_json", ] @@ -2424,7 +2363,7 @@ version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "digest 0.10.7", ] @@ -2436,9 +2375,9 @@ checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771" [[package]] name = "memchr" -version = "2.7.4" +version = "2.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" +checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" [[package]] name = "memmap2" @@ -2449,19 +2388,14 @@ dependencies = [ "libc", ] -[[package]] -name = "mime" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" - [[package]] name = "miniz_oxide" -version = "0.8.2" +version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ffbe83022cedc1d264172192511ae958937694cd57ce297164951b8b3568394" +checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" dependencies = [ "adler2", + "simd-adler32", ] [[package]] @@ -2478,14 +2412,14 @@ dependencies = [ [[package]] name = "mio" -version = "1.0.3" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" +checksum = "69d83b0086dc8ecf3ce9ae2874b2d1290252e2a30720bea58a5c6639b0092873" dependencies = [ "libc", "log", "wasi", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -2499,9 +2433,9 @@ dependencies = [ [[package]] name = "multimap" -version = "0.8.3" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" +checksum = "1d87ecb2933e8aeadb3e3a02b828fed80a7528047e68b4f424523a0981a3a084" [[package]] name = "notify" @@ -2527,14 +2461,14 @@ version = "7.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c533b4c39709f9ba5005d8002048266593c1cfaf3c5f0739d5b8ab0c6c504009" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", "filetime", "fsevent-sys", "inotify 0.10.2", "kqueue", "libc", "log", - "mio 1.0.3", + "mio 1.1.0", "notify-types", "walkdir", "windows-sys 0.52.0", @@ -2585,9 +2519,9 @@ dependencies = [ [[package]] name = "num_cpus" -version = "1.16.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" +checksum = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b" dependencies = [ "hermit-abi", "libc", @@ -2604,18 +2538,18 @@ dependencies = [ [[package]] name = "object" -version = "0.36.5" +version = "0.37.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aedf0a2d09c573ed1d8d85b30c119153926a2b36dce0ab28322c09a117a4683e" +checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe" dependencies = [ "memchr", ] [[package]] -name = "oci-distribution" +name = "oci-client" version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b95a2c51531af0cb93761f66094044ca6ea879320bccd35ab747ff3fcab3f422" +checksum = "560faeb9396a5bae11b141bed3cec8bf9242e5bfec17d0f48feeeab0f879ca35" dependencies = [ "bytes", "chrono", @@ -2629,7 +2563,7 @@ dependencies = [ "reqwest", "serde", "serde_json", - "sha2 0.10.8", + "sha2 0.10.9", "thiserror 1.0.69", "tokio", "tracing", @@ -2649,15 +2583,21 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.20.2" +version = "1.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" + +[[package]] +name = "once_cell_polyfill" +version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" +checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" [[package]] name = "oorandom" -version = "11.1.4" +version = "11.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9" +checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e" [[package]] name = "opaque-debug" @@ -2690,12 +2630,12 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.3" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" dependencies = [ "lock_api", - "parking_lot_core 0.9.10", + "parking_lot_core 0.9.12", ] [[package]] @@ -2704,7 +2644,7 @@ version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "instant", "libc", "redox_syscall 0.2.16", @@ -2714,15 +2654,15 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.10" +version = "0.9.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", - "redox_syscall 0.5.8", + "redox_syscall 0.5.18", "smallvec", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] @@ -2733,26 +2673,25 @@ checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3" [[package]] name = "percent-encoding" -version = "2.3.1" +version = "2.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" [[package]] name = "pest" -version = "2.7.15" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b7cafe60d6cf8e62e1b9b2ea516a089c008945bb5a275416789e7db0bc199dc" +checksum = "cbcfd20a6d4eeba40179f05735784ad32bdaef05ce8e8af05f180d45bb3e7e22" dependencies = [ "memchr", - "thiserror 2.0.8", "ucd-trie", ] [[package]] name = "pest_derive" -version = "2.7.15" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "816518421cfc6887a0d62bf441b6ffb4536fcc926395a69e1a85852d4363f57e" +checksum = "51f72981ade67b1ca6adc26ec221be9f463f2b5839c7508998daa17c23d94d7f" dependencies = [ "pest", "pest_generator", @@ -2760,26 +2699,25 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.15" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d1396fd3a870fc7838768d171b4616d5c91f6cc25e377b673d714567d99377b" +checksum = "dee9efd8cdb50d719a80088b76f81aec7c41ed6d522ee750178f83883d271625" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "pest_meta" -version = "2.7.15" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1e58089ea25d717bfd31fb534e4f3afcc2cc569c70de3e239778991ea3b7dea" +checksum = "bf1d70880e76bdc13ba52eafa6239ce793d85c8e43896507e43dd8984ff05b82" dependencies = [ - "once_cell", "pest", - "sha2 0.10.8", + "sha2 0.10.9", ] [[package]] @@ -2788,8 +2726,18 @@ version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" dependencies = [ - "fixedbitset", - "indexmap 2.7.0", + "fixedbitset 0.4.2", + "indexmap 2.12.1", +] + +[[package]] +name = "petgraph" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3672b37090dbd86368a4145bc067582552b29c27377cad4e0a306c97f9bd7772" +dependencies = [ + "fixedbitset 0.5.7", + "indexmap 2.12.1", ] [[package]] @@ -2810,7 +2758,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d43f3220d96e0080cc9ea234978ccd80d904eafb17be31bb0f76daaea6493082" dependencies = [ "phf_shared", - "rand", + "rand 0.8.5", ] [[package]] @@ -2838,9 +2786,9 @@ dependencies = [ [[package]] name = "pin-project-lite" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff" +checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" [[package]] name = "pin-utils" @@ -2848,6 +2796,30 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "portable-atomic" +version = "1.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483" + +[[package]] +name = "portable-atomic-util" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507" +dependencies = [ + "portable-atomic", +] + +[[package]] +name = "potential_utf" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77" +dependencies = [ + "zerovec", +] + [[package]] name = "powerfmt" version = "0.2.0" @@ -2856,9 +2828,9 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "ppv-lite86" -version = "0.2.20" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" dependencies = [ "zerocopy", ] @@ -2875,12 +2847,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.1.25" +version = "0.2.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86" +checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" dependencies = [ "proc-macro2", - "syn 1.0.109", + "syn 2.0.111", ] [[package]] @@ -2891,9 +2863,9 @@ checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" [[package]] name = "proc-macro2" -version = "1.0.92" +version = "1.0.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" +checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" dependencies = [ "unicode-ident", ] @@ -2901,18 +2873,18 @@ dependencies = [ [[package]] name = "proc_macro_crate" version = "0.1.0" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "prost" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" +checksum = "7231bd9b3d3d33c86b58adbac74b5ec0ad9f496b19d22801d773636feaa95f3d" dependencies = [ "bytes", "prost-derive", @@ -2920,52 +2892,51 @@ dependencies = [ [[package]] name = "prost-build" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" +checksum = "ac6c3320f9abac597dcbc668774ef006702672474aad53c6d596b62e487b40b1" dependencies = [ - "bytes", - "heck 0.4.1", - "itertools", - "lazy_static", + "heck 0.5.0", + "itertools 0.14.0", "log", "multimap", - "petgraph", + "once_cell", + "petgraph 0.7.1", "prettyplease", "prost", "prost-types", "regex", - "syn 1.0.109", + "syn 2.0.111", "tempfile", - "which", ] [[package]] name = "prost-derive" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4" +checksum = "9120690fafc389a67ba3803df527d0ec9cbbc9cc45e4cc20b332996dfb672425" dependencies = [ "anyhow", - "itertools", + "itertools 0.14.0", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.111", ] [[package]] name = "prost-types" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" +checksum = "b9b4db3d6da204ed77bb26ba83b6122a73aeb2e87e25fbf7ad2e84c4ccbf8f72" dependencies = [ "prost", ] [[package]] name = "prost-wkt" -version = "0.4.1" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "655944d0ce015e71b3ec21279437e6a09e58433e50c7b0677901f3d5235e74f5" dependencies = [ "chrono", "inventory", @@ -2978,41 +2949,26 @@ dependencies = [ [[package]] name = "prost-wkt-build" -version = "0.4.1" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f869f1443fee474b785e935d92e1007f57443e485f51668ed41943fc01a321a2" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "prost", "prost-build", "prost-types", "quote", ] -[[package]] -name = "prost-wkt-types" -version = "0.4.1" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" -dependencies = [ - "chrono", - "prost", - "prost-build", - "prost-types", - "prost-wkt", - "prost-wkt-build", - "protoc-bin-vendored", - "regex", - "serde", - "serde_derive", - "serde_json", -] - [[package]] name = "protoc-bin-vendored" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1c381df33c98266b5f08186583660090a4ffa0889e76c7e9a5e175f645a67fa" dependencies = [ "protoc-bin-vendored-linux-aarch_64", "protoc-bin-vendored-linux-ppcle_64", + "protoc-bin-vendored-linux-s390_64", "protoc-bin-vendored-linux-x86_32", "protoc-bin-vendored-linux-x86_64", "protoc-bin-vendored-macos-aarch_64", @@ -3023,71 +2979,87 @@ dependencies = [ [[package]] name = "protoc-bin-vendored-linux-aarch_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c350df4d49b5b9e3ca79f7e646fde2377b199e13cfa87320308397e1f37e1a4c" [[package]] name = "protoc-bin-vendored-linux-ppcle_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a55a63e6c7244f19b5c6393f025017eb5d793fd5467823a099740a7a4222440c" + +[[package]] +name = "protoc-bin-vendored-linux-s390_64" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1dba5565db4288e935d5330a07c264a4ee8e4a5b4a4e6f4e83fad824cc32f3b0" [[package]] name = "protoc-bin-vendored-linux-x86_32" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8854774b24ee28b7868cd71dccaae8e02a2365e67a4a87a6cd11ee6cdbdf9cf5" [[package]] name = "protoc-bin-vendored-linux-x86_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b38b07546580df720fa464ce124c4b03630a6fb83e05c336fea2a241df7e5d78" [[package]] name = "protoc-bin-vendored-macos-aarch_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89278a9926ce312e51f1d999fee8825d324d603213344a9a706daa009f1d8092" [[package]] name = "protoc-bin-vendored-macos-x86_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81745feda7ccfb9471d7a4de888f0652e806d5795b61480605d4943176299756" [[package]] name = "protoc-bin-vendored-win32" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95067976aca6421a523e491fce939a3e65249bac4b977adee0ee9771568e8aa3" [[package]] name = "quinn" -version = "0.11.6" +version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62e96808277ec6f97351a2380e6c25114bc9e67037775464979f3037c92d05ef" +checksum = "b9e20a958963c291dc322d98411f541009df2ced7b5a4f2bd52337638cfccf20" dependencies = [ "bytes", + "cfg_aliases", "pin-project-lite", "quinn-proto", "quinn-udp", - "rustc-hash 2.1.0", + "rustc-hash 2.1.1", "rustls", "socket2", - "thiserror 2.0.8", + "thiserror 2.0.17", "tokio", "tracing", + "web-time", ] [[package]] name = "quinn-proto" -version = "0.11.9" +version = "0.11.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2fe5ef3495d7d2e377ff17b1a8ce2ee2ec2a18cde8b6ad6619d65d0701c135d" +checksum = "f1906b49b0c3bc04b5fe5d86a77925ae6524a19b816ae38ce1e426255f1d8a31" dependencies = [ "bytes", - "getrandom", - "rand", + "getrandom 0.3.4", + "lru-slab", + "rand 0.9.2", "ring", - "rustc-hash 2.1.0", + "rustc-hash 2.1.1", "rustls", "rustls-pki-types", "slab", - "thiserror 2.0.8", + "thiserror 2.0.17", "tinyvec", "tracing", "web-time", @@ -3095,27 +3067,33 @@ dependencies = [ [[package]] name = "quinn-udp" -version = "0.5.9" +version = "0.5.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c40286217b4ba3a71d644d752e6a0b71f13f1b6a2c5311acfcbe0c2418ed904" +checksum = "addec6a0dcad8a8d96a771f815f0eaf55f9d1805756410b39f5fa81332574cbd" dependencies = [ "cfg_aliases", "libc", "once_cell", "socket2", "tracing", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] [[package]] name = "quote" -version = "1.0.37" +version = "1.0.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" +checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" dependencies = [ "proc-macro2", ] +[[package]] +name = "r-efi" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + [[package]] name = "ra_ap_paths" version = "0.0.149" @@ -3169,8 +3147,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", - "rand_chacha", - "rand_core", + "rand_chacha 0.3.1", + "rand_core 0.6.4", +] + +[[package]] +name = "rand" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" +dependencies = [ + "rand_chacha 0.9.0", + "rand_core 0.9.3", ] [[package]] @@ -3180,7 +3168,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", - "rand_core", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_chacha" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" +dependencies = [ + "ppv-lite86", + "rand_core 0.9.3", ] [[package]] @@ -3189,7 +3187,16 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom", + "getrandom 0.2.16", +] + +[[package]] +name = "rand_core" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" +dependencies = [ + "getrandom 0.3.4", ] [[package]] @@ -3198,7 +3205,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa" dependencies = [ - "rand_core", + "rand_core 0.6.4", ] [[package]] @@ -3212,11 +3219,11 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.8" +version = "0.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", ] [[package]] @@ -3225,20 +3232,20 @@ version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ - "getrandom", + "getrandom 0.2.16", "libredox", "thiserror 1.0.69", ] [[package]] name = "regex" -version = "1.11.1" +version = "1.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" +checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.9", + "regex-automata 0.4.13", "regex-syntax", ] @@ -3250,9 +3257,9 @@ checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" [[package]] name = "regex-automata" -version = "0.4.9" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" +checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" dependencies = [ "aho-corasick", "memchr", @@ -3261,15 +3268,15 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.8.5" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" +checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" [[package]] name = "reqwest" -version = "0.12.9" +version = "0.12.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a77c62af46e79de0a562e1a9849205ffcb7fc1238876e9bd743357570e04046f" +checksum = "9d0946410b9f7b082a427e4ef5c8ff541a88b357bc6c637c40db3a68ac70a36f" dependencies = [ "base64 0.22.1", "bytes", @@ -3281,16 +3288,12 @@ dependencies = [ "hyper", "hyper-rustls", "hyper-util", - "ipnet", "js-sys", "log", - "mime", - "once_cell", "percent-encoding", "pin-project-lite", "quinn", "rustls", - "rustls-pemfile", "rustls-pki-types", "serde", "serde_json", @@ -3298,7 +3301,9 @@ dependencies = [ "sync_wrapper", "tokio", "tokio-rustls", - "tokio-util 0.7.13", + "tokio-util 0.7.17", + "tower", + "tower-http", "tower-service", "url", "wasm-bindgen", @@ -3306,20 +3311,18 @@ dependencies = [ "wasm-streams", "web-sys", "webpki-roots", - "windows-registry", ] [[package]] name = "ring" -version = "0.17.8" +version = "0.17.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" dependencies = [ "cc", - "cfg-if 1.0.0", - "getrandom", + "cfg-if 1.0.4", + "getrandom 0.2.16", "libc", - "spin", "untrusted", "windows-sys 0.52.0", ] @@ -3347,9 +3350,9 @@ dependencies = [ [[package]] name = "rustc-demangle" -version = "0.1.24" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" +checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace" [[package]] name = "rustc-hash" @@ -3359,9 +3362,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustc-hash" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497" +checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" [[package]] name = "rustc-rayon" @@ -3376,12 +3379,12 @@ dependencies = [ [[package]] name = "rustc-rayon" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb81aadc8837ca6ecebe0fe1353f15df83b3b3cc2cf7a8afd571bc22aa121710" +checksum = "2cd9fb077db982d7ceb42a90471e5a69a990b58f71e06f0d8340bb2cf35eb751" dependencies = [ "either", - "rustc-rayon-core 0.5.0", + "rustc-rayon-core 0.5.1", ] [[package]] @@ -3398,14 +3401,12 @@ dependencies = [ [[package]] name = "rustc-rayon-core" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67668daaf00e359c126f6dcb40d652d89b458a008c8afa727a42a2d20fca0b7f" +checksum = "2f42932dcd3bcbe484b38a3ccf79b7906fac41c02d408b5b1bac26da3416efdb" dependencies = [ - "crossbeam-channel", "crossbeam-deque", "crossbeam-utils", - "num_cpus", ] [[package]] @@ -3422,7 +3423,7 @@ dependencies = [ "jobserver", "libc", "memmap2", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "rustc-hash 1.1.0", "rustc-rayon 0.3.2", "rustc-rayon-core 0.3.2", @@ -3462,18 +3463,9 @@ dependencies = [ "rustc_data_structures", "scoped-tls", "sha-1", - "sha2 0.10.8", + "sha2 0.10.9", "tracing", - "unicode-width", -] - -[[package]] -name = "rustc_version" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" -dependencies = [ - "semver 0.9.0", + "unicode-width 0.1.14", ] [[package]] @@ -3482,27 +3474,27 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ - "semver 1.0.24", + "semver", ] [[package]] name = "rustix" -version = "0.38.42" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93dc38ecbab2eb790ff964bb77fa94faf256fd3e73285fd7ba0903b76bedb85" +checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", "errno", "libc", "linux-raw-sys", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "rustls" -version = "0.23.20" +version = "0.23.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5065c3f250cbd332cd894be57c40fa52387247659b14a2d6041d121547903b1b" +checksum = "533f54bc6a7d4f647e46ad909549eda97bf5afc1585190ef692b4286b198bd8f" dependencies = [ "once_cell", "ring", @@ -3512,29 +3504,21 @@ dependencies = [ "zeroize", ] -[[package]] -name = "rustls-pemfile" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" -dependencies = [ - "rustls-pki-types", -] - [[package]] name = "rustls-pki-types" -version = "1.10.1" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2bf47e6ff922db3825eb750c4e2ff784c6ff8fb9e13046ef6a1d1c5401b0b37" +checksum = "94182ad936a0c91c324cd46c6511b9510ed16af436d7b5bab34beab0afd55f7a" dependencies = [ "web-time", + "zeroize", ] [[package]] name = "rustls-webpki" -version = "0.102.8" +version = "0.103.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" +checksum = "2ffdfa2f5286e2247234e03f680868ac2815974dc39e00ea15adc445d0aafe52" dependencies = [ "ring", "rustls-pki-types", @@ -3543,15 +3527,15 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.18" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248" +checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" [[package]] name = "ryu" -version = "1.0.18" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" +checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" [[package]] name = "salsa" @@ -3605,9 +3589,9 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "scratch" -version = "1.0.7" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3cf7c11c38cb994f3d40e8a8cde3bbd1f72a435e4c49e85d6553d8312306152" +checksum = "d68f2ec51b097e4c1a75b681a8bec621909b5e91f15bb7b840c4f2f7b01148b2" [[package]] name = "self_cell" @@ -3615,76 +3599,73 @@ version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e14e4d63b804dc0c7ec4a1e52bcb63f02c7ac94476755aa579edac21e01f915d" dependencies = [ - "self_cell 1.1.0", + "self_cell 1.2.1", ] [[package]] name = "self_cell" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2fdfc24bc566f839a2da4c4295b82db7d25a24253867d5c64355abb5799bdbe" - -[[package]] -name = "semver" -version = "0.9.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" -dependencies = [ - "semver-parser", -] +checksum = "16c2f82143577edb4921b71ede051dac62ca3c16084e918bf7b40c96ae10eb33" [[package]] name = "semver" -version = "1.0.24" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cb6eb87a131f756572d7fb904f6e7b68633f09cca868c5df1c4b8d1a694bbba" +checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" [[package]] -name = "semver-parser" -version = "0.7.0" +name = "serde" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" +dependencies = [ + "serde_core", + "serde_derive", +] [[package]] -name = "serde" -version = "1.0.216" +name = "serde_core" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b9781016e935a97e8beecf0c933758c97a5520d32930e460142b4cd80c6338e" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.216" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46f859dbbf73865c6627ed570e78961cd3ac92407a2d117204c49232485da55e" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "serde_json" -version = "1.0.115" +version = "1.0.145" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12dc5c46daa8e9fdf4f5e71b6cf9a53f2487da0e86e55808e2d35539666497dd" +checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c" dependencies = [ "itoa", + "memchr", "ryu", "serde", + "serde_core", ] [[package]] name = "serde_repr" -version = "0.1.19" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" +checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -3700,11 +3681,12 @@ dependencies = [ ] [[package]] -name = "serde_yaml" -version = "0.9.34+deprecated" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "serde_yaml_ng" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b4db627b98b36d4203a7b458cf3573730f2bb591b28871d916dfa9efabfd41f" dependencies = [ - "indexmap 2.7.0", + "indexmap 2.12.1", "itoa", "ryu", "serde", @@ -3717,7 +3699,7 @@ version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "cpufeatures", "digest 0.10.7", ] @@ -3744,7 +3726,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" dependencies = [ "block-buffer 0.9.0", - "cfg-if 1.0.0", + "cfg-if 1.0.4", "cpufeatures", "digest 0.9.0", "opaque-debug 0.3.1", @@ -3752,11 +3734,11 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.8" +version = "0.10.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "cpufeatures", "digest 0.10.7", ] @@ -3769,13 +3751,19 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook-registry" -version = "1.4.2" +version = "1.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" +checksum = "7664a098b8e616bdfcc2dc0e9ac44eb231eedf41db4e9fe95d8d32ec728dedad" dependencies = [ "libc", ] +[[package]] +name = "simd-adler32" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" + [[package]] name = "siphasher" version = "0.3.11" @@ -3794,98 +3782,31 @@ dependencies = [ [[package]] name = "slab" -version = "0.4.9" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" -dependencies = [ - "autocfg", -] +checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" [[package]] name = "smallvec" -version = "1.13.2" +version = "1.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" [[package]] name = "socket2" -version = "0.5.8" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8" +checksum = "17129e116933cf371d018bb80ae557e889637989d8638274fb25622827b03881" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.60.2", ] -[[package]] -name = "spin" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" - [[package]] name = "stable_deref_trait" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" - -[[package]] -name = "standback" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e113fb6f3de07a243d434a56ec6f186dfd51cb08448239fe7bcae73f87ff28ff" -dependencies = [ - "version_check", -] - -[[package]] -name = "stdweb" -version = "0.4.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d022496b16281348b52d0e30ae99e01a73d737b2f45d38fed4edf79f9325a1d5" -dependencies = [ - "discard", - "rustc_version 0.2.3", - "stdweb-derive", - "stdweb-internal-macros", - "stdweb-internal-runtime", - "wasm-bindgen", -] - -[[package]] -name = "stdweb-derive" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c87a60a40fccc84bef0652345bbbbbe20a605bf5d0ce81719fc476f5c03b50ef" -dependencies = [ - "proc-macro2", - "quote", - "serde", - "serde_derive", - "syn 1.0.109", -] - -[[package]] -name = "stdweb-internal-macros" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58fa5ff6ad0d98d1ffa8cb115892b6e69d67799f6763e162a1c9db421dc22e11" -dependencies = [ - "base-x", - "proc-macro2", - "quote", - "serde", - "serde_derive", - "serde_json", - "sha1", - "syn 1.0.109", -] - -[[package]] -name = "stdweb-internal-runtime" -version = "0.1.5" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213701ba3370744dcd1a12960caa4843b3d68b4d1c0a5d575e0d65b2ee9d16c0" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" [[package]] name = "str_indices" @@ -3933,9 +3854,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.90" +version = "2.0.111" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31" +checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87" dependencies = [ "proc-macro2", "quote", @@ -3965,20 +3886,20 @@ dependencies = [ [[package]] name = "synstructure" -version = "0.13.1" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" +checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "tar" -version = "0.4.43" +version = "0.4.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c65998313f8e17d0d553d28f91a0df93e4dbbbf770279c7bc21ca0f09ea1a1f6" +checksum = "1d863878d212c87a19c1a610eb53bb01fe12951c0501cf5a0d65f724914a667a" dependencies = [ "filetime", "libc", @@ -3987,15 +3908,15 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.14.0" +version = "3.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c" +checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" dependencies = [ - "cfg-if 1.0.0", "fastrand", + "getrandom 0.3.4", "once_cell", "rustix", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -4028,11 +3949,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.8" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08f5383f3e0071702bf93ab5ee99b52d26936be9dedd9413067cbdcddcb6141a" +checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" dependencies = [ - "thiserror-impl 2.0.8", + "thiserror-impl 2.0.17", ] [[package]] @@ -4043,28 +3964,27 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "thiserror-impl" -version = "2.0.8" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2f357fcec90b3caef6623a099691be676d033b40a058ac95d2a6ade6fa0c943" +checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "thread_local" -version = "1.1.8" +version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" +checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185" dependencies = [ - "cfg-if 1.0.0", - "once_cell", + "cfg-if 1.0.4", ] [[package]] @@ -4078,24 +3998,9 @@ dependencies = [ [[package]] name = "time" -version = "0.2.27" +version = "0.3.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4752a97f8eebd6854ff91f1c1824cd6160626ac4bd44287f7f4ea2035a02a242" -dependencies = [ - "const_fn", - "libc", - "standback", - "stdweb", - "time-macros 0.1.1", - "version_check", - "winapi", -] - -[[package]] -name = "time" -version = "0.3.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21" +checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d" dependencies = [ "deranged", "itoa", @@ -4105,63 +4010,41 @@ dependencies = [ "powerfmt", "serde", "time-core", - "time-macros 0.2.19", + "time-macros", ] [[package]] name = "time-core" -version = "0.1.2" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" +checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b" [[package]] name = "time-macros" -version = "0.1.1" +version = "0.2.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "957e9c6e26f12cb6d0dd7fc776bb67a706312e7299aed74c8dd5b17ebb27e2f1" -dependencies = [ - "proc-macro-hack", - "time-macros-impl", -] - -[[package]] -name = "time-macros" -version = "0.2.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2834e6017e3e5e4b9834939793b282bc03b37a3336245fa820e35e233e2a85de" +checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3" dependencies = [ "num-conv", "time-core", ] -[[package]] -name = "time-macros-impl" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd3c141a1b43194f3f56a1411225df8646c55781d5f26db825b3d98507eb482f" -dependencies = [ - "proc-macro-hack", - "proc-macro2", - "quote", - "standback", - "syn 1.0.109", -] - [[package]] name = "tinystr" -version = "0.7.6" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f" +checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869" dependencies = [ "displaydoc", + "serde_core", "zerovec", ] [[package]] name = "tinyvec" -version = "1.8.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938" +checksum = "bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa" dependencies = [ "tinyvec_macros", ] @@ -4174,38 +4057,37 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.42.0" +version = "1.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cec9b21b0450273377fc97bd4c33a8acffc8c996c987a7c5b319a0083707551" +checksum = "ff360e02eab121e0bc37a2d3b4d4dc622e6eda3a8e5253d5435ecf5bd4c68408" dependencies = [ - "backtrace", "bytes", "libc", - "mio 1.0.3", - "parking_lot 0.12.3", + "mio 1.1.0", + "parking_lot 0.12.5", "pin-project-lite", "signal-hook-registry", "socket2", "tokio-macros", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] name = "tokio-macros" -version = "2.4.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" +checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "tokio-rustls" -version = "0.26.1" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f6d0975eaace0cf0fcadee4e4aaa5da15b5c079146f2cffb67c113be122bf37" +checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61" dependencies = [ "rustls", "tokio", @@ -4251,9 +4133,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.13" +version = "0.7.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7fcaa8d55a2bdd6b83ace262b016eca0d79ee02818c5c1bcdf0305114081078" +checksum = "2efa149fe76073d6e8fd97ef4f4eca7b67f599660115591483572e406e165594" dependencies = [ "bytes", "futures-core", @@ -4271,6 +4153,45 @@ dependencies = [ "serde", ] +[[package]] +name = "tower" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper", + "tokio", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-http" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adc82fd73de2a9722ac5da747f12383d2bfdb93591ee6c58486e0097890f05f2" +dependencies = [ + "bitflags 2.10.0", + "bytes", + "futures-util", + "http", + "http-body", + "iri-string", + "pin-project-lite", + "tower", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-layer" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" + [[package]] name = "tower-service" version = "0.3.3" @@ -4291,20 +4212,20 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.28" +version = "0.1.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" +checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "tracing-core" -version = "0.1.33" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" +checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678" dependencies = [ "once_cell", ] @@ -4317,30 +4238,30 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "type-map" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "deb68604048ff8fa93347f02441e4487594adc20bb8a084f9e564d2b827a0a9f" +checksum = "cb30dbbd9036155e74adad6812e9898d03ec374946234fbcebd5dfc7b9187b90" dependencies = [ - "rustc-hash 1.1.0", + "rustc-hash 2.1.1", ] [[package]] name = "typeid" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e13db2e0ccd5e14a544e8a246ba2312cd25223f616442d7f2cb0e3db614236e" +checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c" [[package]] name = "typenum" -version = "1.17.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" +checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" [[package]] name = "typetag" -version = "0.2.18" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52ba3b6e86ffe0054b2c44f2d86407388b933b16cb0a70eea3929420db1d9bbe" +checksum = "be2212c8a9b9bcfca32024de14998494cf9a5dfa59ea1b829de98bac374b86bf" dependencies = [ "erased-serde", "inventory", @@ -4351,13 +4272,13 @@ dependencies = [ [[package]] name = "typetag-impl" -version = "0.2.18" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70b20a22c42c8f1cd23ce5e34f165d4d37038f5b663ad20fb6adbdf029172483" +checksum = "27a7a9b72ba121f6f1f6c3632b85604cac41aedb5ddc70accbebb6cac83de846" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -4400,9 +4321,9 @@ dependencies = [ [[package]] name = "unic-langid" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23dd9d1e72a73b25e07123a80776aae3e7b0ec461ef94f9151eed6ec88005a44" +checksum = "a28ba52c9b05311f4f6e62d5d9d46f094bd6e84cb8df7b3ef952748d752a7d05" dependencies = [ "unic-langid-impl", "unic-langid-macros", @@ -4410,18 +4331,18 @@ dependencies = [ [[package]] name = "unic-langid-impl" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a5422c1f65949306c99240b81de9f3f15929f5a8bfe05bb44b034cc8bf593e5" +checksum = "dce1bf08044d4b7a94028c93786f8566047edc11110595914de93362559bc658" dependencies = [ "tinystr", ] [[package]] name = "unic-langid-macros" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0da1cd2c042d3c7569a1008806b02039e7a4a2bdf8f8e96bd3c792434a0e275e" +checksum = "d5957eb82e346d7add14182a3315a7e298f04e1ba4baac36f7f0dbfedba5fc25" dependencies = [ "proc-macro-hack", "tinystr", @@ -4431,13 +4352,13 @@ dependencies = [ [[package]] name = "unic-langid-macros-impl" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ed7f4237ba393424195053097c1516bd4590dc82b84f2f97c5c69e12704555b" +checksum = "a1249a628de3ad34b821ecb1001355bca3940bcb2f88558f1a8bd82e977f75b5" dependencies = [ "proc-macro-hack", "quote", - "syn 2.0.90", + "syn 2.0.111", "unic-langid-impl", ] @@ -4475,27 +4396,27 @@ dependencies = [ [[package]] name = "unicase" -version = "2.8.0" +version = "2.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e51b68083f157f853b6379db119d1c1be0e6e4dec98101079dec41f6f5cf6df" +checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539" [[package]] name = "unicode-casing" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "623f59e6af2a98bdafeb93fa277ac8e1e40440973001ca15cf4ae1541cd16d56" +checksum = "061dbb8cc7f108532b6087a0065eff575e892a4bcb503dc57323a197457cc202" [[package]] name = "unicode-ident" -version = "1.0.14" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" +checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" [[package]] name = "unicode-normalization" -version = "0.1.24" +version = "0.1.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956" +checksum = "5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8" dependencies = [ "tinyvec", ] @@ -4512,6 +4433,12 @@ version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" +[[package]] +name = "unicode-width" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" + [[package]] name = "unicode-xid" version = "0.2.6" @@ -4538,9 +4465,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.4" +version = "2.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" +checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b" dependencies = [ "form_urlencoded", "idna", @@ -4548,12 +4475,6 @@ dependencies = [ "serde", ] -[[package]] -name = "utf16_iter" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246" - [[package]] name = "utf8_iter" version = "1.0.4" @@ -4568,46 +4489,48 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.11.0" +version = "1.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a" +checksum = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2" dependencies = [ - "getrandom", + "getrandom 0.3.4", + "js-sys", "serde", + "wasm-bindgen", ] [[package]] name = "vergen" -version = "9.0.2" +version = "9.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31f25fc8f8f05df455c7941e87f093ad22522a9ff33d7a027774815acf6f0639" +checksum = "6b2bf58be11fc9414104c6d3a2e464163db5ef74b12296bda593cac37b6e4777" dependencies = [ "anyhow", "derive_builder", - "rustc_version 0.4.1", + "rustc_version", "rustversion", "vergen-lib", ] [[package]] name = "vergen-gitcl" -version = "1.0.2" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0227006d09f98ab00ea69e9a5e055e676a813cfbed4232986176c86a6080b997" +checksum = "b9dfc1de6eb2e08a4ddf152f1b179529638bedc0ea95e6d667c014506377aefe" dependencies = [ "anyhow", "derive_builder", "rustversion", - "time 0.3.37", + "time", "vergen", "vergen-lib", ] [[package]] name = "vergen-lib" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0c767e6751c09fc85cde58722cf2f1007e80e4c8d5a4321fc90d83dc54ca147" +checksum = "9b07e6010c0f3e59fcb164e0163834597da68d1f864e2b8ca49f74de01e9c166" dependencies = [ "anyhow", "derive_builder", @@ -4641,42 +4564,39 @@ dependencies = [ [[package]] name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" +version = "0.11.1+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" [[package]] -name = "wasm-bindgen" -version = "0.2.99" +name = "wasip2" +version = "1.0.1+wasi-0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a474f6281d1d70c17ae7aa6a613c87fce69a127e2624002df63dcb39d6cf6396" +checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" dependencies = [ - "cfg-if 1.0.0", - "once_cell", - "wasm-bindgen-macro", + "wit-bindgen", ] [[package]] -name = "wasm-bindgen-backend" -version = "0.2.99" +name = "wasm-bindgen" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f89bb38646b4f81674e8f5c3fb81b562be1fd936d84320f3264486418519c79" +checksum = "da95793dfc411fbbd93f5be7715b0578ec61fe87cb1a42b12eb625caa5c5ea60" dependencies = [ - "bumpalo", - "log", - "proc-macro2", - "quote", - "syn 2.0.90", + "cfg-if 1.0.4", + "once_cell", + "rustversion", + "wasm-bindgen-macro", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.49" +version = "0.4.55" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38176d9b44ea84e9184eff0bc34cc167ed044f816accfe5922e54d84cf48eca2" +checksum = "551f88106c6d5e7ccc7cd9a16f312dd3b5d36ea8b4954304657d5dfba115d4a0" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "js-sys", "once_cell", "wasm-bindgen", @@ -4685,9 +4605,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.99" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cc6181fd9a7492eef6fef1f33961e3695e4579b9872a6f7c83aee556666d4fe" +checksum = "04264334509e04a7bf8690f2384ef5265f05143a4bff3889ab7a3269adab59c2" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -4695,22 +4615,25 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.99" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30d7a95b763d3c45903ed6c81f156801839e5ee968bb07e534c44df0fcd330c2" +checksum = "420bc339d9f322e562942d52e115d57e950d12d88983a14c79b86859ee6c7ebc" dependencies = [ + "bumpalo", "proc-macro2", "quote", - "syn 2.0.90", - "wasm-bindgen-backend", + "syn 2.0.111", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.99" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "943aab3fdaaa029a6e0271b35ea10b72b943135afe9bffca82384098ad0e06a6" +checksum = "76f218a38c84bcb33c25ec7059b07847d465ce0e0a76b995e134a45adcb6af76" +dependencies = [ + "unicode-ident", +] [[package]] name = "wasm-streams" @@ -4727,9 +4650,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.76" +version = "0.3.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04dd7223427d52553d3702c004d3b2fe07c148165faa56313cb00211e31c12bc" +checksum = "3a1f95c0d03a47f4ae1f7a64643a6bb97465d9b740f0fa8f90ea33915c99a9a1" dependencies = [ "js-sys", "wasm-bindgen", @@ -4747,25 +4670,13 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.26.7" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d642ff16b7e79272ae451b7322067cdc17cadf68c23264be9d94a32319efe7e" +checksum = "b2878ef029c47c6e8cf779119f20fcf52bde7ad42a731b2a304bc221df17571e" dependencies = [ "rustls-pki-types", ] -[[package]] -name = "which" -version = "4.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" -dependencies = [ - "either", - "home", - "once_cell", - "rustix", -] - [[package]] name = "winapi" version = "0.3.9" @@ -4784,11 +4695,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.9" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -4798,52 +4709,68 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] -name = "windows" -version = "0.52.0" +name = "windows-core" +version = "0.62.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" dependencies = [ - "windows-core", - "windows-targets 0.52.6", + "windows-implement", + "windows-interface", + "windows-link 0.2.1", + "windows-result", + "windows-strings", ] [[package]] -name = "windows-core" -version = "0.52.0" +name = "windows-implement" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" dependencies = [ - "windows-targets 0.52.6", + "proc-macro2", + "quote", + "syn 2.0.111", ] [[package]] -name = "windows-registry" -version = "0.2.0" +name = "windows-interface" +version = "0.59.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" dependencies = [ - "windows-result", - "windows-strings", - "windows-targets 0.52.6", + "proc-macro2", + "quote", + "syn 2.0.111", ] +[[package]] +name = "windows-link" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + [[package]] name = "windows-result" -version = "0.2.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" dependencies = [ - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] name = "windows-strings" -version = "0.1.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" dependencies = [ - "windows-result", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] @@ -4890,11 +4817,20 @@ dependencies = [ [[package]] name = "windows-sys" -version = "0.59.0" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" dependencies = [ - "windows-targets 0.52.6", + "windows-targets 0.53.5", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link 0.2.1", ] [[package]] @@ -4936,13 +4872,30 @@ dependencies = [ "windows_aarch64_gnullvm 0.52.6", "windows_aarch64_msvc 0.52.6", "windows_i686_gnu 0.52.6", - "windows_i686_gnullvm", + "windows_i686_gnullvm 0.52.6", "windows_i686_msvc 0.52.6", "windows_x86_64_gnu 0.52.6", "windows_x86_64_gnullvm 0.52.6", "windows_x86_64_msvc 0.52.6", ] +[[package]] +name = "windows-targets" +version = "0.53.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" +dependencies = [ + "windows-link 0.2.1", + "windows_aarch64_gnullvm 0.53.1", + "windows_aarch64_msvc 0.53.1", + "windows_i686_gnu 0.53.1", + "windows_i686_gnullvm 0.53.1", + "windows_i686_msvc 0.53.1", + "windows_x86_64_gnu 0.53.1", + "windows_x86_64_gnullvm 0.53.1", + "windows_x86_64_msvc 0.53.1", +] + [[package]] name = "windows_aarch64_gnullvm" version = "0.42.2" @@ -4961,6 +4914,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" + [[package]] name = "windows_aarch64_msvc" version = "0.42.2" @@ -4979,6 +4938,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" +[[package]] +name = "windows_aarch64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" + [[package]] name = "windows_i686_gnu" version = "0.42.2" @@ -4997,12 +4962,24 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" +[[package]] +name = "windows_i686_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" + [[package]] name = "windows_i686_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" +[[package]] +name = "windows_i686_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" + [[package]] name = "windows_i686_msvc" version = "0.42.2" @@ -5021,6 +4998,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" +[[package]] +name = "windows_i686_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" + [[package]] name = "windows_x86_64_gnu" version = "0.42.2" @@ -5039,6 +5022,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" +[[package]] +name = "windows_x86_64_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" + [[package]] name = "windows_x86_64_gnullvm" version = "0.42.2" @@ -5057,6 +5046,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" + [[package]] name = "windows_x86_64_msvc" version = "0.42.2" @@ -5076,25 +5071,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] -name = "write16" -version = "1.0.0" +name = "windows_x86_64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" + +[[package]] +name = "wit-bindgen" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936" +checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59" [[package]] name = "writeable" -version = "0.5.5" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51" +checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9" [[package]] name = "xattr" -version = "1.3.1" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f" +checksum = "32e45ad4206f6d2479085147f02bc2ef834ac85886624a23575ae137c8aa8156" dependencies = [ "libc", - "linux-raw-sys", "rustix", ] @@ -5124,11 +5124,10 @@ dependencies = [ [[package]] name = "yoke" -version = "0.7.5" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40" +checksum = "72d6e5c6afb84d73944e5cedb052c4680d5657337201555f9f2a16b7406d4954" dependencies = [ - "serde", "stable_deref_trait", "yoke-derive", "zerofrom", @@ -5136,70 +5135,81 @@ dependencies = [ [[package]] name = "yoke-derive" -version = "0.7.5" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" +checksum = "b659052874eb698efe5b9e8cf382204678a0086ebf46982b79d6ca3182927e5d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", - "synstructure 0.13.1", + "syn 2.0.111", + "synstructure 0.13.2", ] [[package]] name = "zerocopy" -version = "0.7.35" +version = "0.8.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" +checksum = "43fa6694ed34d6e57407afbccdeecfa268c470a7d2a5b0cf49ce9fcc345afb90" dependencies = [ - "byteorder", "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.35" +version = "0.8.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" +checksum = "c640b22cd9817fae95be82f0d2f90b11f7605f6c319d16705c459b27ac2cbc26" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "zerofrom" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e" +checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" dependencies = [ "zerofrom-derive", ] [[package]] name = "zerofrom-derive" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808" +checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", - "synstructure 0.13.1", + "syn 2.0.111", + "synstructure 0.13.2", ] [[package]] name = "zeroize" -version = "1.8.1" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" +checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0" + +[[package]] +name = "zerotrie" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a59c17a5562d507e4b54960e8569ebee33bee890c70aa3fe7b97e85a9fd7851" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] [[package]] name = "zerovec" -version = "0.10.4" +version = "0.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079" +checksum = "6c28719294829477f525be0186d13efa9a3c602f7ec202ca9e353d310fb9a002" dependencies = [ + "serde", "yoke", "zerofrom", "zerovec-derive", @@ -5207,11 +5217,11 @@ dependencies = [ [[package]] name = "zerovec-derive" -version = "0.10.3" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" +checksum = "eadce39539ca5cb3985590102671f2567e659fca9666581ad3411d59207951f3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] diff --git a/cpp/Cargo.toml b/cpp/Cargo.toml index 093c1515..26a51798 100644 --- a/cpp/Cargo.toml +++ b/cpp/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kcl-lib-cpp" publish = false -edition = "2021" -version = "0.11.2" +edition = "2024" +version = "0.12.0" [lib] crate-type = ["staticlib"] @@ -10,7 +10,7 @@ crate-type = ["staticlib"] [dependencies] anyhow = "1.0" cxx = "1.0" -kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.11.2" } +kcl-api = { git = "https://github.com/kcl-lang/kcl", version = "0.12.0" } [build-dependencies] cxx-build = "1.0" diff --git a/cpp/README.md b/cpp/README.md index 9866d8c6..857e9a24 100644 --- a/cpp/README.md +++ b/cpp/README.md @@ -12,7 +12,7 @@ You can use FetchContent to add KCL C++ Lib to your project. FetchContent_Declare( kcl-lib GIT_REPOSITORY https://github.com/kcl-lang/lib.git - GIT_TAG v0.11.2 + GIT_TAG v0.12.0 SOURCE_SUBDIR cpp ) FetchContent_MakeAvailable(kcl-lib) @@ -24,7 +24,7 @@ Or you can download the source code and add it to your project. mkdir third_party cd third_party git clone https://github.com/kcl-lang/lib.git -git checkout v0.11.2 +git checkout v0.12.0 ``` ```shell diff --git a/cpp/src/lib.rs b/cpp/src/lib.rs index 3e6d0bf1..2e56105e 100644 --- a/cpp/src/lib.rs +++ b/cpp/src/lib.rs @@ -1,4 +1,4 @@ -extern crate kclvm_api; +extern crate kcl_api; use anyhow::Result; @@ -46,7 +46,7 @@ mod ffi { } /// kcl main.k -E name=path - #[derive(Debug, Default,Clone)] + #[derive(Debug, Default, Clone)] pub struct ExternalPkg { pub pkg_name: String, pub pkg_path: String, @@ -772,7 +772,7 @@ use ffi::*; impl crate::ffi::Error { #[inline] - fn new(e: &kclvm_api::Error) -> Self { + fn new(e: &kcl_api::Error) -> Self { Self { level: e.level.clone(), code: e.code.clone(), @@ -798,7 +798,7 @@ impl crate::ffi::Error { impl UpdateDependenciesResult { #[inline] - fn new(r: kclvm_api::UpdateDependenciesResult) -> Self { + fn new(r: kcl_api::UpdateDependenciesResult) -> Self { Self { external_pkgs: r .external_pkgs @@ -813,27 +813,27 @@ impl UpdateDependenciesResult { } #[inline] -fn build_exec_program_args(args: &ExecProgramArgs) -> kclvm_api::ExecProgramArgs { - kclvm_api::ExecProgramArgs { +fn build_exec_program_args(args: &ExecProgramArgs) -> kcl_api::ExecProgramArgs { + kcl_api::ExecProgramArgs { work_dir: args.work_dir.clone(), k_filename_list: args.k_filename_list.clone(), k_code_list: args.k_code_list.clone(), args: args .args .iter() - .map(|a| kclvm_api::Argument { + .map(|a| kcl_api::Argument { name: a.name.clone(), value: a.value.clone(), }) - .collect::>(), + .collect::>(), external_pkgs: args .external_pkgs .iter() - .map(|e| kclvm_api::ExternalPkg { + .map(|e| kcl_api::ExternalPkg { pkg_name: e.pkg_name.clone(), pkg_path: e.pkg_path.clone(), }) - .collect::>(), + .collect::>(), overrides: args.overrides.clone(), strict_range_check: args.strict_range_check, disable_none: args.disable_none, @@ -853,7 +853,7 @@ fn build_exec_program_args(args: &ExecProgramArgs) -> kclvm_api::ExecProgramArgs #[inline] fn build_optional_exec_program_args( args: &OptionalExecProgramArgs, -) -> Option { +) -> Option { if args.has_value { Some(build_exec_program_args(&args.value)) } else { @@ -863,7 +863,7 @@ fn build_optional_exec_program_args( /// Execute KCL file with arguments and return the JSON/YAML result. fn exec_program(args: &ExecProgramArgs) -> Result { - let api = kclvm_api::API::default(); + let api = kcl_api::API::default(); let result = api.exec_program(&build_exec_program_args(args))?; Ok(ExecProgramResult { yaml_result: result.yaml_result, @@ -875,8 +875,8 @@ fn exec_program(args: &ExecProgramArgs) -> Result { /// Validate code using schema and JSON/YAML data strings. fn validate_code(args: &ValidateCodeArgs) -> Result { - let api = kclvm_api::API::default(); - let result = api.validate_code(&kclvm_api::ValidateCodeArgs { + let api = kcl_api::API::default(); + let result = api.validate_code(&kcl_api::ValidateCodeArgs { datafile: args.datafile.clone(), data: args.data.clone(), file: args.file.clone(), @@ -887,11 +887,11 @@ fn validate_code(args: &ValidateCodeArgs) -> Result { external_pkgs: args .external_pkgs .iter() - .map(|e| kclvm_api::ExternalPkg { + .map(|e| kcl_api::ExternalPkg { pkg_name: e.pkg_name.clone(), pkg_path: e.pkg_path.clone(), }) - .collect::>(), + .collect::>(), })?; Ok(ValidateCodeResult { success: result.success, @@ -903,8 +903,8 @@ fn validate_code(args: &ValidateCodeArgs) -> Result { /// See [https://www.kcl-lang.io/docs/user_docs/guides/automation](https://www.kcl-lang.io/docs/user_docs/guides/automation) /// for more override spec guide. fn override_file(args: &OverrideFileArgs) -> Result { - let api = kclvm_api::API::default(); - let result = api.override_file(&kclvm_api::OverrideFileArgs { + let api = kcl_api::API::default(); + let result = api.override_file(&kcl_api::OverrideFileArgs { file: args.file.clone(), specs: args.specs.clone(), import_paths: args.import_paths.clone(), @@ -922,8 +922,8 @@ fn override_file(args: &OverrideFileArgs) -> Result { /// Download and update dependencies defined in the `kcl.mod` file and return the /// external package name and location list. fn update_dependencies(args: &UpdateDependenciesArgs) -> Result { - let api = kclvm_api::API::default(); - let result = api.update_dependencies(&kclvm_api::UpdateDependenciesArgs { + let api = kcl_api::API::default(); + let result = api.update_dependencies(&kcl_api::UpdateDependenciesArgs { manifest_path: args.manifest_path.clone(), vendor: args.vendor, })?; @@ -931,8 +931,8 @@ fn update_dependencies(args: &UpdateDependenciesArgs) -> Result kclvm_api::LoadPackageArgs { - kclvm_api::LoadPackageArgs { +fn build_load_package_args(args: &LoadPackageArgs) -> kcl_api::LoadPackageArgs { + kcl_api::LoadPackageArgs { parse_args: build_optional_parse_program_args(&args.parse_args), resolve_ast: args.resolve_ast, load_builtin: args.load_builtin, @@ -942,7 +942,7 @@ fn build_load_package_args(args: &LoadPackageArgs) -> kclvm_api::LoadPackageArgs impl LoadPackageResult { #[inline] - fn new(r: kclvm_api::LoadPackageResult) -> Self { + fn new(r: kcl_api::LoadPackageResult) -> Self { Self { program: r.program, paths: r.paths, @@ -1008,7 +1008,7 @@ impl LoadPackageResult { impl ScopeIndex { #[inline] - pub fn new(v: &kclvm_api::ScopeIndex) -> Self { + pub fn new(v: &kcl_api::ScopeIndex) -> Self { ScopeIndex { i: v.i, g: v.g, @@ -1019,7 +1019,7 @@ impl ScopeIndex { impl OptionalScopeIndex { #[inline] - fn new(v: &Option) -> Self { + fn new(v: &Option) -> Self { match v { Some(v) => Self { has_value: true, @@ -1035,7 +1035,7 @@ impl OptionalScopeIndex { impl SymbolIndex { #[inline] - fn new(v: &kclvm_api::SymbolIndex) -> Self { + fn new(v: &kcl_api::SymbolIndex) -> Self { Self { i: v.i, g: v.g, @@ -1046,7 +1046,7 @@ impl SymbolIndex { impl OptionalSymbolIndex { #[inline] - fn new(v: &Option) -> Self { + fn new(v: &Option) -> Self { match v { Some(v) => Self { has_value: true, @@ -1062,7 +1062,7 @@ impl OptionalSymbolIndex { impl Symbol { #[inline] - pub fn new(v: &kclvm_api::Symbol) -> Self { + pub fn new(v: &kcl_api::Symbol) -> Self { Self { ty: OptionalKclType::new(&v.ty), name: v.name.clone(), @@ -1077,42 +1077,42 @@ impl Symbol { /// Provides users with the ability to parse KCL program and semantic /// model information including symbols, types, definitions, etc. fn load_package(args: &LoadPackageArgs) -> Result { - let api = kclvm_api::API::default(); + let api = kcl_api::API::default(); let result = api.load_package(&build_load_package_args(args))?; Ok(LoadPackageResult::new(result)) } -fn build_parse_program_args(args: &ParseProgramArgs) -> kclvm_api::ParseProgramArgs { - kclvm_api::ParseProgramArgs { +fn build_parse_program_args(args: &ParseProgramArgs) -> kcl_api::ParseProgramArgs { + kcl_api::ParseProgramArgs { paths: args.paths.clone(), sources: args.sources.clone(), external_pkgs: args .external_pkgs .iter() - .map(|e| kclvm_api::ExternalPkg { + .map(|e| kcl_api::ExternalPkg { pkg_name: e.pkg_name.clone(), pkg_path: e.pkg_path.clone(), }) - .collect::>(), + .collect::>(), } } fn build_optional_parse_program_args( args: &OptionalParseProgramArgs, -) -> Option { +) -> Option { if args.has_value { let args = &args.value; - Some(kclvm_api::ParseProgramArgs { + Some(kcl_api::ParseProgramArgs { paths: args.paths.clone(), sources: args.sources.clone(), external_pkgs: args .external_pkgs .iter() - .map(|e| kclvm_api::ExternalPkg { + .map(|e| kcl_api::ExternalPkg { pkg_name: e.pkg_name.clone(), pkg_path: e.pkg_path.clone(), }) - .collect::>(), + .collect::>(), }) } else { None @@ -1121,7 +1121,7 @@ fn build_optional_parse_program_args( impl ParseProgramResult { #[inline] - fn new(r: kclvm_api::ParseProgramResult) -> Self { + fn new(r: kcl_api::ParseProgramResult) -> Self { Self { ast_json: r.ast_json, paths: r.paths, @@ -1132,29 +1132,29 @@ impl ParseProgramResult { /// Parse KCL program with entry files. fn parse_program(args: &ParseProgramArgs) -> Result { - let api = kclvm_api::API::default(); + let api = kcl_api::API::default(); let result = api.parse_program(&build_parse_program_args(args))?; Ok(ParseProgramResult::new(result)) } -fn build_parse_file_args(args: &ParseFileArgs) -> kclvm_api::ParseFileArgs { - kclvm_api::ParseFileArgs { +fn build_parse_file_args(args: &ParseFileArgs) -> kcl_api::ParseFileArgs { + kcl_api::ParseFileArgs { path: args.path.clone(), source: args.source.clone(), external_pkgs: args .external_pkgs .iter() - .map(|e| kclvm_api::ExternalPkg { + .map(|e| kcl_api::ExternalPkg { pkg_name: e.pkg_name.clone(), pkg_path: e.pkg_path.clone(), }) - .collect::>(), + .collect::>(), } } impl ParseFileResult { #[inline] - fn new(r: kclvm_api::ParseFileResult) -> Self { + fn new(r: kcl_api::ParseFileResult) -> Self { Self { ast_json: r.ast_json, deps: r.deps, @@ -1166,14 +1166,14 @@ impl ParseFileResult { /// Parse KCL single file to Module AST JSON string with import dependencies /// and parse errors. fn parse_file(args: &ParseFileArgs) -> Result { - let api = kclvm_api::API::default(); + let api = kcl_api::API::default(); let result = api.parse_file(&build_parse_file_args(args))?; Ok(ParseFileResult::new(result)) } impl ListOptionsResult { #[inline] - fn new(r: kclvm_api::ListOptionsResult) -> Self { + fn new(r: kcl_api::ListOptionsResult) -> Self { Self { options: r .options @@ -1192,17 +1192,17 @@ impl ListOptionsResult { /// Provides users with the ability to parse kcl program and get all option information. fn list_options(args: &ParseProgramArgs) -> Result { - let api = kclvm_api::API::default(); + let api = kcl_api::API::default(); let result = api.list_options(&build_parse_program_args(args))?; Ok(ListOptionsResult::new(result)) } -fn build_list_variables_args(args: &ListVariablesArgs) -> kclvm_api::ListVariablesArgs { - kclvm_api::ListVariablesArgs { +fn build_list_variables_args(args: &ListVariablesArgs) -> kcl_api::ListVariablesArgs { + kcl_api::ListVariablesArgs { files: args.files.clone(), specs: args.specs.clone(), options: match args.options.has_value { - true => Some(kclvm_api::ListVariablesOptions { + true => Some(kcl_api::ListVariablesOptions { merge_program: args.options.value.merge_program, }), false => None, @@ -1211,7 +1211,7 @@ fn build_list_variables_args(args: &ListVariablesArgs) -> kclvm_api::ListVariabl } impl Variable { - pub fn new(v: &kclvm_api::Variable) -> Self { + pub fn new(v: &kcl_api::Variable) -> Self { Self { value: v.value.to_string(), type_name: v.type_name.to_string(), @@ -1240,7 +1240,7 @@ impl Variable { impl ListVariablesResult { #[inline] - fn new(r: kclvm_api::ListVariablesResult) -> Self { + fn new(r: kcl_api::ListVariablesResult) -> Self { Self { variables: r .variables @@ -1259,15 +1259,15 @@ impl ListVariablesResult { /// Provides users with the ability to parse KCL program and get /// all variables by specs. fn list_variables(args: &ListVariablesArgs) -> Result { - let api = kclvm_api::API::default(); + let api = kcl_api::API::default(); let result = api.list_variables(&build_list_variables_args(args))?; Ok(ListVariablesResult::new(result)) } fn build_get_schema_type_mapping_args( args: &GetSchemaTypeMappingArgs, -) -> kclvm_api::GetSchemaTypeMappingArgs { - kclvm_api::GetSchemaTypeMappingArgs { +) -> kcl_api::GetSchemaTypeMappingArgs { + kcl_api::GetSchemaTypeMappingArgs { exec_args: if args.exec_args.has_value { Some(build_exec_program_args(&args.exec_args.value)) } else { @@ -1279,7 +1279,7 @@ fn build_get_schema_type_mapping_args( impl GetSchemaTypeMappingResult { #[inline] - fn new(r: kclvm_api::GetSchemaTypeMappingResult) -> Self { + fn new(r: kcl_api::GetSchemaTypeMappingResult) -> Self { Self { schema_type_mapping: r .schema_type_mapping @@ -1295,7 +1295,7 @@ impl GetSchemaTypeMappingResult { impl KclType { #[inline] - fn new(r: &kclvm_api::KclType) -> Self { + fn new(r: &kcl_api::KclType) -> Self { Self { ty: r.r#type.clone(), union_types: r.union_types.iter().map(|r| KclType::new(r)).collect(), @@ -1352,7 +1352,7 @@ impl KclType { impl OptionalKclType { #[inline] - fn new(r: &Option) -> Self { + fn new(r: &Option) -> Self { match r.as_ref() { None => Self { has_value: false, @@ -1366,7 +1366,7 @@ impl OptionalKclType { } #[inline] - fn new_from_box(r: &Option>) -> Self { + fn new_from_box(r: &Option>) -> Self { match r.as_ref() { None => Self { has_value: false, @@ -1382,20 +1382,20 @@ impl OptionalKclType { /// Get schema type mapping. fn get_schema_type_mapping(args: &GetSchemaTypeMappingArgs) -> Result { - let api = kclvm_api::API::default(); + let api = kcl_api::API::default(); let result = api.get_schema_type_mapping(&build_get_schema_type_mapping_args(args))?; Ok(GetSchemaTypeMappingResult::new(result)) } -fn build_format_code_args(args: &FormatCodeArgs) -> kclvm_api::FormatCodeArgs { - kclvm_api::FormatCodeArgs { +fn build_format_code_args(args: &FormatCodeArgs) -> kcl_api::FormatCodeArgs { + kcl_api::FormatCodeArgs { source: args.source.clone(), } } impl FormatCodeResult { #[inline] - fn new(r: kclvm_api::FormatCodeResult) -> Self { + fn new(r: kcl_api::FormatCodeResult) -> Self { Self { formatted: String::from_utf8(r.formatted).unwrap(), } @@ -1404,20 +1404,20 @@ impl FormatCodeResult { /// Format KCL file or directory path contains KCL files and returns the changed file paths. fn format_code(args: &FormatCodeArgs) -> Result { - let api = kclvm_api::API::default(); + let api = kcl_api::API::default(); let result = api.format_code(&build_format_code_args(args))?; Ok(FormatCodeResult::new(result)) } -fn build_format_path_args(args: &FormatPathArgs) -> kclvm_api::FormatPathArgs { - kclvm_api::FormatPathArgs { +fn build_format_path_args(args: &FormatPathArgs) -> kcl_api::FormatPathArgs { + kcl_api::FormatPathArgs { path: args.path.clone(), } } impl FormatPathResult { #[inline] - fn new(r: kclvm_api::FormatPathResult) -> Self { + fn new(r: kcl_api::FormatPathResult) -> Self { Self { changed_paths: r.changed_paths, } @@ -1426,35 +1426,33 @@ impl FormatPathResult { /// Format KCL file or directory path contains KCL files and returns the changed file paths. fn format_path(args: &FormatPathArgs) -> Result { - let api = kclvm_api::API::default(); + let api = kcl_api::API::default(); let result = api.format_path(&build_format_path_args(args))?; Ok(FormatPathResult::new(result)) } -fn build_lint_path_args(args: &LintPathArgs) -> kclvm_api::LintPathArgs { - kclvm_api::LintPathArgs { +fn build_lint_path_args(args: &LintPathArgs) -> kcl_api::LintPathArgs { + kcl_api::LintPathArgs { paths: args.paths.clone(), } } impl LintPathResult { #[inline] - fn new(r: kclvm_api::LintPathResult) -> Self { + fn new(r: kcl_api::LintPathResult) -> Self { Self { results: r.results } } } /// Lint files and return error messages including errors and warnings. fn lint_path(args: &LintPathArgs) -> Result { - let api = kclvm_api::API::default(); + let api = kcl_api::API::default(); let result = api.lint_path(&build_lint_path_args(args))?; Ok(LintPathResult::new(result)) } -fn build_load_settings_files_args( - args: &LoadSettingsFilesArgs, -) -> kclvm_api::LoadSettingsFilesArgs { - kclvm_api::LoadSettingsFilesArgs { +fn build_load_settings_files_args(args: &LoadSettingsFilesArgs) -> kcl_api::LoadSettingsFilesArgs { + kcl_api::LoadSettingsFilesArgs { work_dir: args.work_dir.clone(), files: args.files.clone(), } @@ -1462,7 +1460,7 @@ fn build_load_settings_files_args( impl LoadSettingsFilesResult { #[inline] - fn new(r: kclvm_api::LoadSettingsFilesResult) -> Self { + fn new(r: kcl_api::LoadSettingsFilesResult) -> Self { Self { kcl_cli_configs: OptionalCliConfig::new(r.kcl_cli_configs), kcl_options: r @@ -1478,7 +1476,7 @@ impl LoadSettingsFilesResult { } impl OptionalCliConfig { - fn new(r: Option) -> Self { + fn new(r: Option) -> Self { match r { Some(r) => Self { has_value: true, @@ -1507,13 +1505,13 @@ impl OptionalCliConfig { /// Load the setting file config defined in `kcl.yaml` fn load_settings_files(args: &LoadSettingsFilesArgs) -> Result { - let api = kclvm_api::API::default(); + let api = kcl_api::API::default(); let result = api.load_settings_files(&build_load_settings_files_args(args))?; Ok(LoadSettingsFilesResult::new(result)) } -fn build_rename_args(args: &RenameArgs) -> kclvm_api::RenameArgs { - kclvm_api::RenameArgs { +fn build_rename_args(args: &RenameArgs) -> kcl_api::RenameArgs { + kcl_api::RenameArgs { package_root: args.package_root.clone(), symbol_path: args.symbol_path.clone(), file_paths: args.file_paths.clone(), @@ -1523,7 +1521,7 @@ fn build_rename_args(args: &RenameArgs) -> kclvm_api::RenameArgs { impl RenameResult { #[inline] - fn new(r: kclvm_api::RenameResult) -> Self { + fn new(r: kcl_api::RenameResult) -> Self { Self { changed_files: r.changed_files, } @@ -1533,13 +1531,13 @@ impl RenameResult { /// Rename all the occurrences of the target symbol in the files. This API will rewrite files if they contain symbols to be renamed. /// Return the file paths that got changed. fn rename(args: &RenameArgs) -> Result { - let api = kclvm_api::API::default(); + let api = kcl_api::API::default(); let result = api.rename(&build_rename_args(args))?; Ok(RenameResult::new(result)) } -fn build_rename_code_args(args: &RenameCodeArgs) -> kclvm_api::RenameCodeArgs { - kclvm_api::RenameCodeArgs { +fn build_rename_code_args(args: &RenameCodeArgs) -> kcl_api::RenameCodeArgs { + kcl_api::RenameCodeArgs { package_root: args.package_root.clone(), symbol_path: args.symbol_path.clone(), source_codes: args @@ -1553,7 +1551,7 @@ fn build_rename_code_args(args: &RenameCodeArgs) -> kclvm_api::RenameCodeArgs { impl RenameCodeResult { #[inline] - fn new(r: kclvm_api::RenameCodeResult) -> Self { + fn new(r: kcl_api::RenameCodeResult) -> Self { Self { changed_codes: r .changed_codes @@ -1570,13 +1568,13 @@ impl RenameCodeResult { /// Rename all the occurrences of the target symbol and return the modified code if any code has been changed. This API won't /// rewrite files but return the changed code. fn rename_code(args: &RenameCodeArgs) -> Result { - let api = kclvm_api::API::default(); + let api = kcl_api::API::default(); let result = api.rename_code(&build_rename_code_args(args))?; Ok(RenameCodeResult::new(result)) } -fn build_test_args(args: &TestArgs) -> kclvm_api::TestArgs { - kclvm_api::TestArgs { +fn build_test_args(args: &TestArgs) -> kcl_api::TestArgs { + kcl_api::TestArgs { exec_args: build_optional_exec_program_args(&args.exec_args), pkg_list: args.pkg_list.clone(), run_regexp: args.run_regexp.clone(), @@ -1586,7 +1584,7 @@ fn build_test_args(args: &TestArgs) -> kclvm_api::TestArgs { impl TestResult { #[inline] - fn new(r: kclvm_api::TestResult) -> Self { + fn new(r: kcl_api::TestResult) -> Self { Self { info: r .info @@ -1604,15 +1602,15 @@ impl TestResult { /// Test KCL packages with test arguments. fn test(args: &TestArgs) -> Result { - let api = kclvm_api::API::default(); + let api = kcl_api::API::default(); let result = api.test(&build_test_args(args))?; Ok(TestResult::new(result)) } /// Return the KCL service version information. fn get_version() -> Result { - let api = kclvm_api::API::default(); - let result = api.get_version(&kclvm_api::GetVersionArgs {})?; + let api = kcl_api::API::default(); + let result = api.get_version(&kcl_api::GetVersionArgs {})?; Ok(GetVersionResult { version: result.version, checksum: result.checksum, diff --git a/dotnet/Cargo.lock b/dotnet/Cargo.lock index 48389e03..35cb9e7a 100644 --- a/dotnet/Cargo.lock +++ b/dotnet/Cargo.lock @@ -4,35 +4,24 @@ version = 4 [[package]] name = "addr2line" -version = "0.24.2" +version = "0.25.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" +checksum = "1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b" dependencies = [ "gimli", ] [[package]] name = "adler2" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" - -[[package]] -name = "ahash" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" -dependencies = [ - "getrandom", - "once_cell", - "version_check", -] +checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" [[package]] name = "aho-corasick" -version = "1.1.3" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" +checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" dependencies = [ "memchr", ] @@ -46,12 +35,6 @@ dependencies = [ "log", ] -[[package]] -name = "android-tzdata" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" - [[package]] name = "android_system_properties" version = "0.1.5" @@ -73,9 +56,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.18" +version = "0.6.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b" +checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a" dependencies = [ "anstyle", "anstyle-parse", @@ -88,43 +71,44 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.10" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" +checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" [[package]] name = "anstyle-parse" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9" +checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.1.2" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c" +checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "anstyle-wincon" -version = "3.0.6" +version = "3.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2109dbce0e72be3ec00bed26e6a7479ca384ad226efdd66db8fa2e3a38c83125" +checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" dependencies = [ "anstyle", - "windows-sys 0.59.0", + "once_cell_polyfill", + "windows-sys 0.61.2", ] [[package]] name = "anyhow" -version = "1.0.94" +version = "1.0.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1fd03a028ef38ba2276dce7e33fcd6369c158a1bca17946c4b1b701891c1ff7" +checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" dependencies = [ "backtrace", ] @@ -160,36 +144,36 @@ checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + [[package]] name = "autocfg" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" +checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] name = "backtrace" -version = "0.3.74" +version = "0.3.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" +checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6" dependencies = [ "addr2line", - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", "miniz_oxide", "object", "rustc-demangle", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] -[[package]] -name = "base-x" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cbbc9d0964165b47557570cce6c952866c2678457aca742aafc9fb771d30270" - [[package]] name = "base32" version = "0.4.0" @@ -231,9 +215,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.6.0" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" +checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" [[package]] name = "bitmaps" @@ -246,14 +230,14 @@ dependencies = [ [[package]] name = "blake3" -version = "1.5.5" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8ee0c1824c4dea5b5f81736aff91bae041d2c07ee1192bec91054e10e3e601e" +checksum = "3888aaa89e4b2a40fca9848e400f6a658a5a3978de7be858e209cafa8be9a4a0" dependencies = [ "arrayref", "arrayvec", "cc", - "cfg-if 1.0.0", + "cfg-if 1.0.4", "constant_time_eq", ] @@ -309,9 +293,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.16.0" +version = "3.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" +checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" [[package]] name = "byte-tools" @@ -327,16 +311,17 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.9.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" +checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3" [[package]] name = "cc" -version = "1.2.4" +version = "1.2.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9157bbaa6b165880c27a4293a474c91cdcf265cc68cc829bf10be0964a391caf" +checksum = "cd405d82c84ff7f35739f175f67d8b9fb7687a0e84ccdc78bd3568839827cf07" dependencies = [ + "find-msvc-tools", "shlex", ] @@ -348,9 +333,9 @@ checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" [[package]] name = "cfg-if" -version = "1.0.0" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "cfg_aliases" @@ -360,17 +345,16 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" [[package]] name = "chrono" -version = "0.4.39" +version = "0.4.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e36cc9d416881d2e24f9a963be5fb1cd90966419ac844274161d10488b3e825" +checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2" dependencies = [ - "android-tzdata", "iana-time-zone", "js-sys", "num-traits", "serde", "wasm-bindgen", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] @@ -381,18 +365,18 @@ checksum = "bd1b64030216239a2e7c364b13cd96a2097ebf0dfe5025f2dedee14a23f2ab60" [[package]] name = "clap" -version = "4.5.23" +version = "4.5.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3135e7ec2ef7b10c6ed8950f0f792ed96ee093fa088608f1c76e569722700c84" +checksum = "c9e340e012a1bf4935f5282ed1436d1489548e8f72308207ea5df0e23d2d03f8" dependencies = [ "clap_builder", ] [[package]] name = "clap_builder" -version = "4.5.23" +version = "4.5.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30582fc632330df2bd26877bde0c1f4470d57c582bbc070376afcd04d8cb4838" +checksum = "d76b5d13eaa18c901fd2f7fca939fefe3a0727a953561fefdf3b2922b8569d00" dependencies = [ "anstream", "anstyle", @@ -402,15 +386,15 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.7.4" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" +checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d" [[package]] name = "colorchoice" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990" +checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" [[package]] name = "compiler_base_error" @@ -456,12 +440,6 @@ dependencies = [ "rustc_span", ] -[[package]] -name = "const_fn" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "373e9fafaa20882876db20562275ff58d50e0caa2590077fe7ce7bef90211d0d" - [[package]] name = "constant_time_eq" version = "0.3.1" @@ -476,27 +454,27 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "cpufeatures" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b80225097f2e5ae4e7179dd2266824648f3e2f49d9134d584b76389d31c4c3" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" dependencies = [ "libc", ] [[package]] name = "crc32fast" -version = "1.4.2" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" +checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", ] [[package]] name = "crossbeam-channel" -version = "0.5.14" +version = "0.5.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ba6d68e24814cb8de6bb986db8222d3a027d15872cabc0d18817bc3c0e4471" +checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2" dependencies = [ "crossbeam-utils", ] @@ -528,9 +506,9 @@ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" [[package]] name = "crypto-common" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" dependencies = [ "generic-array 0.14.7", "typenum", @@ -538,9 +516,9 @@ dependencies = [ [[package]] name = "darling" -version = "0.20.10" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989" +checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee" dependencies = [ "darling_core", "darling_macro", @@ -548,27 +526,27 @@ dependencies = [ [[package]] name = "darling_core" -version = "0.20.10" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95133861a8032aaea082871032f5815eb9e98cef03fa916ab4500513994df9e5" +checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e" dependencies = [ "fnv", "ident_case", "proc-macro2", "quote", "strsim 0.11.1", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "darling_macro" -version = "0.20.10" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" +checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" dependencies = [ "darling_core", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -577,18 +555,18 @@ version = "5.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "hashbrown 0.14.5", "lock_api", "once_cell", - "parking_lot_core 0.9.10", + "parking_lot_core 0.9.12", ] [[package]] name = "deranged" -version = "0.3.11" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" +checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587" dependencies = [ "powerfmt", ] @@ -611,7 +589,7 @@ dependencies = [ "darling", "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -621,7 +599,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab63b0e2bf4d5928aff72e83a7dace85d7bba5fe12dcc3c5a572d78caffd3f3c" dependencies = [ "derive_builder_core", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -680,12 +658,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "discard" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0" - [[package]] name = "displaydoc" version = "0.2.5" @@ -694,26 +666,26 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "dns-lookup" -version = "2.0.4" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5766087c2235fec47fafa4cfecc81e494ee679d0fd4a59887ea0919bfb0e4fc" +checksum = "cf5597a4b7fe5275fc9dcf88ce26326bc8e4cb87d0130f33752d4c5f717793cf" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", "socket2", - "windows-sys 0.48.0", + "windows-sys 0.60.2", ] [[package]] name = "either" -version = "1.13.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" +checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "ena" @@ -725,69 +697,14 @@ dependencies = [ ] [[package]] -name = "encoding" -version = "0.2.33" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b0d943856b990d12d3b55b359144ff341533e516d94098b1d3fc1ac666d36ec" -dependencies = [ - "encoding-index-japanese", - "encoding-index-korean", - "encoding-index-simpchinese", - "encoding-index-singlebyte", - "encoding-index-tradchinese", -] - -[[package]] -name = "encoding-index-japanese" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04e8b2ff42e9a05335dbf8b5c6f7567e5591d0d916ccef4e0b1710d32a0d0c91" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-korean" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dc33fb8e6bcba213fe2f14275f0963fd16f0a02c878e3095ecfdf5bee529d81" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-simpchinese" -version = "1.20141219.5" +name = "encoding_rs" +version = "0.8.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d87a7194909b9118fc707194baa434a4e3b0fb6a5a757c73c3adb07aa25031f7" +checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" dependencies = [ - "encoding_index_tests", + "cfg-if 1.0.4", ] -[[package]] -name = "encoding-index-singlebyte" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3351d5acffb224af9ca265f435b859c7c01537c0849754d3db3fdf2bfe2ae84a" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-tradchinese" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd0e20d5688ce3cab59eb3ef3a2083a5c77bf496cb798dc6fcdb75f323890c18" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding_index_tests" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a246d82be1c9d791c5dfde9a2bd045fc3cbba3fa2b11ad558f27d01712f00569" - [[package]] name = "enquote" version = "1.1.0" @@ -799,9 +716,9 @@ dependencies = [ [[package]] name = "env_filter" -version = "0.1.2" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f2c92ceda6ceec50f43169f9ee8424fe2db276791afde7b2cd8bc084cb376ab" +checksum = "1bf3c259d255ca70051b30e2e95b5446cdb8949ac4cd22c0d7fd634d89f568e2" dependencies = [ "log", "regex", @@ -809,41 +726,42 @@ dependencies = [ [[package]] name = "env_logger" -version = "0.11.5" +version = "0.11.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13fa619b91fb2381732789fc5de83b45675e882f66623b7d8cb4f643017018d" +checksum = "13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f" dependencies = [ "anstream", "anstyle", "env_filter", - "humantime", + "jiff", "log", ] [[package]] name = "equivalent" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" [[package]] name = "erased-serde" -version = "0.4.5" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24e2389d65ab4fab27dc2a5de7b191e1f6617d1f1c8855c0dc569c94a4cbb18d" +checksum = "89e8918065695684b2b0702da20382d5ae6065cf3327bc2d6436bd49a71ce9f3" dependencies = [ "serde", + "serde_core", "typeid", ] [[package]] name = "errno" -version = "0.3.10" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -864,27 +782,39 @@ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" [[package]] name = "filetime" -version = "0.2.25" +version = "0.2.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586" +checksum = "bc0505cd1b6fa6580283f6bdf70a73fcf4aba1184038c90902b92b3dd0df63ed" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", "libredox", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] +[[package]] +name = "find-msvc-tools" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844" + [[package]] name = "fixedbitset" version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" +[[package]] +name = "fixedbitset" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99" + [[package]] name = "flate2" -version = "1.0.35" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c" +checksum = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb" dependencies = [ "crc32fast", "miniz_oxide", @@ -918,9 +848,9 @@ dependencies = [ [[package]] name = "fluent-langneg" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c4ad0989667548f06ccd0e306ed56b61bd4d35458d54df5ec7587c0e8ed5e94" +checksum = "7eebbe59450baee8282d71676f3bfed5689aeab00b27545e83e5f14b1195e8b0" dependencies = [ "unic-langid", ] @@ -942,9 +872,9 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "form_urlencoded" -version = "1.2.1" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" dependencies = [ "percent-encoding", ] @@ -1030,7 +960,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -1069,7 +999,7 @@ version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "877e94aff08e743b651baaea359664321055749b398adff8740a7399af7796e7" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", ] [[package]] @@ -1093,28 +1023,42 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" +checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "js-sys", "libc", "wasi", "wasm-bindgen", ] +[[package]] +name = "getrandom" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if 1.0.4", + "js-sys", + "libc", + "r-efi", + "wasip2", + "wasm-bindgen", +] + [[package]] name = "gimli" -version = "0.31.1" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" +checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7" [[package]] name = "glob" -version = "0.3.1" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" +checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" [[package]] name = "handlebars" @@ -1144,9 +1088,9 @@ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" [[package]] name = "hashbrown" -version = "0.15.2" +version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" [[package]] name = "heck" @@ -1159,15 +1103,15 @@ dependencies = [ [[package]] name = "heck" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "hermit-abi" -version = "0.3.9" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" +checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" [[package]] name = "hmac" @@ -1178,31 +1122,22 @@ dependencies = [ "digest 0.10.7", ] -[[package]] -name = "home" -version = "0.5.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" -dependencies = [ - "windows-sys 0.52.0", -] - [[package]] name = "hostname" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9c7c7c8ac16c798734b8a24560c1362120597c40d5e1459f09498f8f6c8f2ba" +checksum = "a56f203cd1c76362b69e3863fd987520ac36cf70a8c92627449b2f64a8cf7d65" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", - "windows", + "windows-link 0.1.3", ] [[package]] name = "http" -version = "1.2.0" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea" +checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565" dependencies = [ "bytes", "fnv", @@ -1230,12 +1165,12 @@ dependencies = [ [[package]] name = "http-body-util" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" +checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" dependencies = [ "bytes", - "futures-util", + "futures-core", "http", "http-body", "pin-project-lite", @@ -1243,30 +1178,26 @@ dependencies = [ [[package]] name = "httparse" -version = "1.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946" - -[[package]] -name = "humantime" -version = "2.1.0" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" [[package]] name = "hyper" -version = "1.5.2" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "256fb8d4bd6413123cc9d91832d78325c48ff41677595be797d90f42969beae0" +checksum = "2ab2d4f250c3d7b1c9fcdff1cece94ea4e2dfbec68614f7b87cb205f24ca9d11" dependencies = [ + "atomic-waker", "bytes", "futures-channel", - "futures-util", + "futures-core", "http", "http-body", "httparse", "itoa", "pin-project-lite", + "pin-utils", "smallvec", "tokio", "want", @@ -1274,11 +1205,10 @@ dependencies = [ [[package]] name = "hyper-rustls" -version = "0.27.4" +version = "0.27.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6884a48c6826ec44f524c7456b163cebe9e55a18d7b5e307cb4f100371cc767" +checksum = "e3c93eb611681b207e1fe55d5a71ecf91572ec8a6705cdb6857f7d8d5242cf58" dependencies = [ - "futures-util", "http", "hyper", "hyper-util", @@ -1292,16 +1222,21 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.10" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4" +checksum = "52e9a2a24dc5c6821e71a7030e1e14b7b632acac55c40e9d2e082c621261bb56" dependencies = [ + "base64 0.22.1", "bytes", "futures-channel", + "futures-core", "futures-util", "http", "http-body", "hyper", + "ipnet", + "libc", + "percent-encoding", "pin-project-lite", "socket2", "tokio", @@ -1311,14 +1246,15 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.61" +version = "0.1.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220" +checksum = "33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", + "log", "wasm-bindgen", "windows-core", ] @@ -1334,21 +1270,22 @@ dependencies = [ [[package]] name = "icu_collections" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526" +checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43" dependencies = [ "displaydoc", + "potential_utf", "yoke", "zerofrom", "zerovec", ] [[package]] -name = "icu_locid" -version = "1.5.0" +name = "icu_locale_core" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637" +checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6" dependencies = [ "displaydoc", "litemap", @@ -1357,99 +1294,61 @@ dependencies = [ "zerovec", ] -[[package]] -name = "icu_locid_transform" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e" -dependencies = [ - "displaydoc", - "icu_locid", - "icu_locid_transform_data", - "icu_provider", - "tinystr", - "zerovec", -] - -[[package]] -name = "icu_locid_transform_data" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e" - [[package]] name = "icu_normalizer" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f" +checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599" dependencies = [ - "displaydoc", "icu_collections", "icu_normalizer_data", "icu_properties", "icu_provider", "smallvec", - "utf16_iter", - "utf8_iter", - "write16", "zerovec", ] [[package]] name = "icu_normalizer_data" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516" +checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a" [[package]] name = "icu_properties" -version = "1.5.1" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5" +checksum = "e93fcd3157766c0c8da2f8cff6ce651a31f0810eaa1c51ec363ef790bbb5fb99" dependencies = [ - "displaydoc", "icu_collections", - "icu_locid_transform", + "icu_locale_core", "icu_properties_data", "icu_provider", - "tinystr", + "zerotrie", "zerovec", ] [[package]] name = "icu_properties_data" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569" +checksum = "02845b3647bb045f1100ecd6480ff52f34c35f82d9880e029d329c21d1054899" [[package]] name = "icu_provider" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9" +checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614" dependencies = [ "displaydoc", - "icu_locid", - "icu_provider_macros", - "stable_deref_trait", - "tinystr", + "icu_locale_core", "writeable", "yoke", "zerofrom", + "zerotrie", "zerovec", ] -[[package]] -name = "icu_provider_macros" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.90", -] - [[package]] name = "ident_case" version = "1.0.1" @@ -1458,9 +1357,9 @@ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" [[package]] name = "idna" -version = "1.0.3" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" dependencies = [ "idna_adapter", "smallvec", @@ -1469,9 +1368,9 @@ dependencies = [ [[package]] name = "idna_adapter" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71" +checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" dependencies = [ "icu_normalizer", "icu_properties", @@ -1484,7 +1383,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af1955a75fa080c677d3972822ec4bad316169ab1cfc6c257a942c2265dbe5fe" dependencies = [ "bitmaps", - "rand_core", + "rand_core 0.6.4", "rand_xoshiro", "sized-chunks", "typenum", @@ -1499,17 +1398,17 @@ checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" dependencies = [ "autocfg", "hashbrown 0.12.3", - "rustc-rayon 0.5.0", + "rustc-rayon 0.5.1", ] [[package]] name = "indexmap" -version = "2.7.0" +version = "2.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f" +checksum = "0ad4bb2b565bca0645f4d68c5c9af97fba094e9791da685bf83cb5f3ce74acf2" dependencies = [ "equivalent", - "hashbrown 0.15.2", + "hashbrown 0.16.1", ] [[package]] @@ -1549,14 +1448,14 @@ version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", ] [[package]] name = "intl-memoizer" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe22e020fce238ae18a6d5d8c502ee76a52a6e880d99477657e6acc30ec57bda" +checksum = "310da2e345f5eb861e7a07ee182262e94975051db9e4223e909ba90f392f163f" dependencies = [ "type-map", "unic-langid", @@ -1573,21 +1472,34 @@ dependencies = [ [[package]] name = "inventory" -version = "0.3.15" +version = "0.3.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f958d3d68f4167080a18141e10381e7634563984a537f2a49a30fd8e53ac5767" +checksum = "bc61209c082fbeb19919bee74b176221b27223e27b65d781eb91af24eb1fb46e" +dependencies = [ + "rustversion", +] [[package]] name = "ipnet" -version = "2.10.1" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" + +[[package]] +name = "iri-string" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708" +checksum = "4f867b9d1d896b67beb18518eda36fdb77a32ea590de864f1325b294a6d14397" +dependencies = [ + "memchr", + "serde", +] [[package]] name = "is_terminal_polyfill" -version = "1.70.1" +version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" +checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" [[package]] name = "itertools" @@ -1598,18 +1510,52 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" +dependencies = [ + "either", +] + [[package]] name = "itoa" -version = "1.0.14" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" + +[[package]] +name = "jiff" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49cce2b81f2098e7e3efc35bc2e0a6b7abec9d34128283d7a26fa8f32a6dbb35" +dependencies = [ + "jiff-static", + "log", + "portable-atomic", + "portable-atomic-util", + "serde_core", +] + +[[package]] +name = "jiff-static" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" +checksum = "980af8b43c3ad5d8d349ace167ec8170839f753a42d233ba19e08afe1850fa69" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] [[package]] name = "jobserver" -version = "0.1.32" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" +checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" dependencies = [ + "getrandom 0.3.4", "libc", ] @@ -1621,9 +1567,9 @@ checksum = "8b23360e99b8717f20aaa4598f5a6541efbe30630039fbc7706cf954a87947ae" [[package]] name = "js-sys" -version = "0.3.76" +version = "0.3.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6717b6b5b077764fb5966237269cb3c64edddde4b14ce42647430a78ced9e7b7" +checksum = "b011eec8cc36da2aab2d5cff675ec18454fad408585853910a202391cf9f8e65" dependencies = [ "once_cell", "wasm-bindgen", @@ -1679,85 +1625,33 @@ dependencies = [ "hmac", "serde", "serde_json", - "sha2 0.10.8", -] - -[[package]] -name = "kcl-language-server" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" -dependencies = [ - "anyhow", - "chrono", - "clap", - "compiler_base_session", - "crossbeam-channel", - "dashmap", - "env_logger", - "im-rc", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-parser", - "kclvm-query", - "kclvm-sema", - "kclvm-span", - "kclvm-tools", - "kclvm-utils", - "kclvm-version", - "log", - "lsp-server", - "lsp-types", - "maplit", - "notify 7.0.0", - "parking_lot 0.12.3", - "proc_macro_crate", - "ra_ap_vfs", - "ra_ap_vfs-notify", - "ropey", - "rustc-hash 1.1.0", - "rustc_lexer", - "salsa", - "serde", - "serde_json", - "threadpool", - "tokio", - "tokio-test", + "sha2 0.10.9", ] [[package]] -name = "kcl-lib-dotnet" -version = "0.11.2" -dependencies = [ - "kclvm-api", -] - -[[package]] -name = "kclvm-api" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-api" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "futures", - "indexmap 1.9.3", "jsonrpc-stdio-server", + "kcl-ast", + "kcl-ast-pretty", + "kcl-config", + "kcl-driver", + "kcl-error", "kcl-language-server", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-loader", - "kclvm-parser", - "kclvm-query", - "kclvm-runner", - "kclvm-runtime", - "kclvm-sema", - "kclvm-tools", - "kclvm-utils", - "kclvm-version", + "kcl-loader", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-runner", + "kcl-runtime", + "kcl-sema", + "kcl-tools", + "kcl-utils", + "kcl-version", "maplit", "once_cell", "prost", @@ -1765,25 +1659,24 @@ dependencies = [ "prost-types", "prost-wkt", "prost-wkt-build", - "prost-wkt-types", "protoc-bin-vendored", "serde", "serde_json", - "serde_yaml", + "serde_yaml_ng", "tempfile", "tokio", ] [[package]] -name = "kclvm-ast" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-ast" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "compiler_base_span", - "kclvm-error", - "kclvm-span", - "kclvm-utils", + "kcl-error", + "kcl-span", + "kcl-utils", "serde", "serde_json", "thread_local", @@ -1791,80 +1684,58 @@ dependencies = [ ] [[package]] -name = "kclvm-ast-pretty" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-ast-pretty" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "compiler_base_macros", "compiler_base_session", "fancy-regex", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-error", + "kcl-ast", + "kcl-error", + "kcl-primitives", "pretty_assertions", ] [[package]] -name = "kclvm-compiler" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" -dependencies = [ - "ahash", - "bit-set", - "bitflags 1.3.2", - "fancy-regex", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-error", - "kclvm-runtime", - "kclvm-sema", - "once_cell", - "phf", - "time 0.2.27", - "unicode_names2", -] - -[[package]] -name = "kclvm-config" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-config" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ - "ahash", "anyhow", "chrono", "dirs", "glob", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-utils", - "kclvm-version", + "kcl-ast", + "kcl-utils", + "kcl-version", "md-5 0.8.0", "pathdiff", "regex", "ron", "serde", "serde_json", - "serde_yaml", + "serde_yaml_ng", "toml", "url", ] [[package]] -name = "kclvm-driver" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-driver" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "flate2", - "indexmap 2.7.0", - "kclvm-ast", - "kclvm-config", - "kclvm-parser", - "kclvm-runtime", - "kclvm-utils", - "oci-distribution", + "kcl-ast", + "kcl-config", + "kcl-parser", + "kcl-primitives", + "kcl-runtime", + "kcl-utils", + "oci-client", "once_cell", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "serde", "serde_json", "tar", @@ -1873,9 +1744,9 @@ dependencies = [ ] [[package]] -name = "kclvm-error" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-error" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "annotate-snippets", "anyhow", @@ -1883,63 +1754,115 @@ dependencies = [ "compiler_base_macros", "compiler_base_session", "compiler_base_span", - "indexmap 1.9.3", - "kclvm-runtime", - "kclvm-span", - "kclvm-utils", + "kcl-primitives", + "kcl-runtime", + "kcl-span", + "kcl-utils", "serde", "serde_json", "termize", - "thiserror 1.0.69", + "thiserror 2.0.17", "tracing", ] [[package]] -name = "kclvm-evaluator" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-evaluator" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "generational-arena", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-error", - "kclvm-runtime", - "kclvm-sema", + "kcl-ast", + "kcl-error", + "kcl-primitives", + "kcl-runtime", + "kcl-sema", "scopeguard", ] [[package]] -name = "kclvm-lexer" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-language-server" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" +dependencies = [ + "anyhow", + "chrono", + "clap", + "compiler_base_session", + "crossbeam-channel", + "dashmap", + "env_logger", + "im-rc", + "kcl-ast", + "kcl-config", + "kcl-driver", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-sema", + "kcl-span", + "kcl-tools", + "kcl-utils", + "kcl-version", + "log", + "lsp-server", + "lsp-types", + "maplit", + "notify 7.0.0", + "parking_lot 0.12.5", + "proc_macro_crate", + "ra_ap_vfs", + "ra_ap_vfs-notify", + "ropey", + "rustc-hash 1.1.0", + "rustc_lexer", + "salsa", + "serde", + "serde_json", + "threadpool", + "tokio", + "tokio-test", +] + +[[package]] +name = "kcl-lexer" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ - "kclvm-error", + "kcl-error", "rustc_lexer", "unic-emoji-char", ] [[package]] -name = "kclvm-loader" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-lib-dotnet" +version = "0.12.0" +dependencies = [ + "kcl-api", +] + +[[package]] +name = "kcl-loader" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-error", - "kclvm-parser", - "kclvm-query", - "kclvm-sema", - "kclvm-utils", + "kcl-ast", + "kcl-ast-pretty", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-sema", + "kcl-utils", "maplit", ] [[package]] -name = "kclvm-macros" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-macros" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "proc-macro2", "quote", @@ -1948,9 +1871,9 @@ dependencies = [ ] [[package]] -name = "kclvm-parser" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-parser" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "bstr", @@ -1961,17 +1884,17 @@ dependencies = [ "either", "enquote", "glob", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-config", - "kclvm-error", - "kclvm-lexer", - "kclvm-sema", - "kclvm-span", - "kclvm-utils", + "kcl-ast", + "kcl-config", + "kcl-error", + "kcl-lexer", + "kcl-primitives", + "kcl-sema", + "kcl-span", + "kcl-utils", "num-bigint", - "parking_lot 0.12.3", - "petgraph", + "parking_lot 0.12.5", + "petgraph 0.6.5", "regex", "rustc_lexer", "serde", @@ -1982,30 +1905,39 @@ dependencies = [ ] [[package]] -name = "kclvm-query" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-primitives" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" +dependencies = [ + "indexmap 2.12.1", + "rustc-hash 2.1.1", +] + +[[package]] +name = "kcl-query" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "compiler_base_macros", "compiler_base_session", "fancy-regex", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-error", - "kclvm-parser", - "kclvm-sema", - "kclvm-utils", + "kcl-ast", + "kcl-ast-pretty", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-sema", + "kcl-utils", "maplit", "serde", "serde_json", ] [[package]] -name = "kclvm-runner" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-runner" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "cc", @@ -2013,19 +1945,18 @@ dependencies = [ "compiler_base_macros", "compiler_base_session", "glob", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-compiler", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-evaluator", - "kclvm-parser", - "kclvm-query", - "kclvm-runtime", - "kclvm-sema", - "kclvm-utils", - "kclvm-version", + "kcl-ast", + "kcl-config", + "kcl-driver", + "kcl-error", + "kcl-evaluator", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-runtime", + "kcl-sema", + "kcl-utils", + "kcl-version", "libc", "libloading", "once_cell", @@ -2038,11 +1969,10 @@ dependencies = [ ] [[package]] -name = "kclvm-runtime" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-runtime" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ - "ahash", "anyhow", "base32", "base64 0.13.1", @@ -2051,15 +1981,15 @@ dependencies = [ "chrono", "cidr", "dns-lookup", - "encoding", + "encoding_rs", "fancy-regex", "generational-arena", "glob", "handlebars", "hostname", - "indexmap 1.9.3", - "itertools", - "kclvm_runtime_internal_macros", + "itertools 0.10.5", + "kcl-primitives", + "kcl_runtime_internal_macros", "lazy_static", "libc", "md5", @@ -2068,7 +1998,7 @@ dependencies = [ "regex", "serde", "serde_json", - "serde_yaml", + "serde_yaml_ng", "sha1", "sha2 0.9.9", "unic-ucd-bidi", @@ -2079,11 +2009,10 @@ dependencies = [ ] [[package]] -name = "kclvm-sema" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-sema" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ - "ahash", "anyhow", "bit-set", "bitflags 1.3.2", @@ -2093,17 +2022,17 @@ dependencies = [ "compiler_base_span", "fancy-regex", "generational-arena", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-error", - "kclvm-runtime", - "kclvm-span", - "kclvm-utils", + "kcl-ast", + "kcl-ast-pretty", + "kcl-error", + "kcl-primitives", + "kcl-runtime", + "kcl-span", + "kcl-utils", "lazy_static", "once_cell", - "parking_lot 0.12.3", - "petgraph", + "parking_lot 0.12.5", + "petgraph 0.6.5", "phf", "regex", "serde", @@ -2113,51 +2042,51 @@ dependencies = [ ] [[package]] -name = "kclvm-span" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-span" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "compiler_base_span", - "kclvm-macros", + "kcl-macros", "parking_lot 0.11.2", "scoped-tls", ] [[package]] -name = "kclvm-tools" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-tools" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "compiler_base_session", "compiler_base_span", "fancy-regex", - "indexmap 1.9.3", "json-spanned-value", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-parser", - "kclvm-query", - "kclvm-runner", - "kclvm-runtime", - "kclvm-sema", - "kclvm-utils", + "kcl-ast", + "kcl-ast-pretty", + "kcl-config", + "kcl-driver", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-runner", + "kcl-runtime", + "kcl-sema", + "kcl-utils", "located_yaml", "once_cell", "regex", "rustc_lexer", "serde_json", - "serde_yaml", + "serde_yaml_ng", "walkdir", ] [[package]] -name = "kclvm-utils" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-utils" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "fslock", @@ -2165,17 +2094,17 @@ dependencies = [ ] [[package]] -name = "kclvm-version" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-version" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "vergen-gitcl", ] [[package]] -name = "kclvm_runtime_internal_macros" -version = "0.5.0" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl_runtime_internal_macros" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "proc-macro2", "quote", @@ -2184,9 +2113,9 @@ dependencies = [ [[package]] name = "kqueue" -version = "1.0.8" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7447f1ca1b7b563588a205fe93dea8df60fd981423a768bc1c0ded35ed147d0c" +checksum = "eac30106d7dce88daf4a3fcb4879ea939476d5074a9b7ddd0fb97fa4bed5596a" dependencies = [ "kqueue-sys", "libc", @@ -2210,9 +2139,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.168" +version = "0.2.177" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aaeb2981e0606ca11d79718f8bb01164f1d6ed75080182d3abf017e6d244b6d" +checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976" [[package]] name = "libloading" @@ -2220,19 +2149,19 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "winapi", ] [[package]] name = "libredox" -version = "0.1.3" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" +checksum = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", "libc", - "redox_syscall 0.5.8", + "redox_syscall 0.5.18", ] [[package]] @@ -2246,15 +2175,15 @@ dependencies = [ [[package]] name = "linux-raw-sys" -version = "0.4.14" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" +checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" [[package]] name = "litemap" -version = "0.7.4" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104" +checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77" [[package]] name = "located_yaml" @@ -2269,29 +2198,35 @@ dependencies = [ [[package]] name = "lock_api" -version = "0.4.12" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" dependencies = [ - "autocfg", "scopeguard", ] [[package]] name = "log" -version = "0.4.22" +version = "0.4.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432" + +[[package]] +name = "lru-slab" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" +checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154" [[package]] name = "lsp-server" -version = "0.7.7" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "550446e84739dcaf6d48a4a093973850669e13e8a34d8f8d64851041be267cd9" +checksum = "7d6ada348dbc2703cbe7637b2dda05cff84d3da2819c24abcb305dd613e0ba2e" dependencies = [ "crossbeam-channel", "log", "serde", + "serde_derive", "serde_json", ] @@ -2337,7 +2272,7 @@ version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "digest 0.10.7", ] @@ -2349,9 +2284,9 @@ checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771" [[package]] name = "memchr" -version = "2.7.4" +version = "2.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" +checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" [[package]] name = "memmap2" @@ -2362,19 +2297,14 @@ dependencies = [ "libc", ] -[[package]] -name = "mime" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" - [[package]] name = "miniz_oxide" -version = "0.8.2" +version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ffbe83022cedc1d264172192511ae958937694cd57ce297164951b8b3568394" +checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" dependencies = [ "adler2", + "simd-adler32", ] [[package]] @@ -2391,14 +2321,14 @@ dependencies = [ [[package]] name = "mio" -version = "1.0.3" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" +checksum = "69d83b0086dc8ecf3ce9ae2874b2d1290252e2a30720bea58a5c6639b0092873" dependencies = [ "libc", "log", "wasi", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -2412,9 +2342,9 @@ dependencies = [ [[package]] name = "multimap" -version = "0.8.3" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" +checksum = "1d87ecb2933e8aeadb3e3a02b828fed80a7528047e68b4f424523a0981a3a084" [[package]] name = "notify" @@ -2440,14 +2370,14 @@ version = "7.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c533b4c39709f9ba5005d8002048266593c1cfaf3c5f0739d5b8ab0c6c504009" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", "filetime", "fsevent-sys", "inotify 0.10.2", "kqueue", "libc", "log", - "mio 1.0.3", + "mio 1.1.0", "notify-types", "walkdir", "windows-sys 0.52.0", @@ -2498,9 +2428,9 @@ dependencies = [ [[package]] name = "num_cpus" -version = "1.16.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" +checksum = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b" dependencies = [ "hermit-abi", "libc", @@ -2517,18 +2447,18 @@ dependencies = [ [[package]] name = "object" -version = "0.36.5" +version = "0.37.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aedf0a2d09c573ed1d8d85b30c119153926a2b36dce0ab28322c09a117a4683e" +checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe" dependencies = [ "memchr", ] [[package]] -name = "oci-distribution" +name = "oci-client" version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b95a2c51531af0cb93761f66094044ca6ea879320bccd35ab747ff3fcab3f422" +checksum = "560faeb9396a5bae11b141bed3cec8bf9242e5bfec17d0f48feeeab0f879ca35" dependencies = [ "bytes", "chrono", @@ -2542,7 +2472,7 @@ dependencies = [ "reqwest", "serde", "serde_json", - "sha2 0.10.8", + "sha2 0.10.9", "thiserror 1.0.69", "tokio", "tracing", @@ -2562,15 +2492,21 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.20.2" +version = "1.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" + +[[package]] +name = "once_cell_polyfill" +version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" +checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" [[package]] name = "oorandom" -version = "11.1.4" +version = "11.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9" +checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e" [[package]] name = "opaque-debug" @@ -2603,12 +2539,12 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.3" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" dependencies = [ "lock_api", - "parking_lot_core 0.9.10", + "parking_lot_core 0.9.12", ] [[package]] @@ -2617,7 +2553,7 @@ version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "instant", "libc", "redox_syscall 0.2.16", @@ -2627,15 +2563,15 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.10" +version = "0.9.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", - "redox_syscall 0.5.8", + "redox_syscall 0.5.18", "smallvec", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] @@ -2646,26 +2582,25 @@ checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3" [[package]] name = "percent-encoding" -version = "2.3.1" +version = "2.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" [[package]] name = "pest" -version = "2.7.15" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b7cafe60d6cf8e62e1b9b2ea516a089c008945bb5a275416789e7db0bc199dc" +checksum = "cbcfd20a6d4eeba40179f05735784ad32bdaef05ce8e8af05f180d45bb3e7e22" dependencies = [ "memchr", - "thiserror 2.0.8", "ucd-trie", ] [[package]] name = "pest_derive" -version = "2.7.15" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "816518421cfc6887a0d62bf441b6ffb4536fcc926395a69e1a85852d4363f57e" +checksum = "51f72981ade67b1ca6adc26ec221be9f463f2b5839c7508998daa17c23d94d7f" dependencies = [ "pest", "pest_generator", @@ -2673,26 +2608,25 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.15" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d1396fd3a870fc7838768d171b4616d5c91f6cc25e377b673d714567d99377b" +checksum = "dee9efd8cdb50d719a80088b76f81aec7c41ed6d522ee750178f83883d271625" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "pest_meta" -version = "2.7.15" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1e58089ea25d717bfd31fb534e4f3afcc2cc569c70de3e239778991ea3b7dea" +checksum = "bf1d70880e76bdc13ba52eafa6239ce793d85c8e43896507e43dd8984ff05b82" dependencies = [ - "once_cell", "pest", - "sha2 0.10.8", + "sha2 0.10.9", ] [[package]] @@ -2701,8 +2635,18 @@ version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" dependencies = [ - "fixedbitset", - "indexmap 2.7.0", + "fixedbitset 0.4.2", + "indexmap 2.12.1", +] + +[[package]] +name = "petgraph" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3672b37090dbd86368a4145bc067582552b29c27377cad4e0a306c97f9bd7772" +dependencies = [ + "fixedbitset 0.5.7", + "indexmap 2.12.1", ] [[package]] @@ -2723,7 +2667,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d43f3220d96e0080cc9ea234978ccd80d904eafb17be31bb0f76daaea6493082" dependencies = [ "phf_shared", - "rand", + "rand 0.8.5", ] [[package]] @@ -2751,9 +2695,9 @@ dependencies = [ [[package]] name = "pin-project-lite" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff" +checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" [[package]] name = "pin-utils" @@ -2761,6 +2705,30 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "portable-atomic" +version = "1.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483" + +[[package]] +name = "portable-atomic-util" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507" +dependencies = [ + "portable-atomic", +] + +[[package]] +name = "potential_utf" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77" +dependencies = [ + "zerovec", +] + [[package]] name = "powerfmt" version = "0.2.0" @@ -2769,9 +2737,9 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "ppv-lite86" -version = "0.2.20" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" dependencies = [ "zerocopy", ] @@ -2788,12 +2756,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.1.25" +version = "0.2.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86" +checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" dependencies = [ "proc-macro2", - "syn 1.0.109", + "syn 2.0.111", ] [[package]] @@ -2804,9 +2772,9 @@ checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" [[package]] name = "proc-macro2" -version = "1.0.92" +version = "1.0.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" +checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" dependencies = [ "unicode-ident", ] @@ -2814,18 +2782,18 @@ dependencies = [ [[package]] name = "proc_macro_crate" version = "0.1.0" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "prost" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" +checksum = "7231bd9b3d3d33c86b58adbac74b5ec0ad9f496b19d22801d773636feaa95f3d" dependencies = [ "bytes", "prost-derive", @@ -2833,52 +2801,51 @@ dependencies = [ [[package]] name = "prost-build" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" +checksum = "ac6c3320f9abac597dcbc668774ef006702672474aad53c6d596b62e487b40b1" dependencies = [ - "bytes", - "heck 0.4.1", - "itertools", - "lazy_static", + "heck 0.5.0", + "itertools 0.14.0", "log", "multimap", - "petgraph", + "once_cell", + "petgraph 0.7.1", "prettyplease", "prost", "prost-types", "regex", - "syn 1.0.109", + "syn 2.0.111", "tempfile", - "which", ] [[package]] name = "prost-derive" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4" +checksum = "9120690fafc389a67ba3803df527d0ec9cbbc9cc45e4cc20b332996dfb672425" dependencies = [ "anyhow", - "itertools", + "itertools 0.14.0", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.111", ] [[package]] name = "prost-types" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" +checksum = "b9b4db3d6da204ed77bb26ba83b6122a73aeb2e87e25fbf7ad2e84c4ccbf8f72" dependencies = [ "prost", ] [[package]] name = "prost-wkt" -version = "0.4.1" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "655944d0ce015e71b3ec21279437e6a09e58433e50c7b0677901f3d5235e74f5" dependencies = [ "chrono", "inventory", @@ -2891,41 +2858,26 @@ dependencies = [ [[package]] name = "prost-wkt-build" -version = "0.4.1" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f869f1443fee474b785e935d92e1007f57443e485f51668ed41943fc01a321a2" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "prost", "prost-build", "prost-types", "quote", ] -[[package]] -name = "prost-wkt-types" -version = "0.4.1" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" -dependencies = [ - "chrono", - "prost", - "prost-build", - "prost-types", - "prost-wkt", - "prost-wkt-build", - "protoc-bin-vendored", - "regex", - "serde", - "serde_derive", - "serde_json", -] - [[package]] name = "protoc-bin-vendored" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1c381df33c98266b5f08186583660090a4ffa0889e76c7e9a5e175f645a67fa" dependencies = [ "protoc-bin-vendored-linux-aarch_64", "protoc-bin-vendored-linux-ppcle_64", + "protoc-bin-vendored-linux-s390_64", "protoc-bin-vendored-linux-x86_32", "protoc-bin-vendored-linux-x86_64", "protoc-bin-vendored-macos-aarch_64", @@ -2936,71 +2888,87 @@ dependencies = [ [[package]] name = "protoc-bin-vendored-linux-aarch_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c350df4d49b5b9e3ca79f7e646fde2377b199e13cfa87320308397e1f37e1a4c" [[package]] name = "protoc-bin-vendored-linux-ppcle_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a55a63e6c7244f19b5c6393f025017eb5d793fd5467823a099740a7a4222440c" + +[[package]] +name = "protoc-bin-vendored-linux-s390_64" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1dba5565db4288e935d5330a07c264a4ee8e4a5b4a4e6f4e83fad824cc32f3b0" [[package]] name = "protoc-bin-vendored-linux-x86_32" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8854774b24ee28b7868cd71dccaae8e02a2365e67a4a87a6cd11ee6cdbdf9cf5" [[package]] name = "protoc-bin-vendored-linux-x86_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b38b07546580df720fa464ce124c4b03630a6fb83e05c336fea2a241df7e5d78" [[package]] name = "protoc-bin-vendored-macos-aarch_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89278a9926ce312e51f1d999fee8825d324d603213344a9a706daa009f1d8092" [[package]] name = "protoc-bin-vendored-macos-x86_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81745feda7ccfb9471d7a4de888f0652e806d5795b61480605d4943176299756" [[package]] name = "protoc-bin-vendored-win32" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95067976aca6421a523e491fce939a3e65249bac4b977adee0ee9771568e8aa3" [[package]] name = "quinn" -version = "0.11.6" +version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62e96808277ec6f97351a2380e6c25114bc9e67037775464979f3037c92d05ef" +checksum = "b9e20a958963c291dc322d98411f541009df2ced7b5a4f2bd52337638cfccf20" dependencies = [ "bytes", + "cfg_aliases", "pin-project-lite", "quinn-proto", "quinn-udp", - "rustc-hash 2.1.0", + "rustc-hash 2.1.1", "rustls", "socket2", - "thiserror 2.0.8", + "thiserror 2.0.17", "tokio", "tracing", + "web-time", ] [[package]] name = "quinn-proto" -version = "0.11.9" +version = "0.11.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2fe5ef3495d7d2e377ff17b1a8ce2ee2ec2a18cde8b6ad6619d65d0701c135d" +checksum = "f1906b49b0c3bc04b5fe5d86a77925ae6524a19b816ae38ce1e426255f1d8a31" dependencies = [ "bytes", - "getrandom", - "rand", + "getrandom 0.3.4", + "lru-slab", + "rand 0.9.2", "ring", - "rustc-hash 2.1.0", + "rustc-hash 2.1.1", "rustls", "rustls-pki-types", "slab", - "thiserror 2.0.8", + "thiserror 2.0.17", "tinyvec", "tracing", "web-time", @@ -3008,27 +2976,33 @@ dependencies = [ [[package]] name = "quinn-udp" -version = "0.5.9" +version = "0.5.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c40286217b4ba3a71d644d752e6a0b71f13f1b6a2c5311acfcbe0c2418ed904" +checksum = "addec6a0dcad8a8d96a771f815f0eaf55f9d1805756410b39f5fa81332574cbd" dependencies = [ "cfg_aliases", "libc", "once_cell", "socket2", "tracing", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] [[package]] name = "quote" -version = "1.0.37" +version = "1.0.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" +checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" dependencies = [ "proc-macro2", ] +[[package]] +name = "r-efi" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + [[package]] name = "ra_ap_paths" version = "0.0.149" @@ -3082,8 +3056,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", - "rand_chacha", - "rand_core", + "rand_chacha 0.3.1", + "rand_core 0.6.4", +] + +[[package]] +name = "rand" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" +dependencies = [ + "rand_chacha 0.9.0", + "rand_core 0.9.3", ] [[package]] @@ -3093,7 +3077,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", - "rand_core", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_chacha" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" +dependencies = [ + "ppv-lite86", + "rand_core 0.9.3", ] [[package]] @@ -3102,7 +3096,16 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom", + "getrandom 0.2.16", +] + +[[package]] +name = "rand_core" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" +dependencies = [ + "getrandom 0.3.4", ] [[package]] @@ -3111,7 +3114,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa" dependencies = [ - "rand_core", + "rand_core 0.6.4", ] [[package]] @@ -3125,11 +3128,11 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.8" +version = "0.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", ] [[package]] @@ -3138,20 +3141,20 @@ version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ - "getrandom", + "getrandom 0.2.16", "libredox", "thiserror 1.0.69", ] [[package]] name = "regex" -version = "1.11.1" +version = "1.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" +checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.9", + "regex-automata 0.4.13", "regex-syntax", ] @@ -3163,9 +3166,9 @@ checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" [[package]] name = "regex-automata" -version = "0.4.9" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" +checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" dependencies = [ "aho-corasick", "memchr", @@ -3174,15 +3177,15 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.8.5" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" +checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" [[package]] name = "reqwest" -version = "0.12.9" +version = "0.12.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a77c62af46e79de0a562e1a9849205ffcb7fc1238876e9bd743357570e04046f" +checksum = "9d0946410b9f7b082a427e4ef5c8ff541a88b357bc6c637c40db3a68ac70a36f" dependencies = [ "base64 0.22.1", "bytes", @@ -3194,16 +3197,12 @@ dependencies = [ "hyper", "hyper-rustls", "hyper-util", - "ipnet", "js-sys", "log", - "mime", - "once_cell", "percent-encoding", "pin-project-lite", "quinn", "rustls", - "rustls-pemfile", "rustls-pki-types", "serde", "serde_json", @@ -3211,7 +3210,9 @@ dependencies = [ "sync_wrapper", "tokio", "tokio-rustls", - "tokio-util 0.7.13", + "tokio-util 0.7.17", + "tower", + "tower-http", "tower-service", "url", "wasm-bindgen", @@ -3219,20 +3220,18 @@ dependencies = [ "wasm-streams", "web-sys", "webpki-roots", - "windows-registry", ] [[package]] name = "ring" -version = "0.17.8" +version = "0.17.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" dependencies = [ "cc", - "cfg-if 1.0.0", - "getrandom", + "cfg-if 1.0.4", + "getrandom 0.2.16", "libc", - "spin", "untrusted", "windows-sys 0.52.0", ] @@ -3260,9 +3259,9 @@ dependencies = [ [[package]] name = "rustc-demangle" -version = "0.1.24" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" +checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace" [[package]] name = "rustc-hash" @@ -3272,9 +3271,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustc-hash" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497" +checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" [[package]] name = "rustc-rayon" @@ -3289,12 +3288,12 @@ dependencies = [ [[package]] name = "rustc-rayon" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb81aadc8837ca6ecebe0fe1353f15df83b3b3cc2cf7a8afd571bc22aa121710" +checksum = "2cd9fb077db982d7ceb42a90471e5a69a990b58f71e06f0d8340bb2cf35eb751" dependencies = [ "either", - "rustc-rayon-core 0.5.0", + "rustc-rayon-core 0.5.1", ] [[package]] @@ -3311,14 +3310,12 @@ dependencies = [ [[package]] name = "rustc-rayon-core" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67668daaf00e359c126f6dcb40d652d89b458a008c8afa727a42a2d20fca0b7f" +checksum = "2f42932dcd3bcbe484b38a3ccf79b7906fac41c02d408b5b1bac26da3416efdb" dependencies = [ - "crossbeam-channel", "crossbeam-deque", "crossbeam-utils", - "num_cpus", ] [[package]] @@ -3335,7 +3332,7 @@ dependencies = [ "jobserver", "libc", "memmap2", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "rustc-hash 1.1.0", "rustc-rayon 0.3.2", "rustc-rayon-core 0.3.2", @@ -3375,47 +3372,38 @@ dependencies = [ "rustc_data_structures", "scoped-tls", "sha-1", - "sha2 0.10.8", + "sha2 0.10.9", "tracing", "unicode-width", ] -[[package]] -name = "rustc_version" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" -dependencies = [ - "semver 0.9.0", -] - [[package]] name = "rustc_version" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ - "semver 1.0.24", + "semver", ] [[package]] name = "rustix" -version = "0.38.42" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93dc38ecbab2eb790ff964bb77fa94faf256fd3e73285fd7ba0903b76bedb85" +checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", "errno", "libc", "linux-raw-sys", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "rustls" -version = "0.23.20" +version = "0.23.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5065c3f250cbd332cd894be57c40fa52387247659b14a2d6041d121547903b1b" +checksum = "533f54bc6a7d4f647e46ad909549eda97bf5afc1585190ef692b4286b198bd8f" dependencies = [ "once_cell", "ring", @@ -3425,29 +3413,21 @@ dependencies = [ "zeroize", ] -[[package]] -name = "rustls-pemfile" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" -dependencies = [ - "rustls-pki-types", -] - [[package]] name = "rustls-pki-types" -version = "1.10.1" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2bf47e6ff922db3825eb750c4e2ff784c6ff8fb9e13046ef6a1d1c5401b0b37" +checksum = "94182ad936a0c91c324cd46c6511b9510ed16af436d7b5bab34beab0afd55f7a" dependencies = [ "web-time", + "zeroize", ] [[package]] name = "rustls-webpki" -version = "0.102.8" +version = "0.103.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" +checksum = "2ffdfa2f5286e2247234e03f680868ac2815974dc39e00ea15adc445d0aafe52" dependencies = [ "ring", "rustls-pki-types", @@ -3456,15 +3436,15 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.18" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248" +checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" [[package]] name = "ryu" -version = "1.0.18" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" +checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" [[package]] name = "salsa" @@ -3522,76 +3502,73 @@ version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e14e4d63b804dc0c7ec4a1e52bcb63f02c7ac94476755aa579edac21e01f915d" dependencies = [ - "self_cell 1.1.0", + "self_cell 1.2.1", ] [[package]] name = "self_cell" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2fdfc24bc566f839a2da4c4295b82db7d25a24253867d5c64355abb5799bdbe" - -[[package]] -name = "semver" -version = "0.9.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" -dependencies = [ - "semver-parser", -] +checksum = "16c2f82143577edb4921b71ede051dac62ca3c16084e918bf7b40c96ae10eb33" [[package]] name = "semver" -version = "1.0.24" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cb6eb87a131f756572d7fb904f6e7b68633f09cca868c5df1c4b8d1a694bbba" +checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" [[package]] -name = "semver-parser" -version = "0.7.0" +name = "serde" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" +dependencies = [ + "serde_core", + "serde_derive", +] [[package]] -name = "serde" -version = "1.0.216" +name = "serde_core" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b9781016e935a97e8beecf0c933758c97a5520d32930e460142b4cd80c6338e" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.216" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46f859dbbf73865c6627ed570e78961cd3ac92407a2d117204c49232485da55e" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "serde_json" -version = "1.0.115" +version = "1.0.145" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12dc5c46daa8e9fdf4f5e71b6cf9a53f2487da0e86e55808e2d35539666497dd" +checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c" dependencies = [ "itoa", + "memchr", "ryu", "serde", + "serde_core", ] [[package]] name = "serde_repr" -version = "0.1.19" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" +checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -3607,11 +3584,12 @@ dependencies = [ ] [[package]] -name = "serde_yaml" -version = "0.9.34+deprecated" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "serde_yaml_ng" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b4db627b98b36d4203a7b458cf3573730f2bb591b28871d916dfa9efabfd41f" dependencies = [ - "indexmap 2.7.0", + "indexmap 2.12.1", "itoa", "ryu", "serde", @@ -3624,7 +3602,7 @@ version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "cpufeatures", "digest 0.10.7", ] @@ -3651,7 +3629,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" dependencies = [ "block-buffer 0.9.0", - "cfg-if 1.0.0", + "cfg-if 1.0.4", "cpufeatures", "digest 0.9.0", "opaque-debug 0.3.1", @@ -3659,11 +3637,11 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.8" +version = "0.10.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "cpufeatures", "digest 0.10.7", ] @@ -3676,16 +3654,22 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook-registry" -version = "1.4.2" +version = "1.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" +checksum = "7664a098b8e616bdfcc2dc0e9ac44eb231eedf41db4e9fe95d8d32ec728dedad" dependencies = [ "libc", ] [[package]] -name = "siphasher" -version = "0.3.11" +name = "simd-adler32" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" + +[[package]] +name = "siphasher" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" @@ -3701,98 +3685,31 @@ dependencies = [ [[package]] name = "slab" -version = "0.4.9" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" -dependencies = [ - "autocfg", -] +checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" [[package]] name = "smallvec" -version = "1.13.2" +version = "1.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" [[package]] name = "socket2" -version = "0.5.8" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8" +checksum = "17129e116933cf371d018bb80ae557e889637989d8638274fb25622827b03881" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.60.2", ] -[[package]] -name = "spin" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" - [[package]] name = "stable_deref_trait" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" - -[[package]] -name = "standback" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e113fb6f3de07a243d434a56ec6f186dfd51cb08448239fe7bcae73f87ff28ff" -dependencies = [ - "version_check", -] - -[[package]] -name = "stdweb" -version = "0.4.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d022496b16281348b52d0e30ae99e01a73d737b2f45d38fed4edf79f9325a1d5" -dependencies = [ - "discard", - "rustc_version 0.2.3", - "stdweb-derive", - "stdweb-internal-macros", - "stdweb-internal-runtime", - "wasm-bindgen", -] - -[[package]] -name = "stdweb-derive" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c87a60a40fccc84bef0652345bbbbbe20a605bf5d0ce81719fc476f5c03b50ef" -dependencies = [ - "proc-macro2", - "quote", - "serde", - "serde_derive", - "syn 1.0.109", -] - -[[package]] -name = "stdweb-internal-macros" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58fa5ff6ad0d98d1ffa8cb115892b6e69d67799f6763e162a1c9db421dc22e11" -dependencies = [ - "base-x", - "proc-macro2", - "quote", - "serde", - "serde_derive", - "serde_json", - "sha1", - "syn 1.0.109", -] - -[[package]] -name = "stdweb-internal-runtime" -version = "0.1.5" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213701ba3370744dcd1a12960caa4843b3d68b4d1c0a5d575e0d65b2ee9d16c0" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" [[package]] name = "str_indices" @@ -3840,9 +3757,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.90" +version = "2.0.111" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31" +checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87" dependencies = [ "proc-macro2", "quote", @@ -3872,20 +3789,20 @@ dependencies = [ [[package]] name = "synstructure" -version = "0.13.1" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" +checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "tar" -version = "0.4.43" +version = "0.4.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c65998313f8e17d0d553d28f91a0df93e4dbbbf770279c7bc21ca0f09ea1a1f6" +checksum = "1d863878d212c87a19c1a610eb53bb01fe12951c0501cf5a0d65f724914a667a" dependencies = [ "filetime", "libc", @@ -3894,15 +3811,15 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.14.0" +version = "3.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c" +checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" dependencies = [ - "cfg-if 1.0.0", "fastrand", + "getrandom 0.3.4", "once_cell", "rustix", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -3935,11 +3852,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.8" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08f5383f3e0071702bf93ab5ee99b52d26936be9dedd9413067cbdcddcb6141a" +checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" dependencies = [ - "thiserror-impl 2.0.8", + "thiserror-impl 2.0.17", ] [[package]] @@ -3950,28 +3867,27 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "thiserror-impl" -version = "2.0.8" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2f357fcec90b3caef6623a099691be676d033b40a058ac95d2a6ade6fa0c943" +checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "thread_local" -version = "1.1.8" +version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" +checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185" dependencies = [ - "cfg-if 1.0.0", - "once_cell", + "cfg-if 1.0.4", ] [[package]] @@ -3985,24 +3901,9 @@ dependencies = [ [[package]] name = "time" -version = "0.2.27" +version = "0.3.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4752a97f8eebd6854ff91f1c1824cd6160626ac4bd44287f7f4ea2035a02a242" -dependencies = [ - "const_fn", - "libc", - "standback", - "stdweb", - "time-macros 0.1.1", - "version_check", - "winapi", -] - -[[package]] -name = "time" -version = "0.3.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21" +checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d" dependencies = [ "deranged", "itoa", @@ -4012,63 +3913,41 @@ dependencies = [ "powerfmt", "serde", "time-core", - "time-macros 0.2.19", + "time-macros", ] [[package]] name = "time-core" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" - -[[package]] -name = "time-macros" -version = "0.1.1" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "957e9c6e26f12cb6d0dd7fc776bb67a706312e7299aed74c8dd5b17ebb27e2f1" -dependencies = [ - "proc-macro-hack", - "time-macros-impl", -] +checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b" [[package]] name = "time-macros" -version = "0.2.19" +version = "0.2.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2834e6017e3e5e4b9834939793b282bc03b37a3336245fa820e35e233e2a85de" +checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3" dependencies = [ "num-conv", "time-core", ] -[[package]] -name = "time-macros-impl" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd3c141a1b43194f3f56a1411225df8646c55781d5f26db825b3d98507eb482f" -dependencies = [ - "proc-macro-hack", - "proc-macro2", - "quote", - "standback", - "syn 1.0.109", -] - [[package]] name = "tinystr" -version = "0.7.6" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f" +checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869" dependencies = [ "displaydoc", + "serde_core", "zerovec", ] [[package]] name = "tinyvec" -version = "1.8.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938" +checksum = "bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa" dependencies = [ "tinyvec_macros", ] @@ -4081,38 +3960,37 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.42.0" +version = "1.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cec9b21b0450273377fc97bd4c33a8acffc8c996c987a7c5b319a0083707551" +checksum = "ff360e02eab121e0bc37a2d3b4d4dc622e6eda3a8e5253d5435ecf5bd4c68408" dependencies = [ - "backtrace", "bytes", "libc", - "mio 1.0.3", - "parking_lot 0.12.3", + "mio 1.1.0", + "parking_lot 0.12.5", "pin-project-lite", "signal-hook-registry", "socket2", "tokio-macros", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] name = "tokio-macros" -version = "2.4.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" +checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "tokio-rustls" -version = "0.26.1" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f6d0975eaace0cf0fcadee4e4aaa5da15b5c079146f2cffb67c113be122bf37" +checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61" dependencies = [ "rustls", "tokio", @@ -4158,9 +4036,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.13" +version = "0.7.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7fcaa8d55a2bdd6b83ace262b016eca0d79ee02818c5c1bcdf0305114081078" +checksum = "2efa149fe76073d6e8fd97ef4f4eca7b67f599660115591483572e406e165594" dependencies = [ "bytes", "futures-core", @@ -4178,6 +4056,45 @@ dependencies = [ "serde", ] +[[package]] +name = "tower" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper", + "tokio", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-http" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adc82fd73de2a9722ac5da747f12383d2bfdb93591ee6c58486e0097890f05f2" +dependencies = [ + "bitflags 2.10.0", + "bytes", + "futures-util", + "http", + "http-body", + "iri-string", + "pin-project-lite", + "tower", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-layer" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" + [[package]] name = "tower-service" version = "0.3.3" @@ -4198,20 +4115,20 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.28" +version = "0.1.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" +checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "tracing-core" -version = "0.1.33" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" +checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678" dependencies = [ "once_cell", ] @@ -4224,30 +4141,30 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "type-map" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "deb68604048ff8fa93347f02441e4487594adc20bb8a084f9e564d2b827a0a9f" +checksum = "cb30dbbd9036155e74adad6812e9898d03ec374946234fbcebd5dfc7b9187b90" dependencies = [ - "rustc-hash 1.1.0", + "rustc-hash 2.1.1", ] [[package]] name = "typeid" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e13db2e0ccd5e14a544e8a246ba2312cd25223f616442d7f2cb0e3db614236e" +checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c" [[package]] name = "typenum" -version = "1.17.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" +checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" [[package]] name = "typetag" -version = "0.2.18" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52ba3b6e86ffe0054b2c44f2d86407388b933b16cb0a70eea3929420db1d9bbe" +checksum = "be2212c8a9b9bcfca32024de14998494cf9a5dfa59ea1b829de98bac374b86bf" dependencies = [ "erased-serde", "inventory", @@ -4258,13 +4175,13 @@ dependencies = [ [[package]] name = "typetag-impl" -version = "0.2.18" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70b20a22c42c8f1cd23ce5e34f165d4d37038f5b663ad20fb6adbdf029172483" +checksum = "27a7a9b72ba121f6f1f6c3632b85604cac41aedb5ddc70accbebb6cac83de846" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -4307,9 +4224,9 @@ dependencies = [ [[package]] name = "unic-langid" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23dd9d1e72a73b25e07123a80776aae3e7b0ec461ef94f9151eed6ec88005a44" +checksum = "a28ba52c9b05311f4f6e62d5d9d46f094bd6e84cb8df7b3ef952748d752a7d05" dependencies = [ "unic-langid-impl", "unic-langid-macros", @@ -4317,18 +4234,18 @@ dependencies = [ [[package]] name = "unic-langid-impl" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a5422c1f65949306c99240b81de9f3f15929f5a8bfe05bb44b034cc8bf593e5" +checksum = "dce1bf08044d4b7a94028c93786f8566047edc11110595914de93362559bc658" dependencies = [ "tinystr", ] [[package]] name = "unic-langid-macros" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0da1cd2c042d3c7569a1008806b02039e7a4a2bdf8f8e96bd3c792434a0e275e" +checksum = "d5957eb82e346d7add14182a3315a7e298f04e1ba4baac36f7f0dbfedba5fc25" dependencies = [ "proc-macro-hack", "tinystr", @@ -4338,13 +4255,13 @@ dependencies = [ [[package]] name = "unic-langid-macros-impl" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ed7f4237ba393424195053097c1516bd4590dc82b84f2f97c5c69e12704555b" +checksum = "a1249a628de3ad34b821ecb1001355bca3940bcb2f88558f1a8bd82e977f75b5" dependencies = [ "proc-macro-hack", "quote", - "syn 2.0.90", + "syn 2.0.111", "unic-langid-impl", ] @@ -4382,27 +4299,27 @@ dependencies = [ [[package]] name = "unicase" -version = "2.8.0" +version = "2.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e51b68083f157f853b6379db119d1c1be0e6e4dec98101079dec41f6f5cf6df" +checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539" [[package]] name = "unicode-casing" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "623f59e6af2a98bdafeb93fa277ac8e1e40440973001ca15cf4ae1541cd16d56" +checksum = "061dbb8cc7f108532b6087a0065eff575e892a4bcb503dc57323a197457cc202" [[package]] name = "unicode-ident" -version = "1.0.14" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" +checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" [[package]] name = "unicode-normalization" -version = "0.1.24" +version = "0.1.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956" +checksum = "5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8" dependencies = [ "tinyvec", ] @@ -4445,9 +4362,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.4" +version = "2.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" +checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b" dependencies = [ "form_urlencoded", "idna", @@ -4455,12 +4372,6 @@ dependencies = [ "serde", ] -[[package]] -name = "utf16_iter" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246" - [[package]] name = "utf8_iter" version = "1.0.4" @@ -4475,46 +4386,48 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.11.0" +version = "1.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a" +checksum = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2" dependencies = [ - "getrandom", + "getrandom 0.3.4", + "js-sys", "serde", + "wasm-bindgen", ] [[package]] name = "vergen" -version = "9.0.2" +version = "9.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31f25fc8f8f05df455c7941e87f093ad22522a9ff33d7a027774815acf6f0639" +checksum = "6b2bf58be11fc9414104c6d3a2e464163db5ef74b12296bda593cac37b6e4777" dependencies = [ "anyhow", "derive_builder", - "rustc_version 0.4.1", + "rustc_version", "rustversion", "vergen-lib", ] [[package]] name = "vergen-gitcl" -version = "1.0.2" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0227006d09f98ab00ea69e9a5e055e676a813cfbed4232986176c86a6080b997" +checksum = "b9dfc1de6eb2e08a4ddf152f1b179529638bedc0ea95e6d667c014506377aefe" dependencies = [ "anyhow", "derive_builder", "rustversion", - "time 0.3.37", + "time", "vergen", "vergen-lib", ] [[package]] name = "vergen-lib" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0c767e6751c09fc85cde58722cf2f1007e80e4c8d5a4321fc90d83dc54ca147" +checksum = "9b07e6010c0f3e59fcb164e0163834597da68d1f864e2b8ca49f74de01e9c166" dependencies = [ "anyhow", "derive_builder", @@ -4548,42 +4461,39 @@ dependencies = [ [[package]] name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" +version = "0.11.1+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" [[package]] -name = "wasm-bindgen" -version = "0.2.99" +name = "wasip2" +version = "1.0.1+wasi-0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a474f6281d1d70c17ae7aa6a613c87fce69a127e2624002df63dcb39d6cf6396" +checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" dependencies = [ - "cfg-if 1.0.0", - "once_cell", - "wasm-bindgen-macro", + "wit-bindgen", ] [[package]] -name = "wasm-bindgen-backend" -version = "0.2.99" +name = "wasm-bindgen" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f89bb38646b4f81674e8f5c3fb81b562be1fd936d84320f3264486418519c79" +checksum = "da95793dfc411fbbd93f5be7715b0578ec61fe87cb1a42b12eb625caa5c5ea60" dependencies = [ - "bumpalo", - "log", - "proc-macro2", - "quote", - "syn 2.0.90", + "cfg-if 1.0.4", + "once_cell", + "rustversion", + "wasm-bindgen-macro", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.49" +version = "0.4.55" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38176d9b44ea84e9184eff0bc34cc167ed044f816accfe5922e54d84cf48eca2" +checksum = "551f88106c6d5e7ccc7cd9a16f312dd3b5d36ea8b4954304657d5dfba115d4a0" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "js-sys", "once_cell", "wasm-bindgen", @@ -4592,9 +4502,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.99" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cc6181fd9a7492eef6fef1f33961e3695e4579b9872a6f7c83aee556666d4fe" +checksum = "04264334509e04a7bf8690f2384ef5265f05143a4bff3889ab7a3269adab59c2" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -4602,22 +4512,25 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.99" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30d7a95b763d3c45903ed6c81f156801839e5ee968bb07e534c44df0fcd330c2" +checksum = "420bc339d9f322e562942d52e115d57e950d12d88983a14c79b86859ee6c7ebc" dependencies = [ + "bumpalo", "proc-macro2", "quote", - "syn 2.0.90", - "wasm-bindgen-backend", + "syn 2.0.111", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.99" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "943aab3fdaaa029a6e0271b35ea10b72b943135afe9bffca82384098ad0e06a6" +checksum = "76f218a38c84bcb33c25ec7059b07847d465ce0e0a76b995e134a45adcb6af76" +dependencies = [ + "unicode-ident", +] [[package]] name = "wasm-streams" @@ -4634,9 +4547,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.76" +version = "0.3.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04dd7223427d52553d3702c004d3b2fe07c148165faa56313cb00211e31c12bc" +checksum = "3a1f95c0d03a47f4ae1f7a64643a6bb97465d9b740f0fa8f90ea33915c99a9a1" dependencies = [ "js-sys", "wasm-bindgen", @@ -4654,25 +4567,13 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.26.7" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d642ff16b7e79272ae451b7322067cdc17cadf68c23264be9d94a32319efe7e" +checksum = "b2878ef029c47c6e8cf779119f20fcf52bde7ad42a731b2a304bc221df17571e" dependencies = [ "rustls-pki-types", ] -[[package]] -name = "which" -version = "4.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" -dependencies = [ - "either", - "home", - "once_cell", - "rustix", -] - [[package]] name = "winapi" version = "0.3.9" @@ -4691,11 +4592,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.9" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -4705,52 +4606,68 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] -name = "windows" -version = "0.52.0" +name = "windows-core" +version = "0.62.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" dependencies = [ - "windows-core", - "windows-targets 0.52.6", + "windows-implement", + "windows-interface", + "windows-link 0.2.1", + "windows-result", + "windows-strings", ] [[package]] -name = "windows-core" -version = "0.52.0" +name = "windows-implement" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" dependencies = [ - "windows-targets 0.52.6", + "proc-macro2", + "quote", + "syn 2.0.111", ] [[package]] -name = "windows-registry" -version = "0.2.0" +name = "windows-interface" +version = "0.59.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" dependencies = [ - "windows-result", - "windows-strings", - "windows-targets 0.52.6", + "proc-macro2", + "quote", + "syn 2.0.111", ] +[[package]] +name = "windows-link" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + [[package]] name = "windows-result" -version = "0.2.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" dependencies = [ - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] name = "windows-strings" -version = "0.1.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" dependencies = [ - "windows-result", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] @@ -4797,11 +4714,20 @@ dependencies = [ [[package]] name = "windows-sys" -version = "0.59.0" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" dependencies = [ - "windows-targets 0.52.6", + "windows-targets 0.53.5", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link 0.2.1", ] [[package]] @@ -4843,13 +4769,30 @@ dependencies = [ "windows_aarch64_gnullvm 0.52.6", "windows_aarch64_msvc 0.52.6", "windows_i686_gnu 0.52.6", - "windows_i686_gnullvm", + "windows_i686_gnullvm 0.52.6", "windows_i686_msvc 0.52.6", "windows_x86_64_gnu 0.52.6", "windows_x86_64_gnullvm 0.52.6", "windows_x86_64_msvc 0.52.6", ] +[[package]] +name = "windows-targets" +version = "0.53.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" +dependencies = [ + "windows-link 0.2.1", + "windows_aarch64_gnullvm 0.53.1", + "windows_aarch64_msvc 0.53.1", + "windows_i686_gnu 0.53.1", + "windows_i686_gnullvm 0.53.1", + "windows_i686_msvc 0.53.1", + "windows_x86_64_gnu 0.53.1", + "windows_x86_64_gnullvm 0.53.1", + "windows_x86_64_msvc 0.53.1", +] + [[package]] name = "windows_aarch64_gnullvm" version = "0.42.2" @@ -4868,6 +4811,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" + [[package]] name = "windows_aarch64_msvc" version = "0.42.2" @@ -4886,6 +4835,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" +[[package]] +name = "windows_aarch64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" + [[package]] name = "windows_i686_gnu" version = "0.42.2" @@ -4904,12 +4859,24 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" +[[package]] +name = "windows_i686_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" + [[package]] name = "windows_i686_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" +[[package]] +name = "windows_i686_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" + [[package]] name = "windows_i686_msvc" version = "0.42.2" @@ -4928,6 +4895,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" +[[package]] +name = "windows_i686_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" + [[package]] name = "windows_x86_64_gnu" version = "0.42.2" @@ -4946,6 +4919,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" +[[package]] +name = "windows_x86_64_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" + [[package]] name = "windows_x86_64_gnullvm" version = "0.42.2" @@ -4964,6 +4943,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" + [[package]] name = "windows_x86_64_msvc" version = "0.42.2" @@ -4983,25 +4968,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] -name = "write16" -version = "1.0.0" +name = "windows_x86_64_msvc" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936" +checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" + +[[package]] +name = "wit-bindgen" +version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59" [[package]] name = "writeable" -version = "0.5.5" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51" +checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9" [[package]] name = "xattr" -version = "1.3.1" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f" +checksum = "32e45ad4206f6d2479085147f02bc2ef834ac85886624a23575ae137c8aa8156" dependencies = [ "libc", - "linux-raw-sys", "rustix", ] @@ -5031,11 +5021,10 @@ dependencies = [ [[package]] name = "yoke" -version = "0.7.5" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40" +checksum = "72d6e5c6afb84d73944e5cedb052c4680d5657337201555f9f2a16b7406d4954" dependencies = [ - "serde", "stable_deref_trait", "yoke-derive", "zerofrom", @@ -5043,70 +5032,81 @@ dependencies = [ [[package]] name = "yoke-derive" -version = "0.7.5" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" +checksum = "b659052874eb698efe5b9e8cf382204678a0086ebf46982b79d6ca3182927e5d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", - "synstructure 0.13.1", + "syn 2.0.111", + "synstructure 0.13.2", ] [[package]] name = "zerocopy" -version = "0.7.35" +version = "0.8.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" +checksum = "43fa6694ed34d6e57407afbccdeecfa268c470a7d2a5b0cf49ce9fcc345afb90" dependencies = [ - "byteorder", "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.35" +version = "0.8.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" +checksum = "c640b22cd9817fae95be82f0d2f90b11f7605f6c319d16705c459b27ac2cbc26" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "zerofrom" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e" +checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" dependencies = [ "zerofrom-derive", ] [[package]] name = "zerofrom-derive" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808" +checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", - "synstructure 0.13.1", + "syn 2.0.111", + "synstructure 0.13.2", ] [[package]] name = "zeroize" -version = "1.8.1" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" +checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0" + +[[package]] +name = "zerotrie" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a59c17a5562d507e4b54960e8569ebee33bee890c70aa3fe7b97e85a9fd7851" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] [[package]] name = "zerovec" -version = "0.10.4" +version = "0.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079" +checksum = "6c28719294829477f525be0186d13efa9a3c602f7ec202ca9e353d310fb9a002" dependencies = [ + "serde", "yoke", "zerofrom", "zerovec-derive", @@ -5114,11 +5114,11 @@ dependencies = [ [[package]] name = "zerovec-derive" -version = "0.10.3" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" +checksum = "eadce39539ca5cb3985590102671f2567e659fca9666581ad3411d59207951f3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] diff --git a/dotnet/Cargo.toml b/dotnet/Cargo.toml index 390fa0a4..f62182c7 100644 --- a/dotnet/Cargo.toml +++ b/dotnet/Cargo.toml @@ -1,11 +1,12 @@ [package] name = "kcl-lib-dotnet" publish = false -version = "0.11.2" +version = "0.12.0" +edition = "2024" [lib] crate-type = ["cdylib"] doc = false [dependencies] -kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.11.2" } +kcl-api = { git = "https://github.com/kcl-lang/kcl", version = "0.12.0" } diff --git a/dotnet/KclLib.Tests/APITest.cs b/dotnet/KclLib.Tests/APITest.cs index c9a23281..23cbb8b5 100644 --- a/dotnet/KclLib.Tests/APITest.cs +++ b/dotnet/KclLib.Tests/APITest.cs @@ -11,7 +11,7 @@ public class APITest public void TestExecProgramAPI() { var api = new API(); - var execArgs = new ExecProgram_Args(); + var execArgs = new ExecProgramArgs(); var path = Path.Combine(parentDirectory, "test_data", "schema.k"); execArgs.KFilenameList.Add(path); var result = api.ExecProgram(execArgs); @@ -22,7 +22,7 @@ public void TestExecProgramAPI() public void TestExecProgramAPIFileNotFound() { var api = new API(); - var execArgs = new ExecProgram_Args(); + var execArgs = new ExecProgramArgs(); var path = Path.Combine(parentDirectory, "test_data", "file_not_found.k"); execArgs.KFilenameList.Add(path); try @@ -41,7 +41,7 @@ public void TestParseProgramAPI() { var path = Path.Combine(parentDirectory, "test_data", "schema.k"); // Prepare arguments for parsing the KCL program - var args = new ParseProgram_Args(); + var args = new ParseProgramArgs(); args.Paths.Add(path); // Instantiate API and call parse_program method @@ -57,7 +57,7 @@ public void TestParseFileApi() { var path = Path.Combine(parentDirectory, "test_data", "schema.k"); // Prepare arguments for parsing a single KCL file - var args = new ParseFile_Args { Path = path }; + var args = new ParseFileArgs { Path = path }; // Instantiate API and call parse_file method var result = new API().ParseFile(args); @@ -76,7 +76,7 @@ public void TestOverrideFileAPI() File.WriteAllText(testFile, File.ReadAllText(bakFile)); // Prepare arguments for overriding the KCL file - var args = new OverrideFile_Args + var args = new OverrideFileArgs { File = testFile, }; @@ -94,7 +94,7 @@ public void TestOverrideFileAPI() public void TestFormatPathAPI() { var api = new API(); - var args = new FormatPath_Args(); + var args = new FormatPathArgs(); var path = Path.Combine(parentDirectory, "test_data", "format_path", "test.k"); args.Path = path; var result = api.FormatPath(args); @@ -108,7 +108,7 @@ public void TestFormatCodeAPI() string expectedFormattedCode = "schema Person:\n" + " name: str\n" + " age: int\n\n" + " check:\n" + " 0 < age < 120\n\n"; var api = new API(); - var args = new FormatCode_Args(); + var args = new FormatCodeArgs(); args.Source = sourceCode; var result = api.FormatCode(args); Assert.AreEqual(expectedFormattedCode, result.Formatted.ToStringUtf8(), result.ToString()); @@ -118,9 +118,9 @@ public void TestFormatCodeAPI() public void TestGetSchemaTypeAPI() { var path = Path.Combine(parentDirectory, "test_data", "schema.k"); - var execArgs = new ExecProgram_Args(); + var execArgs = new ExecProgramArgs(); execArgs.KFilenameList.Add(path); - var args = new GetSchemaTypeMapping_Args(); + var args = new GetSchemaTypeMappingArgs(); args.ExecArgs = execArgs; var result = new API().GetSchemaTypeMapping(args); Assert.AreEqual("int", result.SchemaTypeMapping["app"].Properties["replicas"].Type, result.ToString()); @@ -130,7 +130,7 @@ public void TestGetSchemaTypeAPI() public void TestListOptionsAPI() { var path = Path.Combine(parentDirectory, "test_data", "option", "main.k"); - var args = new ParseProgram_Args(); + var args = new ParseProgramArgs(); args.Paths.Add(path); var result = new API().ListOptions(args); Assert.AreEqual("key1", result.Options[0].Name); @@ -142,7 +142,7 @@ public void TestListOptionsAPI() public void TestListVariablesAPI() { var api = new API(); - var args = new ListVariables_Args(); + var args = new ListVariablesArgs(); var path = Path.Combine(parentDirectory, "test_data", "schema.k"); args.Files.Add(path); var result = api.ListVariables(args); @@ -153,9 +153,9 @@ public void TestListVariablesAPI() public void TestLoadPackagesAPI() { var path = Path.Combine(parentDirectory, "test_data", "schema.k"); - var args = new LoadPackage_Args(); + var args = new LoadPackageArgs(); args.ResolveAst = true; - args.ParseArgs = new ParseProgram_Args(); + args.ParseArgs = new ParseProgramArgs(); args.ParseArgs.Paths.Add(path); var result = new API().LoadPackage(args); var firstSymbol = result.Symbols.Values.FirstOrDefault(); @@ -166,7 +166,7 @@ public void TestLoadPackagesAPI() public void TestLintPathAPI() { var path = Path.Combine(parentDirectory, "test_data", "lint_path", "test-lint.k"); - var args = new LintPath_Args(); + var args = new LintPathArgs(); args.Paths.Add(path); var result = new API().LintPath(args); bool foundWarning = result.Results.Any(warning => warning.Contains("Module 'math' imported but unused")); @@ -187,7 +187,7 @@ public void TestValidateCodeAPI() string data = "{\"name\": \"Alice\", \"age\": 10}"; // Prepare arguments for validating the code - var args = new ValidateCode_Args + var args = new ValidateCodeArgs { Code = code, Data = data, @@ -210,7 +210,7 @@ public void TestRenameAPI() var renameFilePath = Path.Combine(parentDirectory, "test_data", "rename", "main.k"); var renameBakFilePath = Path.Combine(parentDirectory, "test_data", "rename", "main.bak"); File.WriteAllText(renameFilePath, File.ReadAllText(renameBakFilePath)); - var args = new Rename_Args + var args = new RenameArgs { PackageRoot = root, SymbolPath = "a", @@ -225,7 +225,7 @@ public void TestRenameAPI() [TestMethod] public void TestRenameCodeAPI() { - var args = new RenameCode_Args + var args = new RenameCodeArgs { PackageRoot = "/mock/path", SymbolPath = "a", @@ -241,7 +241,7 @@ public void TestRenameCodeAPI() public void TestTestingAPI() { var pkg = Path.Combine(parentDirectory, "test_data", "testing"); - var args = new Test_Args(); + var args = new TestArgs(); args.PkgList.Add(pkg + "/..."); var result = new API().Test(args); @@ -253,7 +253,7 @@ public void TestLoadSettingsFilesAPI() { var workDir = Path.Combine(parentDirectory, "test_data"); var settingsFile = Path.Combine(workDir, "settings", "kcl.yaml"); - var args = new LoadSettingsFiles_Args + var args = new LoadSettingsFilesArgs { WorkDir = workDir, }; @@ -270,7 +270,7 @@ public void TestUpdateDependenciesAPI() { var manifestPath = Path.Combine(parentDirectory, "test_data", "update_dependencies"); // Prepare arguments for updating dependencies. - var args = new UpdateDependencies_Args { ManifestPath = manifestPath }; + var args = new UpdateDependenciesArgs { ManifestPath = manifestPath }; // Instantiate API and call update_dependencies method. var result = new API().UpdateDependencies(args); @@ -286,11 +286,11 @@ public void TestExecAPIWithExternalDependencies() var manifestPath = Path.Combine(parentDirectory, "test_data", "update_dependencies"); var testFile = Path.Combine(manifestPath, "main.k"); // First, update dependencies. - var updateArgs = new UpdateDependencies_Args { ManifestPath = manifestPath }; + var updateArgs = new UpdateDependenciesArgs { ManifestPath = manifestPath }; var depResult = new API().UpdateDependencies(updateArgs); // Prepare arguments for executing the program with external dependencies. - var execArgs = new ExecProgram_Args(); + var execArgs = new ExecProgramArgs(); execArgs.KFilenameList.Add(testFile); execArgs.ExternalPkgs.AddRange(depResult.ExternalPkgs); // Execute the program and assert the result. @@ -301,7 +301,7 @@ public void TestExecAPIWithExternalDependencies() [TestMethod] public void TestGetVersion() { - var result = new API().GetVersion(new GetVersion_Args()); + var result = new API().GetVersion(new GetVersionArgs()); Assert.AreEqual(true, result.VersionInfo.Contains("Version"), result.ToString()); Assert.AreEqual(true, result.VersionInfo.Contains("GitCommit"), result.ToString()); } diff --git a/dotnet/KclLib/KclLib.csproj b/dotnet/KclLib/KclLib.csproj index a9895d9b..f14d1231 100644 --- a/dotnet/KclLib/KclLib.csproj +++ b/dotnet/KclLib/KclLib.csproj @@ -11,7 +11,7 @@ KclLib KclLib - 0.11.2 + 0.12.0 true snupkg https://github.com/kcl-lang diff --git a/dotnet/KclLib/README.md b/dotnet/KclLib/README.md index 4ef6b97e..35fd631c 100644 --- a/dotnet/KclLib/README.md +++ b/dotnet/KclLib/README.md @@ -14,7 +14,7 @@ Write the code using KclLib.API; var api = new API(); -var execArgs = new ExecProgram_Args(); +var execArgs = new ExecProgramArgs(); var path = Path.Combine("test_data", "schema.k"); execArgs.KFilenameList.Add(path); var result = api.ExecProgram(execArgs); @@ -56,7 +56,7 @@ C# Code ```csharp using KclLib.API; -var execArgs = new ExecProgram_Args(); +var execArgs = new ExecProgramArgs(); var path = "schema.k" execArgs.KFilenameList.Add(path); var result = new API().ExecProgram(execArgs); @@ -89,7 +89,7 @@ C# Code using KclLib.API; var path = "schema.k" -var args = new ParseFile_Args { Path = path }; +var args = new ParseFileArgs { Path = path }; var result = new API().ParseFile(args); ``` @@ -120,7 +120,7 @@ C# Code using KclLib.API; var path = "schema.k"; -var args = new ParseProgram_Args(); +var args = new ParseProgramArgs(); args.Paths.Add(path); var result = new API().ListOptions(args); ``` @@ -152,9 +152,9 @@ C# Code using KclLib.API; var path = "schema.k"; -var args = new LoadPackage_Args(); +var args = new LoadPackageArgs(); args.ResolveAst = true; -args.ParseArgs = new ParseProgram_Args(); +args.ParseArgs = new ParseProgramArgs(); args.ParseArgs.Paths.Add(path); var result = new API().LoadPackage(args); ``` @@ -186,7 +186,7 @@ C# Code using KclLib.API; var api = new API(); -var args = new ListVariables_Args(); +var args = new ListVariablesArgs(); var path = "schema.k"; args.Files.Add(path); var result = api.ListVariables(args); @@ -218,7 +218,7 @@ C# Code using KclLib.API; var path = "options.k"; -var args = new ParseProgram_Args(); +var args = new ParseProgramArgs(); args.Paths.Add(path); var result = new API().ListOptions(args); ``` @@ -250,9 +250,9 @@ C# Code using KclLib.API; var path = "schema.k"; -var execArgs = new ExecProgram_Args(); +var execArgs = new ExecProgramArgs(); execArgs.KFilenameList.Add(path); -var args = new GetSchemaTypeMapping_Args(); +var args = new GetSchemaTypeMappingArgs(); args.ExecArgs = execArgs; var result = new API().GetSchemaTypeMapping(args); ``` @@ -282,7 +282,7 @@ C# Code ```csharp using KclLib.API; -var args = new OverrideFile_Args +var args = new OverrideFileArgs { File = "main.k", }; @@ -310,7 +310,7 @@ string sourceCode = "schema Person:\n" + " name: str\n" + " age: int\ string expectedFormattedCode = "schema Person:\n" + " name: str\n" + " age: int\n\n" + " check:\n" + " 0 < age < 120\n\n"; var api = new API(); -var args = new FormatCode_Args(); +var args = new FormatCodeArgs(); args.Source = sourceCode; var result = api.FormatCode(args); ``` @@ -342,7 +342,7 @@ C# Code using KclLib.API; var api = new API(); -var args = new FormatPath_Args(); +var args = new FormatPathArgs(); var path = "format_path.k"; args.Path = path; var result = api.FormatPath(args); @@ -372,7 +372,7 @@ C# Code using KclLib.API; var path = "lint_path.k" -var args = new LintPath_Args(); +var args = new LintPathArgs(); args.Paths.Add(path); var result = new API().LintPath(args); bool foundWarning = result.Results.Any(warning => warning.Contains("Module 'math' imported but unused")); @@ -401,7 +401,7 @@ schema Person: 0 < age < 120 "; string data = "{\"name\": \"Alice\", \"age\": 10}"; -var args = new ValidateCode_Args +var args = new ValidateCodeArgs { Code = code, Data = data, @@ -432,10 +432,10 @@ C# Code ```csharp using KclLib.API; -Rename_Args args = Rename_Args.newBuilder().setPackageRoot(".").setSymbolPath("a") +RenameArgs args = RenameArgs.newBuilder().setPackageRoot(".").setSymbolPath("a") .addFilePaths("main.k").setNewName("a2").build(); API apiInstance = new API(); -Rename_Result result = apiInstance.rename(args); +RenameResult result = apiInstance.rename(args); ```

@@ -453,7 +453,7 @@ C# Code ```csharp using KclLib.API; -var args = new RenameCode_Args +var args = new RenameCodeArgs { PackageRoot = "/mock/path", SymbolPath = "a", @@ -479,7 +479,7 @@ C# Code using KclLib.API; var pkg = Path.Combine(parentDirectory, "test_data", "testing"); -var args = new Test_Args(); +var args = new TestArgs(); args.PkgList.Add(pkg + "/..."); var result = new API().Test(args); ``` @@ -511,7 +511,7 @@ using KclLib.API; var workDir = "."; var settingsFile = "kcl.yaml"; -var args = new LoadSettingsFiles_Args +var args = new LoadSettingsFilesArgs { WorkDir = workDir, }; @@ -548,7 +548,7 @@ C# Code using KclLib.API; var manifestPath = "module"; -var args = new UpdateDependencies_Args { ManifestPath = manifestPath }; +var args = new UpdateDependenciesArgs { ManifestPath = manifestPath }; var result = new API().UpdateDependencies(args); ``` @@ -591,9 +591,9 @@ API api = new API(); var manifestPath = "module"; var testFile = Path.Combine(manifestPath, "main.k"); -var updateArgs = new UpdateDependencies_Args { ManifestPath = manifestPath }; +var updateArgs = new UpdateDependenciesArgs { ManifestPath = manifestPath }; var depResult = new API().UpdateDependencies(updateArgs); -var execArgs = new ExecProgram_Args(); +var execArgs = new ExecProgramArgs(); execArgs.KFilenameList.Add(testFile); execArgs.ExternalPkgs.AddRange(depResult.ExternalPkgs); var execResult = new API().ExecProgram(execArgs); @@ -614,7 +614,7 @@ C# Code ```csharp using KclLib.API; -var result = new API().GetVersion(new GetVersion_Args()); +var result = new API().GetVersion(new GetVersionArgs()); ```

diff --git a/dotnet/KclLib/api/API.cs b/dotnet/KclLib/api/API.cs index a5851cfd..2b77b40d 100644 --- a/dotnet/KclLib/api/API.cs +++ b/dotnet/KclLib/api/API.cs @@ -22,94 +22,94 @@ public API() } // Implementing IService methods - public ParseProgram_Result ParseProgram(ParseProgram_Args args) + public ParseProgramResult ParseProgram(ParseProgramArgs args) { - return ParseProgram_Result.Parser.ParseFrom(Call("KclvmService.ParseProgram", args.ToByteArray())); + return ParseProgramResult.Parser.ParseFrom(Call("KclService.ParseProgram", args.ToByteArray())); } - public ParseFile_Result ParseFile(ParseFile_Args args) + public ParseFileResult ParseFile(ParseFileArgs args) { - return ParseFile_Result.Parser.ParseFrom(Call("KclvmService.ParseFile", args.ToByteArray())); + return ParseFileResult.Parser.ParseFrom(Call("KclService.ParseFile", args.ToByteArray())); } - public LoadPackage_Result LoadPackage(LoadPackage_Args args) + public LoadPackageResult LoadPackage(LoadPackageArgs args) { - return LoadPackage_Result.Parser.ParseFrom(Call("KclvmService.LoadPackage", args.ToByteArray())); + return LoadPackageResult.Parser.ParseFrom(Call("KclService.LoadPackage", args.ToByteArray())); } - public ListVariables_Result ListVariables(ListVariables_Args args) + public ListVariablesResult ListVariables(ListVariablesArgs args) { - return ListVariables_Result.Parser.ParseFrom(Call("KclvmService.ListVariables", args.ToByteArray())); + return ListVariablesResult.Parser.ParseFrom(Call("KclService.ListVariables", args.ToByteArray())); } - public ListOptions_Result ListOptions(ParseProgram_Args args) + public ListOptionsResult ListOptions(ParseProgramArgs args) { - return ListOptions_Result.Parser.ParseFrom(Call("KclvmService.ListOptions", args.ToByteArray())); + return ListOptionsResult.Parser.ParseFrom(Call("KclService.ListOptions", args.ToByteArray())); } - public ExecProgram_Result ExecProgram(ExecProgram_Args args) + public ExecProgramResult ExecProgram(ExecProgramArgs args) { - return ExecProgram_Result.Parser.ParseFrom(Call("KclvmService.ExecProgram", args.ToByteArray())); + return ExecProgramResult.Parser.ParseFrom(Call("KclService.ExecProgram", args.ToByteArray())); } - public OverrideFile_Result OverrideFile(OverrideFile_Args args) + public OverrideFileResult OverrideFile(OverrideFileArgs args) { - return OverrideFile_Result.Parser.ParseFrom(Call("KclvmService.OverrideFile", args.ToByteArray())); + return OverrideFileResult.Parser.ParseFrom(Call("KclService.OverrideFile", args.ToByteArray())); } - public GetSchemaTypeMapping_Result GetSchemaTypeMapping(GetSchemaTypeMapping_Args args) + public GetSchemaTypeMappingResult GetSchemaTypeMapping(GetSchemaTypeMappingArgs args) { - return GetSchemaTypeMapping_Result.Parser.ParseFrom(Call("KclvmService.GetSchemaTypeMapping", args.ToByteArray())); + return GetSchemaTypeMappingResult.Parser.ParseFrom(Call("KclService.GetSchemaTypeMapping", args.ToByteArray())); } - public FormatCode_Result FormatCode(FormatCode_Args args) + public FormatCodeResult FormatCode(FormatCodeArgs args) { - return FormatCode_Result.Parser.ParseFrom(Call("KclvmService.FormatCode", args.ToByteArray())); + return FormatCodeResult.Parser.ParseFrom(Call("KclService.FormatCode", args.ToByteArray())); } - public FormatPath_Result FormatPath(FormatPath_Args args) + public FormatPathResult FormatPath(FormatPathArgs args) { - return FormatPath_Result.Parser.ParseFrom(Call("KclvmService.FormatPath", args.ToByteArray())); + return FormatPathResult.Parser.ParseFrom(Call("KclService.FormatPath", args.ToByteArray())); } - public LintPath_Result LintPath(LintPath_Args args) + public LintPathResult LintPath(LintPathArgs args) { - return LintPath_Result.Parser.ParseFrom(Call("KclvmService.LintPath", args.ToByteArray())); + return LintPathResult.Parser.ParseFrom(Call("KclService.LintPath", args.ToByteArray())); } - public ValidateCode_Result ValidateCode(ValidateCode_Args args) + public ValidateCodeResult ValidateCode(ValidateCodeArgs args) { - return ValidateCode_Result.Parser.ParseFrom(Call("KclvmService.ValidateCode", args.ToByteArray())); + return ValidateCodeResult.Parser.ParseFrom(Call("KclService.ValidateCode", args.ToByteArray())); } - public LoadSettingsFiles_Result LoadSettingsFiles(LoadSettingsFiles_Args args) + public LoadSettingsFilesResult LoadSettingsFiles(LoadSettingsFilesArgs args) { - return LoadSettingsFiles_Result.Parser.ParseFrom(Call("KclvmService.LoadSettingsFiles", args.ToByteArray())); + return LoadSettingsFilesResult.Parser.ParseFrom(Call("KclService.LoadSettingsFiles", args.ToByteArray())); } - public Rename_Result Rename(Rename_Args args) + public RenameResult Rename(RenameArgs args) { - return Rename_Result.Parser.ParseFrom(Call("KclvmService.Rename", args.ToByteArray())); + return RenameResult.Parser.ParseFrom(Call("KclService.Rename", args.ToByteArray())); } - public RenameCode_Result RenameCode(RenameCode_Args args) + public RenameCodeResult RenameCode(RenameCodeArgs args) { - return RenameCode_Result.Parser.ParseFrom(Call("KclvmService.RenameCode", args.ToByteArray())); + return RenameCodeResult.Parser.ParseFrom(Call("KclService.RenameCode", args.ToByteArray())); } - public Test_Result Test(Test_Args args) + public TestResult Test(TestArgs args) { - return Test_Result.Parser.ParseFrom(Call("KclvmService.Test", args.ToByteArray())); + return TestResult.Parser.ParseFrom(Call("KclService.Test", args.ToByteArray())); } - public UpdateDependencies_Result UpdateDependencies(UpdateDependencies_Args args) + public UpdateDependenciesResult UpdateDependencies(UpdateDependenciesArgs args) { - return UpdateDependencies_Result.Parser.ParseFrom(Call("KclvmService.UpdateDependencies", args.ToByteArray())); + return UpdateDependenciesResult.Parser.ParseFrom(Call("KclService.UpdateDependencies", args.ToByteArray())); } - public GetVersion_Result GetVersion(GetVersion_Args args) + public GetVersionResult GetVersion(GetVersionArgs args) { - return GetVersion_Result.Parser.ParseFrom(Call("KclvmService.GetVersion", args.ToByteArray())); + return GetVersionResult.Parser.ParseFrom(Call("KclService.GetVersion", args.ToByteArray())); } private byte[] Call(string name, byte[] args) diff --git a/dotnet/KclLib/api/IService.cs b/dotnet/KclLib/api/IService.cs index a67bbf21..f50fc2fd 100644 --- a/dotnet/KclLib/api/IService.cs +++ b/dotnet/KclLib/api/IService.cs @@ -10,124 +10,124 @@ public interface IService /// /// Arguments containing the file to parse. /// The result of parsing the file. - ParseFile_Result ParseFile(ParseFile_Args args); + ParseFileResult ParseFile(ParseFileArgs args); /// /// Parses a KCL program and returns the Abstract Syntax Tree (AST) in JSON format. /// /// Arguments specifying the program's entry points. /// The result of parsing the program. - ParseProgram_Result ParseProgram(ParseProgram_Args args); + ParseProgramResult ParseProgram(ParseProgramArgs args); /// /// Loads a KCL package and retrieves AST, symbol, type, and definition information. /// /// Arguments for loading the package. /// The loaded package information. - LoadPackage_Result LoadPackage(LoadPackage_Args args); + LoadPackageResult LoadPackage(LoadPackageArgs args); /// /// Executes a KCL file with provided arguments. /// /// Execution arguments including the file to execute. /// The result of the execution. - ExecProgram_Result ExecProgram(ExecProgram_Args args); + ExecProgramResult ExecProgram(ExecProgramArgs args); /// /// Overrides specified elements in a KCL file according to given arguments. /// /// Arguments detailing the overrides. /// The result of the file override operation. - OverrideFile_Result OverrideFile(OverrideFile_Args args); + OverrideFileResult OverrideFile(OverrideFileArgs args); /// /// Lists all variables declared in a KCL file. /// /// Arguments specifying the file to analyze. /// A result containing listed variables. - ListVariables_Result ListVariables(ListVariables_Args args); + ListVariablesResult ListVariables(ListVariablesArgs args); /// /// Lists all options defined in a KCL program. /// /// Arguments for parsing the program. /// The result containing listed options. - ListOptions_Result ListOptions(ParseProgram_Args args); + ListOptionsResult ListOptions(ParseProgramArgs args); /// /// Retrieves the full schema type mapping for a KCL program. /// /// Arguments for schema type mapping retrieval. /// The schema type mapping result. - GetSchemaTypeMapping_Result GetSchemaTypeMapping(GetSchemaTypeMapping_Args args); + GetSchemaTypeMappingResult GetSchemaTypeMapping(GetSchemaTypeMappingArgs args); /// /// Formats source code according to KCL style guidelines. /// /// Arguments specifying the code to format. /// The result of the code formatting operation. - FormatCode_Result FormatCode(FormatCode_Args args); + FormatCodeResult FormatCode(FormatCodeArgs args); /// /// Formats KCL files or directories to conform to style guidelines. /// /// Arguments specifying files or directories to format. /// The result of the formatting operation. - FormatPath_Result FormatPath(FormatPath_Args args); + FormatPathResult FormatPath(FormatPathArgs args); /// /// Runs linting checks on KCL files and reports errors and warnings. /// /// Arguments defining which files to lint. /// The linting result. - LintPath_Result LintPath(LintPath_Args args); + LintPathResult LintPath(LintPathArgs args); /// /// Validates a data string against a schema defined in a KCL code string. /// /// Validation arguments including code and data. /// The validation result. - ValidateCode_Result ValidateCode(ValidateCode_Args args); + ValidateCodeResult ValidateCode(ValidateCodeArgs args); /// /// Builds configuration from settings files. /// /// Arguments for loading settings files. /// The loaded settings configuration. - LoadSettingsFiles_Result LoadSettingsFiles(LoadSettingsFiles_Args args); + LoadSettingsFilesResult LoadSettingsFiles(LoadSettingsFilesArgs args); /// /// Renames symbols across files within a KCL package. /// /// Arguments specifying renaming details. /// The result of the renaming operation. - Rename_Result Rename(Rename_Args args); + RenameResult Rename(RenameArgs args); /// /// Renames symbols in source code without modifying files directly. /// /// Arguments for symbol renaming in code. /// The result with renamed code. - RenameCode_Result RenameCode(RenameCode_Args args); + RenameCodeResult RenameCode(RenameCodeArgs args); /// /// Executes tests on KCL packages using specified test arguments. /// /// Arguments for running tests. /// The test execution result. - Test_Result Test(Test_Args args); + TestResult Test(TestArgs args); /// /// Updates dependencies for a KCL project based on defined specifications. /// /// Arguments for dependency updating. /// The result of the dependency update process. - UpdateDependencies_Result UpdateDependencies(UpdateDependencies_Args args); + UpdateDependenciesResult UpdateDependencies(UpdateDependenciesArgs args); /// /// Retrieves version information about the KCL service. /// /// Arguments for version retrieval. /// The version information result. - GetVersion_Result GetVersion(GetVersion_Args args); + GetVersionResult GetVersion(GetVersionArgs args); } diff --git a/dotnet/KclLib/api/Spec.cs b/dotnet/KclLib/api/Spec.cs index fdeb912a..7b582eaf 100644 --- a/dotnet/KclLib/api/Spec.cs +++ b/dotnet/KclLib/api/Spec.cs @@ -2,7 +2,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: spec.proto // -#pragma warning disable 1591, 0612, 3021 +#pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code using pb = global::Google.Protobuf; @@ -29,212 +29,216 @@ static SpecReflection() { "CgRuYW1lGAEgASgJEg0KBXZhbHVlGAIgASgJIkwKBUVycm9yEg0KBWxldmVs", "GAEgASgJEgwKBGNvZGUYAiABKAkSJgoIbWVzc2FnZXMYAyADKAsyFC5jb20u", "a2NsLmFwaS5NZXNzYWdlIjoKB01lc3NhZ2USCwoDbXNnGAEgASgJEiIKA3Bv", - "cxgCIAEoCzIVLmNvbS5rY2wuYXBpLlBvc2l0aW9uIhoKCVBpbmdfQXJncxIN", - "CgV2YWx1ZRgBIAEoCSIcCgtQaW5nX1Jlc3VsdBINCgV2YWx1ZRgBIAEoCSIR", - "Cg9HZXRWZXJzaW9uX0FyZ3MiXQoRR2V0VmVyc2lvbl9SZXN1bHQSDwoHdmVy", - "c2lvbhgBIAEoCRIQCghjaGVja3N1bRgCIAEoCRIPCgdnaXRfc2hhGAMgASgJ", - "EhQKDHZlcnNpb25faW5mbxgEIAEoCSIRCg9MaXN0TWV0aG9kX0FyZ3MiLQoR", - "TGlzdE1ldGhvZF9SZXN1bHQSGAoQbWV0aG9kX25hbWVfbGlzdBgBIAMoCSJf", - "Cg5QYXJzZUZpbGVfQXJncxIMCgRwYXRoGAEgASgJEg4KBnNvdXJjZRgCIAEo", - "CRIvCg1leHRlcm5hbF9wa2dzGAMgAygLMhguY29tLmtjbC5hcGkuRXh0ZXJu", - "YWxQa2ciVgoQUGFyc2VGaWxlX1Jlc3VsdBIQCghhc3RfanNvbhgBIAEoCRIM", - "CgRkZXBzGAIgAygJEiIKBmVycm9ycxgDIAMoCzISLmNvbS5rY2wuYXBpLkVy", - "cm9yImQKEVBhcnNlUHJvZ3JhbV9BcmdzEg0KBXBhdGhzGAEgAygJEg8KB3Nv", - "dXJjZXMYAiADKAkSLwoNZXh0ZXJuYWxfcGtncxgDIAMoCzIYLmNvbS5rY2wu", - "YXBpLkV4dGVybmFsUGtnIloKE1BhcnNlUHJvZ3JhbV9SZXN1bHQSEAoIYXN0", - "X2pzb24YASABKAkSDQoFcGF0aHMYAiADKAkSIgoGZXJyb3JzGAMgAygLMhIu", - "Y29tLmtjbC5hcGkuRXJyb3IiiQEKEExvYWRQYWNrYWdlX0FyZ3MSMgoKcGFy", - "c2VfYXJncxgBIAEoCzIeLmNvbS5rY2wuYXBpLlBhcnNlUHJvZ3JhbV9Bcmdz", - "EhMKC3Jlc29sdmVfYXN0GAIgASgIEhQKDGxvYWRfYnVpbHRpbhgDIAEoCBIW", - "Cg53aXRoX2FzdF9pbmRleBgEIAEoCCL3BwoSTG9hZFBhY2thZ2VfUmVzdWx0", - "Eg8KB3Byb2dyYW0YASABKAkSDQoFcGF0aHMYAiADKAkSKAoMcGFyc2VfZXJy", - "b3JzGAMgAygLMhIuY29tLmtjbC5hcGkuRXJyb3ISJwoLdHlwZV9lcnJvcnMY", - "BCADKAsyEi5jb20ua2NsLmFwaS5FcnJvchI7CgZzY29wZXMYBSADKAsyKy5j", - "b20ua2NsLmFwaS5Mb2FkUGFja2FnZV9SZXN1bHQuU2NvcGVzRW50cnkSPQoH", - "c3ltYm9scxgGIAMoCzIsLmNvbS5rY2wuYXBpLkxvYWRQYWNrYWdlX1Jlc3Vs", - "dC5TeW1ib2xzRW50cnkSSwoPbm9kZV9zeW1ib2xfbWFwGAcgAygLMjIuY29t", - "LmtjbC5hcGkuTG9hZFBhY2thZ2VfUmVzdWx0Lk5vZGVTeW1ib2xNYXBFbnRy", - "eRJLCg9zeW1ib2xfbm9kZV9tYXAYCCADKAsyMi5jb20ua2NsLmFwaS5Mb2Fk", - "UGFja2FnZV9SZXN1bHQuU3ltYm9sTm9kZU1hcEVudHJ5ElwKGGZ1bGx5X3F1", - "YWxpZmllZF9uYW1lX21hcBgJIAMoCzI6LmNvbS5rY2wuYXBpLkxvYWRQYWNr", - "YWdlX1Jlc3VsdC5GdWxseVF1YWxpZmllZE5hbWVNYXBFbnRyeRJHCg1wa2df", - "c2NvcGVfbWFwGAogAygLMjAuY29tLmtjbC5hcGkuTG9hZFBhY2thZ2VfUmVz", - "dWx0LlBrZ1Njb3BlTWFwRW50cnkaQQoLU2NvcGVzRW50cnkSCwoDa2V5GAEg", - "ASgJEiEKBXZhbHVlGAIgASgLMhIuY29tLmtjbC5hcGkuU2NvcGU6AjgBGkMK", - "DFN5bWJvbHNFbnRyeRILCgNrZXkYASABKAkSIgoFdmFsdWUYAiABKAsyEy5j", - "b20ua2NsLmFwaS5TeW1ib2w6AjgBGk4KEk5vZGVTeW1ib2xNYXBFbnRyeRIL", - "CgNrZXkYASABKAkSJwoFdmFsdWUYAiABKAsyGC5jb20ua2NsLmFwaS5TeW1i", - "b2xJbmRleDoCOAEaNAoSU3ltYm9sTm9kZU1hcEVudHJ5EgsKA2tleRgBIAEo", - "CRINCgV2YWx1ZRgCIAEoCToCOAEaVgoaRnVsbHlRdWFsaWZpZWROYW1lTWFw", - "RW50cnkSCwoDa2V5GAEgASgJEicKBXZhbHVlGAIgASgLMhguY29tLmtjbC5h", - "cGkuU3ltYm9sSW5kZXg6AjgBGksKEFBrZ1Njb3BlTWFwRW50cnkSCwoDa2V5", - "GAEgASgJEiYKBXZhbHVlGAIgASgLMhcuY29tLmtjbC5hcGkuU2NvcGVJbmRl", - "eDoCOAEiPgoSTGlzdE9wdGlvbnNfUmVzdWx0EigKB29wdGlvbnMYAiADKAsy", - "Fy5jb20ua2NsLmFwaS5PcHRpb25IZWxwIl8KCk9wdGlvbkhlbHASDAoEbmFt", - "ZRgBIAEoCRIMCgR0eXBlGAIgASgJEhAKCHJlcXVpcmVkGAMgASgIEhUKDWRl", - "ZmF1bHRfdmFsdWUYBCABKAkSDAoEaGVscBgFIAEoCSLEAQoGU3ltYm9sEiAK", - "AnR5GAEgASgLMhQuY29tLmtjbC5hcGkuS2NsVHlwZRIMCgRuYW1lGAIgASgJ", - "EicKBW93bmVyGAMgASgLMhguY29tLmtjbC5hcGkuU3ltYm9sSW5kZXgSJQoD", - "ZGVmGAQgASgLMhguY29tLmtjbC5hcGkuU3ltYm9sSW5kZXgSJwoFYXR0cnMY", - "BSADKAsyGC5jb20ua2NsLmFwaS5TeW1ib2xJbmRleBIRCglpc19nbG9iYWwY", - "BiABKAgiugEKBVNjb3BlEgwKBGtpbmQYASABKAkSJwoGcGFyZW50GAIgASgL", - "MhcuY29tLmtjbC5hcGkuU2NvcGVJbmRleBInCgVvd25lchgDIAEoCzIYLmNv", - "bS5rY2wuYXBpLlN5bWJvbEluZGV4EikKCGNoaWxkcmVuGAQgAygLMhcuY29t", - "LmtjbC5hcGkuU2NvcGVJbmRleBImCgRkZWZzGAUgAygLMhguY29tLmtjbC5h", - "cGkuU3ltYm9sSW5kZXgiMQoLU3ltYm9sSW5kZXgSCQoBaRgBIAEoBBIJCgFn", - "GAIgASgEEgwKBGtpbmQYAyABKAkiMAoKU2NvcGVJbmRleBIJCgFpGAEgASgE", - "EgkKAWcYAiABKAQSDAoEa2luZBgDIAEoCSLQAwoQRXhlY1Byb2dyYW1fQXJn", - "cxIQCgh3b3JrX2RpchgBIAEoCRIXCg9rX2ZpbGVuYW1lX2xpc3QYAiADKAkS", - "EwoLa19jb2RlX2xpc3QYAyADKAkSIwoEYXJncxgEIAMoCzIVLmNvbS5rY2wu", - "YXBpLkFyZ3VtZW50EhEKCW92ZXJyaWRlcxgFIAMoCRIbChNkaXNhYmxlX3lh", - "bWxfcmVzdWx0GAYgASgIEhoKEnByaW50X292ZXJyaWRlX2FzdBgHIAEoCBIa", - "ChJzdHJpY3RfcmFuZ2VfY2hlY2sYCCABKAgSFAoMZGlzYWJsZV9ub25lGAkg", - "ASgIEg8KB3ZlcmJvc2UYCiABKAUSDQoFZGVidWcYCyABKAUSEQoJc29ydF9r", - "ZXlzGAwgASgIEi8KDWV4dGVybmFsX3BrZ3MYDSADKAsyGC5jb20ua2NsLmFw", - "aS5FeHRlcm5hbFBrZxIgChhpbmNsdWRlX3NjaGVtYV90eXBlX3BhdGgYDiAB", - "KAgSFAoMY29tcGlsZV9vbmx5GA8gASgIEhMKC3Nob3dfaGlkZGVuGBAgASgI", - "EhUKDXBhdGhfc2VsZWN0b3IYESADKAkSEQoJZmFzdF9ldmFsGBIgASgIImgK", - "EkV4ZWNQcm9ncmFtX1Jlc3VsdBITCgtqc29uX3Jlc3VsdBgBIAEoCRITCgt5", - "YW1sX3Jlc3VsdBgCIAEoCRITCgtsb2dfbWVzc2FnZRgDIAEoCRITCgtlcnJf", - "bWVzc2FnZRgEIAEoCSJVChFCdWlsZFByb2dyYW1fQXJncxIwCglleGVjX2Fy", - "Z3MYASABKAsyHS5jb20ua2NsLmFwaS5FeGVjUHJvZ3JhbV9BcmdzEg4KBm91", - "dHB1dBgCIAEoCSIjChNCdWlsZFByb2dyYW1fUmVzdWx0EgwKBHBhdGgYASAB", - "KAkiUwoRRXhlY0FydGlmYWN0X0FyZ3MSDAoEcGF0aBgBIAEoCRIwCglleGVj", - "X2FyZ3MYAiABKAsyHS5jb20ua2NsLmFwaS5FeGVjUHJvZ3JhbV9BcmdzIiEK", - "D0Zvcm1hdENvZGVfQXJncxIOCgZzb3VyY2UYASABKAkiJgoRRm9ybWF0Q29k", - "ZV9SZXN1bHQSEQoJZm9ybWF0dGVkGAEgASgMIh8KD0Zvcm1hdFBhdGhfQXJn", - "cxIMCgRwYXRoGAEgASgJIioKEUZvcm1hdFBhdGhfUmVzdWx0EhUKDWNoYW5n", - "ZWRfcGF0aHMYASADKAkiHgoNTGludFBhdGhfQXJncxINCgVwYXRocxgBIAMo", - "CSIiCg9MaW50UGF0aF9SZXN1bHQSDwoHcmVzdWx0cxgBIAMoCSJGChFPdmVy", - "cmlkZUZpbGVfQXJncxIMCgRmaWxlGAEgASgJEg0KBXNwZWNzGAIgAygJEhQK", - "DGltcG9ydF9wYXRocxgDIAMoCSJPChNPdmVycmlkZUZpbGVfUmVzdWx0Eg4K", - "BnJlc3VsdBgBIAEoCBIoCgxwYXJzZV9lcnJvcnMYAiADKAsyEi5jb20ua2Ns", - "LmFwaS5FcnJvciIuChVMaXN0VmFyaWFibGVzX09wdGlvbnMSFQoNbWVyZ2Vf", - "cHJvZ3JhbRgBIAEoCCI4CgxWYXJpYWJsZUxpc3QSKAoJdmFyaWFibGVzGAEg", - "AygLMhUuY29tLmtjbC5hcGkuVmFyaWFibGUiZwoSTGlzdFZhcmlhYmxlc19B", - "cmdzEg0KBWZpbGVzGAEgAygJEg0KBXNwZWNzGAIgAygJEjMKB29wdGlvbnMY", - "AyABKAsyIi5jb20ua2NsLmFwaS5MaXN0VmFyaWFibGVzX09wdGlvbnMi7QEK", - "FExpc3RWYXJpYWJsZXNfUmVzdWx0EkMKCXZhcmlhYmxlcxgBIAMoCzIwLmNv", - "bS5rY2wuYXBpLkxpc3RWYXJpYWJsZXNfUmVzdWx0LlZhcmlhYmxlc0VudHJ5", - "EhkKEXVuc3VwcG9ydGVkX2NvZGVzGAIgAygJEigKDHBhcnNlX2Vycm9ycxgD", - "IAMoCzISLmNvbS5rY2wuYXBpLkVycm9yGksKDlZhcmlhYmxlc0VudHJ5EgsK", - "A2tleRgBIAEoCRIoCgV2YWx1ZRgCIAEoCzIZLmNvbS5rY2wuYXBpLlZhcmlh", - "YmxlTGlzdDoCOAEilAEKCFZhcmlhYmxlEg0KBXZhbHVlGAEgASgJEhEKCXR5", - "cGVfbmFtZRgCIAEoCRIOCgZvcF9zeW0YAyABKAkSKQoKbGlzdF9pdGVtcxgE", - "IAMoCzIVLmNvbS5rY2wuYXBpLlZhcmlhYmxlEisKDGRpY3RfZW50cmllcxgF", - "IAMoCzIVLmNvbS5rY2wuYXBpLk1hcEVudHJ5Ij0KCE1hcEVudHJ5EgsKA2tl", - "eRgBIAEoCRIkCgV2YWx1ZRgCIAEoCzIVLmNvbS5rY2wuYXBpLlZhcmlhYmxl", - "ImIKGUdldFNjaGVtYVR5cGVNYXBwaW5nX0FyZ3MSMAoJZXhlY19hcmdzGAEg", - "ASgLMh0uY29tLmtjbC5hcGkuRXhlY1Byb2dyYW1fQXJncxITCgtzY2hlbWFf", - "bmFtZRgCIAEoCSLLAQobR2V0U2NoZW1hVHlwZU1hcHBpbmdfUmVzdWx0ElwK", - "E3NjaGVtYV90eXBlX21hcHBpbmcYASADKAsyPy5jb20ua2NsLmFwaS5HZXRT", - "Y2hlbWFUeXBlTWFwcGluZ19SZXN1bHQuU2NoZW1hVHlwZU1hcHBpbmdFbnRy", - "eRpOChZTY2hlbWFUeXBlTWFwcGluZ0VudHJ5EgsKA2tleRgBIAEoCRIjCgV2", - "YWx1ZRgCIAEoCzIULmNvbS5rY2wuYXBpLktjbFR5cGU6AjgBIrgBChFWYWxp", - "ZGF0ZUNvZGVfQXJncxIQCghkYXRhZmlsZRgBIAEoCRIMCgRkYXRhGAIgASgJ", - "EgwKBGZpbGUYAyABKAkSDAoEY29kZRgEIAEoCRIOCgZzY2hlbWEYBSABKAkS", - "FgoOYXR0cmlidXRlX25hbWUYBiABKAkSDgoGZm9ybWF0GAcgASgJEi8KDWV4", - "dGVybmFsX3BrZ3MYCCADKAsyGC5jb20ua2NsLmFwaS5FeHRlcm5hbFBrZyI7", - "ChNWYWxpZGF0ZUNvZGVfUmVzdWx0Eg8KB3N1Y2Nlc3MYASABKAgSEwoLZXJy", - "X21lc3NhZ2UYAiABKAkiOgoIUG9zaXRpb24SDAoEbGluZRgBIAEoAxIOCgZj", - "b2x1bW4YAiABKAMSEAoIZmlsZW5hbWUYAyABKAkiaQoRTGlzdERlcEZpbGVz", - "X0FyZ3MSEAoId29ya19kaXIYASABKAkSFAoMdXNlX2Fic19wYXRoGAIgASgI", - "EhMKC2luY2x1ZGVfYWxsGAMgASgIEhcKD3VzZV9mYXN0X3BhcnNlchgEIAEo", - "CCJGChNMaXN0RGVwRmlsZXNfUmVzdWx0Eg8KB3BrZ3Jvb3QYASABKAkSDwoH", - "cGtncGF0aBgCIAEoCRINCgVmaWxlcxgDIAMoCSI5ChZMb2FkU2V0dGluZ3NG", - "aWxlc19BcmdzEhAKCHdvcmtfZGlyGAEgASgJEg0KBWZpbGVzGAIgAygJInsK", - "GExvYWRTZXR0aW5nc0ZpbGVzX1Jlc3VsdBIvCg9rY2xfY2xpX2NvbmZpZ3MY", - "ASABKAsyFi5jb20ua2NsLmFwaS5DbGlDb25maWcSLgoLa2NsX29wdGlvbnMY", - "AiADKAsyGS5jb20ua2NsLmFwaS5LZXlWYWx1ZVBhaXIigwIKCUNsaUNvbmZp", - "ZxINCgVmaWxlcxgBIAMoCRIOCgZvdXRwdXQYAiABKAkSEQoJb3ZlcnJpZGVz", - "GAMgAygJEhUKDXBhdGhfc2VsZWN0b3IYBCADKAkSGgoSc3RyaWN0X3Jhbmdl", - "X2NoZWNrGAUgASgIEhQKDGRpc2FibGVfbm9uZRgGIAEoCBIPCgd2ZXJib3Nl", - "GAcgASgDEg0KBWRlYnVnGAggASgIEhEKCXNvcnRfa2V5cxgJIAEoCBITCgtz", - "aG93X2hpZGRlbhgKIAEoCBIgChhpbmNsdWRlX3NjaGVtYV90eXBlX3BhdGgY", - "CyABKAgSEQoJZmFzdF9ldmFsGAwgASgIIioKDEtleVZhbHVlUGFpchILCgNr", - "ZXkYASABKAkSDQoFdmFsdWUYAiABKAkiXgoLUmVuYW1lX0FyZ3MSFAoMcGFj", - "a2FnZV9yb290GAEgASgJEhMKC3N5bWJvbF9wYXRoGAIgASgJEhIKCmZpbGVf", - "cGF0aHMYAyADKAkSEAoIbmV3X25hbWUYBCABKAkiJgoNUmVuYW1lX1Jlc3Vs", - "dBIVCg1jaGFuZ2VkX2ZpbGVzGAEgAygJIscBCg9SZW5hbWVDb2RlX0FyZ3MS", - "FAoMcGFja2FnZV9yb290GAEgASgJEhMKC3N5bWJvbF9wYXRoGAIgASgJEkMK", - "DHNvdXJjZV9jb2RlcxgDIAMoCzItLmNvbS5rY2wuYXBpLlJlbmFtZUNvZGVf", - "QXJncy5Tb3VyY2VDb2Rlc0VudHJ5EhAKCG5ld19uYW1lGAQgASgJGjIKEFNv", - "dXJjZUNvZGVzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4", - "ASKRAQoRUmVuYW1lQ29kZV9SZXN1bHQSRwoNY2hhbmdlZF9jb2RlcxgBIAMo", - "CzIwLmNvbS5rY2wuYXBpLlJlbmFtZUNvZGVfUmVzdWx0LkNoYW5nZWRDb2Rl", - "c0VudHJ5GjMKEUNoYW5nZWRDb2Rlc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2", - "YWx1ZRgCIAEoCToCOAEidgoJVGVzdF9BcmdzEjAKCWV4ZWNfYXJncxgBIAEo", - "CzIdLmNvbS5rY2wuYXBpLkV4ZWNQcm9ncmFtX0FyZ3MSEAoIcGtnX2xpc3QY", - "AiADKAkSEgoKcnVuX3JlZ2V4cBgDIAEoCRIRCglmYWlsX2Zhc3QYBCABKAgi", - "NgoLVGVzdF9SZXN1bHQSJwoEaW5mbxgCIAMoCzIZLmNvbS5rY2wuYXBpLlRl", + "cxgCIAEoCzIVLmNvbS5rY2wuYXBpLlBvc2l0aW9uIhkKCFBpbmdBcmdzEg0K", + "BXZhbHVlGAEgASgJIhsKClBpbmdSZXN1bHQSDQoFdmFsdWUYASABKAkiEAoO", + "R2V0VmVyc2lvbkFyZ3MiXAoQR2V0VmVyc2lvblJlc3VsdBIPCgd2ZXJzaW9u", + "GAEgASgJEhAKCGNoZWNrc3VtGAIgASgJEg8KB2dpdF9zaGEYAyABKAkSFAoM", + "dmVyc2lvbl9pbmZvGAQgASgJIhAKDkxpc3RNZXRob2RBcmdzIiwKEExpc3RN", + "ZXRob2RSZXN1bHQSGAoQbWV0aG9kX25hbWVfbGlzdBgBIAMoCSJeCg1QYXJz", + "ZUZpbGVBcmdzEgwKBHBhdGgYASABKAkSDgoGc291cmNlGAIgASgJEi8KDWV4", + "dGVybmFsX3BrZ3MYAyADKAsyGC5jb20ua2NsLmFwaS5FeHRlcm5hbFBrZyJV", + "Cg9QYXJzZUZpbGVSZXN1bHQSEAoIYXN0X2pzb24YASABKAkSDAoEZGVwcxgC", + "IAMoCRIiCgZlcnJvcnMYAyADKAsyEi5jb20ua2NsLmFwaS5FcnJvciJjChBQ", + "YXJzZVByb2dyYW1BcmdzEg0KBXBhdGhzGAEgAygJEg8KB3NvdXJjZXMYAiAD", + "KAkSLwoNZXh0ZXJuYWxfcGtncxgDIAMoCzIYLmNvbS5rY2wuYXBpLkV4dGVy", + "bmFsUGtnIlkKElBhcnNlUHJvZ3JhbVJlc3VsdBIQCghhc3RfanNvbhgBIAEo", + "CRINCgVwYXRocxgCIAMoCRIiCgZlcnJvcnMYAyADKAsyEi5jb20ua2NsLmFw", + "aS5FcnJvciKHAQoPTG9hZFBhY2thZ2VBcmdzEjEKCnBhcnNlX2FyZ3MYASAB", + "KAsyHS5jb20ua2NsLmFwaS5QYXJzZVByb2dyYW1BcmdzEhMKC3Jlc29sdmVf", + "YXN0GAIgASgIEhQKDGxvYWRfYnVpbHRpbhgDIAEoCBIWCg53aXRoX2FzdF9p", + "bmRleBgEIAEoCCLwBwoRTG9hZFBhY2thZ2VSZXN1bHQSDwoHcHJvZ3JhbRgB", + "IAEoCRINCgVwYXRocxgCIAMoCRIoCgxwYXJzZV9lcnJvcnMYAyADKAsyEi5j", + "b20ua2NsLmFwaS5FcnJvchInCgt0eXBlX2Vycm9ycxgEIAMoCzISLmNvbS5r", + "Y2wuYXBpLkVycm9yEjoKBnNjb3BlcxgFIAMoCzIqLmNvbS5rY2wuYXBpLkxv", + "YWRQYWNrYWdlUmVzdWx0LlNjb3Blc0VudHJ5EjwKB3N5bWJvbHMYBiADKAsy", + "Ky5jb20ua2NsLmFwaS5Mb2FkUGFja2FnZVJlc3VsdC5TeW1ib2xzRW50cnkS", + "SgoPbm9kZV9zeW1ib2xfbWFwGAcgAygLMjEuY29tLmtjbC5hcGkuTG9hZFBh", + "Y2thZ2VSZXN1bHQuTm9kZVN5bWJvbE1hcEVudHJ5EkoKD3N5bWJvbF9ub2Rl", + "X21hcBgIIAMoCzIxLmNvbS5rY2wuYXBpLkxvYWRQYWNrYWdlUmVzdWx0LlN5", + "bWJvbE5vZGVNYXBFbnRyeRJbChhmdWxseV9xdWFsaWZpZWRfbmFtZV9tYXAY", + "CSADKAsyOS5jb20ua2NsLmFwaS5Mb2FkUGFja2FnZVJlc3VsdC5GdWxseVF1", + "YWxpZmllZE5hbWVNYXBFbnRyeRJGCg1wa2dfc2NvcGVfbWFwGAogAygLMi8u", + "Y29tLmtjbC5hcGkuTG9hZFBhY2thZ2VSZXN1bHQuUGtnU2NvcGVNYXBFbnRy", + "eRpBCgtTY29wZXNFbnRyeRILCgNrZXkYASABKAkSIQoFdmFsdWUYAiABKAsy", + "Ei5jb20ua2NsLmFwaS5TY29wZToCOAEaQwoMU3ltYm9sc0VudHJ5EgsKA2tl", + "eRgBIAEoCRIiCgV2YWx1ZRgCIAEoCzITLmNvbS5rY2wuYXBpLlN5bWJvbDoC", + "OAEaTgoSTm9kZVN5bWJvbE1hcEVudHJ5EgsKA2tleRgBIAEoCRInCgV2YWx1", + "ZRgCIAEoCzIYLmNvbS5rY2wuYXBpLlN5bWJvbEluZGV4OgI4ARo0ChJTeW1i", + "b2xOb2RlTWFwRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4", + "ARpWChpGdWxseVF1YWxpZmllZE5hbWVNYXBFbnRyeRILCgNrZXkYASABKAkS", + "JwoFdmFsdWUYAiABKAsyGC5jb20ua2NsLmFwaS5TeW1ib2xJbmRleDoCOAEa", + "SwoQUGtnU2NvcGVNYXBFbnRyeRILCgNrZXkYASABKAkSJgoFdmFsdWUYAiAB", + "KAsyFy5jb20ua2NsLmFwaS5TY29wZUluZGV4OgI4ASI9ChFMaXN0T3B0aW9u", + "c1Jlc3VsdBIoCgdvcHRpb25zGAIgAygLMhcuY29tLmtjbC5hcGkuT3B0aW9u", + "SGVscCJfCgpPcHRpb25IZWxwEgwKBG5hbWUYASABKAkSDAoEdHlwZRgCIAEo", + "CRIQCghyZXF1aXJlZBgDIAEoCBIVCg1kZWZhdWx0X3ZhbHVlGAQgASgJEgwK", + "BGhlbHAYBSABKAkixAEKBlN5bWJvbBIgCgJ0eRgBIAEoCzIULmNvbS5rY2wu", + "YXBpLktjbFR5cGUSDAoEbmFtZRgCIAEoCRInCgVvd25lchgDIAEoCzIYLmNv", + "bS5rY2wuYXBpLlN5bWJvbEluZGV4EiUKA2RlZhgEIAEoCzIYLmNvbS5rY2wu", + "YXBpLlN5bWJvbEluZGV4EicKBWF0dHJzGAUgAygLMhguY29tLmtjbC5hcGku", + "U3ltYm9sSW5kZXgSEQoJaXNfZ2xvYmFsGAYgASgIIroBCgVTY29wZRIMCgRr", + "aW5kGAEgASgJEicKBnBhcmVudBgCIAEoCzIXLmNvbS5rY2wuYXBpLlNjb3Bl", + "SW5kZXgSJwoFb3duZXIYAyABKAsyGC5jb20ua2NsLmFwaS5TeW1ib2xJbmRl", + "eBIpCghjaGlsZHJlbhgEIAMoCzIXLmNvbS5rY2wuYXBpLlNjb3BlSW5kZXgS", + "JgoEZGVmcxgFIAMoCzIYLmNvbS5rY2wuYXBpLlN5bWJvbEluZGV4IjEKC1N5", + "bWJvbEluZGV4EgkKAWkYASABKAQSCQoBZxgCIAEoBBIMCgRraW5kGAMgASgJ", + "IjAKClNjb3BlSW5kZXgSCQoBaRgBIAEoBBIJCgFnGAIgASgEEgwKBGtpbmQY", + "AyABKAkizwMKD0V4ZWNQcm9ncmFtQXJncxIQCgh3b3JrX2RpchgBIAEoCRIX", + "Cg9rX2ZpbGVuYW1lX2xpc3QYAiADKAkSEwoLa19jb2RlX2xpc3QYAyADKAkS", + "IwoEYXJncxgEIAMoCzIVLmNvbS5rY2wuYXBpLkFyZ3VtZW50EhEKCW92ZXJy", + "aWRlcxgFIAMoCRIbChNkaXNhYmxlX3lhbWxfcmVzdWx0GAYgASgIEhoKEnBy", + "aW50X292ZXJyaWRlX2FzdBgHIAEoCBIaChJzdHJpY3RfcmFuZ2VfY2hlY2sY", + "CCABKAgSFAoMZGlzYWJsZV9ub25lGAkgASgIEg8KB3ZlcmJvc2UYCiABKAUS", + "DQoFZGVidWcYCyABKAUSEQoJc29ydF9rZXlzGAwgASgIEi8KDWV4dGVybmFs", + "X3BrZ3MYDSADKAsyGC5jb20ua2NsLmFwaS5FeHRlcm5hbFBrZxIgChhpbmNs", + "dWRlX3NjaGVtYV90eXBlX3BhdGgYDiABKAgSFAoMY29tcGlsZV9vbmx5GA8g", + "ASgIEhMKC3Nob3dfaGlkZGVuGBAgASgIEhUKDXBhdGhfc2VsZWN0b3IYESAD", + "KAkSEQoJZmFzdF9ldmFsGBIgASgIImcKEUV4ZWNQcm9ncmFtUmVzdWx0EhMK", + "C2pzb25fcmVzdWx0GAEgASgJEhMKC3lhbWxfcmVzdWx0GAIgASgJEhMKC2xv", + "Z19tZXNzYWdlGAMgASgJEhMKC2Vycl9tZXNzYWdlGAQgASgJIlMKEEJ1aWxk", + "UHJvZ3JhbUFyZ3MSLwoJZXhlY19hcmdzGAEgASgLMhwuY29tLmtjbC5hcGku", + "RXhlY1Byb2dyYW1BcmdzEg4KBm91dHB1dBgCIAEoCSIiChJCdWlsZFByb2dy", + "YW1SZXN1bHQSDAoEcGF0aBgBIAEoCSJRChBFeGVjQXJ0aWZhY3RBcmdzEgwK", + "BHBhdGgYASABKAkSLwoJZXhlY19hcmdzGAIgASgLMhwuY29tLmtjbC5hcGku", + "RXhlY1Byb2dyYW1BcmdzIiAKDkZvcm1hdENvZGVBcmdzEg4KBnNvdXJjZRgB", + "IAEoCSIlChBGb3JtYXRDb2RlUmVzdWx0EhEKCWZvcm1hdHRlZBgBIAEoDCIe", + "Cg5Gb3JtYXRQYXRoQXJncxIMCgRwYXRoGAEgASgJIikKEEZvcm1hdFBhdGhS", + "ZXN1bHQSFQoNY2hhbmdlZF9wYXRocxgBIAMoCSIdCgxMaW50UGF0aEFyZ3MS", + "DQoFcGF0aHMYASADKAkiIQoOTGludFBhdGhSZXN1bHQSDwoHcmVzdWx0cxgB", + "IAMoCSJFChBPdmVycmlkZUZpbGVBcmdzEgwKBGZpbGUYASABKAkSDQoFc3Bl", + "Y3MYAiADKAkSFAoMaW1wb3J0X3BhdGhzGAMgAygJIk4KEk92ZXJyaWRlRmls", + "ZVJlc3VsdBIOCgZyZXN1bHQYASABKAgSKAoMcGFyc2VfZXJyb3JzGAIgAygL", + "MhIuY29tLmtjbC5hcGkuRXJyb3IiLQoUTGlzdFZhcmlhYmxlc09wdGlvbnMS", + "FQoNbWVyZ2VfcHJvZ3JhbRgBIAEoCCI4CgxWYXJpYWJsZUxpc3QSKAoJdmFy", + "aWFibGVzGAEgAygLMhUuY29tLmtjbC5hcGkuVmFyaWFibGUiZQoRTGlzdFZh", + "cmlhYmxlc0FyZ3MSDQoFZmlsZXMYASADKAkSDQoFc3BlY3MYAiADKAkSMgoH", + "b3B0aW9ucxgDIAEoCzIhLmNvbS5rY2wuYXBpLkxpc3RWYXJpYWJsZXNPcHRp", + "b25zIusBChNMaXN0VmFyaWFibGVzUmVzdWx0EkIKCXZhcmlhYmxlcxgBIAMo", + "CzIvLmNvbS5rY2wuYXBpLkxpc3RWYXJpYWJsZXNSZXN1bHQuVmFyaWFibGVz", + "RW50cnkSGQoRdW5zdXBwb3J0ZWRfY29kZXMYAiADKAkSKAoMcGFyc2VfZXJy", + "b3JzGAMgAygLMhIuY29tLmtjbC5hcGkuRXJyb3IaSwoOVmFyaWFibGVzRW50", + "cnkSCwoDa2V5GAEgASgJEigKBXZhbHVlGAIgASgLMhkuY29tLmtjbC5hcGku", + "VmFyaWFibGVMaXN0OgI4ASKUAQoIVmFyaWFibGUSDQoFdmFsdWUYASABKAkS", + "EQoJdHlwZV9uYW1lGAIgASgJEg4KBm9wX3N5bRgDIAEoCRIpCgpsaXN0X2l0", + "ZW1zGAQgAygLMhUuY29tLmtjbC5hcGkuVmFyaWFibGUSKwoMZGljdF9lbnRy", + "aWVzGAUgAygLMhUuY29tLmtjbC5hcGkuTWFwRW50cnkiPQoITWFwRW50cnkS", + "CwoDa2V5GAEgASgJEiQKBXZhbHVlGAIgASgLMhUuY29tLmtjbC5hcGkuVmFy", + "aWFibGUiYAoYR2V0U2NoZW1hVHlwZU1hcHBpbmdBcmdzEi8KCWV4ZWNfYXJn", + "cxgBIAEoCzIcLmNvbS5rY2wuYXBpLkV4ZWNQcm9ncmFtQXJncxITCgtzY2hl", + "bWFfbmFtZRgCIAEoCSLJAQoaR2V0U2NoZW1hVHlwZU1hcHBpbmdSZXN1bHQS", + "WwoTc2NoZW1hX3R5cGVfbWFwcGluZxgBIAMoCzI+LmNvbS5rY2wuYXBpLkdl", + "dFNjaGVtYVR5cGVNYXBwaW5nUmVzdWx0LlNjaGVtYVR5cGVNYXBwaW5nRW50", + "cnkaTgoWU2NoZW1hVHlwZU1hcHBpbmdFbnRyeRILCgNrZXkYASABKAkSIwoF", + "dmFsdWUYAiABKAsyFC5jb20ua2NsLmFwaS5LY2xUeXBlOgI4ASLfAQojR2V0", + "U2NoZW1hVHlwZU1hcHBpbmdVbmRlclBhdGhSZXN1bHQSZAoTc2NoZW1hX3R5", + "cGVfbWFwcGluZxgBIAMoCzJHLmNvbS5rY2wuYXBpLkdldFNjaGVtYVR5cGVN", + "YXBwaW5nVW5kZXJQYXRoUmVzdWx0LlNjaGVtYVR5cGVNYXBwaW5nRW50cnka", + "UgoWU2NoZW1hVHlwZU1hcHBpbmdFbnRyeRILCgNrZXkYASABKAkSJwoFdmFs", + "dWUYAiABKAsyGC5jb20ua2NsLmFwaS5TY2hlbWFUeXBlczoCOAEiOAoLU2No", + "ZW1hVHlwZXMSKQoLc2NoZW1hX3R5cGUYASADKAsyFC5jb20ua2NsLmFwaS5L", + "Y2xUeXBlIrcBChBWYWxpZGF0ZUNvZGVBcmdzEhAKCGRhdGFmaWxlGAEgASgJ", + "EgwKBGRhdGEYAiABKAkSDAoEZmlsZRgDIAEoCRIMCgRjb2RlGAQgASgJEg4K", + "BnNjaGVtYRgFIAEoCRIWCg5hdHRyaWJ1dGVfbmFtZRgGIAEoCRIOCgZmb3Jt", + "YXQYByABKAkSLwoNZXh0ZXJuYWxfcGtncxgIIAMoCzIYLmNvbS5rY2wuYXBp", + "LkV4dGVybmFsUGtnIjoKElZhbGlkYXRlQ29kZVJlc3VsdBIPCgdzdWNjZXNz", + "GAEgASgIEhMKC2Vycl9tZXNzYWdlGAIgASgJIjoKCFBvc2l0aW9uEgwKBGxp", + "bmUYASABKAMSDgoGY29sdW1uGAIgASgDEhAKCGZpbGVuYW1lGAMgASgJImgK", + "EExpc3REZXBGaWxlc0FyZ3MSEAoId29ya19kaXIYASABKAkSFAoMdXNlX2Fi", + "c19wYXRoGAIgASgIEhMKC2luY2x1ZGVfYWxsGAMgASgIEhcKD3VzZV9mYXN0", + "X3BhcnNlchgEIAEoCCJFChJMaXN0RGVwRmlsZXNSZXN1bHQSDwoHcGtncm9v", + "dBgBIAEoCRIPCgdwa2dwYXRoGAIgASgJEg0KBWZpbGVzGAMgAygJIjgKFUxv", + "YWRTZXR0aW5nc0ZpbGVzQXJncxIQCgh3b3JrX2RpchgBIAEoCRINCgVmaWxl", + "cxgCIAMoCSJ6ChdMb2FkU2V0dGluZ3NGaWxlc1Jlc3VsdBIvCg9rY2xfY2xp", + "X2NvbmZpZ3MYASABKAsyFi5jb20ua2NsLmFwaS5DbGlDb25maWcSLgoLa2Ns", + "X29wdGlvbnMYAiADKAsyGS5jb20ua2NsLmFwaS5LZXlWYWx1ZVBhaXIigwIK", + "CUNsaUNvbmZpZxINCgVmaWxlcxgBIAMoCRIOCgZvdXRwdXQYAiABKAkSEQoJ", + "b3ZlcnJpZGVzGAMgAygJEhUKDXBhdGhfc2VsZWN0b3IYBCADKAkSGgoSc3Ry", + "aWN0X3JhbmdlX2NoZWNrGAUgASgIEhQKDGRpc2FibGVfbm9uZRgGIAEoCBIP", + "Cgd2ZXJib3NlGAcgASgDEg0KBWRlYnVnGAggASgIEhEKCXNvcnRfa2V5cxgJ", + "IAEoCBITCgtzaG93X2hpZGRlbhgKIAEoCBIgChhpbmNsdWRlX3NjaGVtYV90", + "eXBlX3BhdGgYCyABKAgSEQoJZmFzdF9ldmFsGAwgASgIIioKDEtleVZhbHVl", + "UGFpchILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAkiXQoKUmVuYW1lQXJn", + "cxIUCgxwYWNrYWdlX3Jvb3QYASABKAkSEwoLc3ltYm9sX3BhdGgYAiABKAkS", + "EgoKZmlsZV9wYXRocxgDIAMoCRIQCghuZXdfbmFtZRgEIAEoCSIlCgxSZW5h", + "bWVSZXN1bHQSFQoNY2hhbmdlZF9maWxlcxgBIAMoCSLFAQoOUmVuYW1lQ29k", + "ZUFyZ3MSFAoMcGFja2FnZV9yb290GAEgASgJEhMKC3N5bWJvbF9wYXRoGAIg", + "ASgJEkIKDHNvdXJjZV9jb2RlcxgDIAMoCzIsLmNvbS5rY2wuYXBpLlJlbmFt", + "ZUNvZGVBcmdzLlNvdXJjZUNvZGVzRW50cnkSEAoIbmV3X25hbWUYBCABKAka", + "MgoQU291cmNlQ29kZXNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiAB", + "KAk6AjgBIo8BChBSZW5hbWVDb2RlUmVzdWx0EkYKDWNoYW5nZWRfY29kZXMY", + "ASADKAsyLy5jb20ua2NsLmFwaS5SZW5hbWVDb2RlUmVzdWx0LkNoYW5nZWRD", + "b2Rlc0VudHJ5GjMKEUNoYW5nZWRDb2Rlc0VudHJ5EgsKA2tleRgBIAEoCRIN", + "CgV2YWx1ZRgCIAEoCToCOAEidAoIVGVzdEFyZ3MSLwoJZXhlY19hcmdzGAEg", + "ASgLMhwuY29tLmtjbC5hcGkuRXhlY1Byb2dyYW1BcmdzEhAKCHBrZ19saXN0", + "GAIgAygJEhIKCnJ1bl9yZWdleHAYAyABKAkSEQoJZmFpbF9mYXN0GAQgASgI", + "IjUKClRlc3RSZXN1bHQSJwoEaW5mbxgCIAMoCzIZLmNvbS5rY2wuYXBpLlRl", "c3RDYXNlSW5mbyJSCgxUZXN0Q2FzZUluZm8SDAoEbmFtZRgBIAEoCRINCgVl", "cnJvchgCIAEoCRIQCghkdXJhdGlvbhgDIAEoBBITCgtsb2dfbWVzc2FnZRgE", - "IAEoCSJAChdVcGRhdGVEZXBlbmRlbmNpZXNfQXJncxIVCg1tYW5pZmVzdF9w", - "YXRoGAEgASgJEg4KBnZlbmRvchgCIAEoCCJMChlVcGRhdGVEZXBlbmRlbmNp", - "ZXNfUmVzdWx0Ei8KDWV4dGVybmFsX3BrZ3MYAyADKAsyGC5jb20ua2NsLmFw", - "aS5FeHRlcm5hbFBrZyLzBAoHS2NsVHlwZRIMCgR0eXBlGAEgASgJEikKC3Vu", - "aW9uX3R5cGVzGAIgAygLMhQuY29tLmtjbC5hcGkuS2NsVHlwZRIPCgdkZWZh", - "dWx0GAMgASgJEhMKC3NjaGVtYV9uYW1lGAQgASgJEhIKCnNjaGVtYV9kb2MY", - "BSABKAkSOAoKcHJvcGVydGllcxgGIAMoCzIkLmNvbS5rY2wuYXBpLktjbFR5", - "cGUuUHJvcGVydGllc0VudHJ5EhAKCHJlcXVpcmVkGAcgAygJEiEKA2tleRgI", - "IAEoCzIULmNvbS5rY2wuYXBpLktjbFR5cGUSIgoEaXRlbRgJIAEoCzIULmNv", - "bS5rY2wuYXBpLktjbFR5cGUSDAoEbGluZRgKIAEoBRIqCgpkZWNvcmF0b3Jz", - "GAsgAygLMhYuY29tLmtjbC5hcGkuRGVjb3JhdG9yEhAKCGZpbGVuYW1lGAwg", - "ASgJEhAKCHBrZ19wYXRoGA0gASgJEhMKC2Rlc2NyaXB0aW9uGA4gASgJEjQK", - "CGV4YW1wbGVzGA8gAygLMiIuY29tLmtjbC5hcGkuS2NsVHlwZS5FeGFtcGxl", - "c0VudHJ5EikKC2Jhc2Vfc2NoZW1hGBAgASgLMhQuY29tLmtjbC5hcGkuS2Ns", - "VHlwZRpHCg9Qcm9wZXJ0aWVzRW50cnkSCwoDa2V5GAEgASgJEiMKBXZhbHVl", - "GAIgASgLMhQuY29tLmtjbC5hcGkuS2NsVHlwZToCOAEaRQoNRXhhbXBsZXNF", - "bnRyeRILCgNrZXkYASABKAkSIwoFdmFsdWUYAiABKAsyFC5jb20ua2NsLmFw", - "aS5FeGFtcGxlOgI4ASKVAQoJRGVjb3JhdG9yEgwKBG5hbWUYASABKAkSEQoJ", - "YXJndW1lbnRzGAIgAygJEjYKCGtleXdvcmRzGAMgAygLMiQuY29tLmtjbC5h", - "cGkuRGVjb3JhdG9yLktleXdvcmRzRW50cnkaLwoNS2V5d29yZHNFbnRyeRIL", - "CgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIj4KB0V4YW1wbGUSDwoH", - "c3VtbWFyeRgBIAEoCRITCgtkZXNjcmlwdGlvbhgCIAEoCRINCgV2YWx1ZRgD", - "IAEoCTKWAQoOQnVpbHRpblNlcnZpY2USOAoEUGluZxIWLmNvbS5rY2wuYXBp", - "LlBpbmdfQXJncxoYLmNvbS5rY2wuYXBpLlBpbmdfUmVzdWx0EkoKCkxpc3RN", - "ZXRob2QSHC5jb20ua2NsLmFwaS5MaXN0TWV0aG9kX0FyZ3MaHi5jb20ua2Ns", - "LmFwaS5MaXN0TWV0aG9kX1Jlc3VsdDLeDQoMS2Nsdm1TZXJ2aWNlEjgKBFBp", - "bmcSFi5jb20ua2NsLmFwaS5QaW5nX0FyZ3MaGC5jb20ua2NsLmFwaS5QaW5n", - "X1Jlc3VsdBJKCgpHZXRWZXJzaW9uEhwuY29tLmtjbC5hcGkuR2V0VmVyc2lv", - "bl9BcmdzGh4uY29tLmtjbC5hcGkuR2V0VmVyc2lvbl9SZXN1bHQSUAoMUGFy", - "c2VQcm9ncmFtEh4uY29tLmtjbC5hcGkuUGFyc2VQcm9ncmFtX0FyZ3MaIC5j", - "b20ua2NsLmFwaS5QYXJzZVByb2dyYW1fUmVzdWx0EkcKCVBhcnNlRmlsZRIb", - "LmNvbS5rY2wuYXBpLlBhcnNlRmlsZV9BcmdzGh0uY29tLmtjbC5hcGkuUGFy", - "c2VGaWxlX1Jlc3VsdBJNCgtMb2FkUGFja2FnZRIdLmNvbS5rY2wuYXBpLkxv", - "YWRQYWNrYWdlX0FyZ3MaHy5jb20ua2NsLmFwaS5Mb2FkUGFja2FnZV9SZXN1", - "bHQSTgoLTGlzdE9wdGlvbnMSHi5jb20ua2NsLmFwaS5QYXJzZVByb2dyYW1f", - "QXJncxofLmNvbS5rY2wuYXBpLkxpc3RPcHRpb25zX1Jlc3VsdBJTCg1MaXN0", - "VmFyaWFibGVzEh8uY29tLmtjbC5hcGkuTGlzdFZhcmlhYmxlc19BcmdzGiEu", - "Y29tLmtjbC5hcGkuTGlzdFZhcmlhYmxlc19SZXN1bHQSTQoLRXhlY1Byb2dy", - "YW0SHS5jb20ua2NsLmFwaS5FeGVjUHJvZ3JhbV9BcmdzGh8uY29tLmtjbC5h", - "cGkuRXhlY1Byb2dyYW1fUmVzdWx0ElAKDEJ1aWxkUHJvZ3JhbRIeLmNvbS5r", - "Y2wuYXBpLkJ1aWxkUHJvZ3JhbV9BcmdzGiAuY29tLmtjbC5hcGkuQnVpbGRQ", - "cm9ncmFtX1Jlc3VsdBJPCgxFeGVjQXJ0aWZhY3QSHi5jb20ua2NsLmFwaS5F", - "eGVjQXJ0aWZhY3RfQXJncxofLmNvbS5rY2wuYXBpLkV4ZWNQcm9ncmFtX1Jl", - "c3VsdBJQCgxPdmVycmlkZUZpbGUSHi5jb20ua2NsLmFwaS5PdmVycmlkZUZp", - "bGVfQXJncxogLmNvbS5rY2wuYXBpLk92ZXJyaWRlRmlsZV9SZXN1bHQSaAoU", - "R2V0U2NoZW1hVHlwZU1hcHBpbmcSJi5jb20ua2NsLmFwaS5HZXRTY2hlbWFU", - "eXBlTWFwcGluZ19BcmdzGiguY29tLmtjbC5hcGkuR2V0U2NoZW1hVHlwZU1h", - "cHBpbmdfUmVzdWx0EkoKCkZvcm1hdENvZGUSHC5jb20ua2NsLmFwaS5Gb3Jt", - "YXRDb2RlX0FyZ3MaHi5jb20ua2NsLmFwaS5Gb3JtYXRDb2RlX1Jlc3VsdBJK", - "CgpGb3JtYXRQYXRoEhwuY29tLmtjbC5hcGkuRm9ybWF0UGF0aF9BcmdzGh4u", - "Y29tLmtjbC5hcGkuRm9ybWF0UGF0aF9SZXN1bHQSRAoITGludFBhdGgSGi5j", - "b20ua2NsLmFwaS5MaW50UGF0aF9BcmdzGhwuY29tLmtjbC5hcGkuTGludFBh", - "dGhfUmVzdWx0ElAKDFZhbGlkYXRlQ29kZRIeLmNvbS5rY2wuYXBpLlZhbGlk", - "YXRlQ29kZV9BcmdzGiAuY29tLmtjbC5hcGkuVmFsaWRhdGVDb2RlX1Jlc3Vs", - "dBJQCgxMaXN0RGVwRmlsZXMSHi5jb20ua2NsLmFwaS5MaXN0RGVwRmlsZXNf", - "QXJncxogLmNvbS5rY2wuYXBpLkxpc3REZXBGaWxlc19SZXN1bHQSXwoRTG9h", - "ZFNldHRpbmdzRmlsZXMSIy5jb20ua2NsLmFwaS5Mb2FkU2V0dGluZ3NGaWxl", - "c19BcmdzGiUuY29tLmtjbC5hcGkuTG9hZFNldHRpbmdzRmlsZXNfUmVzdWx0", - "Ej4KBlJlbmFtZRIYLmNvbS5rY2wuYXBpLlJlbmFtZV9BcmdzGhouY29tLmtj", - "bC5hcGkuUmVuYW1lX1Jlc3VsdBJKCgpSZW5hbWVDb2RlEhwuY29tLmtjbC5h", - "cGkuUmVuYW1lQ29kZV9BcmdzGh4uY29tLmtjbC5hcGkuUmVuYW1lQ29kZV9S", - "ZXN1bHQSOAoEVGVzdBIWLmNvbS5rY2wuYXBpLlRlc3RfQXJncxoYLmNvbS5r", - "Y2wuYXBpLlRlc3RfUmVzdWx0EmIKElVwZGF0ZURlcGVuZGVuY2llcxIkLmNv", - "bS5rY2wuYXBpLlVwZGF0ZURlcGVuZGVuY2llc19BcmdzGiYuY29tLmtjbC5h", - "cGkuVXBkYXRlRGVwZW5kZW5jaWVzX1Jlc3VsdEIUWgUuO2FwaaoCCktjbExp", - "Yi5BUEliBnByb3RvMw==")); + "IAEoCSI/ChZVcGRhdGVEZXBlbmRlbmNpZXNBcmdzEhUKDW1hbmlmZXN0X3Bh", + "dGgYASABKAkSDgoGdmVuZG9yGAIgASgIIksKGFVwZGF0ZURlcGVuZGVuY2ll", + "c1Jlc3VsdBIvCg1leHRlcm5hbF9wa2dzGAMgAygLMhguY29tLmtjbC5hcGku", + "RXh0ZXJuYWxQa2ci8wQKB0tjbFR5cGUSDAoEdHlwZRgBIAEoCRIpCgt1bmlv", + "bl90eXBlcxgCIAMoCzIULmNvbS5rY2wuYXBpLktjbFR5cGUSDwoHZGVmYXVs", + "dBgDIAEoCRITCgtzY2hlbWFfbmFtZRgEIAEoCRISCgpzY2hlbWFfZG9jGAUg", + "ASgJEjgKCnByb3BlcnRpZXMYBiADKAsyJC5jb20ua2NsLmFwaS5LY2xUeXBl", + "LlByb3BlcnRpZXNFbnRyeRIQCghyZXF1aXJlZBgHIAMoCRIhCgNrZXkYCCAB", + "KAsyFC5jb20ua2NsLmFwaS5LY2xUeXBlEiIKBGl0ZW0YCSABKAsyFC5jb20u", + "a2NsLmFwaS5LY2xUeXBlEgwKBGxpbmUYCiABKAUSKgoKZGVjb3JhdG9ycxgL", + "IAMoCzIWLmNvbS5rY2wuYXBpLkRlY29yYXRvchIQCghmaWxlbmFtZRgMIAEo", + "CRIQCghwa2dfcGF0aBgNIAEoCRITCgtkZXNjcmlwdGlvbhgOIAEoCRI0Cghl", + "eGFtcGxlcxgPIAMoCzIiLmNvbS5rY2wuYXBpLktjbFR5cGUuRXhhbXBsZXNF", + "bnRyeRIpCgtiYXNlX3NjaGVtYRgQIAEoCzIULmNvbS5rY2wuYXBpLktjbFR5", + "cGUaRwoPUHJvcGVydGllc0VudHJ5EgsKA2tleRgBIAEoCRIjCgV2YWx1ZRgC", + "IAEoCzIULmNvbS5rY2wuYXBpLktjbFR5cGU6AjgBGkUKDUV4YW1wbGVzRW50", + "cnkSCwoDa2V5GAEgASgJEiMKBXZhbHVlGAIgASgLMhQuY29tLmtjbC5hcGku", + "RXhhbXBsZToCOAEilQEKCURlY29yYXRvchIMCgRuYW1lGAEgASgJEhEKCWFy", + "Z3VtZW50cxgCIAMoCRI2CghrZXl3b3JkcxgDIAMoCzIkLmNvbS5rY2wuYXBp", + "LkRlY29yYXRvci5LZXl3b3Jkc0VudHJ5Gi8KDUtleXdvcmRzRW50cnkSCwoD", + "a2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASI+CgdFeGFtcGxlEg8KB3N1", + "bW1hcnkYASABKAkSEwoLZGVzY3JpcHRpb24YAiABKAkSDQoFdmFsdWUYAyAB", + "KAkykgEKDkJ1aWx0aW5TZXJ2aWNlEjYKBFBpbmcSFS5jb20ua2NsLmFwaS5Q", + "aW5nQXJncxoXLmNvbS5rY2wuYXBpLlBpbmdSZXN1bHQSSAoKTGlzdE1ldGhv", + "ZBIbLmNvbS5rY2wuYXBpLkxpc3RNZXRob2RBcmdzGh0uY29tLmtjbC5hcGku", + "TGlzdE1ldGhvZFJlc3VsdDKwDQoKS2NsU2VydmljZRI2CgRQaW5nEhUuY29t", + "LmtjbC5hcGkuUGluZ0FyZ3MaFy5jb20ua2NsLmFwaS5QaW5nUmVzdWx0EkgK", + "CkdldFZlcnNpb24SGy5jb20ua2NsLmFwaS5HZXRWZXJzaW9uQXJncxodLmNv", + "bS5rY2wuYXBpLkdldFZlcnNpb25SZXN1bHQSTgoMUGFyc2VQcm9ncmFtEh0u", + "Y29tLmtjbC5hcGkuUGFyc2VQcm9ncmFtQXJncxofLmNvbS5rY2wuYXBpLlBh", + "cnNlUHJvZ3JhbVJlc3VsdBJFCglQYXJzZUZpbGUSGi5jb20ua2NsLmFwaS5Q", + "YXJzZUZpbGVBcmdzGhwuY29tLmtjbC5hcGkuUGFyc2VGaWxlUmVzdWx0EksK", + "C0xvYWRQYWNrYWdlEhwuY29tLmtjbC5hcGkuTG9hZFBhY2thZ2VBcmdzGh4u", + "Y29tLmtjbC5hcGkuTG9hZFBhY2thZ2VSZXN1bHQSTAoLTGlzdE9wdGlvbnMS", + "HS5jb20ua2NsLmFwaS5QYXJzZVByb2dyYW1BcmdzGh4uY29tLmtjbC5hcGku", + "TGlzdE9wdGlvbnNSZXN1bHQSUQoNTGlzdFZhcmlhYmxlcxIeLmNvbS5rY2wu", + "YXBpLkxpc3RWYXJpYWJsZXNBcmdzGiAuY29tLmtjbC5hcGkuTGlzdFZhcmlh", + "Ymxlc1Jlc3VsdBJLCgtFeGVjUHJvZ3JhbRIcLmNvbS5rY2wuYXBpLkV4ZWNQ", + "cm9ncmFtQXJncxoeLmNvbS5rY2wuYXBpLkV4ZWNQcm9ncmFtUmVzdWx0Ek4K", + "DEJ1aWxkUHJvZ3JhbRIdLmNvbS5rY2wuYXBpLkJ1aWxkUHJvZ3JhbUFyZ3Ma", + "Hy5jb20ua2NsLmFwaS5CdWlsZFByb2dyYW1SZXN1bHQSTQoMRXhlY0FydGlm", + "YWN0Eh0uY29tLmtjbC5hcGkuRXhlY0FydGlmYWN0QXJncxoeLmNvbS5rY2wu", + "YXBpLkV4ZWNQcm9ncmFtUmVzdWx0Ek4KDE92ZXJyaWRlRmlsZRIdLmNvbS5r", + "Y2wuYXBpLk92ZXJyaWRlRmlsZUFyZ3MaHy5jb20ua2NsLmFwaS5PdmVycmlk", + "ZUZpbGVSZXN1bHQSZgoUR2V0U2NoZW1hVHlwZU1hcHBpbmcSJS5jb20ua2Ns", + "LmFwaS5HZXRTY2hlbWFUeXBlTWFwcGluZ0FyZ3MaJy5jb20ua2NsLmFwaS5H", + "ZXRTY2hlbWFUeXBlTWFwcGluZ1Jlc3VsdBJICgpGb3JtYXRDb2RlEhsuY29t", + "LmtjbC5hcGkuRm9ybWF0Q29kZUFyZ3MaHS5jb20ua2NsLmFwaS5Gb3JtYXRD", + "b2RlUmVzdWx0EkgKCkZvcm1hdFBhdGgSGy5jb20ua2NsLmFwaS5Gb3JtYXRQ", + "YXRoQXJncxodLmNvbS5rY2wuYXBpLkZvcm1hdFBhdGhSZXN1bHQSQgoITGlu", + "dFBhdGgSGS5jb20ua2NsLmFwaS5MaW50UGF0aEFyZ3MaGy5jb20ua2NsLmFw", + "aS5MaW50UGF0aFJlc3VsdBJOCgxWYWxpZGF0ZUNvZGUSHS5jb20ua2NsLmFw", + "aS5WYWxpZGF0ZUNvZGVBcmdzGh8uY29tLmtjbC5hcGkuVmFsaWRhdGVDb2Rl", + "UmVzdWx0Ek4KDExpc3REZXBGaWxlcxIdLmNvbS5rY2wuYXBpLkxpc3REZXBG", + "aWxlc0FyZ3MaHy5jb20ua2NsLmFwaS5MaXN0RGVwRmlsZXNSZXN1bHQSXQoR", + "TG9hZFNldHRpbmdzRmlsZXMSIi5jb20ua2NsLmFwaS5Mb2FkU2V0dGluZ3NG", + "aWxlc0FyZ3MaJC5jb20ua2NsLmFwaS5Mb2FkU2V0dGluZ3NGaWxlc1Jlc3Vs", + "dBI8CgZSZW5hbWUSFy5jb20ua2NsLmFwaS5SZW5hbWVBcmdzGhkuY29tLmtj", + "bC5hcGkuUmVuYW1lUmVzdWx0EkgKClJlbmFtZUNvZGUSGy5jb20ua2NsLmFw", + "aS5SZW5hbWVDb2RlQXJncxodLmNvbS5rY2wuYXBpLlJlbmFtZUNvZGVSZXN1", + "bHQSNgoEVGVzdBIVLmNvbS5rY2wuYXBpLlRlc3RBcmdzGhcuY29tLmtjbC5h", + "cGkuVGVzdFJlc3VsdBJgChJVcGRhdGVEZXBlbmRlbmNpZXMSIy5jb20ua2Ns", + "LmFwaS5VcGRhdGVEZXBlbmRlbmNpZXNBcmdzGiUuY29tLmtjbC5hcGkuVXBk", + "YXRlRGVwZW5kZW5jaWVzUmVzdWx0QhRaBS47YXBpqgIKS2NsTGliLkFQSWIG", + "cHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { @@ -242,63 +246,65 @@ static SpecReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.Argument), global::KclLib.API.Argument.Parser, new[]{ "Name", "Value" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.Error), global::KclLib.API.Error.Parser, new[]{ "Level", "Code", "Messages" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.Message), global::KclLib.API.Message.Parser, new[]{ "Msg", "Pos" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.Ping_Args), global::KclLib.API.Ping_Args.Parser, new[]{ "Value" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.Ping_Result), global::KclLib.API.Ping_Result.Parser, new[]{ "Value" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.GetVersion_Args), global::KclLib.API.GetVersion_Args.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.GetVersion_Result), global::KclLib.API.GetVersion_Result.Parser, new[]{ "Version", "Checksum", "GitSha", "VersionInfo" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ListMethod_Args), global::KclLib.API.ListMethod_Args.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ListMethod_Result), global::KclLib.API.ListMethod_Result.Parser, new[]{ "MethodNameList" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ParseFile_Args), global::KclLib.API.ParseFile_Args.Parser, new[]{ "Path", "Source", "ExternalPkgs" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ParseFile_Result), global::KclLib.API.ParseFile_Result.Parser, new[]{ "AstJson", "Deps", "Errors" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ParseProgram_Args), global::KclLib.API.ParseProgram_Args.Parser, new[]{ "Paths", "Sources", "ExternalPkgs" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ParseProgram_Result), global::KclLib.API.ParseProgram_Result.Parser, new[]{ "AstJson", "Paths", "Errors" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.LoadPackage_Args), global::KclLib.API.LoadPackage_Args.Parser, new[]{ "ParseArgs", "ResolveAst", "LoadBuiltin", "WithAstIndex" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.LoadPackage_Result), global::KclLib.API.LoadPackage_Result.Parser, new[]{ "Program", "Paths", "ParseErrors", "TypeErrors", "Scopes", "Symbols", "NodeSymbolMap", "SymbolNodeMap", "FullyQualifiedNameMap", "PkgScopeMap" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, null, null, null, null, }), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ListOptions_Result), global::KclLib.API.ListOptions_Result.Parser, new[]{ "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.PingArgs), global::KclLib.API.PingArgs.Parser, new[]{ "Value" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.PingResult), global::KclLib.API.PingResult.Parser, new[]{ "Value" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.GetVersionArgs), global::KclLib.API.GetVersionArgs.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.GetVersionResult), global::KclLib.API.GetVersionResult.Parser, new[]{ "Version", "Checksum", "GitSha", "VersionInfo" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ListMethodArgs), global::KclLib.API.ListMethodArgs.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ListMethodResult), global::KclLib.API.ListMethodResult.Parser, new[]{ "MethodNameList" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ParseFileArgs), global::KclLib.API.ParseFileArgs.Parser, new[]{ "Path", "Source", "ExternalPkgs" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ParseFileResult), global::KclLib.API.ParseFileResult.Parser, new[]{ "AstJson", "Deps", "Errors" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ParseProgramArgs), global::KclLib.API.ParseProgramArgs.Parser, new[]{ "Paths", "Sources", "ExternalPkgs" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ParseProgramResult), global::KclLib.API.ParseProgramResult.Parser, new[]{ "AstJson", "Paths", "Errors" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.LoadPackageArgs), global::KclLib.API.LoadPackageArgs.Parser, new[]{ "ParseArgs", "ResolveAst", "LoadBuiltin", "WithAstIndex" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.LoadPackageResult), global::KclLib.API.LoadPackageResult.Parser, new[]{ "Program", "Paths", "ParseErrors", "TypeErrors", "Scopes", "Symbols", "NodeSymbolMap", "SymbolNodeMap", "FullyQualifiedNameMap", "PkgScopeMap" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, null, null, null, null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ListOptionsResult), global::KclLib.API.ListOptionsResult.Parser, new[]{ "Options" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.OptionHelp), global::KclLib.API.OptionHelp.Parser, new[]{ "Name", "Type", "Required", "DefaultValue", "Help" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.Symbol), global::KclLib.API.Symbol.Parser, new[]{ "Ty", "Name", "Owner", "Def", "Attrs", "IsGlobal" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.Scope), global::KclLib.API.Scope.Parser, new[]{ "Kind", "Parent", "Owner", "Children", "Defs" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.SymbolIndex), global::KclLib.API.SymbolIndex.Parser, new[]{ "I", "G", "Kind" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ScopeIndex), global::KclLib.API.ScopeIndex.Parser, new[]{ "I", "G", "Kind" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ExecProgram_Args), global::KclLib.API.ExecProgram_Args.Parser, new[]{ "WorkDir", "KFilenameList", "KCodeList", "Args", "Overrides", "DisableYamlResult", "PrintOverrideAst", "StrictRangeCheck", "DisableNone", "Verbose", "Debug", "SortKeys", "ExternalPkgs", "IncludeSchemaTypePath", "CompileOnly", "ShowHidden", "PathSelector", "FastEval" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ExecProgram_Result), global::KclLib.API.ExecProgram_Result.Parser, new[]{ "JsonResult", "YamlResult", "LogMessage", "ErrMessage" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.BuildProgram_Args), global::KclLib.API.BuildProgram_Args.Parser, new[]{ "ExecArgs", "Output" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.BuildProgram_Result), global::KclLib.API.BuildProgram_Result.Parser, new[]{ "Path" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ExecArtifact_Args), global::KclLib.API.ExecArtifact_Args.Parser, new[]{ "Path", "ExecArgs" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.FormatCode_Args), global::KclLib.API.FormatCode_Args.Parser, new[]{ "Source" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.FormatCode_Result), global::KclLib.API.FormatCode_Result.Parser, new[]{ "Formatted" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.FormatPath_Args), global::KclLib.API.FormatPath_Args.Parser, new[]{ "Path" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.FormatPath_Result), global::KclLib.API.FormatPath_Result.Parser, new[]{ "ChangedPaths" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.LintPath_Args), global::KclLib.API.LintPath_Args.Parser, new[]{ "Paths" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.LintPath_Result), global::KclLib.API.LintPath_Result.Parser, new[]{ "Results" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.OverrideFile_Args), global::KclLib.API.OverrideFile_Args.Parser, new[]{ "File", "Specs", "ImportPaths" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.OverrideFile_Result), global::KclLib.API.OverrideFile_Result.Parser, new[]{ "Result", "ParseErrors" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ListVariables_Options), global::KclLib.API.ListVariables_Options.Parser, new[]{ "MergeProgram" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ExecProgramArgs), global::KclLib.API.ExecProgramArgs.Parser, new[]{ "WorkDir", "KFilenameList", "KCodeList", "Args", "Overrides", "DisableYamlResult", "PrintOverrideAst", "StrictRangeCheck", "DisableNone", "Verbose", "Debug", "SortKeys", "ExternalPkgs", "IncludeSchemaTypePath", "CompileOnly", "ShowHidden", "PathSelector", "FastEval" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ExecProgramResult), global::KclLib.API.ExecProgramResult.Parser, new[]{ "JsonResult", "YamlResult", "LogMessage", "ErrMessage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.BuildProgramArgs), global::KclLib.API.BuildProgramArgs.Parser, new[]{ "ExecArgs", "Output" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.BuildProgramResult), global::KclLib.API.BuildProgramResult.Parser, new[]{ "Path" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ExecArtifactArgs), global::KclLib.API.ExecArtifactArgs.Parser, new[]{ "Path", "ExecArgs" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.FormatCodeArgs), global::KclLib.API.FormatCodeArgs.Parser, new[]{ "Source" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.FormatCodeResult), global::KclLib.API.FormatCodeResult.Parser, new[]{ "Formatted" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.FormatPathArgs), global::KclLib.API.FormatPathArgs.Parser, new[]{ "Path" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.FormatPathResult), global::KclLib.API.FormatPathResult.Parser, new[]{ "ChangedPaths" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.LintPathArgs), global::KclLib.API.LintPathArgs.Parser, new[]{ "Paths" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.LintPathResult), global::KclLib.API.LintPathResult.Parser, new[]{ "Results" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.OverrideFileArgs), global::KclLib.API.OverrideFileArgs.Parser, new[]{ "File", "Specs", "ImportPaths" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.OverrideFileResult), global::KclLib.API.OverrideFileResult.Parser, new[]{ "Result", "ParseErrors" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ListVariablesOptions), global::KclLib.API.ListVariablesOptions.Parser, new[]{ "MergeProgram" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.VariableList), global::KclLib.API.VariableList.Parser, new[]{ "Variables" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ListVariables_Args), global::KclLib.API.ListVariables_Args.Parser, new[]{ "Files", "Specs", "Options" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ListVariables_Result), global::KclLib.API.ListVariables_Result.Parser, new[]{ "Variables", "UnsupportedCodes", "ParseErrors" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ListVariablesArgs), global::KclLib.API.ListVariablesArgs.Parser, new[]{ "Files", "Specs", "Options" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ListVariablesResult), global::KclLib.API.ListVariablesResult.Parser, new[]{ "Variables", "UnsupportedCodes", "ParseErrors" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.Variable), global::KclLib.API.Variable.Parser, new[]{ "Value", "TypeName", "OpSym", "ListItems", "DictEntries" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.MapEntry), global::KclLib.API.MapEntry.Parser, new[]{ "Key", "Value" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.GetSchemaTypeMapping_Args), global::KclLib.API.GetSchemaTypeMapping_Args.Parser, new[]{ "ExecArgs", "SchemaName" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.GetSchemaTypeMapping_Result), global::KclLib.API.GetSchemaTypeMapping_Result.Parser, new[]{ "SchemaTypeMapping" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ValidateCode_Args), global::KclLib.API.ValidateCode_Args.Parser, new[]{ "Datafile", "Data", "File", "Code", "Schema", "AttributeName", "Format", "ExternalPkgs" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ValidateCode_Result), global::KclLib.API.ValidateCode_Result.Parser, new[]{ "Success", "ErrMessage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.GetSchemaTypeMappingArgs), global::KclLib.API.GetSchemaTypeMappingArgs.Parser, new[]{ "ExecArgs", "SchemaName" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.GetSchemaTypeMappingResult), global::KclLib.API.GetSchemaTypeMappingResult.Parser, new[]{ "SchemaTypeMapping" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.GetSchemaTypeMappingUnderPathResult), global::KclLib.API.GetSchemaTypeMappingUnderPathResult.Parser, new[]{ "SchemaTypeMapping" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.SchemaTypes), global::KclLib.API.SchemaTypes.Parser, new[]{ "SchemaType" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ValidateCodeArgs), global::KclLib.API.ValidateCodeArgs.Parser, new[]{ "Datafile", "Data", "File", "Code", "Schema", "AttributeName", "Format", "ExternalPkgs" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ValidateCodeResult), global::KclLib.API.ValidateCodeResult.Parser, new[]{ "Success", "ErrMessage" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.Position), global::KclLib.API.Position.Parser, new[]{ "Line", "Column", "Filename" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ListDepFiles_Args), global::KclLib.API.ListDepFiles_Args.Parser, new[]{ "WorkDir", "UseAbsPath", "IncludeAll", "UseFastParser" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ListDepFiles_Result), global::KclLib.API.ListDepFiles_Result.Parser, new[]{ "Pkgroot", "Pkgpath", "Files" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.LoadSettingsFiles_Args), global::KclLib.API.LoadSettingsFiles_Args.Parser, new[]{ "WorkDir", "Files" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.LoadSettingsFiles_Result), global::KclLib.API.LoadSettingsFiles_Result.Parser, new[]{ "KclCliConfigs", "KclOptions" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ListDepFilesArgs), global::KclLib.API.ListDepFilesArgs.Parser, new[]{ "WorkDir", "UseAbsPath", "IncludeAll", "UseFastParser" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.ListDepFilesResult), global::KclLib.API.ListDepFilesResult.Parser, new[]{ "Pkgroot", "Pkgpath", "Files" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.LoadSettingsFilesArgs), global::KclLib.API.LoadSettingsFilesArgs.Parser, new[]{ "WorkDir", "Files" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.LoadSettingsFilesResult), global::KclLib.API.LoadSettingsFilesResult.Parser, new[]{ "KclCliConfigs", "KclOptions" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.CliConfig), global::KclLib.API.CliConfig.Parser, new[]{ "Files", "Output", "Overrides", "PathSelector", "StrictRangeCheck", "DisableNone", "Verbose", "Debug", "SortKeys", "ShowHidden", "IncludeSchemaTypePath", "FastEval" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.KeyValuePair), global::KclLib.API.KeyValuePair.Parser, new[]{ "Key", "Value" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.Rename_Args), global::KclLib.API.Rename_Args.Parser, new[]{ "PackageRoot", "SymbolPath", "FilePaths", "NewName" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.Rename_Result), global::KclLib.API.Rename_Result.Parser, new[]{ "ChangedFiles" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.RenameCode_Args), global::KclLib.API.RenameCode_Args.Parser, new[]{ "PackageRoot", "SymbolPath", "SourceCodes", "NewName" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.RenameCode_Result), global::KclLib.API.RenameCode_Result.Parser, new[]{ "ChangedCodes" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.Test_Args), global::KclLib.API.Test_Args.Parser, new[]{ "ExecArgs", "PkgList", "RunRegexp", "FailFast" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.Test_Result), global::KclLib.API.Test_Result.Parser, new[]{ "Info" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.RenameArgs), global::KclLib.API.RenameArgs.Parser, new[]{ "PackageRoot", "SymbolPath", "FilePaths", "NewName" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.RenameResult), global::KclLib.API.RenameResult.Parser, new[]{ "ChangedFiles" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.RenameCodeArgs), global::KclLib.API.RenameCodeArgs.Parser, new[]{ "PackageRoot", "SymbolPath", "SourceCodes", "NewName" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.RenameCodeResult), global::KclLib.API.RenameCodeResult.Parser, new[]{ "ChangedCodes" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.TestArgs), global::KclLib.API.TestArgs.Parser, new[]{ "ExecArgs", "PkgList", "RunRegexp", "FailFast" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.TestResult), global::KclLib.API.TestResult.Parser, new[]{ "Info" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.TestCaseInfo), global::KclLib.API.TestCaseInfo.Parser, new[]{ "Name", "Error", "Duration", "LogMessage" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.UpdateDependencies_Args), global::KclLib.API.UpdateDependencies_Args.Parser, new[]{ "ManifestPath", "Vendor" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.UpdateDependencies_Result), global::KclLib.API.UpdateDependencies_Result.Parser, new[]{ "ExternalPkgs" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.UpdateDependenciesArgs), global::KclLib.API.UpdateDependenciesArgs.Parser, new[]{ "ManifestPath", "Vendor" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.UpdateDependenciesResult), global::KclLib.API.UpdateDependenciesResult.Parser, new[]{ "ExternalPkgs" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.KclType), global::KclLib.API.KclType.Parser, new[]{ "Type", "UnionTypes", "Default", "SchemaName", "SchemaDoc", "Properties", "Required", "Key", "Item", "Line", "Decorators", "Filename", "PkgPath", "Description", "Examples", "BaseSchema" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, }), new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.Decorator), global::KclLib.API.Decorator.Parser, new[]{ "Name", "Arguments", "Keywords" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), new pbr::GeneratedClrTypeInfo(typeof(global::KclLib.API.Example), global::KclLib.API.Example.Parser, new[]{ "Summary", "Description", "Value" }, null, null, null, null) @@ -312,23 +318,32 @@ static SpecReflection() { /// Message representing an external package for KCL. /// kcl main.k -E pkg_name=pkg_path /// - public sealed partial class ExternalPkg : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ExternalPkg : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExternalPkg()); 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::KclLib.API.SpecReflection.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 ExternalPkg() { OnConstruction(); } @@ -336,6 +351,7 @@ public ExternalPkg() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ExternalPkg(ExternalPkg other) : this() { pkgName_ = other.pkgName_; pkgPath_ = other.pkgPath_; @@ -343,6 +359,7 @@ public ExternalPkg(ExternalPkg other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ExternalPkg Clone() { return new ExternalPkg(this); } @@ -354,6 +371,7 @@ public ExternalPkg Clone() { /// Name of the package. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string PkgName { get { return pkgName_; } set { @@ -368,6 +386,7 @@ public string PkgName { /// Path of the package. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string PkgPath { get { return pkgPath_; } set { @@ -376,11 +395,13 @@ public string PkgPath { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as ExternalPkg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ExternalPkg other) { if (ReferenceEquals(other, null)) { return false; @@ -394,6 +415,7 @@ public bool Equals(ExternalPkg other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (PkgName.Length != 0) hash ^= PkgName.GetHashCode(); @@ -405,12 +427,17 @@ public override int GetHashCode() { } [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 (PkgName.Length != 0) { output.WriteRawTag(10); output.WriteString(PkgName); @@ -422,9 +449,29 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (PkgName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(PkgName); + } + if (PkgPath.Length != 0) { + output.WriteRawTag(18); + output.WriteString(PkgPath); + } + 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 (PkgName.Length != 0) { @@ -440,6 +487,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(ExternalPkg other) { if (other == null) { return; @@ -454,10 +502,18 @@ public void MergeFrom(ExternalPkg other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -471,7 +527,35 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + PkgName = input.ReadString(); + break; + } + case 18: { + PkgPath = input.ReadString(); + break; + } + } + } } + #endif } @@ -479,23 +563,32 @@ public void MergeFrom(pb::CodedInputStream input) { /// Message representing a key-value argument for KCL. /// kcl main.k -D name=value /// - public sealed partial class Argument : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Argument : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Argument()); 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::KclLib.API.SpecReflection.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 Argument() { OnConstruction(); } @@ -503,6 +596,7 @@ public Argument() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Argument(Argument other) : this() { name_ = other.name_; value_ = other.value_; @@ -510,6 +604,7 @@ public Argument(Argument other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Argument Clone() { return new Argument(this); } @@ -521,6 +616,7 @@ public Argument Clone() { /// Name of the argument. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Name { get { return name_; } set { @@ -535,6 +631,7 @@ public string Name { /// Value of the argument. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Value { get { return value_; } set { @@ -543,11 +640,13 @@ public string Value { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Argument); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Argument other) { if (ReferenceEquals(other, null)) { return false; @@ -561,6 +660,7 @@ public bool Equals(Argument other) { } [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(); @@ -572,12 +672,17 @@ public override int GetHashCode() { } [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); @@ -589,9 +694,29 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (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 (Name.Length != 0) { @@ -607,6 +732,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Argument other) { if (other == null) { return; @@ -621,10 +747,18 @@ public void MergeFrom(Argument other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -638,30 +772,67 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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 18: { + Value = input.ReadString(); + break; + } + } + } } + #endif } /// /// Message representing an error. /// - public sealed partial class Error : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Error : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Error()); 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::KclLib.API.SpecReflection.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 Error() { OnConstruction(); } @@ -669,6 +840,7 @@ public Error() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Error(Error other) : this() { level_ = other.level_; code_ = other.code_; @@ -677,6 +849,7 @@ public Error(Error other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Error Clone() { return new Error(this); } @@ -688,6 +861,7 @@ public Error Clone() { /// Level of the error (e.g., "Error", "Warning"). /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Level { get { return level_; } set { @@ -702,6 +876,7 @@ public string Level { /// Error code. (e.g., "E1001") /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Code { get { return code_; } set { @@ -718,16 +893,19 @@ public string Code { /// List of error messages. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Messages { get { return messages_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Error); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Error other) { if (ReferenceEquals(other, null)) { return false; @@ -742,6 +920,7 @@ public bool Equals(Error other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Level.Length != 0) hash ^= Level.GetHashCode(); @@ -754,12 +933,17 @@ public override int GetHashCode() { } [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 (Level.Length != 0) { output.WriteRawTag(10); output.WriteString(Level); @@ -772,9 +956,30 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (Level.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Level); + } + if (Code.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Code); + } + messages_.WriteTo(ref output, _repeated_messages_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 (Level.Length != 0) { @@ -791,6 +996,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Error other) { if (other == null) { return; @@ -806,10 +1012,18 @@ public void MergeFrom(Error other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -827,30 +1041,71 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + Level = input.ReadString(); + break; + } + case 18: { + Code = input.ReadString(); + break; + } + case 26: { + messages_.AddEntriesFrom(ref input, _repeated_messages_codec); + break; + } + } + } } + #endif } /// /// Message representing a detailed error message with a position. /// - public sealed partial class Message : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Message : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Message()); 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::KclLib.API.SpecReflection.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 Message() { OnConstruction(); } @@ -858,6 +1113,7 @@ public Message() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Message(Message other) : this() { msg_ = other.msg_; pos_ = other.pos_ != null ? other.pos_.Clone() : null; @@ -865,6 +1121,7 @@ public Message(Message other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Message Clone() { return new Message(this); } @@ -876,6 +1133,7 @@ public Message Clone() { /// The error message text. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Msg { get { return msg_; } set { @@ -890,6 +1148,7 @@ public string Msg { /// The position in the source code where the error occurred. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::KclLib.API.Position Pos { get { return pos_; } set { @@ -898,11 +1157,13 @@ public string Msg { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Message); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Message other) { if (ReferenceEquals(other, null)) { return false; @@ -916,6 +1177,7 @@ public bool Equals(Message other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Msg.Length != 0) hash ^= Msg.GetHashCode(); @@ -927,12 +1189,17 @@ public override int GetHashCode() { } [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 (Msg.Length != 0) { output.WriteRawTag(10); output.WriteString(Msg); @@ -944,9 +1211,29 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (Msg.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Msg); + } + if (pos_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Pos); + } + 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 (Msg.Length != 0) { @@ -962,6 +1249,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Message other) { if (other == null) { return; @@ -979,10 +1267,18 @@ public void MergeFrom(Message other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -999,45 +1295,87 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + Msg = input.ReadString(); + break; + } + case 18: { + if (pos_ == null) { + Pos = new global::KclLib.API.Position(); + } + input.ReadMessage(Pos); + break; + } + } + } } + #endif } /// /// Message for ping request arguments. /// - public sealed partial class Ping_Args : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Ping_Args()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PingArgs : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PingArgs()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public Ping_Args() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PingArgs() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Ping_Args(Ping_Args other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PingArgs(PingArgs other) : this() { value_ = other.value_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Ping_Args Clone() { - return new Ping_Args(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PingArgs Clone() { + return new PingArgs(this); } /// Field number for the "value" field. @@ -1047,6 +1385,7 @@ public Ping_Args Clone() { /// Value to be sent in the ping request. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Value { get { return value_; } set { @@ -1055,12 +1394,14 @@ public string Value { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as Ping_Args); + return Equals(other as PingArgs); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(Ping_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PingArgs other) { if (ReferenceEquals(other, null)) { return false; } @@ -1072,6 +1413,7 @@ public bool Equals(Ping_Args other) { } [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(); @@ -1082,12 +1424,17 @@ public override int GetHashCode() { } [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); @@ -1095,9 +1442,25 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (_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) { @@ -1110,7 +1473,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(Ping_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PingArgs other) { if (other == null) { return; } @@ -1121,10 +1485,18 @@ public void MergeFrom(Ping_Args other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -1134,45 +1506,80 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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; + } + } + } } + #endif } /// /// Message for ping response. /// - public sealed partial class Ping_Result : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Ping_Result()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PingResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PingResult()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public Ping_Result() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PingResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Ping_Result(Ping_Result other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PingResult(PingResult other) : this() { value_ = other.value_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Ping_Result Clone() { - return new Ping_Result(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PingResult Clone() { + return new PingResult(this); } /// Field number for the "value" field. @@ -1182,6 +1589,7 @@ public Ping_Result Clone() { /// Value received in the ping response. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Value { get { return value_; } set { @@ -1190,12 +1598,14 @@ public string Value { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as Ping_Result); + return Equals(other as PingResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(Ping_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PingResult other) { if (ReferenceEquals(other, null)) { return false; } @@ -1207,6 +1617,7 @@ public bool Equals(Ping_Result other) { } [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(); @@ -1217,12 +1628,17 @@ public override int GetHashCode() { } [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); @@ -1230,9 +1646,25 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (_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) { @@ -1245,7 +1677,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(Ping_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PingResult other) { if (other == null) { return; } @@ -1256,10 +1689,18 @@ public void MergeFrom(Ping_Result other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -1269,53 +1710,90 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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; + } + } + } } + #endif } /// /// Message for version request arguments. Empty message. /// - public sealed partial class GetVersion_Args : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetVersion_Args()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetVersionArgs : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetVersionArgs()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public GetVersion_Args() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetVersionArgs() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetVersion_Args(GetVersion_Args other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetVersionArgs(GetVersionArgs other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetVersion_Args Clone() { - return new GetVersion_Args(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetVersionArgs Clone() { + return new GetVersionArgs(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetVersion_Args); + return Equals(other as GetVersionArgs); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetVersion_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetVersionArgs other) { if (ReferenceEquals(other, null)) { return false; } @@ -1326,6 +1804,7 @@ public bool Equals(GetVersion_Args other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (_unknownFields != null) { @@ -1335,18 +1814,35 @@ public override int GetHashCode() { } [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) { @@ -1356,7 +1852,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetVersion_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetVersionArgs other) { if (other == null) { return; } @@ -1364,47 +1861,85 @@ public void MergeFrom(GetVersion_Args other) { } [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) { - switch(tag) { + 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 } /// /// Message for version response. /// - public sealed partial class GetVersion_Result : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetVersion_Result()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetVersionResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetVersionResult()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public GetVersion_Result() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetVersionResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetVersion_Result(GetVersion_Result other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetVersionResult(GetVersionResult other) : this() { version_ = other.version_; checksum_ = other.checksum_; gitSha_ = other.gitSha_; @@ -1413,8 +1948,9 @@ public GetVersion_Result(GetVersion_Result other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetVersion_Result Clone() { - return new GetVersion_Result(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetVersionResult Clone() { + return new GetVersionResult(this); } /// Field number for the "version" field. @@ -1424,6 +1960,7 @@ public GetVersion_Result Clone() { /// KCL version. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Version { get { return version_; } set { @@ -1438,6 +1975,7 @@ public string Version { /// Checksum of the KCL version. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Checksum { get { return checksum_; } set { @@ -1452,6 +1990,7 @@ public string Checksum { /// Git Git SHA of the KCL code repo. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GitSha { get { return gitSha_; } set { @@ -1466,6 +2005,7 @@ public string GitSha { /// Detailed version information as a string. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string VersionInfo { get { return versionInfo_; } set { @@ -1474,12 +2014,14 @@ public string VersionInfo { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetVersion_Result); + return Equals(other as GetVersionResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetVersion_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetVersionResult other) { if (ReferenceEquals(other, null)) { return false; } @@ -1494,6 +2036,7 @@ public bool Equals(GetVersion_Result other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Version.Length != 0) hash ^= Version.GetHashCode(); @@ -1507,12 +2050,17 @@ public override int GetHashCode() { } [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 (Version.Length != 0) { output.WriteRawTag(10); output.WriteString(Version); @@ -1532,9 +2080,37 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (Version.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Version); + } + if (Checksum.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Checksum); + } + if (GitSha.Length != 0) { + output.WriteRawTag(26); + output.WriteString(GitSha); + } + if (VersionInfo.Length != 0) { + output.WriteRawTag(34); + output.WriteString(VersionInfo); + } + 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 (Version.Length != 0) { @@ -1556,7 +2132,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetVersion_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetVersionResult other) { if (other == null) { return; } @@ -1576,10 +2153,18 @@ public void MergeFrom(GetVersion_Result other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -1601,53 +2186,102 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - } - - /// - /// Message for list method request arguments. Empty message. - /// - public sealed partial class ListMethod_Args : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListMethod_Args()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::KclLib.API.SpecReflection.Descriptor.MessageTypes[8]; } - } - + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ListMethod_Args() { - OnConstruction(); - } - + [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: { + Version = input.ReadString(); + break; + } + case 18: { + Checksum = input.ReadString(); + break; + } + case 26: { + GitSha = input.ReadString(); + break; + } + case 34: { + VersionInfo = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Message for list method request arguments. Empty message. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListMethodArgs : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListMethodArgs()); + 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::KclLib.API.SpecReflection.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 ListMethodArgs() { + OnConstruction(); + } + partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ListMethod_Args(ListMethod_Args other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListMethodArgs(ListMethodArgs other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ListMethod_Args Clone() { - return new ListMethod_Args(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListMethodArgs Clone() { + return new ListMethodArgs(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ListMethod_Args); + return Equals(other as ListMethodArgs); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ListMethod_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListMethodArgs other) { if (ReferenceEquals(other, null)) { return false; } @@ -1658,6 +2292,7 @@ public bool Equals(ListMethod_Args other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (_unknownFields != null) { @@ -1667,18 +2302,35 @@ public override int GetHashCode() { } [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) { @@ -1688,7 +2340,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ListMethod_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListMethodArgs other) { if (other == null) { return; } @@ -1696,54 +2349,93 @@ public void MergeFrom(ListMethod_Args other) { } [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) { - switch(tag) { + 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 } /// /// Message for list method response. /// - public sealed partial class ListMethod_Result : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListMethod_Result()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListMethodResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListMethodResult()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public ListMethod_Result() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListMethodResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ListMethod_Result(ListMethod_Result other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListMethodResult(ListMethodResult other) : this() { methodNameList_ = other.methodNameList_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ListMethod_Result Clone() { - return new ListMethod_Result(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListMethodResult Clone() { + return new ListMethodResult(this); } /// Field number for the "method_name_list" field. @@ -1755,17 +2447,20 @@ public ListMethod_Result Clone() { /// List of available method names. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField MethodNameList { get { return methodNameList_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ListMethod_Result); + return Equals(other as ListMethodResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ListMethod_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListMethodResult other) { if (ReferenceEquals(other, null)) { return false; } @@ -1777,6 +2472,7 @@ public bool Equals(ListMethod_Result other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= methodNameList_.GetHashCode(); @@ -1787,19 +2483,37 @@ public override int GetHashCode() { } [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 methodNameList_.WriteTo(output, _repeated_methodNameList_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) { + methodNameList_.WriteTo(ref output, _repeated_methodNameList_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 += methodNameList_.CalculateSize(_repeated_methodNameList_codec); @@ -1810,7 +2524,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ListMethod_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListMethodResult other) { if (other == null) { return; } @@ -1819,10 +2534,18 @@ public void MergeFrom(ListMethod_Result other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -1832,38 +2555,72 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + methodNameList_.AddEntriesFrom(ref input, _repeated_methodNameList_codec); + break; + } + } + } } + #endif } /// /// Message for parse file request arguments. /// - public sealed partial class ParseFile_Args : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ParseFile_Args()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ParseFileArgs : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ParseFileArgs()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public ParseFile_Args() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ParseFileArgs() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ParseFile_Args(ParseFile_Args other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ParseFileArgs(ParseFileArgs other) : this() { path_ = other.path_; source_ = other.source_; externalPkgs_ = other.externalPkgs_.Clone(); @@ -1871,8 +2628,9 @@ public ParseFile_Args(ParseFile_Args other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ParseFile_Args Clone() { - return new ParseFile_Args(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ParseFileArgs Clone() { + return new ParseFileArgs(this); } /// Field number for the "path" field. @@ -1882,6 +2640,7 @@ public ParseFile_Args Clone() { /// Path of the file to be parsed. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Path { get { return path_; } set { @@ -1896,6 +2655,7 @@ public string Path { /// Source code to be parsed. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Source { get { return source_; } set { @@ -1912,17 +2672,20 @@ public string Source { /// External packages path. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ExternalPkgs { get { return externalPkgs_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ParseFile_Args); + return Equals(other as ParseFileArgs); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ParseFile_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ParseFileArgs other) { if (ReferenceEquals(other, null)) { return false; } @@ -1936,6 +2699,7 @@ public bool Equals(ParseFile_Args other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Path.Length != 0) hash ^= Path.GetHashCode(); @@ -1948,12 +2712,17 @@ public override int GetHashCode() { } [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 (Path.Length != 0) { output.WriteRawTag(10); output.WriteString(Path); @@ -1966,9 +2735,30 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (Path.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Path); + } + if (Source.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Source); + } + externalPkgs_.WriteTo(ref output, _repeated_externalPkgs_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 (Path.Length != 0) { @@ -1985,7 +2775,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ParseFile_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ParseFileArgs other) { if (other == null) { return; } @@ -2000,10 +2791,18 @@ public void MergeFrom(ParseFile_Args other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -2021,38 +2820,80 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + Path = input.ReadString(); + break; + } + case 18: { + Source = input.ReadString(); + break; + } + case 26: { + externalPkgs_.AddEntriesFrom(ref input, _repeated_externalPkgs_codec); + break; + } + } + } } + #endif } /// /// Message for parse file response. /// - public sealed partial class ParseFile_Result : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ParseFile_Result()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ParseFileResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ParseFileResult()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public ParseFile_Result() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ParseFileResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ParseFile_Result(ParseFile_Result other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ParseFileResult(ParseFileResult other) : this() { astJson_ = other.astJson_; deps_ = other.deps_.Clone(); errors_ = other.errors_.Clone(); @@ -2060,8 +2901,9 @@ public ParseFile_Result(ParseFile_Result other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ParseFile_Result Clone() { - return new ParseFile_Result(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ParseFileResult Clone() { + return new ParseFileResult(this); } /// Field number for the "ast_json" field. @@ -2071,6 +2913,7 @@ public ParseFile_Result Clone() { /// Abstract Syntax Tree (AST) in JSON format. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string AstJson { get { return astJson_; } set { @@ -2087,6 +2930,7 @@ public string AstJson { /// File dependency paths. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Deps { get { return deps_; } } @@ -2100,17 +2944,20 @@ public string AstJson { /// List of parse errors. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Errors { get { return errors_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ParseFile_Result); + return Equals(other as ParseFileResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ParseFile_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ParseFileResult other) { if (ReferenceEquals(other, null)) { return false; } @@ -2124,6 +2971,7 @@ public bool Equals(ParseFile_Result other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (AstJson.Length != 0) hash ^= AstJson.GetHashCode(); @@ -2136,12 +2984,17 @@ public override int GetHashCode() { } [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 (AstJson.Length != 0) { output.WriteRawTag(10); output.WriteString(AstJson); @@ -2151,9 +3004,27 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (AstJson.Length != 0) { + output.WriteRawTag(10); + output.WriteString(AstJson); + } + deps_.WriteTo(ref output, _repeated_deps_codec); + errors_.WriteTo(ref output, _repeated_errors_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 (AstJson.Length != 0) { @@ -2168,7 +3039,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ParseFile_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ParseFileResult other) { if (other == null) { return; } @@ -2181,10 +3053,18 @@ public void MergeFrom(ParseFile_Result other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -2202,38 +3082,80 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + AstJson = input.ReadString(); + break; + } + case 18: { + deps_.AddEntriesFrom(ref input, _repeated_deps_codec); + break; + } + case 26: { + errors_.AddEntriesFrom(ref input, _repeated_errors_codec); + break; + } + } + } } + #endif } /// /// Message for parse program request arguments. /// - public sealed partial class ParseProgram_Args : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ParseProgram_Args()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ParseProgramArgs : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ParseProgramArgs()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public ParseProgram_Args() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ParseProgramArgs() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ParseProgram_Args(ParseProgram_Args other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ParseProgramArgs(ParseProgramArgs other) : this() { paths_ = other.paths_.Clone(); sources_ = other.sources_.Clone(); externalPkgs_ = other.externalPkgs_.Clone(); @@ -2241,8 +3163,9 @@ public ParseProgram_Args(ParseProgram_Args other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ParseProgram_Args Clone() { - return new ParseProgram_Args(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ParseProgramArgs Clone() { + return new ParseProgramArgs(this); } /// Field number for the "paths" field. @@ -2254,6 +3177,7 @@ public ParseProgram_Args Clone() { /// Paths of the program files to be parsed. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Paths { get { return paths_; } } @@ -2267,6 +3191,7 @@ public ParseProgram_Args Clone() { /// Source codes to be parsed. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Sources { get { return sources_; } } @@ -2280,17 +3205,20 @@ public ParseProgram_Args Clone() { /// External packages path. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ExternalPkgs { get { return externalPkgs_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ParseProgram_Args); + return Equals(other as ParseProgramArgs); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ParseProgram_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ParseProgramArgs other) { if (ReferenceEquals(other, null)) { return false; } @@ -2304,6 +3232,7 @@ public bool Equals(ParseProgram_Args other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= paths_.GetHashCode(); @@ -2316,21 +3245,41 @@ public override int GetHashCode() { } [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 paths_.WriteTo(output, _repeated_paths_codec); sources_.WriteTo(output, _repeated_sources_codec); externalPkgs_.WriteTo(output, _repeated_externalPkgs_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) { + paths_.WriteTo(ref output, _repeated_paths_codec); + sources_.WriteTo(ref output, _repeated_sources_codec); + externalPkgs_.WriteTo(ref output, _repeated_externalPkgs_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 += paths_.CalculateSize(_repeated_paths_codec); @@ -2343,7 +3292,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ParseProgram_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ParseProgramArgs other) { if (other == null) { return; } @@ -2354,10 +3304,18 @@ public void MergeFrom(ParseProgram_Args other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -2375,38 +3333,80 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + paths_.AddEntriesFrom(ref input, _repeated_paths_codec); + break; + } + case 18: { + sources_.AddEntriesFrom(ref input, _repeated_sources_codec); + break; + } + case 26: { + externalPkgs_.AddEntriesFrom(ref input, _repeated_externalPkgs_codec); + break; + } + } + } } + #endif } /// /// Message for parse program response. /// - public sealed partial class ParseProgram_Result : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ParseProgram_Result()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ParseProgramResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ParseProgramResult()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public ParseProgram_Result() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ParseProgramResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ParseProgram_Result(ParseProgram_Result other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ParseProgramResult(ParseProgramResult other) : this() { astJson_ = other.astJson_; paths_ = other.paths_.Clone(); errors_ = other.errors_.Clone(); @@ -2414,8 +3414,9 @@ public ParseProgram_Result(ParseProgram_Result other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ParseProgram_Result Clone() { - return new ParseProgram_Result(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ParseProgramResult Clone() { + return new ParseProgramResult(this); } /// Field number for the "ast_json" field. @@ -2425,6 +3426,7 @@ public ParseProgram_Result Clone() { /// Abstract Syntax Tree (AST) in JSON format. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string AstJson { get { return astJson_; } set { @@ -2441,6 +3443,7 @@ public string AstJson { /// Returns the files in the order they should be compiled. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Paths { get { return paths_; } } @@ -2454,17 +3457,20 @@ public string AstJson { /// List of parse errors. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Errors { get { return errors_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ParseProgram_Result); + return Equals(other as ParseProgramResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ParseProgram_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ParseProgramResult other) { if (ReferenceEquals(other, null)) { return false; } @@ -2478,6 +3484,7 @@ public bool Equals(ParseProgram_Result other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (AstJson.Length != 0) hash ^= AstJson.GetHashCode(); @@ -2490,12 +3497,17 @@ public override int GetHashCode() { } [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 (AstJson.Length != 0) { output.WriteRawTag(10); output.WriteString(AstJson); @@ -2505,9 +3517,27 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (AstJson.Length != 0) { + output.WriteRawTag(10); + output.WriteString(AstJson); + } + paths_.WriteTo(ref output, _repeated_paths_codec); + errors_.WriteTo(ref output, _repeated_errors_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 (AstJson.Length != 0) { @@ -2522,7 +3552,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ParseProgram_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ParseProgramResult other) { if (other == null) { return; } @@ -2535,10 +3566,18 @@ public void MergeFrom(ParseProgram_Result other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -2556,38 +3595,80 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + AstJson = input.ReadString(); + break; + } + case 18: { + paths_.AddEntriesFrom(ref input, _repeated_paths_codec); + break; + } + case 26: { + errors_.AddEntriesFrom(ref input, _repeated_errors_codec); + break; + } + } + } } + #endif } /// /// Message for load package request arguments. /// - public sealed partial class LoadPackage_Args : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoadPackage_Args()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class LoadPackageArgs : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoadPackageArgs()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public LoadPackage_Args() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoadPackageArgs() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public LoadPackage_Args(LoadPackage_Args other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoadPackageArgs(LoadPackageArgs other) : this() { parseArgs_ = other.parseArgs_ != null ? other.parseArgs_.Clone() : null; resolveAst_ = other.resolveAst_; loadBuiltin_ = other.loadBuiltin_; @@ -2596,18 +3677,20 @@ public LoadPackage_Args(LoadPackage_Args other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public LoadPackage_Args Clone() { - return new LoadPackage_Args(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoadPackageArgs Clone() { + return new LoadPackageArgs(this); } /// Field number for the "parse_args" field. public const int ParseArgsFieldNumber = 1; - private global::KclLib.API.ParseProgram_Args parseArgs_; + private global::KclLib.API.ParseProgramArgs parseArgs_; /// /// Arguments for parsing the program. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::KclLib.API.ParseProgram_Args ParseArgs { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::KclLib.API.ParseProgramArgs ParseArgs { get { return parseArgs_; } set { parseArgs_ = value; @@ -2621,6 +3704,7 @@ public LoadPackage_Args Clone() { /// Flag indicating whether to resolve AST. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool ResolveAst { get { return resolveAst_; } set { @@ -2635,6 +3719,7 @@ public bool ResolveAst { /// Flag indicating whether to load built-in modules. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool LoadBuiltin { get { return loadBuiltin_; } set { @@ -2649,6 +3734,7 @@ public bool LoadBuiltin { /// Flag indicating whether to include AST index. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool WithAstIndex { get { return withAstIndex_; } set { @@ -2657,12 +3743,14 @@ public bool WithAstIndex { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as LoadPackage_Args); + return Equals(other as LoadPackageArgs); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(LoadPackage_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LoadPackageArgs other) { if (ReferenceEquals(other, null)) { return false; } @@ -2677,6 +3765,7 @@ public bool Equals(LoadPackage_Args other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (parseArgs_ != null) hash ^= ParseArgs.GetHashCode(); @@ -2690,12 +3779,17 @@ public override int GetHashCode() { } [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 (parseArgs_ != null) { output.WriteRawTag(10); output.WriteMessage(ParseArgs); @@ -2715,9 +3809,37 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (parseArgs_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ParseArgs); + } + if (ResolveAst != false) { + output.WriteRawTag(16); + output.WriteBool(ResolveAst); + } + if (LoadBuiltin != false) { + output.WriteRawTag(24); + output.WriteBool(LoadBuiltin); + } + if (WithAstIndex != false) { + output.WriteRawTag(32); + output.WriteBool(WithAstIndex); + } + 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 (parseArgs_ != null) { @@ -2739,13 +3861,14 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(LoadPackage_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LoadPackageArgs other) { if (other == null) { return; } if (other.parseArgs_ != null) { if (parseArgs_ == null) { - ParseArgs = new global::KclLib.API.ParseProgram_Args(); + ParseArgs = new global::KclLib.API.ParseProgramArgs(); } ParseArgs.MergeFrom(other.ParseArgs); } @@ -2762,16 +3885,24 @@ public void MergeFrom(LoadPackage_Args other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (parseArgs_ == null) { - ParseArgs = new global::KclLib.API.ParseProgram_Args(); + ParseArgs = new global::KclLib.API.ParseProgramArgs(); } input.ReadMessage(ParseArgs); break; @@ -2790,38 +3921,87 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - } - - /// - /// Message for load package response. - /// - public sealed partial class LoadPackage_Result : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoadPackage_Result()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::KclLib.API.SpecReflection.Descriptor.MessageTypes[15]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public LoadPackage_Result() { + [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 (parseArgs_ == null) { + ParseArgs = new global::KclLib.API.ParseProgramArgs(); + } + input.ReadMessage(ParseArgs); + break; + } + case 16: { + ResolveAst = input.ReadBool(); + break; + } + case 24: { + LoadBuiltin = input.ReadBool(); + break; + } + case 32: { + WithAstIndex = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + /// + /// Message for load package response. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class LoadPackageResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoadPackageResult()); + 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::KclLib.API.SpecReflection.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 LoadPackageResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public LoadPackage_Result(LoadPackage_Result other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoadPackageResult(LoadPackageResult other) : this() { program_ = other.program_; paths_ = other.paths_.Clone(); parseErrors_ = other.parseErrors_.Clone(); @@ -2836,8 +4016,9 @@ public LoadPackage_Result(LoadPackage_Result other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public LoadPackage_Result Clone() { - return new LoadPackage_Result(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoadPackageResult Clone() { + return new LoadPackageResult(this); } /// Field number for the "program" field. @@ -2847,6 +4028,7 @@ public LoadPackage_Result Clone() { /// Program Abstract Syntax Tree (AST) in JSON format. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Program { get { return program_; } set { @@ -2863,6 +4045,7 @@ public string Program { /// Returns the files in the order they should be compiled. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Paths { get { return paths_; } } @@ -2876,6 +4059,7 @@ public string Program { /// List of parse errors. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ParseErrors { get { return parseErrors_; } } @@ -2889,6 +4073,7 @@ public string Program { /// List of type errors. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField TypeErrors { get { return typeErrors_; } } @@ -2902,6 +4087,7 @@ public string Program { /// Map of scopes with scope index as key. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::MapField Scopes { get { return scopes_; } } @@ -2915,6 +4101,7 @@ public string Program { /// Map of symbols with symbol index as key. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::MapField Symbols { get { return symbols_; } } @@ -2928,6 +4115,7 @@ public string Program { /// Map of node-symbol associations with AST index UUID as key. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::MapField NodeSymbolMap { get { return nodeSymbolMap_; } } @@ -2941,6 +4129,7 @@ public string Program { /// Map of symbol-node associations with symbol index as key. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::MapField SymbolNodeMap { get { return symbolNodeMap_; } } @@ -2954,6 +4143,7 @@ public string Program { /// Map of fully qualified names with symbol index as key. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::MapField FullyQualifiedNameMap { get { return fullyQualifiedNameMap_; } } @@ -2967,17 +4157,20 @@ public string Program { /// Map of package scope with package path as key. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::MapField PkgScopeMap { get { return pkgScopeMap_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as LoadPackage_Result); + return Equals(other as LoadPackageResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(LoadPackage_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LoadPackageResult other) { if (ReferenceEquals(other, null)) { return false; } @@ -2998,6 +4191,7 @@ public bool Equals(LoadPackage_Result other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Program.Length != 0) hash ^= Program.GetHashCode(); @@ -3017,12 +4211,17 @@ public override int GetHashCode() { } [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 (Program.Length != 0) { output.WriteRawTag(10); output.WriteString(Program); @@ -3039,9 +4238,34 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (Program.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Program); + } + paths_.WriteTo(ref output, _repeated_paths_codec); + parseErrors_.WriteTo(ref output, _repeated_parseErrors_codec); + typeErrors_.WriteTo(ref output, _repeated_typeErrors_codec); + scopes_.WriteTo(ref output, _map_scopes_codec); + symbols_.WriteTo(ref output, _map_symbols_codec); + nodeSymbolMap_.WriteTo(ref output, _map_nodeSymbolMap_codec); + symbolNodeMap_.WriteTo(ref output, _map_symbolNodeMap_codec); + fullyQualifiedNameMap_.WriteTo(ref output, _map_fullyQualifiedNameMap_codec); + pkgScopeMap_.WriteTo(ref output, _map_pkgScopeMap_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 (Program.Length != 0) { @@ -3063,7 +4287,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(LoadPackage_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LoadPackageResult other) { if (other == null) { return; } @@ -3073,20 +4298,28 @@ public void MergeFrom(LoadPackage_Result other) { paths_.Add(other.paths_); parseErrors_.Add(other.parseErrors_); typeErrors_.Add(other.typeErrors_); - scopes_.Add(other.scopes_); - symbols_.Add(other.symbols_); - nodeSymbolMap_.Add(other.nodeSymbolMap_); - symbolNodeMap_.Add(other.symbolNodeMap_); - fullyQualifiedNameMap_.Add(other.fullyQualifiedNameMap_); - pkgScopeMap_.Add(other.pkgScopeMap_); + scopes_.MergeFrom(other.scopes_); + symbols_.MergeFrom(other.symbols_); + nodeSymbolMap_.MergeFrom(other.nodeSymbolMap_); + symbolNodeMap_.MergeFrom(other.symbolNodeMap_); + fullyQualifiedNameMap_.MergeFrom(other.fullyQualifiedNameMap_); + pkgScopeMap_.MergeFrom(other.pkgScopeMap_); _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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -3132,45 +4365,116 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + Program = input.ReadString(); + break; + } + case 18: { + paths_.AddEntriesFrom(ref input, _repeated_paths_codec); + break; + } + case 26: { + parseErrors_.AddEntriesFrom(ref input, _repeated_parseErrors_codec); + break; + } + case 34: { + typeErrors_.AddEntriesFrom(ref input, _repeated_typeErrors_codec); + break; + } + case 42: { + scopes_.AddEntriesFrom(ref input, _map_scopes_codec); + break; + } + case 50: { + symbols_.AddEntriesFrom(ref input, _map_symbols_codec); + break; + } + case 58: { + nodeSymbolMap_.AddEntriesFrom(ref input, _map_nodeSymbolMap_codec); + break; + } + case 66: { + symbolNodeMap_.AddEntriesFrom(ref input, _map_symbolNodeMap_codec); + break; + } + case 74: { + fullyQualifiedNameMap_.AddEntriesFrom(ref input, _map_fullyQualifiedNameMap_codec); + break; + } + case 82: { + pkgScopeMap_.AddEntriesFrom(ref input, _map_pkgScopeMap_codec); + break; + } + } + } } + #endif } /// /// Message for list options response. /// - public sealed partial class ListOptions_Result : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListOptions_Result()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListOptionsResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListOptionsResult()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public ListOptions_Result() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListOptionsResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ListOptions_Result(ListOptions_Result other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListOptionsResult(ListOptionsResult other) : this() { options_ = other.options_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ListOptions_Result Clone() { - return new ListOptions_Result(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListOptionsResult Clone() { + return new ListOptionsResult(this); } /// Field number for the "options" field. @@ -3182,17 +4486,20 @@ public ListOptions_Result Clone() { /// List of available options. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Options { get { return options_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ListOptions_Result); + return Equals(other as ListOptionsResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ListOptions_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListOptionsResult other) { if (ReferenceEquals(other, null)) { return false; } @@ -3204,6 +4511,7 @@ public bool Equals(ListOptions_Result other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= options_.GetHashCode(); @@ -3214,19 +4522,37 @@ public override int GetHashCode() { } [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 options_.WriteTo(output, _repeated_options_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) { + options_.WriteTo(ref output, _repeated_options_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 += options_.CalculateSize(_repeated_options_codec); @@ -3237,7 +4563,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ListOptions_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListOptionsResult other) { if (other == null) { return; } @@ -3246,10 +4573,18 @@ public void MergeFrom(ListOptions_Result other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -3259,30 +4594,63 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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 18: { + options_.AddEntriesFrom(ref input, _repeated_options_codec); + break; + } + } + } } + #endif } /// /// Message representing a help option. /// - public sealed partial class OptionHelp : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class OptionHelp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OptionHelp()); 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::KclLib.API.SpecReflection.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 OptionHelp() { OnConstruction(); } @@ -3290,6 +4658,7 @@ public OptionHelp() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public OptionHelp(OptionHelp other) : this() { name_ = other.name_; type_ = other.type_; @@ -3300,6 +4669,7 @@ public OptionHelp(OptionHelp other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public OptionHelp Clone() { return new OptionHelp(this); } @@ -3311,6 +4681,7 @@ public OptionHelp Clone() { /// Name of the option. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Name { get { return name_; } set { @@ -3325,6 +4696,7 @@ public string Name { /// Type of the option. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Type { get { return type_; } set { @@ -3339,6 +4711,7 @@ public string Type { /// Flag indicating if the option is required. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Required { get { return required_; } set { @@ -3353,6 +4726,7 @@ public bool Required { /// Default value of the option. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string DefaultValue { get { return defaultValue_; } set { @@ -3367,6 +4741,7 @@ public string DefaultValue { /// Help text for the option. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Help { get { return help_; } set { @@ -3375,11 +4750,13 @@ public string Help { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as OptionHelp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(OptionHelp other) { if (ReferenceEquals(other, null)) { return false; @@ -3396,6 +4773,7 @@ public bool Equals(OptionHelp other) { } [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(); @@ -3410,12 +4788,17 @@ public override int GetHashCode() { } [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); @@ -3439,9 +4822,41 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (Type.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Type); + } + if (Required != false) { + output.WriteRawTag(24); + output.WriteBool(Required); + } + if (DefaultValue.Length != 0) { + output.WriteRawTag(34); + output.WriteString(DefaultValue); + } + if (Help.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Help); + } + 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) { @@ -3466,6 +4881,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(OptionHelp other) { if (other == null) { return; @@ -3489,10 +4905,18 @@ public void MergeFrom(OptionHelp other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -3518,30 +4942,79 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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 18: { + Type = input.ReadString(); + break; + } + case 24: { + Required = input.ReadBool(); + break; + } + case 34: { + DefaultValue = input.ReadString(); + break; + } + case 42: { + Help = input.ReadString(); + break; + } + } + } } + #endif } /// /// Message representing a symbol in KCL. /// - public sealed partial class Symbol : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Symbol : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Symbol()); 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::KclLib.API.SpecReflection.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 Symbol() { OnConstruction(); } @@ -3549,6 +5022,7 @@ public Symbol() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Symbol(Symbol other) : this() { ty_ = other.ty_ != null ? other.ty_.Clone() : null; name_ = other.name_; @@ -3560,6 +5034,7 @@ public Symbol(Symbol other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Symbol Clone() { return new Symbol(this); } @@ -3571,6 +5046,7 @@ public Symbol Clone() { /// Type of the symbol. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::KclLib.API.KclType Ty { get { return ty_; } set { @@ -3585,6 +5061,7 @@ public Symbol Clone() { /// Name of the symbol. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Name { get { return name_; } set { @@ -3599,6 +5076,7 @@ public string Name { /// Owner of the symbol. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::KclLib.API.SymbolIndex Owner { get { return owner_; } set { @@ -3613,6 +5091,7 @@ public string Name { /// Definition of the symbol. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::KclLib.API.SymbolIndex Def { get { return def_; } set { @@ -3629,6 +5108,7 @@ public string Name { /// Attributes of the symbol. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Attrs { get { return attrs_; } } @@ -3640,6 +5120,7 @@ public string Name { /// Flag indicating if the symbol is global. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsGlobal { get { return isGlobal_; } set { @@ -3648,11 +5129,13 @@ public bool IsGlobal { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Symbol); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Symbol other) { if (ReferenceEquals(other, null)) { return false; @@ -3670,6 +5153,7 @@ public bool Equals(Symbol other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (ty_ != null) hash ^= Ty.GetHashCode(); @@ -3685,12 +5169,17 @@ public override int GetHashCode() { } [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 (ty_ != null) { output.WriteRawTag(10); output.WriteMessage(Ty); @@ -3715,9 +5204,42 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (ty_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Ty); + } + if (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (owner_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Owner); + } + if (def_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Def); + } + attrs_.WriteTo(ref output, _repeated_attrs_codec); + if (IsGlobal != false) { + output.WriteRawTag(48); + output.WriteBool(IsGlobal); + } + 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 (ty_ != null) { @@ -3743,6 +5265,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Symbol other) { if (other == null) { return; @@ -3776,10 +5299,18 @@ public void MergeFrom(Symbol other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -3818,30 +5349,92 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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 (ty_ == null) { + Ty = new global::KclLib.API.KclType(); + } + input.ReadMessage(Ty); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 26: { + if (owner_ == null) { + Owner = new global::KclLib.API.SymbolIndex(); + } + input.ReadMessage(Owner); + break; + } + case 34: { + if (def_ == null) { + Def = new global::KclLib.API.SymbolIndex(); + } + input.ReadMessage(Def); + break; + } + case 42: { + attrs_.AddEntriesFrom(ref input, _repeated_attrs_codec); + break; + } + case 48: { + IsGlobal = input.ReadBool(); + break; + } + } + } } + #endif } /// /// Message representing a scope in KCL. /// - public sealed partial class Scope : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Scope : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Scope()); 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::KclLib.API.SpecReflection.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 Scope() { OnConstruction(); } @@ -3849,6 +5442,7 @@ public Scope() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Scope(Scope other) : this() { kind_ = other.kind_; parent_ = other.parent_ != null ? other.parent_.Clone() : null; @@ -3859,6 +5453,7 @@ public Scope(Scope other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Scope Clone() { return new Scope(this); } @@ -3870,6 +5465,7 @@ public Scope Clone() { /// Type of the scope. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Kind { get { return kind_; } set { @@ -3884,6 +5480,7 @@ public string Kind { /// Parent scope. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::KclLib.API.ScopeIndex Parent { get { return parent_; } set { @@ -3898,6 +5495,7 @@ public string Kind { /// Owner of the scope. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::KclLib.API.SymbolIndex Owner { get { return owner_; } set { @@ -3914,6 +5512,7 @@ public string Kind { /// Children of the scope. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Children { get { return children_; } } @@ -3927,16 +5526,19 @@ public string Kind { /// Definitions in the scope. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Defs { get { return defs_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Scope); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Scope other) { if (ReferenceEquals(other, null)) { return false; @@ -3953,6 +5555,7 @@ public bool Equals(Scope other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Kind.Length != 0) hash ^= Kind.GetHashCode(); @@ -3967,12 +5570,17 @@ public override int GetHashCode() { } [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 (Kind.Length != 0) { output.WriteRawTag(10); output.WriteString(Kind); @@ -3990,17 +5598,43 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (Kind.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Kind); + output.WriteRawTag(10); + output.WriteString(Kind); } if (parent_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); - } + output.WriteRawTag(18); + output.WriteMessage(Parent); + } + if (owner_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Owner); + } + children_.WriteTo(ref output, _repeated_children_codec); + defs_.WriteTo(ref output, _repeated_defs_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 (Kind.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Kind); + } + if (parent_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); + } if (owner_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Owner); } @@ -4013,6 +5647,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Scope other) { if (other == null) { return; @@ -4038,10 +5673,18 @@ public void MergeFrom(Scope other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -4073,30 +5716,85 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + Kind = input.ReadString(); + break; + } + case 18: { + if (parent_ == null) { + Parent = new global::KclLib.API.ScopeIndex(); + } + input.ReadMessage(Parent); + break; + } + case 26: { + if (owner_ == null) { + Owner = new global::KclLib.API.SymbolIndex(); + } + input.ReadMessage(Owner); + break; + } + case 34: { + children_.AddEntriesFrom(ref input, _repeated_children_codec); + break; + } + case 42: { + defs_.AddEntriesFrom(ref input, _repeated_defs_codec); + break; + } + } + } } + #endif } /// /// Message representing a symbol index. /// - public sealed partial class SymbolIndex : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SymbolIndex : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SymbolIndex()); 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::KclLib.API.SpecReflection.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 SymbolIndex() { OnConstruction(); } @@ -4104,6 +5802,7 @@ public SymbolIndex() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SymbolIndex(SymbolIndex other) : this() { i_ = other.i_; g_ = other.g_; @@ -4112,6 +5811,7 @@ public SymbolIndex(SymbolIndex other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SymbolIndex Clone() { return new SymbolIndex(this); } @@ -4123,6 +5823,7 @@ public SymbolIndex Clone() { /// Index identifier. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong I { get { return i_; } set { @@ -4137,6 +5838,7 @@ public ulong I { /// Global identifier. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong G { get { return g_; } set { @@ -4151,6 +5853,7 @@ public ulong G { /// Type of the symbol or scope. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Kind { get { return kind_; } set { @@ -4159,11 +5862,13 @@ public string Kind { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as SymbolIndex); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(SymbolIndex other) { if (ReferenceEquals(other, null)) { return false; @@ -4178,6 +5883,7 @@ public bool Equals(SymbolIndex other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (I != 0UL) hash ^= I.GetHashCode(); @@ -4190,12 +5896,17 @@ public override int GetHashCode() { } [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 (I != 0UL) { output.WriteRawTag(8); output.WriteUInt64(I); @@ -4211,9 +5922,33 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (I != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(I); + } + if (G != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(G); + } + if (Kind.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Kind); + } + 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 (I != 0UL) { @@ -4232,6 +5967,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(SymbolIndex other) { if (other == null) { return; @@ -4249,10 +5985,18 @@ public void MergeFrom(SymbolIndex other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -4270,30 +6014,71 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + I = input.ReadUInt64(); + break; + } + case 16: { + G = input.ReadUInt64(); + break; + } + case 26: { + Kind = input.ReadString(); + break; + } + } + } } + #endif } /// /// Message representing a scope index. /// - public sealed partial class ScopeIndex : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ScopeIndex : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ScopeIndex()); 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::KclLib.API.SpecReflection.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 ScopeIndex() { OnConstruction(); } @@ -4301,6 +6086,7 @@ public ScopeIndex() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ScopeIndex(ScopeIndex other) : this() { i_ = other.i_; g_ = other.g_; @@ -4309,6 +6095,7 @@ public ScopeIndex(ScopeIndex other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ScopeIndex Clone() { return new ScopeIndex(this); } @@ -4320,6 +6107,7 @@ public ScopeIndex Clone() { /// Index identifier. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong I { get { return i_; } set { @@ -4334,6 +6122,7 @@ public ulong I { /// Global identifier. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong G { get { return g_; } set { @@ -4348,6 +6137,7 @@ public ulong G { /// Type of the scope. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Kind { get { return kind_; } set { @@ -4356,11 +6146,13 @@ public string Kind { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as ScopeIndex); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ScopeIndex other) { if (ReferenceEquals(other, null)) { return false; @@ -4375,6 +6167,7 @@ public bool Equals(ScopeIndex other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (I != 0UL) hash ^= I.GetHashCode(); @@ -4387,12 +6180,17 @@ public override int GetHashCode() { } [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 (I != 0UL) { output.WriteRawTag(8); output.WriteUInt64(I); @@ -4408,9 +6206,33 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (I != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(I); + } + if (G != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(G); + } + if (Kind.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Kind); + } + 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 (I != 0UL) { @@ -4429,6 +6251,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(ScopeIndex other) { if (other == null) { return; @@ -4446,10 +6269,18 @@ public void MergeFrom(ScopeIndex other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -4467,38 +6298,80 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + I = input.ReadUInt64(); + break; + } + case 16: { + G = input.ReadUInt64(); + break; + } + case 26: { + Kind = input.ReadString(); + break; + } + } + } } + #endif } /// /// Message for execute program request arguments. /// - public sealed partial class ExecProgram_Args : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExecProgram_Args()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ExecProgramArgs : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExecProgramArgs()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public ExecProgram_Args() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExecProgramArgs() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ExecProgram_Args(ExecProgram_Args other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExecProgramArgs(ExecProgramArgs other) : this() { workDir_ = other.workDir_; kFilenameList_ = other.kFilenameList_.Clone(); kCodeList_ = other.kCodeList_.Clone(); @@ -4521,8 +6394,9 @@ public ExecProgram_Args(ExecProgram_Args other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ExecProgram_Args Clone() { - return new ExecProgram_Args(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExecProgramArgs Clone() { + return new ExecProgramArgs(this); } /// Field number for the "work_dir" field. @@ -4532,6 +6406,7 @@ public ExecProgram_Args Clone() { /// Working directory. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string WorkDir { get { return workDir_; } set { @@ -4548,6 +6423,7 @@ public string WorkDir { /// List of KCL filenames. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField KFilenameList { get { return kFilenameList_; } } @@ -4561,6 +6437,7 @@ public string WorkDir { /// List of KCL codes. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField KCodeList { get { return kCodeList_; } } @@ -4574,6 +6451,7 @@ public string WorkDir { /// Arguments for the program. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Args { get { return args_; } } @@ -4587,6 +6465,7 @@ public string WorkDir { /// Override configurations. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Overrides { get { return overrides_; } } @@ -4598,6 +6477,7 @@ public string WorkDir { /// Flag to disable YAML result. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool DisableYamlResult { get { return disableYamlResult_; } set { @@ -4612,6 +6492,7 @@ public bool DisableYamlResult { /// Flag to print override AST. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool PrintOverrideAst { get { return printOverrideAst_; } set { @@ -4626,6 +6507,7 @@ public bool PrintOverrideAst { /// Flag for strict range check. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool StrictRangeCheck { get { return strictRangeCheck_; } set { @@ -4640,6 +6522,7 @@ public bool StrictRangeCheck { /// Flag to disable none values. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool DisableNone { get { return disableNone_; } set { @@ -4654,6 +6537,7 @@ public bool DisableNone { /// Verbose level. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Verbose { get { return verbose_; } set { @@ -4668,6 +6552,7 @@ public int Verbose { /// Debug level. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Debug { get { return debug_; } set { @@ -4682,6 +6567,7 @@ public int Debug { /// Flag to sort keys in YAML/JSON results. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool SortKeys { get { return sortKeys_; } set { @@ -4698,6 +6584,7 @@ public bool SortKeys { /// External packages path. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ExternalPkgs { get { return externalPkgs_; } } @@ -4709,6 +6596,7 @@ public bool SortKeys { /// Flag to include schema type path in results. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IncludeSchemaTypePath { get { return includeSchemaTypePath_; } set { @@ -4723,6 +6611,7 @@ public bool IncludeSchemaTypePath { /// Flag to compile only without execution. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool CompileOnly { get { return compileOnly_; } set { @@ -4737,6 +6626,7 @@ public bool CompileOnly { /// Flag to show hidden attributes. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool ShowHidden { get { return showHidden_; } set { @@ -4753,6 +6643,7 @@ public bool ShowHidden { /// Path selectors for results. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField PathSelector { get { return pathSelector_; } } @@ -4764,6 +6655,7 @@ public bool ShowHidden { /// Flag for fast evaluation. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool FastEval { get { return fastEval_; } set { @@ -4772,12 +6664,14 @@ public bool FastEval { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ExecProgram_Args); + return Equals(other as ExecProgramArgs); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ExecProgram_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ExecProgramArgs other) { if (ReferenceEquals(other, null)) { return false; } @@ -4806,6 +6700,7 @@ public bool Equals(ExecProgram_Args other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (WorkDir.Length != 0) hash ^= WorkDir.GetHashCode(); @@ -4833,12 +6728,17 @@ public override int GetHashCode() { } [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 (WorkDir.Length != 0) { output.WriteRawTag(10); output.WriteString(WorkDir); @@ -4896,9 +6796,75 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (WorkDir.Length != 0) { + output.WriteRawTag(10); + output.WriteString(WorkDir); + } + kFilenameList_.WriteTo(ref output, _repeated_kFilenameList_codec); + kCodeList_.WriteTo(ref output, _repeated_kCodeList_codec); + args_.WriteTo(ref output, _repeated_args_codec); + overrides_.WriteTo(ref output, _repeated_overrides_codec); + if (DisableYamlResult != false) { + output.WriteRawTag(48); + output.WriteBool(DisableYamlResult); + } + if (PrintOverrideAst != false) { + output.WriteRawTag(56); + output.WriteBool(PrintOverrideAst); + } + if (StrictRangeCheck != false) { + output.WriteRawTag(64); + output.WriteBool(StrictRangeCheck); + } + if (DisableNone != false) { + output.WriteRawTag(72); + output.WriteBool(DisableNone); + } + if (Verbose != 0) { + output.WriteRawTag(80); + output.WriteInt32(Verbose); + } + if (Debug != 0) { + output.WriteRawTag(88); + output.WriteInt32(Debug); + } + if (SortKeys != false) { + output.WriteRawTag(96); + output.WriteBool(SortKeys); + } + externalPkgs_.WriteTo(ref output, _repeated_externalPkgs_codec); + if (IncludeSchemaTypePath != false) { + output.WriteRawTag(112); + output.WriteBool(IncludeSchemaTypePath); + } + if (CompileOnly != false) { + output.WriteRawTag(120); + output.WriteBool(CompileOnly); + } + if (ShowHidden != false) { + output.WriteRawTag(128, 1); + output.WriteBool(ShowHidden); + } + pathSelector_.WriteTo(ref output, _repeated_pathSelector_codec); + if (FastEval != false) { + output.WriteRawTag(144, 1); + output.WriteBool(FastEval); + } + 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 (WorkDir.Length != 0) { @@ -4950,7 +6916,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ExecProgram_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ExecProgramArgs other) { if (other == null) { return; } @@ -5000,10 +6967,18 @@ public void MergeFrom(ExecProgram_Args other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -5081,74 +7056,179 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - } - - /// - /// Message for execute program response. - /// - public sealed partial class ExecProgram_Result : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExecProgram_Result()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::KclLib.API.SpecReflection.Descriptor.MessageTypes[23]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ExecProgram_Result() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ExecProgram_Result(ExecProgram_Result other) : this() { - jsonResult_ = other.jsonResult_; - yamlResult_ = other.yamlResult_; - logMessage_ = other.logMessage_; - errMessage_ = other.errMessage_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ExecProgram_Result Clone() { - return new ExecProgram_Result(this); - } - - /// Field number for the "json_result" field. - public const int JsonResultFieldNumber = 1; - private string jsonResult_ = ""; - /// - /// Result in JSON format. - /// + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string JsonResult { - get { return jsonResult_; } - set { - jsonResult_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + [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; } - } - - /// Field number for the "yaml_result" field. - public const int YamlResultFieldNumber = 2; - private string yamlResult_ = ""; - /// - /// Result in YAML format. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string YamlResult { - get { return yamlResult_; } - set { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + WorkDir = input.ReadString(); + break; + } + case 18: { + kFilenameList_.AddEntriesFrom(ref input, _repeated_kFilenameList_codec); + break; + } + case 26: { + kCodeList_.AddEntriesFrom(ref input, _repeated_kCodeList_codec); + break; + } + case 34: { + args_.AddEntriesFrom(ref input, _repeated_args_codec); + break; + } + case 42: { + overrides_.AddEntriesFrom(ref input, _repeated_overrides_codec); + break; + } + case 48: { + DisableYamlResult = input.ReadBool(); + break; + } + case 56: { + PrintOverrideAst = input.ReadBool(); + break; + } + case 64: { + StrictRangeCheck = input.ReadBool(); + break; + } + case 72: { + DisableNone = input.ReadBool(); + break; + } + case 80: { + Verbose = input.ReadInt32(); + break; + } + case 88: { + Debug = input.ReadInt32(); + break; + } + case 96: { + SortKeys = input.ReadBool(); + break; + } + case 106: { + externalPkgs_.AddEntriesFrom(ref input, _repeated_externalPkgs_codec); + break; + } + case 112: { + IncludeSchemaTypePath = input.ReadBool(); + break; + } + case 120: { + CompileOnly = input.ReadBool(); + break; + } + case 128: { + ShowHidden = input.ReadBool(); + break; + } + case 138: { + pathSelector_.AddEntriesFrom(ref input, _repeated_pathSelector_codec); + break; + } + case 144: { + FastEval = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + /// + /// Message for execute program response. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ExecProgramResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExecProgramResult()); + 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::KclLib.API.SpecReflection.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 ExecProgramResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExecProgramResult(ExecProgramResult other) : this() { + jsonResult_ = other.jsonResult_; + yamlResult_ = other.yamlResult_; + logMessage_ = other.logMessage_; + errMessage_ = other.errMessage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExecProgramResult Clone() { + return new ExecProgramResult(this); + } + + /// Field number for the "json_result" field. + public const int JsonResultFieldNumber = 1; + private string jsonResult_ = ""; + /// + /// Result in JSON format. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string JsonResult { + get { return jsonResult_; } + set { + jsonResult_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "yaml_result" field. + public const int YamlResultFieldNumber = 2; + private string yamlResult_ = ""; + /// + /// Result in YAML format. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string YamlResult { + get { return yamlResult_; } + set { yamlResult_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } @@ -5160,6 +7240,7 @@ public string YamlResult { /// Log message from execution. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string LogMessage { get { return logMessage_; } set { @@ -5174,6 +7255,7 @@ public string LogMessage { /// Error message from execution. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ErrMessage { get { return errMessage_; } set { @@ -5182,12 +7264,14 @@ public string ErrMessage { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ExecProgram_Result); + return Equals(other as ExecProgramResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ExecProgram_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ExecProgramResult other) { if (ReferenceEquals(other, null)) { return false; } @@ -5202,6 +7286,7 @@ public bool Equals(ExecProgram_Result other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (JsonResult.Length != 0) hash ^= JsonResult.GetHashCode(); @@ -5215,12 +7300,17 @@ public override int GetHashCode() { } [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 (JsonResult.Length != 0) { output.WriteRawTag(10); output.WriteString(JsonResult); @@ -5240,9 +7330,37 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (JsonResult.Length != 0) { + output.WriteRawTag(10); + output.WriteString(JsonResult); + } + if (YamlResult.Length != 0) { + output.WriteRawTag(18); + output.WriteString(YamlResult); + } + if (LogMessage.Length != 0) { + output.WriteRawTag(26); + output.WriteString(LogMessage); + } + if (ErrMessage.Length != 0) { + output.WriteRawTag(34); + output.WriteString(ErrMessage); + } + 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 (JsonResult.Length != 0) { @@ -5264,7 +7382,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ExecProgram_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ExecProgramResult other) { if (other == null) { return; } @@ -5284,10 +7403,18 @@ public void MergeFrom(ExecProgram_Result other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -5309,56 +7436,104 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + JsonResult = input.ReadString(); + break; + } + case 18: { + YamlResult = input.ReadString(); + break; + } + case 26: { + LogMessage = input.ReadString(); + break; + } + case 34: { + ErrMessage = input.ReadString(); + break; + } + } + } } + #endif } /// /// Message for build program request arguments. /// - public sealed partial class BuildProgram_Args : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuildProgram_Args()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BuildProgramArgs : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuildProgramArgs()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public BuildProgram_Args() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BuildProgramArgs() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public BuildProgram_Args(BuildProgram_Args other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BuildProgramArgs(BuildProgramArgs other) : this() { execArgs_ = other.execArgs_ != null ? other.execArgs_.Clone() : null; output_ = other.output_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public BuildProgram_Args Clone() { - return new BuildProgram_Args(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BuildProgramArgs Clone() { + return new BuildProgramArgs(this); } /// Field number for the "exec_args" field. public const int ExecArgsFieldNumber = 1; - private global::KclLib.API.ExecProgram_Args execArgs_; + private global::KclLib.API.ExecProgramArgs execArgs_; /// /// Arguments for executing the program. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::KclLib.API.ExecProgram_Args ExecArgs { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::KclLib.API.ExecProgramArgs ExecArgs { get { return execArgs_; } set { execArgs_ = value; @@ -5372,6 +7547,7 @@ public BuildProgram_Args Clone() { /// Output path. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Output { get { return output_; } set { @@ -5380,12 +7556,14 @@ public string Output { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as BuildProgram_Args); + return Equals(other as BuildProgramArgs); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(BuildProgram_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BuildProgramArgs other) { if (ReferenceEquals(other, null)) { return false; } @@ -5398,6 +7576,7 @@ public bool Equals(BuildProgram_Args other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (execArgs_ != null) hash ^= ExecArgs.GetHashCode(); @@ -5409,12 +7588,17 @@ public override int GetHashCode() { } [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 (execArgs_ != null) { output.WriteRawTag(10); output.WriteMessage(ExecArgs); @@ -5426,9 +7610,29 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (execArgs_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ExecArgs); + } + if (Output.Length != 0) { + output.WriteRawTag(18); + output.WriteString(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 (execArgs_ != null) { @@ -5444,13 +7648,14 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(BuildProgram_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BuildProgramArgs other) { if (other == null) { return; } if (other.execArgs_ != null) { if (execArgs_ == null) { - ExecArgs = new global::KclLib.API.ExecProgram_Args(); + ExecArgs = new global::KclLib.API.ExecProgramArgs(); } ExecArgs.MergeFrom(other.ExecArgs); } @@ -5461,16 +7666,54 @@ public void MergeFrom(BuildProgram_Args other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (execArgs_ == null) { - ExecArgs = new global::KclLib.API.ExecProgram_Args(); + ExecArgs = new global::KclLib.API.ExecProgramArgs(); + } + input.ReadMessage(ExecArgs); + break; + } + case 18: { + Output = 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 (execArgs_ == null) { + ExecArgs = new global::KclLib.API.ExecProgramArgs(); } input.ReadMessage(ExecArgs); break; @@ -5482,44 +7725,56 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } /// /// Message for build program response. /// - public sealed partial class BuildProgram_Result : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuildProgram_Result()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BuildProgramResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuildProgramResult()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public BuildProgram_Result() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BuildProgramResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public BuildProgram_Result(BuildProgram_Result other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BuildProgramResult(BuildProgramResult other) : this() { path_ = other.path_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public BuildProgram_Result Clone() { - return new BuildProgram_Result(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BuildProgramResult Clone() { + return new BuildProgramResult(this); } /// Field number for the "path" field. @@ -5529,6 +7784,7 @@ public BuildProgram_Result Clone() { /// Path of the built program. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Path { get { return path_; } set { @@ -5537,12 +7793,14 @@ public string Path { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as BuildProgram_Result); + return Equals(other as BuildProgramResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(BuildProgram_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BuildProgramResult other) { if (ReferenceEquals(other, null)) { return false; } @@ -5554,6 +7812,7 @@ public bool Equals(BuildProgram_Result other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Path.Length != 0) hash ^= Path.GetHashCode(); @@ -5564,12 +7823,17 @@ public override int GetHashCode() { } [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 (Path.Length != 0) { output.WriteRawTag(10); output.WriteString(Path); @@ -5577,9 +7841,25 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (Path.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Path); + } + 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 (Path.Length != 0) { @@ -5592,7 +7872,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(BuildProgram_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BuildProgramResult other) { if (other == null) { return; } @@ -5603,10 +7884,18 @@ public void MergeFrom(BuildProgram_Result other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -5616,46 +7905,81 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + Path = input.ReadString(); + break; + } + } + } } + #endif } /// /// Message for execute artifact request arguments. /// - public sealed partial class ExecArtifact_Args : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExecArtifact_Args()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ExecArtifactArgs : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExecArtifactArgs()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public ExecArtifact_Args() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExecArtifactArgs() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ExecArtifact_Args(ExecArtifact_Args other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExecArtifactArgs(ExecArtifactArgs other) : this() { path_ = other.path_; execArgs_ = other.execArgs_ != null ? other.execArgs_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ExecArtifact_Args Clone() { - return new ExecArtifact_Args(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExecArtifactArgs Clone() { + return new ExecArtifactArgs(this); } /// Field number for the "path" field. @@ -5665,6 +7989,7 @@ public ExecArtifact_Args Clone() { /// Path of the artifact. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Path { get { return path_; } set { @@ -5674,12 +7999,13 @@ public string Path { /// Field number for the "exec_args" field. public const int ExecArgsFieldNumber = 2; - private global::KclLib.API.ExecProgram_Args execArgs_; + private global::KclLib.API.ExecProgramArgs execArgs_; /// /// Arguments for executing the program. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::KclLib.API.ExecProgram_Args ExecArgs { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::KclLib.API.ExecProgramArgs ExecArgs { get { return execArgs_; } set { execArgs_ = value; @@ -5687,12 +8013,14 @@ public string Path { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ExecArtifact_Args); + return Equals(other as ExecArtifactArgs); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ExecArtifact_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ExecArtifactArgs other) { if (ReferenceEquals(other, null)) { return false; } @@ -5705,6 +8033,7 @@ public bool Equals(ExecArtifact_Args other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Path.Length != 0) hash ^= Path.GetHashCode(); @@ -5716,12 +8045,17 @@ public override int GetHashCode() { } [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 (Path.Length != 0) { output.WriteRawTag(10); output.WriteString(Path); @@ -5733,9 +8067,29 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (Path.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Path); + } + if (execArgs_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ExecArgs); + } + 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 (Path.Length != 0) { @@ -5751,7 +8105,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ExecArtifact_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ExecArtifactArgs other) { if (other == null) { return; } @@ -5760,7 +8115,7 @@ public void MergeFrom(ExecArtifact_Args other) { } if (other.execArgs_ != null) { if (execArgs_ == null) { - ExecArgs = new global::KclLib.API.ExecProgram_Args(); + ExecArgs = new global::KclLib.API.ExecProgramArgs(); } ExecArgs.MergeFrom(other.ExecArgs); } @@ -5768,10 +8123,18 @@ public void MergeFrom(ExecArtifact_Args other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -5781,7 +8144,37 @@ public void MergeFrom(pb::CodedInputStream input) { } case 18: { if (execArgs_ == null) { - ExecArgs = new global::KclLib.API.ExecProgram_Args(); + ExecArgs = new global::KclLib.API.ExecProgramArgs(); + } + input.ReadMessage(ExecArgs); + 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: { + Path = input.ReadString(); + break; + } + case 18: { + if (execArgs_ == null) { + ExecArgs = new global::KclLib.API.ExecProgramArgs(); } input.ReadMessage(ExecArgs); break; @@ -5789,44 +8182,56 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } /// /// Message for format code request arguments. /// - public sealed partial class FormatCode_Args : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FormatCode_Args()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FormatCodeArgs : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FormatCodeArgs()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public FormatCode_Args() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FormatCodeArgs() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public FormatCode_Args(FormatCode_Args other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FormatCodeArgs(FormatCodeArgs other) : this() { source_ = other.source_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public FormatCode_Args Clone() { - return new FormatCode_Args(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FormatCodeArgs Clone() { + return new FormatCodeArgs(this); } /// Field number for the "source" field. @@ -5836,6 +8241,7 @@ public FormatCode_Args Clone() { /// Source code to be formatted. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Source { get { return source_; } set { @@ -5844,12 +8250,14 @@ public string Source { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as FormatCode_Args); + return Equals(other as FormatCodeArgs); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(FormatCode_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FormatCodeArgs other) { if (ReferenceEquals(other, null)) { return false; } @@ -5861,6 +8269,7 @@ public bool Equals(FormatCode_Args other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Source.Length != 0) hash ^= Source.GetHashCode(); @@ -5871,12 +8280,17 @@ public override int GetHashCode() { } [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 (Source.Length != 0) { output.WriteRawTag(10); output.WriteString(Source); @@ -5884,9 +8298,25 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (Source.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Source); + } + 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 (Source.Length != 0) { @@ -5899,7 +8329,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(FormatCode_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FormatCodeArgs other) { if (other == null) { return; } @@ -5910,10 +8341,18 @@ public void MergeFrom(FormatCode_Args other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -5923,45 +8362,80 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + Source = input.ReadString(); + break; + } + } + } } + #endif } /// /// Message for format code response. /// - public sealed partial class FormatCode_Result : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FormatCode_Result()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FormatCodeResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FormatCodeResult()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public FormatCode_Result() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FormatCodeResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public FormatCode_Result(FormatCode_Result other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FormatCodeResult(FormatCodeResult other) : this() { formatted_ = other.formatted_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public FormatCode_Result Clone() { - return new FormatCode_Result(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FormatCodeResult Clone() { + return new FormatCodeResult(this); } /// Field number for the "formatted" field. @@ -5971,6 +8445,7 @@ public FormatCode_Result Clone() { /// Formatted code as bytes. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pb::ByteString Formatted { get { return formatted_; } set { @@ -5979,12 +8454,14 @@ public FormatCode_Result Clone() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as FormatCode_Result); + return Equals(other as FormatCodeResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(FormatCode_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FormatCodeResult other) { if (ReferenceEquals(other, null)) { return false; } @@ -5996,6 +8473,7 @@ public bool Equals(FormatCode_Result other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Formatted.Length != 0) hash ^= Formatted.GetHashCode(); @@ -6006,12 +8484,17 @@ public override int GetHashCode() { } [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 (Formatted.Length != 0) { output.WriteRawTag(10); output.WriteBytes(Formatted); @@ -6019,9 +8502,25 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (Formatted.Length != 0) { + output.WriteRawTag(10); + output.WriteBytes(Formatted); + } + 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 (Formatted.Length != 0) { @@ -6034,7 +8533,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(FormatCode_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FormatCodeResult other) { if (other == null) { return; } @@ -6045,10 +8545,18 @@ public void MergeFrom(FormatCode_Result other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -6058,45 +8566,80 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + Formatted = input.ReadBytes(); + break; + } + } + } } + #endif } /// /// Message for format file path request arguments. /// - public sealed partial class FormatPath_Args : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FormatPath_Args()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FormatPathArgs : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FormatPathArgs()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public FormatPath_Args() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FormatPathArgs() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public FormatPath_Args(FormatPath_Args other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FormatPathArgs(FormatPathArgs other) : this() { path_ = other.path_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public FormatPath_Args Clone() { - return new FormatPath_Args(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FormatPathArgs Clone() { + return new FormatPathArgs(this); } /// Field number for the "path" field. @@ -6106,6 +8649,7 @@ public FormatPath_Args Clone() { /// Path of the file to format. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Path { get { return path_; } set { @@ -6114,12 +8658,14 @@ public string Path { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as FormatPath_Args); + return Equals(other as FormatPathArgs); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(FormatPath_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FormatPathArgs other) { if (ReferenceEquals(other, null)) { return false; } @@ -6131,6 +8677,7 @@ public bool Equals(FormatPath_Args other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Path.Length != 0) hash ^= Path.GetHashCode(); @@ -6141,12 +8688,17 @@ public override int GetHashCode() { } [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 (Path.Length != 0) { output.WriteRawTag(10); output.WriteString(Path); @@ -6154,9 +8706,25 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (Path.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Path); + } + 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 (Path.Length != 0) { @@ -6169,7 +8737,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(FormatPath_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FormatPathArgs other) { if (other == null) { return; } @@ -6180,10 +8749,18 @@ public void MergeFrom(FormatPath_Args other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -6193,45 +8770,80 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + Path = input.ReadString(); + break; + } + } + } } + #endif } /// /// Message for format file path response. /// - public sealed partial class FormatPath_Result : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FormatPath_Result()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FormatPathResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FormatPathResult()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public FormatPath_Result() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FormatPathResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public FormatPath_Result(FormatPath_Result other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FormatPathResult(FormatPathResult other) : this() { changedPaths_ = other.changedPaths_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public FormatPath_Result Clone() { - return new FormatPath_Result(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FormatPathResult Clone() { + return new FormatPathResult(this); } /// Field number for the "changed_paths" field. @@ -6243,17 +8855,20 @@ public FormatPath_Result Clone() { /// List of changed file paths. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ChangedPaths { get { return changedPaths_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as FormatPath_Result); + return Equals(other as FormatPathResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(FormatPath_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FormatPathResult other) { if (ReferenceEquals(other, null)) { return false; } @@ -6265,6 +8880,7 @@ public bool Equals(FormatPath_Result other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= changedPaths_.GetHashCode(); @@ -6275,19 +8891,37 @@ public override int GetHashCode() { } [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 changedPaths_.WriteTo(output, _repeated_changedPaths_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) { + changedPaths_.WriteTo(ref output, _repeated_changedPaths_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 += changedPaths_.CalculateSize(_repeated_changedPaths_codec); @@ -6298,7 +8932,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(FormatPath_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FormatPathResult other) { if (other == null) { return; } @@ -6307,10 +8942,18 @@ public void MergeFrom(FormatPath_Result other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -6320,45 +8963,80 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + changedPaths_.AddEntriesFrom(ref input, _repeated_changedPaths_codec); + break; + } + } + } } + #endif } /// /// Message for lint file path request arguments. /// - public sealed partial class LintPath_Args : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LintPath_Args()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class LintPathArgs : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LintPathArgs()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public LintPath_Args() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LintPathArgs() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public LintPath_Args(LintPath_Args other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LintPathArgs(LintPathArgs other) : this() { paths_ = other.paths_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public LintPath_Args Clone() { - return new LintPath_Args(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LintPathArgs Clone() { + return new LintPathArgs(this); } /// Field number for the "paths" field. @@ -6370,17 +9048,20 @@ public LintPath_Args Clone() { /// Paths of the files to lint. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Paths { get { return paths_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as LintPath_Args); + return Equals(other as LintPathArgs); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(LintPath_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LintPathArgs other) { if (ReferenceEquals(other, null)) { return false; } @@ -6392,6 +9073,7 @@ public bool Equals(LintPath_Args other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= paths_.GetHashCode(); @@ -6402,19 +9084,37 @@ public override int GetHashCode() { } [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 paths_.WriteTo(output, _repeated_paths_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) { + paths_.WriteTo(ref output, _repeated_paths_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 += paths_.CalculateSize(_repeated_paths_codec); @@ -6425,7 +9125,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(LintPath_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LintPathArgs other) { if (other == null) { return; } @@ -6434,10 +9135,18 @@ public void MergeFrom(LintPath_Args other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -6447,45 +9156,80 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + paths_.AddEntriesFrom(ref input, _repeated_paths_codec); + break; + } + } + } } + #endif } /// /// Message for lint file path response. /// - public sealed partial class LintPath_Result : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LintPath_Result()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class LintPathResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LintPathResult()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public LintPath_Result() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LintPathResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public LintPath_Result(LintPath_Result other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LintPathResult(LintPathResult other) : this() { results_ = other.results_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public LintPath_Result Clone() { - return new LintPath_Result(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LintPathResult Clone() { + return new LintPathResult(this); } /// Field number for the "results" field. @@ -6497,17 +9241,20 @@ public LintPath_Result Clone() { /// List of lint results. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Results { get { return results_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as LintPath_Result); + return Equals(other as LintPathResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(LintPath_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LintPathResult other) { if (ReferenceEquals(other, null)) { return false; } @@ -6519,6 +9266,7 @@ public bool Equals(LintPath_Result other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= results_.GetHashCode(); @@ -6529,19 +9277,37 @@ public override int GetHashCode() { } [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 results_.WriteTo(output, _repeated_results_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) { + results_.WriteTo(ref output, _repeated_results_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 += results_.CalculateSize(_repeated_results_codec); @@ -6552,7 +9318,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(LintPath_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LintPathResult other) { if (other == null) { return; } @@ -6561,10 +9328,18 @@ public void MergeFrom(LintPath_Result other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -6574,38 +9349,72 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + results_.AddEntriesFrom(ref input, _repeated_results_codec); + break; + } + } + } } + #endif } /// /// Message for override file request arguments. /// - public sealed partial class OverrideFile_Args : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OverrideFile_Args()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class OverrideFileArgs : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OverrideFileArgs()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public OverrideFile_Args() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public OverrideFileArgs() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public OverrideFile_Args(OverrideFile_Args other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public OverrideFileArgs(OverrideFileArgs other) : this() { file_ = other.file_; specs_ = other.specs_.Clone(); importPaths_ = other.importPaths_.Clone(); @@ -6613,8 +9422,9 @@ public OverrideFile_Args(OverrideFile_Args other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public OverrideFile_Args Clone() { - return new OverrideFile_Args(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public OverrideFileArgs Clone() { + return new OverrideFileArgs(this); } /// Field number for the "file" field. @@ -6624,6 +9434,7 @@ public OverrideFile_Args Clone() { /// Path of the file to override. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string File { get { return file_; } set { @@ -6640,6 +9451,7 @@ public string File { /// List of override specifications. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Specs { get { return specs_; } } @@ -6653,17 +9465,20 @@ public string File { /// List of import paths. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ImportPaths { get { return importPaths_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as OverrideFile_Args); + return Equals(other as OverrideFileArgs); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(OverrideFile_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(OverrideFileArgs other) { if (ReferenceEquals(other, null)) { return false; } @@ -6677,6 +9492,7 @@ public bool Equals(OverrideFile_Args other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (File.Length != 0) hash ^= File.GetHashCode(); @@ -6689,12 +9505,17 @@ public override int GetHashCode() { } [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 (File.Length != 0) { output.WriteRawTag(10); output.WriteString(File); @@ -6704,9 +9525,27 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (File.Length != 0) { + output.WriteRawTag(10); + output.WriteString(File); + } + specs_.WriteTo(ref output, _repeated_specs_codec); + importPaths_.WriteTo(ref output, _repeated_importPaths_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 (File.Length != 0) { @@ -6721,7 +9560,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(OverrideFile_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(OverrideFileArgs other) { if (other == null) { return; } @@ -6734,10 +9574,18 @@ public void MergeFrom(OverrideFile_Args other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -6755,46 +9603,89 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + File = input.ReadString(); + break; + } + case 18: { + specs_.AddEntriesFrom(ref input, _repeated_specs_codec); + break; + } + case 26: { + importPaths_.AddEntriesFrom(ref input, _repeated_importPaths_codec); + break; + } + } + } } + #endif } /// /// Message for override file response. /// - public sealed partial class OverrideFile_Result : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OverrideFile_Result()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class OverrideFileResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OverrideFileResult()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public OverrideFile_Result() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public OverrideFileResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public OverrideFile_Result(OverrideFile_Result other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public OverrideFileResult(OverrideFileResult other) : this() { result_ = other.result_; parseErrors_ = other.parseErrors_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public OverrideFile_Result Clone() { - return new OverrideFile_Result(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public OverrideFileResult Clone() { + return new OverrideFileResult(this); } /// Field number for the "result" field. @@ -6804,6 +9695,7 @@ public OverrideFile_Result Clone() { /// Result of the override operation. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Result { get { return result_; } set { @@ -6820,17 +9712,20 @@ public bool Result { /// List of parse errors encountered. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ParseErrors { get { return parseErrors_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as OverrideFile_Result); + return Equals(other as OverrideFileResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(OverrideFile_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(OverrideFileResult other) { if (ReferenceEquals(other, null)) { return false; } @@ -6843,6 +9738,7 @@ public bool Equals(OverrideFile_Result other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Result != false) hash ^= Result.GetHashCode(); @@ -6854,12 +9750,17 @@ public override int GetHashCode() { } [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 (Result != false) { output.WriteRawTag(8); output.WriteBool(Result); @@ -6868,9 +9769,26 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (Result != false) { + output.WriteRawTag(8); + output.WriteBool(Result); + } + parseErrors_.WriteTo(ref output, _repeated_parseErrors_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 (Result != false) { @@ -6884,7 +9802,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(OverrideFile_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(OverrideFileResult other) { if (other == null) { return; } @@ -6896,10 +9815,18 @@ public void MergeFrom(OverrideFile_Result other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -6913,45 +9840,84 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + Result = input.ReadBool(); + break; + } + case 18: { + parseErrors_.AddEntriesFrom(ref input, _repeated_parseErrors_codec); + break; + } + } + } } + #endif } /// /// Message for list variables options. /// - public sealed partial class ListVariables_Options : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListVariables_Options()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListVariablesOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListVariablesOptions()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public ListVariables_Options() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListVariablesOptions() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ListVariables_Options(ListVariables_Options other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListVariablesOptions(ListVariablesOptions other) : this() { mergeProgram_ = other.mergeProgram_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ListVariables_Options Clone() { - return new ListVariables_Options(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListVariablesOptions Clone() { + return new ListVariablesOptions(this); } /// Field number for the "merge_program" field. @@ -6961,6 +9927,7 @@ public ListVariables_Options Clone() { /// Flag to merge program configuration. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool MergeProgram { get { return mergeProgram_; } set { @@ -6969,12 +9936,14 @@ public bool MergeProgram { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ListVariables_Options); + return Equals(other as ListVariablesOptions); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ListVariables_Options other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListVariablesOptions other) { if (ReferenceEquals(other, null)) { return false; } @@ -6986,6 +9955,7 @@ public bool Equals(ListVariables_Options other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (MergeProgram != false) hash ^= MergeProgram.GetHashCode(); @@ -6996,12 +9966,17 @@ public override int GetHashCode() { } [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 (MergeProgram != false) { output.WriteRawTag(8); output.WriteBool(MergeProgram); @@ -7009,9 +9984,25 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (MergeProgram != false) { + output.WriteRawTag(8); + output.WriteBool(MergeProgram); + } + 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 (MergeProgram != false) { @@ -7024,7 +10015,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ListVariables_Options other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListVariablesOptions other) { if (other == null) { return; } @@ -7035,10 +10027,18 @@ public void MergeFrom(ListVariables_Options other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -7048,30 +10048,63 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + MergeProgram = input.ReadBool(); + break; + } + } + } } + #endif } /// /// Message representing a list of variables. /// - public sealed partial class VariableList : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VariableList : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VariableList()); 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::KclLib.API.SpecReflection.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 VariableList() { OnConstruction(); } @@ -7079,12 +10112,14 @@ public VariableList() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VariableList(VariableList other) : this() { variables_ = other.variables_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VariableList Clone() { return new VariableList(this); } @@ -7098,16 +10133,19 @@ public VariableList Clone() { /// List of variables. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Variables { get { return variables_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as VariableList); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(VariableList other) { if (ReferenceEquals(other, null)) { return false; @@ -7120,6 +10158,7 @@ public bool Equals(VariableList other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= variables_.GetHashCode(); @@ -7130,19 +10169,37 @@ public override int GetHashCode() { } [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 variables_.WriteTo(output, _repeated_variables_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) { + variables_.WriteTo(ref output, _repeated_variables_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 += variables_.CalculateSize(_repeated_variables_codec); @@ -7153,6 +10210,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(VariableList other) { if (other == null) { return; @@ -7162,10 +10220,18 @@ public void MergeFrom(VariableList other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -7175,38 +10241,72 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + variables_.AddEntriesFrom(ref input, _repeated_variables_codec); + break; + } + } + } + } + #endif + } /// /// Message for list variables request arguments. /// - public sealed partial class ListVariables_Args : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListVariables_Args()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListVariablesArgs : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListVariablesArgs()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public ListVariables_Args() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListVariablesArgs() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ListVariables_Args(ListVariables_Args other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListVariablesArgs(ListVariablesArgs other) : this() { files_ = other.files_.Clone(); specs_ = other.specs_.Clone(); options_ = other.options_ != null ? other.options_.Clone() : null; @@ -7214,8 +10314,9 @@ public ListVariables_Args(ListVariables_Args other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ListVariables_Args Clone() { - return new ListVariables_Args(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListVariablesArgs Clone() { + return new ListVariablesArgs(this); } /// Field number for the "files" field. @@ -7227,6 +10328,7 @@ public ListVariables_Args Clone() { /// Files to be processed. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Files { get { return files_; } } @@ -7240,18 +10342,20 @@ public ListVariables_Args Clone() { /// Specifications for variables. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Specs { get { return specs_; } } /// Field number for the "options" field. public const int OptionsFieldNumber = 3; - private global::KclLib.API.ListVariables_Options options_; + private global::KclLib.API.ListVariablesOptions options_; /// /// Options for listing variables. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::KclLib.API.ListVariables_Options Options { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::KclLib.API.ListVariablesOptions Options { get { return options_; } set { options_ = value; @@ -7259,12 +10363,14 @@ public ListVariables_Args Clone() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ListVariables_Args); + return Equals(other as ListVariablesArgs); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ListVariables_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListVariablesArgs other) { if (ReferenceEquals(other, null)) { return false; } @@ -7278,6 +10384,7 @@ public bool Equals(ListVariables_Args other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= files_.GetHashCode(); @@ -7290,12 +10397,17 @@ public override int GetHashCode() { } [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 files_.WriteTo(output, _repeated_files_codec); specs_.WriteTo(output, _repeated_specs_codec); if (options_ != null) { @@ -7305,9 +10417,27 @@ public void WriteTo(pb::CodedOutputStream output) { 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) { + files_.WriteTo(ref output, _repeated_files_codec); + specs_.WriteTo(ref output, _repeated_specs_codec); + if (options_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Options); + } + 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 += files_.CalculateSize(_repeated_files_codec); @@ -7322,7 +10452,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ListVariables_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListVariablesArgs other) { if (other == null) { return; } @@ -7330,7 +10461,7 @@ public void MergeFrom(ListVariables_Args other) { specs_.Add(other.specs_); if (other.options_ != null) { if (options_ == null) { - Options = new global::KclLib.API.ListVariables_Options(); + Options = new global::KclLib.API.ListVariablesOptions(); } Options.MergeFrom(other.Options); } @@ -7338,10 +10469,18 @@ public void MergeFrom(ListVariables_Args other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -7355,7 +10494,41 @@ public void MergeFrom(pb::CodedInputStream input) { } case 26: { if (options_ == null) { - Options = new global::KclLib.API.ListVariables_Options(); + Options = new global::KclLib.API.ListVariablesOptions(); + } + input.ReadMessage(Options); + 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: { + files_.AddEntriesFrom(ref input, _repeated_files_codec); + break; + } + case 18: { + specs_.AddEntriesFrom(ref input, _repeated_specs_codec); + break; + } + case 26: { + if (options_ == null) { + Options = new global::KclLib.API.ListVariablesOptions(); } input.ReadMessage(Options); break; @@ -7363,37 +10536,48 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } /// /// Message for list variables response. /// - public sealed partial class ListVariables_Result : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListVariables_Result()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListVariablesResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListVariablesResult()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public ListVariables_Result() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListVariablesResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ListVariables_Result(ListVariables_Result other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListVariablesResult(ListVariablesResult other) : this() { variables_ = other.variables_.Clone(); unsupportedCodes_ = other.unsupportedCodes_.Clone(); parseErrors_ = other.parseErrors_.Clone(); @@ -7401,8 +10585,9 @@ public ListVariables_Result(ListVariables_Result other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ListVariables_Result Clone() { - return new ListVariables_Result(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListVariablesResult Clone() { + return new ListVariablesResult(this); } /// Field number for the "variables" field. @@ -7414,6 +10599,7 @@ public ListVariables_Result Clone() { /// Map of variable lists by file. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::MapField Variables { get { return variables_; } } @@ -7427,6 +10613,7 @@ public ListVariables_Result Clone() { /// List of unsupported codes. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField UnsupportedCodes { get { return unsupportedCodes_; } } @@ -7440,17 +10627,20 @@ public ListVariables_Result Clone() { /// List of parse errors encountered. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ParseErrors { get { return parseErrors_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ListVariables_Result); + return Equals(other as ListVariablesResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ListVariables_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListVariablesResult other) { if (ReferenceEquals(other, null)) { return false; } @@ -7464,6 +10654,7 @@ public bool Equals(ListVariables_Result other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= Variables.GetHashCode(); @@ -7476,21 +10667,41 @@ public override int GetHashCode() { } [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 variables_.WriteTo(output, _map_variables_codec); unsupportedCodes_.WriteTo(output, _repeated_unsupportedCodes_codec); parseErrors_.WriteTo(output, _repeated_parseErrors_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) { + variables_.WriteTo(ref output, _map_variables_codec); + unsupportedCodes_.WriteTo(ref output, _repeated_unsupportedCodes_codec); + parseErrors_.WriteTo(ref output, _repeated_parseErrors_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 += variables_.CalculateSize(_map_variables_codec); @@ -7503,21 +10714,30 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ListVariables_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListVariablesResult other) { if (other == null) { return; } - variables_.Add(other.variables_); + variables_.MergeFrom(other.variables_); unsupportedCodes_.Add(other.unsupportedCodes_); parseErrors_.Add(other.parseErrors_); _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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -7535,30 +10755,71 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + variables_.AddEntriesFrom(ref input, _map_variables_codec); + break; + } + case 18: { + unsupportedCodes_.AddEntriesFrom(ref input, _repeated_unsupportedCodes_codec); + break; + } + case 26: { + parseErrors_.AddEntriesFrom(ref input, _repeated_parseErrors_codec); + break; + } + } + } + } + #endif + } /// /// Message representing a variable. /// - public sealed partial class Variable : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Variable : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Variable()); 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::KclLib.API.SpecReflection.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 Variable() { OnConstruction(); } @@ -7566,6 +10827,7 @@ public Variable() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Variable(Variable other) : this() { value_ = other.value_; typeName_ = other.typeName_; @@ -7576,6 +10838,7 @@ public Variable(Variable other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Variable Clone() { return new Variable(this); } @@ -7587,6 +10850,7 @@ public Variable Clone() { /// Value of the variable. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Value { get { return value_; } set { @@ -7601,6 +10865,7 @@ public string Value { /// Type name of the variable. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TypeName { get { return typeName_; } set { @@ -7615,6 +10880,7 @@ public string TypeName { /// Operation symbol associated with the variable. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string OpSym { get { return opSym_; } set { @@ -7631,6 +10897,7 @@ public string OpSym { /// List items if the variable is a list. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ListItems { get { return listItems_; } } @@ -7644,16 +10911,19 @@ public string OpSym { /// Dictionary entries if the variable is a dictionary. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField DictEntries { get { return dictEntries_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Variable); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Variable other) { if (ReferenceEquals(other, null)) { return false; @@ -7670,6 +10940,7 @@ public bool Equals(Variable other) { } [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(); @@ -7684,12 +10955,17 @@ public override int GetHashCode() { } [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); @@ -7707,9 +10983,35 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (TypeName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(TypeName); + } + if (OpSym.Length != 0) { + output.WriteRawTag(26); + output.WriteString(OpSym); + } + listItems_.WriteTo(ref output, _repeated_listItems_codec); + dictEntries_.WriteTo(ref output, _repeated_dictEntries_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 (Value.Length != 0) { @@ -7730,6 +11032,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Variable other) { if (other == null) { return; @@ -7749,10 +11052,18 @@ public void MergeFrom(Variable other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -7778,30 +11089,79 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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 18: { + TypeName = input.ReadString(); + break; + } + case 26: { + OpSym = input.ReadString(); + break; + } + case 34: { + listItems_.AddEntriesFrom(ref input, _repeated_listItems_codec); + break; + } + case 42: { + dictEntries_.AddEntriesFrom(ref input, _repeated_dictEntries_codec); + break; + } + } + } + } + #endif + } /// /// Message representing a map entry. /// - public sealed partial class MapEntry : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MapEntry : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MapEntry()); 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::KclLib.API.SpecReflection.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 MapEntry() { OnConstruction(); } @@ -7809,6 +11169,7 @@ public MapEntry() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public MapEntry(MapEntry other) : this() { key_ = other.key_; value_ = other.value_ != null ? other.value_.Clone() : null; @@ -7816,6 +11177,7 @@ public MapEntry(MapEntry other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public MapEntry Clone() { return new MapEntry(this); } @@ -7827,6 +11189,7 @@ public MapEntry Clone() { /// Key of the map entry. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Key { get { return key_; } set { @@ -7841,6 +11204,7 @@ public string Key { /// Value of the map entry. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::KclLib.API.Variable Value { get { return value_; } set { @@ -7849,11 +11213,13 @@ public string Key { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as MapEntry); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(MapEntry other) { if (ReferenceEquals(other, null)) { return false; @@ -7867,6 +11233,7 @@ public bool Equals(MapEntry other) { } [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(); @@ -7878,12 +11245,17 @@ public override int GetHashCode() { } [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); @@ -7895,9 +11267,29 @@ public void WriteTo(pb::CodedOutputStream output) { 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_ != null) { + output.WriteRawTag(18); + output.WriteMessage(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) { @@ -7913,6 +11305,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(MapEntry other) { if (other == null) { return; @@ -7930,10 +11323,18 @@ public void MergeFrom(MapEntry other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -7950,56 +11351,99 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + if (value_ == null) { + Value = new global::KclLib.API.Variable(); + } + input.ReadMessage(Value); + break; + } + } + } + } + #endif + } /// /// Message for get schema type mapping request arguments. /// - public sealed partial class GetSchemaTypeMapping_Args : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSchemaTypeMapping_Args()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetSchemaTypeMappingArgs : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSchemaTypeMappingArgs()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public GetSchemaTypeMapping_Args() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSchemaTypeMappingArgs() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetSchemaTypeMapping_Args(GetSchemaTypeMapping_Args other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSchemaTypeMappingArgs(GetSchemaTypeMappingArgs other) : this() { execArgs_ = other.execArgs_ != null ? other.execArgs_.Clone() : null; schemaName_ = other.schemaName_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetSchemaTypeMapping_Args Clone() { - return new GetSchemaTypeMapping_Args(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSchemaTypeMappingArgs Clone() { + return new GetSchemaTypeMappingArgs(this); } /// Field number for the "exec_args" field. public const int ExecArgsFieldNumber = 1; - private global::KclLib.API.ExecProgram_Args execArgs_; + private global::KclLib.API.ExecProgramArgs execArgs_; /// /// Arguments for executing the program. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::KclLib.API.ExecProgram_Args ExecArgs { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::KclLib.API.ExecProgramArgs ExecArgs { get { return execArgs_; } set { execArgs_ = value; @@ -8013,6 +11457,7 @@ public GetSchemaTypeMapping_Args Clone() { /// Name of the schema. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SchemaName { get { return schemaName_; } set { @@ -8021,12 +11466,14 @@ public string SchemaName { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetSchemaTypeMapping_Args); + return Equals(other as GetSchemaTypeMappingArgs); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetSchemaTypeMapping_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetSchemaTypeMappingArgs other) { if (ReferenceEquals(other, null)) { return false; } @@ -8039,6 +11486,7 @@ public bool Equals(GetSchemaTypeMapping_Args other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (execArgs_ != null) hash ^= ExecArgs.GetHashCode(); @@ -8050,12 +11498,17 @@ public override int GetHashCode() { } [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 (execArgs_ != null) { output.WriteRawTag(10); output.WriteMessage(ExecArgs); @@ -8067,9 +11520,29 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (execArgs_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ExecArgs); + } + if (SchemaName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SchemaName); + } + 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 (execArgs_ != null) { @@ -8085,13 +11558,14 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetSchemaTypeMapping_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetSchemaTypeMappingArgs other) { if (other == null) { return; } if (other.execArgs_ != null) { if (execArgs_ == null) { - ExecArgs = new global::KclLib.API.ExecProgram_Args(); + ExecArgs = new global::KclLib.API.ExecProgramArgs(); } ExecArgs.MergeFrom(other.ExecArgs); } @@ -8102,16 +11576,24 @@ public void MergeFrom(GetSchemaTypeMapping_Args other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (execArgs_ == null) { - ExecArgs = new global::KclLib.API.ExecProgram_Args(); + ExecArgs = new global::KclLib.API.ExecProgramArgs(); } input.ReadMessage(ExecArgs); break; @@ -8122,45 +11604,87 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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 (execArgs_ == null) { + ExecArgs = new global::KclLib.API.ExecProgramArgs(); + } + input.ReadMessage(ExecArgs); + break; + } + case 18: { + SchemaName = input.ReadString(); + break; + } + } + } + } + #endif + } /// /// Message for get schema type mapping response. /// - public sealed partial class GetSchemaTypeMapping_Result : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSchemaTypeMapping_Result()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetSchemaTypeMappingResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSchemaTypeMappingResult()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.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] - public GetSchemaTypeMapping_Result() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSchemaTypeMappingResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetSchemaTypeMapping_Result(GetSchemaTypeMapping_Result other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSchemaTypeMappingResult(GetSchemaTypeMappingResult other) : this() { schemaTypeMapping_ = other.schemaTypeMapping_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetSchemaTypeMapping_Result Clone() { - return new GetSchemaTypeMapping_Result(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSchemaTypeMappingResult Clone() { + return new GetSchemaTypeMappingResult(this); } /// Field number for the "schema_type_mapping" field. @@ -8172,17 +11696,20 @@ public GetSchemaTypeMapping_Result Clone() { /// Map of schema type mappings. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::MapField SchemaTypeMapping { get { return schemaTypeMapping_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetSchemaTypeMapping_Result); + return Equals(other as GetSchemaTypeMappingResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetSchemaTypeMapping_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetSchemaTypeMappingResult other) { if (ReferenceEquals(other, null)) { return false; } @@ -8194,6 +11721,7 @@ public bool Equals(GetSchemaTypeMapping_Result other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= SchemaTypeMapping.GetHashCode(); @@ -8204,22 +11732,423 @@ public override int GetHashCode() { } [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 schemaTypeMapping_.WriteTo(output, _map_schemaTypeMapping_codec); if (_unknownFields != null) { - _unknownFields.WriteTo(output); + _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) { + schemaTypeMapping_.WriteTo(ref output, _map_schemaTypeMapping_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 += schemaTypeMapping_.CalculateSize(_map_schemaTypeMapping_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetSchemaTypeMappingResult other) { + if (other == null) { + return; + } + schemaTypeMapping_.MergeFrom(other.schemaTypeMapping_); + _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: { + schemaTypeMapping_.AddEntriesFrom(input, _map_schemaTypeMapping_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: { + schemaTypeMapping_.AddEntriesFrom(ref input, _map_schemaTypeMapping_codec); + break; + } + } + } + } + #endif + + } + + /// + /// Message for get schema type mapping response. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetSchemaTypeMappingUnderPathResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSchemaTypeMappingUnderPathResult()); + 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::KclLib.API.SpecReflection.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 GetSchemaTypeMappingUnderPathResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSchemaTypeMappingUnderPathResult(GetSchemaTypeMappingUnderPathResult other) : this() { + schemaTypeMapping_ = other.schemaTypeMapping_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSchemaTypeMappingUnderPathResult Clone() { + return new GetSchemaTypeMappingUnderPathResult(this); + } + + /// Field number for the "schema_type_mapping" field. + public const int SchemaTypeMappingFieldNumber = 1; + private static readonly pbc::MapField.Codec _map_schemaTypeMapping_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::KclLib.API.SchemaTypes.Parser), 10); + private readonly pbc::MapField schemaTypeMapping_ = new pbc::MapField(); + /// + /// Map of pkg and schema types mappings. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField SchemaTypeMapping { + get { return schemaTypeMapping_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetSchemaTypeMappingUnderPathResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetSchemaTypeMappingUnderPathResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!SchemaTypeMapping.Equals(other.SchemaTypeMapping)) 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 ^= SchemaTypeMapping.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 + schemaTypeMapping_.WriteTo(output, _map_schemaTypeMapping_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) { + schemaTypeMapping_.WriteTo(ref output, _map_schemaTypeMapping_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 += schemaTypeMapping_.CalculateSize(_map_schemaTypeMapping_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetSchemaTypeMappingUnderPathResult other) { + if (other == null) { + return; + } + schemaTypeMapping_.MergeFrom(other.schemaTypeMapping_); + _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: { + schemaTypeMapping_.AddEntriesFrom(input, _map_schemaTypeMapping_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: { + schemaTypeMapping_.AddEntriesFrom(ref input, _map_schemaTypeMapping_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SchemaTypes : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SchemaTypes()); + 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::KclLib.API.SpecReflection.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 SchemaTypes() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SchemaTypes(SchemaTypes other) : this() { + schemaType_ = other.schemaType_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SchemaTypes Clone() { + return new SchemaTypes(this); + } + + /// Field number for the "schema_type" field. + public const int SchemaTypeFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_schemaType_codec + = pb::FieldCodec.ForMessage(10, global::KclLib.API.KclType.Parser); + private readonly pbc::RepeatedField schemaType_ = new pbc::RepeatedField(); + /// + /// List of schema type mappings. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SchemaType { + get { return schemaType_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SchemaTypes); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SchemaTypes other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!schemaType_.Equals(other.schemaType_)) 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 ^= schemaType_.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 + schemaType_.WriteTo(output, _repeated_schemaType_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) { + schemaType_.WriteTo(ref output, _repeated_schemaType_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 += schemaTypeMapping_.CalculateSize(_map_schemaTypeMapping_codec); + size += schemaType_.CalculateSize(_repeated_schemaType_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -8227,60 +12156,103 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetSchemaTypeMapping_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SchemaTypes other) { if (other == null) { return; } - schemaTypeMapping_.Add(other.schemaTypeMapping_); + schemaType_.Add(other.schemaType_); _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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - schemaTypeMapping_.AddEntriesFrom(input, _map_schemaTypeMapping_codec); + schemaType_.AddEntriesFrom(input, _repeated_schemaType_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: { + schemaType_.AddEntriesFrom(ref input, _repeated_schemaType_codec); break; } } } } + #endif } /// /// Message for validate code request arguments. /// - public sealed partial class ValidateCode_Args : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ValidateCode_Args()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ValidateCodeArgs : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ValidateCodeArgs()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.Descriptor.MessageTypes[43]; } + get { return global::KclLib.API.SpecReflection.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] - public ValidateCode_Args() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ValidateCodeArgs() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ValidateCode_Args(ValidateCode_Args other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ValidateCodeArgs(ValidateCodeArgs other) : this() { datafile_ = other.datafile_; data_ = other.data_; file_ = other.file_; @@ -8293,8 +12265,9 @@ public ValidateCode_Args(ValidateCode_Args other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ValidateCode_Args Clone() { - return new ValidateCode_Args(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ValidateCodeArgs Clone() { + return new ValidateCodeArgs(this); } /// Field number for the "datafile" field. @@ -8304,6 +12277,7 @@ public ValidateCode_Args Clone() { /// Path to the data file. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Datafile { get { return datafile_; } set { @@ -8318,6 +12292,7 @@ public string Datafile { /// Data content. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Data { get { return data_; } set { @@ -8332,6 +12307,7 @@ public string Data { /// Path to the code file. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string File { get { return file_; } set { @@ -8346,6 +12322,7 @@ public string File { /// Source code content. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Code { get { return code_; } set { @@ -8360,6 +12337,7 @@ public string Code { /// Name of the schema. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Schema { get { return schema_; } set { @@ -8374,6 +12352,7 @@ public string Schema { /// Name of the attribute. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string AttributeName { get { return attributeName_; } set { @@ -8388,6 +12367,7 @@ public string AttributeName { /// Format of the validation (e.g., "json", "yaml"). /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Format { get { return format_; } set { @@ -8404,17 +12384,20 @@ public string Format { /// List of external packages updated. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ExternalPkgs { get { return externalPkgs_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ValidateCode_Args); + return Equals(other as ValidateCodeArgs); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ValidateCode_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ValidateCodeArgs other) { if (ReferenceEquals(other, null)) { return false; } @@ -8433,6 +12416,7 @@ public bool Equals(ValidateCode_Args other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Datafile.Length != 0) hash ^= Datafile.GetHashCode(); @@ -8450,12 +12434,17 @@ public override int GetHashCode() { } [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 (Datafile.Length != 0) { output.WriteRawTag(10); output.WriteString(Datafile); @@ -8488,9 +12477,50 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (Datafile.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Datafile); + } + if (Data.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Data); + } + if (File.Length != 0) { + output.WriteRawTag(26); + output.WriteString(File); + } + if (Code.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Code); + } + if (Schema.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Schema); + } + if (AttributeName.Length != 0) { + output.WriteRawTag(50); + output.WriteString(AttributeName); + } + if (Format.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Format); + } + externalPkgs_.WriteTo(ref output, _repeated_externalPkgs_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 (Datafile.Length != 0) { @@ -8522,7 +12552,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ValidateCode_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ValidateCodeArgs other) { if (other == null) { return; } @@ -8552,10 +12583,18 @@ public void MergeFrom(ValidateCode_Args other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -8593,46 +12632,109 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + Datafile = input.ReadString(); + break; + } + case 18: { + Data = input.ReadString(); + break; + } + case 26: { + File = input.ReadString(); + break; + } + case 34: { + Code = input.ReadString(); + break; + } + case 42: { + Schema = input.ReadString(); + break; + } + case 50: { + AttributeName = input.ReadString(); + break; + } + case 58: { + Format = input.ReadString(); + break; + } + case 66: { + externalPkgs_.AddEntriesFrom(ref input, _repeated_externalPkgs_codec); + break; + } + } + } } + #endif } /// /// Message for validate code response. /// - public sealed partial class ValidateCode_Result : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ValidateCode_Result()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ValidateCodeResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ValidateCodeResult()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.Descriptor.MessageTypes[44]; } + get { return global::KclLib.API.SpecReflection.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] - public ValidateCode_Result() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ValidateCodeResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ValidateCode_Result(ValidateCode_Result other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ValidateCodeResult(ValidateCodeResult other) : this() { success_ = other.success_; errMessage_ = other.errMessage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ValidateCode_Result Clone() { - return new ValidateCode_Result(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ValidateCodeResult Clone() { + return new ValidateCodeResult(this); } /// Field number for the "success" field. @@ -8642,6 +12744,7 @@ public ValidateCode_Result Clone() { /// Flag indicating if validation was successful. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Success { get { return success_; } set { @@ -8656,6 +12759,7 @@ public bool Success { /// Error message from validation. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ErrMessage { get { return errMessage_; } set { @@ -8664,12 +12768,14 @@ public string ErrMessage { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ValidateCode_Result); + return Equals(other as ValidateCodeResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ValidateCode_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ValidateCodeResult other) { if (ReferenceEquals(other, null)) { return false; } @@ -8682,6 +12788,7 @@ public bool Equals(ValidateCode_Result other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Success != false) hash ^= Success.GetHashCode(); @@ -8693,12 +12800,17 @@ public override int GetHashCode() { } [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 (Success != false) { output.WriteRawTag(8); output.WriteBool(Success); @@ -8710,9 +12822,29 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (Success != false) { + output.WriteRawTag(8); + output.WriteBool(Success); + } + if (ErrMessage.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ErrMessage); + } + 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 (Success != false) { @@ -8728,7 +12860,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ValidateCode_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ValidateCodeResult other) { if (other == null) { return; } @@ -8742,10 +12875,18 @@ public void MergeFrom(ValidateCode_Result other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -8759,30 +12900,67 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + Success = input.ReadBool(); + break; + } + case 18: { + ErrMessage = input.ReadString(); + break; + } + } + } } + #endif } /// /// Message representing a position in the source code. /// - public sealed partial class Position : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Position : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Position()); 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::KclLib.API.SpecReflection.Descriptor.MessageTypes[45]; } + get { return global::KclLib.API.SpecReflection.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 Position() { OnConstruction(); } @@ -8790,6 +12968,7 @@ public Position() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Position(Position other) : this() { line_ = other.line_; column_ = other.column_; @@ -8798,6 +12977,7 @@ public Position(Position other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Position Clone() { return new Position(this); } @@ -8809,6 +12989,7 @@ public Position Clone() { /// Line number. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Line { get { return line_; } set { @@ -8823,6 +13004,7 @@ public long Line { /// Column number. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Column { get { return column_; } set { @@ -8837,6 +13019,7 @@ public long Column { /// Filename the position refers to. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Filename { get { return filename_; } set { @@ -8845,11 +13028,13 @@ public string Filename { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Position); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Position other) { if (ReferenceEquals(other, null)) { return false; @@ -8864,6 +13049,7 @@ public bool Equals(Position other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Line != 0L) hash ^= Line.GetHashCode(); @@ -8876,12 +13062,17 @@ public override int GetHashCode() { } [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 (Line != 0L) { output.WriteRawTag(8); output.WriteInt64(Line); @@ -8897,9 +13088,33 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (Line != 0L) { + output.WriteRawTag(8); + output.WriteInt64(Line); + } + if (Column != 0L) { + output.WriteRawTag(16); + output.WriteInt64(Column); + } + if (Filename.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Filename); + } + 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 (Line != 0L) { @@ -8918,6 +13133,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Position other) { if (other == null) { return; @@ -8935,10 +13151,18 @@ public void MergeFrom(Position other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -8956,38 +13180,80 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + Line = input.ReadInt64(); + break; + } + case 16: { + Column = input.ReadInt64(); + break; + } + case 26: { + Filename = input.ReadString(); + break; + } + } + } } + #endif } /// /// Message for list dependency files request arguments. /// - public sealed partial class ListDepFiles_Args : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListDepFiles_Args()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListDepFilesArgs : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListDepFilesArgs()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.Descriptor.MessageTypes[46]; } + get { return global::KclLib.API.SpecReflection.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] - public ListDepFiles_Args() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListDepFilesArgs() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ListDepFiles_Args(ListDepFiles_Args other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListDepFilesArgs(ListDepFilesArgs other) : this() { workDir_ = other.workDir_; useAbsPath_ = other.useAbsPath_; includeAll_ = other.includeAll_; @@ -8996,8 +13262,9 @@ public ListDepFiles_Args(ListDepFiles_Args other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ListDepFiles_Args Clone() { - return new ListDepFiles_Args(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListDepFilesArgs Clone() { + return new ListDepFilesArgs(this); } /// Field number for the "work_dir" field. @@ -9007,6 +13274,7 @@ public ListDepFiles_Args Clone() { /// Working directory. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string WorkDir { get { return workDir_; } set { @@ -9021,6 +13289,7 @@ public string WorkDir { /// Flag to use absolute paths. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool UseAbsPath { get { return useAbsPath_; } set { @@ -9035,6 +13304,7 @@ public bool UseAbsPath { /// Flag to include all files. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IncludeAll { get { return includeAll_; } set { @@ -9049,6 +13319,7 @@ public bool IncludeAll { /// Flag to use fast parser. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool UseFastParser { get { return useFastParser_; } set { @@ -9057,12 +13328,14 @@ public bool UseFastParser { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ListDepFiles_Args); + return Equals(other as ListDepFilesArgs); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ListDepFiles_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListDepFilesArgs other) { if (ReferenceEquals(other, null)) { return false; } @@ -9077,6 +13350,7 @@ public bool Equals(ListDepFiles_Args other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (WorkDir.Length != 0) hash ^= WorkDir.GetHashCode(); @@ -9090,12 +13364,17 @@ public override int GetHashCode() { } [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 (WorkDir.Length != 0) { output.WriteRawTag(10); output.WriteString(WorkDir); @@ -9115,9 +13394,37 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (WorkDir.Length != 0) { + output.WriteRawTag(10); + output.WriteString(WorkDir); + } + if (UseAbsPath != false) { + output.WriteRawTag(16); + output.WriteBool(UseAbsPath); + } + if (IncludeAll != false) { + output.WriteRawTag(24); + output.WriteBool(IncludeAll); + } + if (UseFastParser != false) { + output.WriteRawTag(32); + output.WriteBool(UseFastParser); + } + 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 (WorkDir.Length != 0) { @@ -9139,7 +13446,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ListDepFiles_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListDepFilesArgs other) { if (other == null) { return; } @@ -9159,10 +13467,18 @@ public void MergeFrom(ListDepFiles_Args other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -9184,38 +13500,84 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + WorkDir = input.ReadString(); + break; + } + case 16: { + UseAbsPath = input.ReadBool(); + break; + } + case 24: { + IncludeAll = input.ReadBool(); + break; + } + case 32: { + UseFastParser = input.ReadBool(); + break; + } + } + } } + #endif } /// /// Message for list dependency files response. /// - public sealed partial class ListDepFiles_Result : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListDepFiles_Result()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListDepFilesResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListDepFilesResult()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.Descriptor.MessageTypes[47]; } + get { return global::KclLib.API.SpecReflection.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] - public ListDepFiles_Result() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListDepFilesResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ListDepFiles_Result(ListDepFiles_Result other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListDepFilesResult(ListDepFilesResult other) : this() { pkgroot_ = other.pkgroot_; pkgpath_ = other.pkgpath_; files_ = other.files_.Clone(); @@ -9223,8 +13585,9 @@ public ListDepFiles_Result(ListDepFiles_Result other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ListDepFiles_Result Clone() { - return new ListDepFiles_Result(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListDepFilesResult Clone() { + return new ListDepFilesResult(this); } /// Field number for the "pkgroot" field. @@ -9234,6 +13597,7 @@ public ListDepFiles_Result Clone() { /// Root package path. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Pkgroot { get { return pkgroot_; } set { @@ -9248,6 +13612,7 @@ public string Pkgroot { /// Package path. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Pkgpath { get { return pkgpath_; } set { @@ -9264,17 +13629,20 @@ public string Pkgpath { /// List of file paths in the package. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Files { get { return files_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ListDepFiles_Result); + return Equals(other as ListDepFilesResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ListDepFiles_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListDepFilesResult other) { if (ReferenceEquals(other, null)) { return false; } @@ -9288,6 +13656,7 @@ public bool Equals(ListDepFiles_Result other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Pkgroot.Length != 0) hash ^= Pkgroot.GetHashCode(); @@ -9300,12 +13669,17 @@ public override int GetHashCode() { } [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 (Pkgroot.Length != 0) { output.WriteRawTag(10); output.WriteString(Pkgroot); @@ -9318,9 +13692,30 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (Pkgroot.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Pkgroot); + } + if (Pkgpath.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Pkgpath); + } + files_.WriteTo(ref output, _repeated_files_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 (Pkgroot.Length != 0) { @@ -9337,7 +13732,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ListDepFiles_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListDepFilesResult other) { if (other == null) { return; } @@ -9347,17 +13743,56 @@ public void MergeFrom(ListDepFiles_Result other) { if (other.Pkgpath.Length != 0) { Pkgpath = other.Pkgpath; } - files_.Add(other.files_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + files_.Add(other.files_); + _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: { + Pkgroot = input.ReadString(); + break; + } + case 18: { + Pkgpath = input.ReadString(); + break; + } + case 26: { + files_.AddEntriesFrom(input, _repeated_files_codec); + break; + } + } + } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { Pkgroot = input.ReadString(); @@ -9368,51 +13803,63 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 26: { - files_.AddEntriesFrom(input, _repeated_files_codec); + files_.AddEntriesFrom(ref input, _repeated_files_codec); break; } } } } + #endif } /// /// Message for load settings files request arguments. /// - public sealed partial class LoadSettingsFiles_Args : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoadSettingsFiles_Args()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class LoadSettingsFilesArgs : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoadSettingsFilesArgs()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.Descriptor.MessageTypes[48]; } + get { return global::KclLib.API.SpecReflection.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] - public LoadSettingsFiles_Args() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoadSettingsFilesArgs() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public LoadSettingsFiles_Args(LoadSettingsFiles_Args other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoadSettingsFilesArgs(LoadSettingsFilesArgs other) : this() { workDir_ = other.workDir_; files_ = other.files_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public LoadSettingsFiles_Args Clone() { - return new LoadSettingsFiles_Args(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoadSettingsFilesArgs Clone() { + return new LoadSettingsFilesArgs(this); } /// Field number for the "work_dir" field. @@ -9422,6 +13869,7 @@ public LoadSettingsFiles_Args Clone() { /// Working directory. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string WorkDir { get { return workDir_; } set { @@ -9438,17 +13886,20 @@ public string WorkDir { /// Setting files to load. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Files { get { return files_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as LoadSettingsFiles_Args); + return Equals(other as LoadSettingsFilesArgs); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(LoadSettingsFiles_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LoadSettingsFilesArgs other) { if (ReferenceEquals(other, null)) { return false; } @@ -9461,6 +13912,7 @@ public bool Equals(LoadSettingsFiles_Args other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (WorkDir.Length != 0) hash ^= WorkDir.GetHashCode(); @@ -9472,12 +13924,17 @@ public override int GetHashCode() { } [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 (WorkDir.Length != 0) { output.WriteRawTag(10); output.WriteString(WorkDir); @@ -9486,9 +13943,26 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (WorkDir.Length != 0) { + output.WriteRawTag(10); + output.WriteString(WorkDir); + } + files_.WriteTo(ref output, _repeated_files_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 (WorkDir.Length != 0) { @@ -9502,7 +13976,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(LoadSettingsFiles_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LoadSettingsFilesArgs other) { if (other == null) { return; } @@ -9514,10 +13989,18 @@ public void MergeFrom(LoadSettingsFiles_Args other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -9531,46 +14014,85 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + WorkDir = input.ReadString(); + break; + } + case 18: { + files_.AddEntriesFrom(ref input, _repeated_files_codec); + break; + } + } + } } + #endif } /// /// Message for load settings files response. /// - public sealed partial class LoadSettingsFiles_Result : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoadSettingsFiles_Result()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class LoadSettingsFilesResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoadSettingsFilesResult()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.Descriptor.MessageTypes[49]; } + get { return global::KclLib.API.SpecReflection.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] - public LoadSettingsFiles_Result() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoadSettingsFilesResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public LoadSettingsFiles_Result(LoadSettingsFiles_Result other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoadSettingsFilesResult(LoadSettingsFilesResult other) : this() { kclCliConfigs_ = other.kclCliConfigs_ != null ? other.kclCliConfigs_.Clone() : null; kclOptions_ = other.kclOptions_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public LoadSettingsFiles_Result Clone() { - return new LoadSettingsFiles_Result(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoadSettingsFilesResult Clone() { + return new LoadSettingsFilesResult(this); } /// Field number for the "kcl_cli_configs" field. @@ -9580,6 +14102,7 @@ public LoadSettingsFiles_Result Clone() { /// KCL CLI configuration. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::KclLib.API.CliConfig KclCliConfigs { get { return kclCliConfigs_; } set { @@ -9596,17 +14119,20 @@ public LoadSettingsFiles_Result Clone() { /// List of KCL options as key-value pairs. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField KclOptions { get { return kclOptions_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as LoadSettingsFiles_Result); + return Equals(other as LoadSettingsFilesResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(LoadSettingsFiles_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LoadSettingsFilesResult other) { if (ReferenceEquals(other, null)) { return false; } @@ -9619,6 +14145,7 @@ public bool Equals(LoadSettingsFiles_Result other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (kclCliConfigs_ != null) hash ^= KclCliConfigs.GetHashCode(); @@ -9630,12 +14157,17 @@ public override int GetHashCode() { } [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 (kclCliConfigs_ != null) { output.WriteRawTag(10); output.WriteMessage(KclCliConfigs); @@ -9644,9 +14176,26 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (kclCliConfigs_ != null) { + output.WriteRawTag(10); + output.WriteMessage(KclCliConfigs); + } + kclOptions_.WriteTo(ref output, _repeated_kclOptions_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 (kclCliConfigs_ != null) { @@ -9660,7 +14209,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(LoadSettingsFiles_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LoadSettingsFilesResult other) { if (other == null) { return; } @@ -9675,10 +14225,18 @@ public void MergeFrom(LoadSettingsFiles_Result other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -9695,30 +14253,70 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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 (kclCliConfigs_ == null) { + KclCliConfigs = new global::KclLib.API.CliConfig(); + } + input.ReadMessage(KclCliConfigs); + break; + } + case 18: { + kclOptions_.AddEntriesFrom(ref input, _repeated_kclOptions_codec); + break; + } + } + } } + #endif } /// /// Message representing KCL CLI configuration. /// - public sealed partial class CliConfig : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CliConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CliConfig()); 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::KclLib.API.SpecReflection.Descriptor.MessageTypes[50]; } + get { return global::KclLib.API.SpecReflection.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 CliConfig() { OnConstruction(); } @@ -9726,6 +14324,7 @@ public CliConfig() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CliConfig(CliConfig other) : this() { files_ = other.files_.Clone(); output_ = other.output_; @@ -9743,6 +14342,7 @@ public CliConfig(CliConfig other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CliConfig Clone() { return new CliConfig(this); } @@ -9756,6 +14356,7 @@ public CliConfig Clone() { /// List of files. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Files { get { return files_; } } @@ -9767,6 +14368,7 @@ public CliConfig Clone() { /// Output path. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Output { get { return output_; } set { @@ -9783,6 +14385,7 @@ public string Output { /// List of overrides. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Overrides { get { return overrides_; } } @@ -9796,6 +14399,7 @@ public string Output { /// Path selectors. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField PathSelector { get { return pathSelector_; } } @@ -9807,6 +14411,7 @@ public string Output { /// Flag for strict range check. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool StrictRangeCheck { get { return strictRangeCheck_; } set { @@ -9821,6 +14426,7 @@ public bool StrictRangeCheck { /// Flag to disable none values. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool DisableNone { get { return disableNone_; } set { @@ -9835,6 +14441,7 @@ public bool DisableNone { /// Verbose level. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Verbose { get { return verbose_; } set { @@ -9849,6 +14456,7 @@ public long Verbose { /// Debug flag. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Debug { get { return debug_; } set { @@ -9863,6 +14471,7 @@ public bool Debug { /// Flag to sort keys in YAML/JSON results. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool SortKeys { get { return sortKeys_; } set { @@ -9877,6 +14486,7 @@ public bool SortKeys { /// Flag to show hidden attributes. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool ShowHidden { get { return showHidden_; } set { @@ -9891,6 +14501,7 @@ public bool ShowHidden { /// Flag to include schema type path in results. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IncludeSchemaTypePath { get { return includeSchemaTypePath_; } set { @@ -9905,6 +14516,7 @@ public bool IncludeSchemaTypePath { /// Flag for fast evaluation. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool FastEval { get { return fastEval_; } set { @@ -9913,11 +14525,13 @@ public bool FastEval { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as CliConfig); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(CliConfig other) { if (ReferenceEquals(other, null)) { return false; @@ -9941,6 +14555,7 @@ public bool Equals(CliConfig other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= files_.GetHashCode(); @@ -9962,12 +14577,17 @@ public override int GetHashCode() { } [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 files_.WriteTo(output, _repeated_files_codec); if (Output.Length != 0) { output.WriteRawTag(18); @@ -10010,9 +14630,60 @@ public void WriteTo(pb::CodedOutputStream output) { 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) { + files_.WriteTo(ref output, _repeated_files_codec); + if (Output.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Output); + } + overrides_.WriteTo(ref output, _repeated_overrides_codec); + pathSelector_.WriteTo(ref output, _repeated_pathSelector_codec); + if (StrictRangeCheck != false) { + output.WriteRawTag(40); + output.WriteBool(StrictRangeCheck); + } + if (DisableNone != false) { + output.WriteRawTag(48); + output.WriteBool(DisableNone); + } + if (Verbose != 0L) { + output.WriteRawTag(56); + output.WriteInt64(Verbose); + } + if (Debug != false) { + output.WriteRawTag(64); + output.WriteBool(Debug); + } + if (SortKeys != false) { + output.WriteRawTag(72); + output.WriteBool(SortKeys); + } + if (ShowHidden != false) { + output.WriteRawTag(80); + output.WriteBool(ShowHidden); + } + if (IncludeSchemaTypePath != false) { + output.WriteRawTag(88); + output.WriteBool(IncludeSchemaTypePath); + } + if (FastEval != false) { + output.WriteRawTag(96); + output.WriteBool(FastEval); + } + 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 += files_.CalculateSize(_repeated_files_codec); @@ -10052,6 +14723,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(CliConfig other) { if (other == null) { return; @@ -10090,10 +14762,18 @@ public void MergeFrom(CliConfig other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -10147,30 +14827,107 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + files_.AddEntriesFrom(ref input, _repeated_files_codec); + break; + } + case 18: { + Output = input.ReadString(); + break; + } + case 26: { + overrides_.AddEntriesFrom(ref input, _repeated_overrides_codec); + break; + } + case 34: { + pathSelector_.AddEntriesFrom(ref input, _repeated_pathSelector_codec); + break; + } + case 40: { + StrictRangeCheck = input.ReadBool(); + break; + } + case 48: { + DisableNone = input.ReadBool(); + break; + } + case 56: { + Verbose = input.ReadInt64(); + break; + } + case 64: { + Debug = input.ReadBool(); + break; + } + case 72: { + SortKeys = input.ReadBool(); + break; + } + case 80: { + ShowHidden = input.ReadBool(); + break; + } + case 88: { + IncludeSchemaTypePath = input.ReadBool(); + break; + } + case 96: { + FastEval = input.ReadBool(); + break; + } + } + } } + #endif } /// /// Message representing a key-value pair. /// - public sealed partial class KeyValuePair : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class KeyValuePair : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new KeyValuePair()); 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::KclLib.API.SpecReflection.Descriptor.MessageTypes[51]; } + get { return global::KclLib.API.SpecReflection.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 KeyValuePair() { OnConstruction(); } @@ -10178,6 +14935,7 @@ public KeyValuePair() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public KeyValuePair(KeyValuePair other) : this() { key_ = other.key_; value_ = other.value_; @@ -10185,6 +14943,7 @@ public KeyValuePair(KeyValuePair other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public KeyValuePair Clone() { return new KeyValuePair(this); } @@ -10196,6 +14955,7 @@ public KeyValuePair Clone() { /// Key of the pair. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Key { get { return key_; } set { @@ -10210,6 +14970,7 @@ public string Key { /// Value of the pair. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Value { get { return value_; } set { @@ -10218,11 +14979,13 @@ public string Value { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as KeyValuePair); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(KeyValuePair other) { if (ReferenceEquals(other, null)) { return false; @@ -10236,6 +14999,7 @@ public bool Equals(KeyValuePair other) { } [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(); @@ -10247,12 +15011,17 @@ public override int GetHashCode() { } [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); @@ -10264,9 +15033,29 @@ public void WriteTo(pb::CodedOutputStream output) { 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) { @@ -10282,6 +15071,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(KeyValuePair other) { if (other == null) { return; @@ -10296,10 +15086,18 @@ public void MergeFrom(KeyValuePair other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -10313,38 +15111,76 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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 } /// /// Message for rename request arguments. /// - public sealed partial class Rename_Args : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Rename_Args()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RenameArgs : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RenameArgs()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.Descriptor.MessageTypes[52]; } + get { return global::KclLib.API.SpecReflection.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] - public Rename_Args() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RenameArgs() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Rename_Args(Rename_Args other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RenameArgs(RenameArgs other) : this() { packageRoot_ = other.packageRoot_; symbolPath_ = other.symbolPath_; filePaths_ = other.filePaths_.Clone(); @@ -10353,8 +15189,9 @@ public Rename_Args(Rename_Args other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Rename_Args Clone() { - return new Rename_Args(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RenameArgs Clone() { + return new RenameArgs(this); } /// Field number for the "package_root" field. @@ -10364,6 +15201,7 @@ public Rename_Args Clone() { /// File path to the package root. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string PackageRoot { get { return packageRoot_; } set { @@ -10378,6 +15216,7 @@ public string PackageRoot { /// Path to the target symbol to be renamed. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SymbolPath { get { return symbolPath_; } set { @@ -10394,6 +15233,7 @@ public string SymbolPath { /// Paths to the source code files. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField FilePaths { get { return filePaths_; } } @@ -10405,6 +15245,7 @@ public string SymbolPath { /// New name of the symbol. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string NewName { get { return newName_; } set { @@ -10413,12 +15254,14 @@ public string NewName { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as Rename_Args); + return Equals(other as RenameArgs); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(Rename_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RenameArgs other) { if (ReferenceEquals(other, null)) { return false; } @@ -10433,6 +15276,7 @@ public bool Equals(Rename_Args other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (PackageRoot.Length != 0) hash ^= PackageRoot.GetHashCode(); @@ -10446,12 +15290,17 @@ public override int GetHashCode() { } [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 (PackageRoot.Length != 0) { output.WriteRawTag(10); output.WriteString(PackageRoot); @@ -10468,9 +15317,34 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (PackageRoot.Length != 0) { + output.WriteRawTag(10); + output.WriteString(PackageRoot); + } + if (SymbolPath.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SymbolPath); + } + filePaths_.WriteTo(ref output, _repeated_filePaths_codec); + if (NewName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(NewName); + } + 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 (PackageRoot.Length != 0) { @@ -10490,7 +15364,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(Rename_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RenameArgs other) { if (other == null) { return; } @@ -10504,16 +15379,59 @@ public void MergeFrom(Rename_Args other) { if (other.NewName.Length != 0) { NewName = other.NewName; } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + _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: { + PackageRoot = input.ReadString(); + break; + } + case 18: { + SymbolPath = input.ReadString(); + break; + } + case 26: { + filePaths_.AddEntriesFrom(input, _repeated_filePaths_codec); + break; + } + case 34: { + NewName = input.ReadString(); + break; + } + } + } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { PackageRoot = input.ReadString(); @@ -10524,7 +15442,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 26: { - filePaths_.AddEntriesFrom(input, _repeated_filePaths_codec); + filePaths_.AddEntriesFrom(ref input, _repeated_filePaths_codec); break; } case 34: { @@ -10534,44 +15452,56 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } /// /// Message for rename response. /// - public sealed partial class Rename_Result : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Rename_Result()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RenameResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RenameResult()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.Descriptor.MessageTypes[53]; } + get { return global::KclLib.API.SpecReflection.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] - public Rename_Result() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RenameResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Rename_Result(Rename_Result other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RenameResult(RenameResult other) : this() { changedFiles_ = other.changedFiles_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Rename_Result Clone() { - return new Rename_Result(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RenameResult Clone() { + return new RenameResult(this); } /// Field number for the "changed_files" field. @@ -10583,17 +15513,20 @@ public Rename_Result Clone() { /// List of file paths that got changed. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ChangedFiles { get { return changedFiles_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as Rename_Result); + return Equals(other as RenameResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(Rename_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RenameResult other) { if (ReferenceEquals(other, null)) { return false; } @@ -10605,6 +15538,7 @@ public bool Equals(Rename_Result other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= changedFiles_.GetHashCode(); @@ -10615,19 +15549,37 @@ public override int GetHashCode() { } [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 changedFiles_.WriteTo(output, _repeated_changedFiles_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) { + changedFiles_.WriteTo(ref output, _repeated_changedFiles_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 += changedFiles_.CalculateSize(_repeated_changedFiles_codec); @@ -10638,7 +15590,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(Rename_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RenameResult other) { if (other == null) { return; } @@ -10647,10 +15600,18 @@ public void MergeFrom(Rename_Result other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -10660,38 +15621,72 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + changedFiles_.AddEntriesFrom(ref input, _repeated_changedFiles_codec); + break; + } + } + } } + #endif } /// /// Message for rename code request arguments. /// - public sealed partial class RenameCode_Args : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RenameCode_Args()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RenameCodeArgs : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RenameCodeArgs()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.Descriptor.MessageTypes[54]; } + get { return global::KclLib.API.SpecReflection.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] - public RenameCode_Args() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RenameCodeArgs() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RenameCode_Args(RenameCode_Args other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RenameCodeArgs(RenameCodeArgs other) : this() { packageRoot_ = other.packageRoot_; symbolPath_ = other.symbolPath_; sourceCodes_ = other.sourceCodes_.Clone(); @@ -10700,8 +15695,9 @@ public RenameCode_Args(RenameCode_Args other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RenameCode_Args Clone() { - return new RenameCode_Args(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RenameCodeArgs Clone() { + return new RenameCodeArgs(this); } /// Field number for the "package_root" field. @@ -10711,6 +15707,7 @@ public RenameCode_Args Clone() { /// File path to the package root. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string PackageRoot { get { return packageRoot_; } set { @@ -10725,6 +15722,7 @@ public string PackageRoot { /// Path to the target symbol to be renamed. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SymbolPath { get { return symbolPath_; } set { @@ -10741,6 +15739,7 @@ public string SymbolPath { /// Map of source code with filename as key and code as value. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::MapField SourceCodes { get { return sourceCodes_; } } @@ -10752,6 +15751,7 @@ public string SymbolPath { /// New name of the symbol. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string NewName { get { return newName_; } set { @@ -10760,12 +15760,14 @@ public string NewName { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as RenameCode_Args); + return Equals(other as RenameCodeArgs); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(RenameCode_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RenameCodeArgs other) { if (ReferenceEquals(other, null)) { return false; } @@ -10780,6 +15782,7 @@ public bool Equals(RenameCode_Args other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (PackageRoot.Length != 0) hash ^= PackageRoot.GetHashCode(); @@ -10793,12 +15796,17 @@ public override int GetHashCode() { } [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 (PackageRoot.Length != 0) { output.WriteRawTag(10); output.WriteString(PackageRoot); @@ -10815,9 +15823,34 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (PackageRoot.Length != 0) { + output.WriteRawTag(10); + output.WriteString(PackageRoot); + } + if (SymbolPath.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SymbolPath); + } + sourceCodes_.WriteTo(ref output, _map_sourceCodes_codec); + if (NewName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(NewName); + } + 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 (PackageRoot.Length != 0) { @@ -10837,7 +15870,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(RenameCode_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RenameCodeArgs other) { if (other == null) { return; } @@ -10847,7 +15881,7 @@ public void MergeFrom(RenameCode_Args other) { if (other.SymbolPath.Length != 0) { SymbolPath = other.SymbolPath; } - sourceCodes_.Add(other.sourceCodes_); + sourceCodes_.MergeFrom(other.sourceCodes_); if (other.NewName.Length != 0) { NewName = other.NewName; } @@ -10855,10 +15889,18 @@ public void MergeFrom(RenameCode_Args other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -10880,45 +15922,92 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + PackageRoot = input.ReadString(); + break; + } + case 18: { + SymbolPath = input.ReadString(); + break; + } + case 26: { + sourceCodes_.AddEntriesFrom(ref input, _map_sourceCodes_codec); + break; + } + case 34: { + NewName = input.ReadString(); + break; + } + } + } } + #endif } /// /// Message for rename code response. /// - public sealed partial class RenameCode_Result : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RenameCode_Result()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RenameCodeResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RenameCodeResult()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.Descriptor.MessageTypes[55]; } + get { return global::KclLib.API.SpecReflection.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] - public RenameCode_Result() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RenameCodeResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RenameCode_Result(RenameCode_Result other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RenameCodeResult(RenameCodeResult other) : this() { changedCodes_ = other.changedCodes_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RenameCode_Result Clone() { - return new RenameCode_Result(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RenameCodeResult Clone() { + return new RenameCodeResult(this); } /// Field number for the "changed_codes" field. @@ -10930,17 +16019,20 @@ public RenameCode_Result Clone() { /// Map of changed code with filename as key and modified code as value. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::MapField ChangedCodes { get { return changedCodes_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as RenameCode_Result); + return Equals(other as RenameCodeResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(RenameCode_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RenameCodeResult other) { if (ReferenceEquals(other, null)) { return false; } @@ -10952,6 +16044,7 @@ public bool Equals(RenameCode_Result other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= ChangedCodes.GetHashCode(); @@ -10962,19 +16055,37 @@ public override int GetHashCode() { } [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 changedCodes_.WriteTo(output, _map_changedCodes_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) { + changedCodes_.WriteTo(ref output, _map_changedCodes_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 += changedCodes_.CalculateSize(_map_changedCodes_codec); @@ -10985,19 +16096,28 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(RenameCode_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RenameCodeResult other) { if (other == null) { return; } - changedCodes_.Add(other.changedCodes_); + changedCodes_.MergeFrom(other.changedCodes_); _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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -11007,38 +16127,72 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + changedCodes_.AddEntriesFrom(ref input, _map_changedCodes_codec); + break; + } + } + } } + #endif } /// /// Message for test request arguments. /// - public sealed partial class Test_Args : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Test_Args()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TestArgs : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TestArgs()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.Descriptor.MessageTypes[56]; } + get { return global::KclLib.API.SpecReflection.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] - public Test_Args() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TestArgs() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Test_Args(Test_Args other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TestArgs(TestArgs other) : this() { execArgs_ = other.execArgs_ != null ? other.execArgs_.Clone() : null; pkgList_ = other.pkgList_.Clone(); runRegexp_ = other.runRegexp_; @@ -11047,18 +16201,20 @@ public Test_Args(Test_Args other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Test_Args Clone() { - return new Test_Args(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TestArgs Clone() { + return new TestArgs(this); } /// Field number for the "exec_args" field. public const int ExecArgsFieldNumber = 1; - private global::KclLib.API.ExecProgram_Args execArgs_; + private global::KclLib.API.ExecProgramArgs execArgs_; /// /// Execution program arguments. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::KclLib.API.ExecProgram_Args ExecArgs { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::KclLib.API.ExecProgramArgs ExecArgs { get { return execArgs_; } set { execArgs_ = value; @@ -11074,6 +16230,7 @@ public Test_Args Clone() { /// List of KCL package paths to be tested. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField PkgList { get { return pkgList_; } } @@ -11085,6 +16242,7 @@ public Test_Args Clone() { /// Regular expression for filtering tests to run. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string RunRegexp { get { return runRegexp_; } set { @@ -11099,6 +16257,7 @@ public string RunRegexp { /// Flag to stop the test run on the first failure. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool FailFast { get { return failFast_; } set { @@ -11107,12 +16266,14 @@ public bool FailFast { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as Test_Args); + return Equals(other as TestArgs); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(Test_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TestArgs other) { if (ReferenceEquals(other, null)) { return false; } @@ -11127,6 +16288,7 @@ public bool Equals(Test_Args other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (execArgs_ != null) hash ^= ExecArgs.GetHashCode(); @@ -11140,12 +16302,17 @@ public override int GetHashCode() { } [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 (execArgs_ != null) { output.WriteRawTag(10); output.WriteMessage(ExecArgs); @@ -11162,9 +16329,34 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (execArgs_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ExecArgs); + } + pkgList_.WriteTo(ref output, _repeated_pkgList_codec); + if (RunRegexp.Length != 0) { + output.WriteRawTag(26); + output.WriteString(RunRegexp); + } + if (FailFast != false) { + output.WriteRawTag(32); + output.WriteBool(FailFast); + } + 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 (execArgs_ != null) { @@ -11184,13 +16376,14 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(Test_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TestArgs other) { if (other == null) { return; } if (other.execArgs_ != null) { if (execArgs_ == null) { - ExecArgs = new global::KclLib.API.ExecProgram_Args(); + ExecArgs = new global::KclLib.API.ExecProgramArgs(); } ExecArgs.MergeFrom(other.ExecArgs); } @@ -11205,16 +16398,24 @@ public void MergeFrom(Test_Args other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (execArgs_ == null) { - ExecArgs = new global::KclLib.API.ExecProgram_Args(); + ExecArgs = new global::KclLib.API.ExecProgramArgs(); } input.ReadMessage(ExecArgs); break; @@ -11233,45 +16434,95 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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 (execArgs_ == null) { + ExecArgs = new global::KclLib.API.ExecProgramArgs(); + } + input.ReadMessage(ExecArgs); + break; + } + case 18: { + pkgList_.AddEntriesFrom(ref input, _repeated_pkgList_codec); + break; + } + case 26: { + RunRegexp = input.ReadString(); + break; + } + case 32: { + FailFast = input.ReadBool(); + break; + } + } + } } + #endif } /// /// Message for test response. /// - public sealed partial class Test_Result : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Test_Result()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TestResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TestResult()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.Descriptor.MessageTypes[57]; } + get { return global::KclLib.API.SpecReflection.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] - public Test_Result() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TestResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Test_Result(Test_Result other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TestResult(TestResult other) : this() { info_ = other.info_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public Test_Result Clone() { - return new Test_Result(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TestResult Clone() { + return new TestResult(this); } /// Field number for the "info" field. @@ -11283,17 +16534,20 @@ public Test_Result Clone() { /// List of test case information. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Info { get { return info_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as Test_Result); + return Equals(other as TestResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(Test_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TestResult other) { if (ReferenceEquals(other, null)) { return false; } @@ -11305,6 +16559,7 @@ public bool Equals(Test_Result other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= info_.GetHashCode(); @@ -11315,19 +16570,37 @@ public override int GetHashCode() { } [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 info_.WriteTo(output, _repeated_info_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) { + info_.WriteTo(ref output, _repeated_info_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 += info_.CalculateSize(_repeated_info_codec); @@ -11338,7 +16611,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(Test_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TestResult other) { if (other == null) { return; } @@ -11347,10 +16621,18 @@ public void MergeFrom(Test_Result other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -11360,30 +16642,63 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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 18: { + info_.AddEntriesFrom(ref input, _repeated_info_codec); + break; + } + } + } } + #endif } /// /// Message representing information about a single test case. /// - public sealed partial class TestCaseInfo : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TestCaseInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TestCaseInfo()); 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::KclLib.API.SpecReflection.Descriptor.MessageTypes[58]; } + get { return global::KclLib.API.SpecReflection.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 TestCaseInfo() { OnConstruction(); } @@ -11391,6 +16706,7 @@ public TestCaseInfo() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TestCaseInfo(TestCaseInfo other) : this() { name_ = other.name_; error_ = other.error_; @@ -11400,6 +16716,7 @@ public TestCaseInfo(TestCaseInfo other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TestCaseInfo Clone() { return new TestCaseInfo(this); } @@ -11411,6 +16728,7 @@ public TestCaseInfo Clone() { /// Name of the test case. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Name { get { return name_; } set { @@ -11425,6 +16743,7 @@ public string Name { /// Error message if any. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Error { get { return error_; } set { @@ -11439,6 +16758,7 @@ public string Error { /// Duration of the test case in microseconds. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong Duration { get { return duration_; } set { @@ -11453,6 +16773,7 @@ public ulong Duration { /// Log message from the test case. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string LogMessage { get { return logMessage_; } set { @@ -11461,11 +16782,13 @@ public string LogMessage { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as TestCaseInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(TestCaseInfo other) { if (ReferenceEquals(other, null)) { return false; @@ -11481,6 +16804,7 @@ public bool Equals(TestCaseInfo other) { } [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(); @@ -11494,12 +16818,17 @@ public override int GetHashCode() { } [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); @@ -11519,9 +16848,37 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (Error.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Error); + } + if (Duration != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(Duration); + } + if (LogMessage.Length != 0) { + output.WriteRawTag(34); + output.WriteString(LogMessage); + } + 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) { @@ -11543,6 +16900,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(TestCaseInfo other) { if (other == null) { return; @@ -11563,10 +16921,18 @@ public void MergeFrom(TestCaseInfo other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -11588,46 +16954,93 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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 18: { + Error = input.ReadString(); + break; + } + case 24: { + Duration = input.ReadUInt64(); + break; + } + case 34: { + LogMessage = input.ReadString(); + break; + } + } + } } + #endif } /// /// Message for update dependencies request arguments. /// - public sealed partial class UpdateDependencies_Args : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateDependencies_Args()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateDependenciesArgs : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateDependenciesArgs()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.Descriptor.MessageTypes[59]; } + get { return global::KclLib.API.SpecReflection.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] - public UpdateDependencies_Args() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateDependenciesArgs() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public UpdateDependencies_Args(UpdateDependencies_Args other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateDependenciesArgs(UpdateDependenciesArgs other) : this() { manifestPath_ = other.manifestPath_; vendor_ = other.vendor_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public UpdateDependencies_Args Clone() { - return new UpdateDependencies_Args(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateDependenciesArgs Clone() { + return new UpdateDependenciesArgs(this); } /// Field number for the "manifest_path" field. @@ -11637,6 +17050,7 @@ public UpdateDependencies_Args Clone() { /// Path to the manifest file. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ManifestPath { get { return manifestPath_; } set { @@ -11651,6 +17065,7 @@ public string ManifestPath { /// Flag to vendor dependencies locally. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Vendor { get { return vendor_; } set { @@ -11659,12 +17074,14 @@ public bool Vendor { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as UpdateDependencies_Args); + return Equals(other as UpdateDependenciesArgs); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(UpdateDependencies_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateDependenciesArgs other) { if (ReferenceEquals(other, null)) { return false; } @@ -11677,6 +17094,7 @@ public bool Equals(UpdateDependencies_Args other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (ManifestPath.Length != 0) hash ^= ManifestPath.GetHashCode(); @@ -11688,12 +17106,35 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ManifestPath.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ManifestPath); + } + if (Vendor != false) { + output.WriteRawTag(16); + output.WriteBool(Vendor); + } + 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 (ManifestPath.Length != 0) { output.WriteRawTag(10); output.WriteString(ManifestPath); @@ -11703,11 +17144,13 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteBool(Vendor); } if (_unknownFields != null) { - _unknownFields.WriteTo(output); + _unknownFields.WriteTo(ref output); } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (ManifestPath.Length != 0) { @@ -11723,7 +17166,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(UpdateDependencies_Args other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateDependenciesArgs other) { if (other == null) { return; } @@ -11737,10 +17181,18 @@ public void MergeFrom(UpdateDependencies_Args other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -11754,45 +17206,84 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + ManifestPath = input.ReadString(); + break; + } + case 16: { + Vendor = input.ReadBool(); + break; + } + } + } } + #endif } /// /// Message for update dependencies response. /// - public sealed partial class UpdateDependencies_Result : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateDependencies_Result()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateDependenciesResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateDependenciesResult()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [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::KclLib.API.SpecReflection.Descriptor.MessageTypes[60]; } + get { return global::KclLib.API.SpecReflection.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] - public UpdateDependencies_Result() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateDependenciesResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public UpdateDependencies_Result(UpdateDependencies_Result other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateDependenciesResult(UpdateDependenciesResult other) : this() { externalPkgs_ = other.externalPkgs_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public UpdateDependencies_Result Clone() { - return new UpdateDependencies_Result(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateDependenciesResult Clone() { + return new UpdateDependenciesResult(this); } /// Field number for the "external_pkgs" field. @@ -11804,17 +17295,20 @@ public UpdateDependencies_Result Clone() { /// List of external packages updated. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ExternalPkgs { get { return externalPkgs_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as UpdateDependencies_Result); + return Equals(other as UpdateDependenciesResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(UpdateDependencies_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateDependenciesResult other) { if (ReferenceEquals(other, null)) { return false; } @@ -11826,6 +17320,7 @@ public bool Equals(UpdateDependencies_Result other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= externalPkgs_.GetHashCode(); @@ -11836,19 +17331,37 @@ public override int GetHashCode() { } [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 externalPkgs_.WriteTo(output, _repeated_externalPkgs_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) { + externalPkgs_.WriteTo(ref output, _repeated_externalPkgs_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 += externalPkgs_.CalculateSize(_repeated_externalPkgs_codec); @@ -11859,7 +17372,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(UpdateDependencies_Result other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateDependenciesResult other) { if (other == null) { return; } @@ -11868,10 +17382,18 @@ public void MergeFrom(UpdateDependencies_Result other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -11881,30 +17403,63 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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 26: { + externalPkgs_.AddEntriesFrom(ref input, _repeated_externalPkgs_codec); + break; + } + } + } } + #endif } /// /// Message representing a KCL type. /// - public sealed partial class KclType : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class KclType : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new KclType()); 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::KclLib.API.SpecReflection.Descriptor.MessageTypes[61]; } + get { return global::KclLib.API.SpecReflection.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 KclType() { OnConstruction(); } @@ -11912,6 +17467,7 @@ public KclType() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public KclType(KclType other) : this() { type_ = other.type_; unionTypes_ = other.unionTypes_.Clone(); @@ -11933,6 +17489,7 @@ public KclType(KclType other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public KclType Clone() { return new KclType(this); } @@ -11944,6 +17501,7 @@ public KclType Clone() { /// Type name (e.g., schema, dict, list, str, int, float, bool, any, union, number_multiplier). /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Type { get { return type_; } set { @@ -11960,6 +17518,7 @@ public string Type { /// Union types if applicable. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField UnionTypes { get { return unionTypes_; } } @@ -11971,6 +17530,7 @@ public string Type { /// Default value of the type. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Default { get { return default_; } set { @@ -11985,6 +17545,7 @@ public string Default { /// Name of the schema if applicable. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SchemaName { get { return schemaName_; } set { @@ -11999,6 +17560,7 @@ public string SchemaName { /// Documentation for the schema. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SchemaDoc { get { return schemaDoc_; } set { @@ -12015,6 +17577,7 @@ public string SchemaDoc { /// Properties of the schema as a map with property name as key. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::MapField Properties { get { return properties_; } } @@ -12028,6 +17591,7 @@ public string SchemaDoc { /// List of required schema properties. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Required { get { return required_; } } @@ -12039,6 +17603,7 @@ public string SchemaDoc { /// Key type if the KclType is a dictionary. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::KclLib.API.KclType Key { get { return key_; } set { @@ -12053,6 +17618,7 @@ public string SchemaDoc { /// Item type if the KclType is a list or dictionary. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::KclLib.API.KclType Item { get { return item_; } set { @@ -12067,6 +17633,7 @@ public string SchemaDoc { /// Line number where the type is defined. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Line { get { return line_; } set { @@ -12083,6 +17650,7 @@ public int Line { /// List of decorators for the schema. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Decorators { get { return decorators_; } } @@ -12094,6 +17662,7 @@ public int Line { /// Absolute path of the file where the attribute is located. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Filename { get { return filename_; } set { @@ -12108,6 +17677,7 @@ public string Filename { /// Path of the package where the attribute is located. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string PkgPath { get { return pkgPath_; } set { @@ -12122,6 +17692,7 @@ public string PkgPath { /// Documentation for the attribute. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Description { get { return description_; } set { @@ -12138,6 +17709,7 @@ public string Description { /// Map of examples with example name as key. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::MapField Examples { get { return examples_; } } @@ -12149,6 +17721,7 @@ public string Description { /// Base schema if applicable. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::KclLib.API.KclType BaseSchema { get { return baseSchema_; } set { @@ -12157,11 +17730,13 @@ public string Description { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as KclType); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(KclType other) { if (ReferenceEquals(other, null)) { return false; @@ -12189,6 +17764,7 @@ public bool Equals(KclType other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Type.Length != 0) hash ^= Type.GetHashCode(); @@ -12214,12 +17790,17 @@ public override int GetHashCode() { } [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.Length != 0) { output.WriteRawTag(10); output.WriteString(Type); @@ -12272,9 +17853,70 @@ public void WriteTo(pb::CodedOutputStream output) { 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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Type); + } + unionTypes_.WriteTo(ref output, _repeated_unionTypes_codec); + if (Default.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Default); + } + if (SchemaName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(SchemaName); + } + if (SchemaDoc.Length != 0) { + output.WriteRawTag(42); + output.WriteString(SchemaDoc); + } + properties_.WriteTo(ref output, _map_properties_codec); + required_.WriteTo(ref output, _repeated_required_codec); + if (key_ != null) { + output.WriteRawTag(66); + output.WriteMessage(Key); + } + if (item_ != null) { + output.WriteRawTag(74); + output.WriteMessage(Item); + } + if (Line != 0) { + output.WriteRawTag(80); + output.WriteInt32(Line); + } + decorators_.WriteTo(ref output, _repeated_decorators_codec); + if (Filename.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Filename); + } + if (PkgPath.Length != 0) { + output.WriteRawTag(106); + output.WriteString(PkgPath); + } + if (Description.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Description); + } + examples_.WriteTo(ref output, _map_examples_codec); + if (baseSchema_ != null) { + output.WriteRawTag(130, 1); + output.WriteMessage(BaseSchema); + } + 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.Length != 0) { @@ -12322,6 +17964,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(KclType other) { if (other == null) { return; @@ -12339,7 +17982,7 @@ public void MergeFrom(KclType other) { if (other.SchemaDoc.Length != 0) { SchemaDoc = other.SchemaDoc; } - properties_.Add(other.properties_); + properties_.MergeFrom(other.properties_); required_.Add(other.required_); if (other.key_ != null) { if (key_ == null) { @@ -12366,7 +18009,7 @@ public void MergeFrom(KclType other) { if (other.Description.Length != 0) { Description = other.Description; } - examples_.Add(other.examples_); + examples_.MergeFrom(other.examples_); if (other.baseSchema_ != null) { if (baseSchema_ == null) { BaseSchema = new global::KclLib.API.KclType(); @@ -12377,10 +18020,18 @@ public void MergeFrom(KclType other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -12459,30 +18110,132 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + Type = input.ReadString(); + break; + } + case 18: { + unionTypes_.AddEntriesFrom(ref input, _repeated_unionTypes_codec); + break; + } + case 26: { + Default = input.ReadString(); + break; + } + case 34: { + SchemaName = input.ReadString(); + break; + } + case 42: { + SchemaDoc = input.ReadString(); + break; + } + case 50: { + properties_.AddEntriesFrom(ref input, _map_properties_codec); + break; + } + case 58: { + required_.AddEntriesFrom(ref input, _repeated_required_codec); + break; + } + case 66: { + if (key_ == null) { + Key = new global::KclLib.API.KclType(); + } + input.ReadMessage(Key); + break; + } + case 74: { + if (item_ == null) { + Item = new global::KclLib.API.KclType(); + } + input.ReadMessage(Item); + break; + } + case 80: { + Line = input.ReadInt32(); + break; + } + case 90: { + decorators_.AddEntriesFrom(ref input, _repeated_decorators_codec); + break; + } + case 98: { + Filename = input.ReadString(); + break; + } + case 106: { + PkgPath = input.ReadString(); + break; + } + case 114: { + Description = input.ReadString(); + break; + } + case 122: { + examples_.AddEntriesFrom(ref input, _map_examples_codec); + break; + } + case 130: { + if (baseSchema_ == null) { + BaseSchema = new global::KclLib.API.KclType(); + } + input.ReadMessage(BaseSchema); + break; + } + } + } } + #endif } /// /// Message representing a decorator in KCL. /// - public sealed partial class Decorator : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Decorator : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Decorator()); 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::KclLib.API.SpecReflection.Descriptor.MessageTypes[62]; } + get { return global::KclLib.API.SpecReflection.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 Decorator() { OnConstruction(); } @@ -12490,6 +18243,7 @@ public Decorator() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Decorator(Decorator other) : this() { name_ = other.name_; arguments_ = other.arguments_.Clone(); @@ -12498,6 +18252,7 @@ public Decorator(Decorator other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Decorator Clone() { return new Decorator(this); } @@ -12509,6 +18264,7 @@ public Decorator Clone() { /// Name of the decorator. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Name { get { return name_; } set { @@ -12525,6 +18281,7 @@ public string Name { /// Arguments for the decorator. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Arguments { get { return arguments_; } } @@ -12538,16 +18295,19 @@ public string Name { /// Keyword arguments for the decorator as a map with keyword name as key. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::MapField Keywords { get { return keywords_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Decorator); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Decorator other) { if (ReferenceEquals(other, null)) { return false; @@ -12562,6 +18322,7 @@ public bool Equals(Decorator other) { } [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(); @@ -12574,12 +18335,17 @@ public override int GetHashCode() { } [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); @@ -12589,9 +18355,27 @@ public void WriteTo(pb::CodedOutputStream output) { 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); + } + arguments_.WriteTo(ref output, _repeated_arguments_codec); + keywords_.WriteTo(ref output, _map_keywords_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 (Name.Length != 0) { @@ -12606,6 +18390,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Decorator other) { if (other == null) { return; @@ -12614,15 +18399,23 @@ public void MergeFrom(Decorator other) { Name = other.Name; } arguments_.Add(other.arguments_); - keywords_.Add(other.keywords_); + keywords_.MergeFrom(other.keywords_); _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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -12640,30 +18433,71 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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 18: { + arguments_.AddEntriesFrom(ref input, _repeated_arguments_codec); + break; + } + case 26: { + keywords_.AddEntriesFrom(ref input, _map_keywords_codec); + break; + } + } + } + } + #endif + } /// /// Message representing an example in KCL. /// - public sealed partial class Example : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Example : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Example()); 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::KclLib.API.SpecReflection.Descriptor.MessageTypes[63]; } + get { return global::KclLib.API.SpecReflection.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 Example() { OnConstruction(); } @@ -12671,6 +18505,7 @@ public Example() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Example(Example other) : this() { summary_ = other.summary_; description_ = other.description_; @@ -12679,6 +18514,7 @@ public Example(Example other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Example Clone() { return new Example(this); } @@ -12690,6 +18526,7 @@ public Example Clone() { /// Short description for the example. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Summary { get { return summary_; } set { @@ -12704,6 +18541,7 @@ public string Summary { /// Long description for the example. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Description { get { return description_; } set { @@ -12718,6 +18556,7 @@ public string Description { /// Embedded literal example. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Value { get { return value_; } set { @@ -12726,11 +18565,13 @@ public string Value { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Example); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Example other) { if (ReferenceEquals(other, null)) { return false; @@ -12745,6 +18586,7 @@ public bool Equals(Example other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Summary.Length != 0) hash ^= Summary.GetHashCode(); @@ -12757,12 +18599,17 @@ public override int GetHashCode() { } [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 (Summary.Length != 0) { output.WriteRawTag(10); output.WriteString(Summary); @@ -12778,9 +18625,33 @@ public void WriteTo(pb::CodedOutputStream output) { 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 (Summary.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Summary); + } + if (Description.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Description); + } + if (Value.Length != 0) { + output.WriteRawTag(26); + 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 (Summary.Length != 0) { @@ -12799,6 +18670,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Example other) { if (other == null) { return; @@ -12816,10 +18688,18 @@ public void MergeFrom(Example other) { } [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) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -12837,7 +18717,39 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #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: { + Summary = input.ReadString(); + break; + } + case 18: { + Description = input.ReadString(); + break; + } + case 26: { + Value = input.ReadString(); + break; + } + } + } } + #endif } diff --git a/dotnet/README.md b/dotnet/README.md index 86673735..3031b9ae 100644 --- a/dotnet/README.md +++ b/dotnet/README.md @@ -14,7 +14,7 @@ Write the code using KclLib.API; var api = new API(); -var execArgs = new ExecProgram_Args(); +var execArgs = new ExecProgramArgs(); var path = Path.Combine("test_data", "schema.k"); execArgs.KFilenameList.Add(path); var result = api.ExecProgram(execArgs); diff --git a/dotnet/examples/exec-program/Program.cs b/dotnet/examples/exec-program/Program.cs index 7940a7f3..d28f7c63 100644 --- a/dotnet/examples/exec-program/Program.cs +++ b/dotnet/examples/exec-program/Program.cs @@ -1,7 +1,7 @@ using KclLib.API; var api = new API(); -var execArgs = new ExecProgram_Args(); +var execArgs = new ExecProgramArgs(); var path = Path.Combine("test_data", "schema.k"); execArgs.KFilenameList.Add(path); var result = api.ExecProgram(execArgs); diff --git a/dotnet/examples/exec-program/exec-program.csproj b/dotnet/examples/exec-program/exec-program.csproj index 60a720b9..4d41c977 100644 --- a/dotnet/examples/exec-program/exec-program.csproj +++ b/dotnet/examples/exec-program/exec-program.csproj @@ -9,7 +9,7 @@
- + diff --git a/dotnet/src/lib.rs b/dotnet/src/lib.rs index 9f31af9f..7248c65a 100644 --- a/dotnet/src/lib.rs +++ b/dotnet/src/lib.rs @@ -1,6 +1,6 @@ -extern crate kclvm_api; +extern crate kcl_api; -#[no_mangle] +#[unsafe(no_mangle)] pub extern "C" fn callNative( name_ptr: *const u8, name_len: usize, @@ -8,5 +8,5 @@ pub extern "C" fn callNative( args_len: usize, result_ptr: *mut u8, ) -> usize { - kclvm_api::call_native(name_ptr, name_len, args_ptr, args_len, result_ptr) + kcl_api::call_native(name_ptr, name_len, args_ptr, args_len, result_ptr) } diff --git a/go/api/client.go b/go/api/client.go index 63270fa0..ede28a52 100644 --- a/go/api/client.go +++ b/go/api/client.go @@ -2,48 +2,48 @@ package api // KCL service client interface. type ServiceClient interface { - // Ping KclvmService, return the same value as the parameter - Ping(in *Ping_Args) (out *Ping_Result, err error) + // Ping KclService, return the same value as the parameter + Ping(in *PingArgs) (out *PingResult, err error) // Execute KCL file with arguments and return the JSON/YAML result. - ExecProgram(in *ExecProgram_Args) (out *ExecProgram_Result, err error) - // Depreciated: Please use the env.EnableFastEvalMode() and c.ExecutProgram method and will be removed in v0.11.1. - BuildProgram(in *BuildProgram_Args) (out *BuildProgram_Result, err error) - // Depreciated: Please use the env.EnableFastEvalMode() and c.ExecutProgram method and will be removed in v0.11.1. - ExecArtifact(in *ExecArtifact_Args) (out *ExecProgram_Result, err error) + ExecProgram(in *ExecProgramArgs) (out *ExecProgramResult, err error) + // Depreciated: Please use the env.EnableFastEvalMode() and c.ExecutProgram method and will be removed in v0.12.0. + BuildProgram(in *BuildProgramArgs) (out *BuildProgramResult, err error) + // Depreciated: Please use the env.EnableFastEvalMode() and c.ExecutProgram method and will be removed in v0.12.0. + ExecArtifact(in *ExecArtifactArgs) (out *ExecProgramResult, err error) // Parse KCL single file to Module AST JSON string with import dependencies and parse errors. - ParseFile(in *ParseFile_Args) (out *ParseFile_Result, err error) + ParseFile(in *ParseFileArgs) (out *ParseFileResult, err error) // Parse KCL program with entry files and return the AST JSON string. - ParseProgram(in *ParseProgram_Args) (out *ParseProgram_Result, err error) + ParseProgram(in *ParseProgramArgs) (out *ParseProgramResult, err error) // ListOptions provides users with the ability to parse KCL program and get all option information. - ListOptions(in *ParseProgram_Args) (out *ListOptions_Result, err error) + ListOptions(in *ParseProgramArgs) (out *ListOptionsResult, err error) // ListVariables provides users with the ability to parse KCL program and get all variables by specs. - ListVariables(in *ListVariables_Args) (out *ListVariables_Result, err error) + ListVariables(in *ListVariablesArgs) (out *ListVariablesResult, err error) // LoadPackage provides users with the ability to parse KCL program and semantic model information including symbols, types, definitions, etc. - LoadPackage(in *LoadPackage_Args) (out *LoadPackage_Result, err error) + LoadPackage(in *LoadPackageArgs) (out *LoadPackageResult, err error) // Format the code source. - FormatCode(in *FormatCode_Args) (out *FormatCode_Result, err error) + FormatCode(in *FormatCodeArgs) (out *FormatCodeResult, err error) // Format KCL file or directory path contains KCL files and returns the changed file paths. - FormatPath(in *FormatPath_Args) (out *FormatPath_Result, err error) + FormatPath(in *FormatPathArgs) (out *FormatPathResult, err error) // Lint files and return error messages including errors and warnings. - LintPath(in *LintPath_Args) (out *LintPath_Result, err error) + LintPath(in *LintPathArgs) (out *LintPathResult, err error) // Override KCL file with arguments. See [https://www.kcl-lang.io/docs/user_docs/guides/automation](https://www.kcl-lang.io/docs/user_docs/guides/automation) for more override spec guide. - OverrideFile(in *OverrideFile_Args) (out *OverrideFile_Result, err error) + OverrideFile(in *OverrideFileArgs) (out *OverrideFileResult, err error) // Get schema type mapping defined in the program. - GetSchemaTypeMapping(in *GetSchemaTypeMapping_Args) (out *GetSchemaTypeMapping_Result, err error) + GetSchemaTypeMapping(in *GetSchemaTypeMappingArgs) (out *GetSchemaTypeMappingResult, err error) // Validate code using schema and JSON/YAML data strings. - ValidateCode(in *ValidateCode_Args) (out *ValidateCode_Result, err error) + ValidateCode(in *ValidateCodeArgs) (out *ValidateCodeResult, err error) // List dependencies files of input paths. - ListDepFiles(in *ListDepFiles_Args) (out *ListDepFiles_Result, err error) + ListDepFiles(in *ListDepFilesArgs) (out *ListDepFilesResult, err error) // Load the setting file config defined in `kcl.yaml`. - LoadSettingsFiles(in *LoadSettingsFiles_Args) (out *LoadSettingsFiles_Result, err error) + LoadSettingsFiles(in *LoadSettingsFilesArgs) (out *LoadSettingsFilesResult, err error) // Rename all the occurrences of the target symbol in the files. This API will rewrite files if they contain symbols to be renamed. Return the file paths that got changed. - Rename(in *Rename_Args) (out *Rename_Result, err error) + Rename(in *RenameArgs) (out *RenameResult, err error) // Rename all the occurrences of the target symbol and return the modified code if any code has been changed. This API won't rewrite files but return the changed code. - RenameCode(in *RenameCode_Args) (out *RenameCode_Result, err error) + RenameCode(in *RenameCodeArgs) (out *RenameCodeResult, err error) // Test KCL packages with test arguments. - Test(in *Test_Args) (out *Test_Result, err error) + Test(in *TestArgs) (out *TestResult, err error) // Download and update dependencies defined in the `kcl.mod` file and return the external package name and location list. - UpdateDependencies(in *UpdateDependencies_Args) (out *UpdateDependencies_Result, err error) - // GetVersion KclvmService, return the kclvm service version information - GetVersion(in *GetVersion_Args) (out *GetVersion_Result, err error) + UpdateDependencies(in *UpdateDependenciesArgs) (out *UpdateDependenciesResult, err error) + // GetVersion KclService, return the kcl service version information + GetVersion(in *GetVersionArgs) (out *GetVersionResult, err error) } diff --git a/go/api/spec.pb.go b/go/api/spec.pb.go index 9b29023f..98af8edb 100644 --- a/go/api/spec.pb.go +++ b/go/api/spec.pb.go @@ -4,8 +4,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 -// protoc v5.27.0 +// protoc-gen-go v1.36.10 +// protoc v6.33.1 // source: spec.proto package api @@ -15,6 +15,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -27,23 +28,20 @@ const ( // Message representing an external package for KCL. // kcl main.k -E pkg_name=pkg_path type ExternalPkg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Name of the package. PkgName string `protobuf:"bytes,1,opt,name=pkg_name,json=pkgName,proto3" json:"pkg_name,omitempty"` // Path of the package. - PkgPath string `protobuf:"bytes,2,opt,name=pkg_path,json=pkgPath,proto3" json:"pkg_path,omitempty"` + PkgPath string `protobuf:"bytes,2,opt,name=pkg_path,json=pkgPath,proto3" json:"pkg_path,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ExternalPkg) Reset() { *x = ExternalPkg{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_spec_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExternalPkg) String() string { @@ -54,7 +52,7 @@ func (*ExternalPkg) ProtoMessage() {} func (x *ExternalPkg) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -86,23 +84,20 @@ func (x *ExternalPkg) GetPkgPath() string { // Message representing a key-value argument for KCL. // kcl main.k -D name=value type Argument struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Name of the argument. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Value of the argument. - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Argument) Reset() { *x = Argument{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_spec_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Argument) String() string { @@ -113,7 +108,7 @@ func (*Argument) ProtoMessage() {} func (x *Argument) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -144,25 +139,22 @@ func (x *Argument) GetValue() string { // Message representing an error. type Error struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Level of the error (e.g., "Error", "Warning"). Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"` // Error code. (e.g., "E1001") Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // List of error messages. - Messages []*Message `protobuf:"bytes,3,rep,name=messages,proto3" json:"messages,omitempty"` + Messages []*Message `protobuf:"bytes,3,rep,name=messages,proto3" json:"messages,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Error) Reset() { *x = Error{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_spec_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Error) String() string { @@ -173,7 +165,7 @@ func (*Error) ProtoMessage() {} func (x *Error) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -211,23 +203,20 @@ func (x *Error) GetMessages() []*Message { // Message representing a detailed error message with a position. type Message struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The error message text. Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // The position in the source code where the error occurred. - Pos *Position `protobuf:"bytes,2,opt,name=pos,proto3" json:"pos,omitempty"` + Pos *Position `protobuf:"bytes,2,opt,name=pos,proto3" json:"pos,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Message) Reset() { *x = Message{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_spec_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Message) String() string { @@ -238,7 +227,7 @@ func (*Message) ProtoMessage() {} func (x *Message) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -268,33 +257,30 @@ func (x *Message) GetPos() *Position { } // Message for ping request arguments. -type Ping_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type PingArgs struct { + state protoimpl.MessageState `protogen:"open.v1"` // Value to be sent in the ping request. - Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *Ping_Args) Reset() { - *x = Ping_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *PingArgs) Reset() { + *x = PingArgs{} + mi := &file_spec_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *Ping_Args) String() string { +func (x *PingArgs) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Ping_Args) ProtoMessage() {} +func (*PingArgs) ProtoMessage() {} -func (x *Ping_Args) ProtoReflect() protoreflect.Message { +func (x *PingArgs) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -304,12 +290,12 @@ func (x *Ping_Args) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Ping_Args.ProtoReflect.Descriptor instead. -func (*Ping_Args) Descriptor() ([]byte, []int) { +// Deprecated: Use PingArgs.ProtoReflect.Descriptor instead. +func (*PingArgs) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{4} } -func (x *Ping_Args) GetValue() string { +func (x *PingArgs) GetValue() string { if x != nil { return x.Value } @@ -317,33 +303,30 @@ func (x *Ping_Args) GetValue() string { } // Message for ping response. -type Ping_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type PingResult struct { + state protoimpl.MessageState `protogen:"open.v1"` // Value received in the ping response. - Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *Ping_Result) Reset() { - *x = Ping_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *PingResult) Reset() { + *x = PingResult{} + mi := &file_spec_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *Ping_Result) String() string { +func (x *PingResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Ping_Result) ProtoMessage() {} +func (*PingResult) ProtoMessage() {} -func (x *Ping_Result) ProtoReflect() protoreflect.Message { +func (x *PingResult) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -353,12 +336,12 @@ func (x *Ping_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Ping_Result.ProtoReflect.Descriptor instead. -func (*Ping_Result) Descriptor() ([]byte, []int) { +// Deprecated: Use PingResult.ProtoReflect.Descriptor instead. +func (*PingResult) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{5} } -func (x *Ping_Result) GetValue() string { +func (x *PingResult) GetValue() string { if x != nil { return x.Value } @@ -366,30 +349,28 @@ func (x *Ping_Result) GetValue() string { } // Message for version request arguments. Empty message. -type GetVersion_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache +type GetVersionArgs struct { + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *GetVersion_Args) Reset() { - *x = GetVersion_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *GetVersionArgs) Reset() { + *x = GetVersionArgs{} + mi := &file_spec_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *GetVersion_Args) String() string { +func (x *GetVersionArgs) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetVersion_Args) ProtoMessage() {} +func (*GetVersionArgs) ProtoMessage() {} -func (x *GetVersion_Args) ProtoReflect() protoreflect.Message { +func (x *GetVersionArgs) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -399,17 +380,14 @@ func (x *GetVersion_Args) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetVersion_Args.ProtoReflect.Descriptor instead. -func (*GetVersion_Args) Descriptor() ([]byte, []int) { +// Deprecated: Use GetVersionArgs.ProtoReflect.Descriptor instead. +func (*GetVersionArgs) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{6} } // Message for version response. -type GetVersion_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type GetVersionResult struct { + state protoimpl.MessageState `protogen:"open.v1"` // KCL version. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // Checksum of the KCL version. @@ -417,27 +395,27 @@ type GetVersion_Result struct { // Git Git SHA of the KCL code repo. GitSha string `protobuf:"bytes,3,opt,name=git_sha,json=gitSha,proto3" json:"git_sha,omitempty"` // Detailed version information as a string. - VersionInfo string `protobuf:"bytes,4,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"` + VersionInfo string `protobuf:"bytes,4,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *GetVersion_Result) Reset() { - *x = GetVersion_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *GetVersionResult) Reset() { + *x = GetVersionResult{} + mi := &file_spec_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *GetVersion_Result) String() string { +func (x *GetVersionResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetVersion_Result) ProtoMessage() {} +func (*GetVersionResult) ProtoMessage() {} -func (x *GetVersion_Result) ProtoReflect() protoreflect.Message { +func (x *GetVersionResult) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -447,33 +425,33 @@ func (x *GetVersion_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetVersion_Result.ProtoReflect.Descriptor instead. -func (*GetVersion_Result) Descriptor() ([]byte, []int) { +// Deprecated: Use GetVersionResult.ProtoReflect.Descriptor instead. +func (*GetVersionResult) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{7} } -func (x *GetVersion_Result) GetVersion() string { +func (x *GetVersionResult) GetVersion() string { if x != nil { return x.Version } return "" } -func (x *GetVersion_Result) GetChecksum() string { +func (x *GetVersionResult) GetChecksum() string { if x != nil { return x.Checksum } return "" } -func (x *GetVersion_Result) GetGitSha() string { +func (x *GetVersionResult) GetGitSha() string { if x != nil { return x.GitSha } return "" } -func (x *GetVersion_Result) GetVersionInfo() string { +func (x *GetVersionResult) GetVersionInfo() string { if x != nil { return x.VersionInfo } @@ -481,30 +459,28 @@ func (x *GetVersion_Result) GetVersionInfo() string { } // Message for list method request arguments. Empty message. -type ListMethod_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache +type ListMethodArgs struct { + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *ListMethod_Args) Reset() { - *x = ListMethod_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *ListMethodArgs) Reset() { + *x = ListMethodArgs{} + mi := &file_spec_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *ListMethod_Args) String() string { +func (x *ListMethodArgs) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ListMethod_Args) ProtoMessage() {} +func (*ListMethodArgs) ProtoMessage() {} -func (x *ListMethod_Args) ProtoReflect() protoreflect.Message { +func (x *ListMethodArgs) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -514,39 +490,36 @@ func (x *ListMethod_Args) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ListMethod_Args.ProtoReflect.Descriptor instead. -func (*ListMethod_Args) Descriptor() ([]byte, []int) { +// Deprecated: Use ListMethodArgs.ProtoReflect.Descriptor instead. +func (*ListMethodArgs) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{8} } // Message for list method response. -type ListMethod_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type ListMethodResult struct { + state protoimpl.MessageState `protogen:"open.v1"` // List of available method names. MethodNameList []string `protobuf:"bytes,1,rep,name=method_name_list,json=methodNameList,proto3" json:"method_name_list,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *ListMethod_Result) Reset() { - *x = ListMethod_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *ListMethodResult) Reset() { + *x = ListMethodResult{} + mi := &file_spec_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *ListMethod_Result) String() string { +func (x *ListMethodResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ListMethod_Result) ProtoMessage() {} +func (*ListMethodResult) ProtoMessage() {} -func (x *ListMethod_Result) ProtoReflect() protoreflect.Message { +func (x *ListMethodResult) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -556,12 +529,12 @@ func (x *ListMethod_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ListMethod_Result.ProtoReflect.Descriptor instead. -func (*ListMethod_Result) Descriptor() ([]byte, []int) { +// Deprecated: Use ListMethodResult.ProtoReflect.Descriptor instead. +func (*ListMethodResult) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{9} } -func (x *ListMethod_Result) GetMethodNameList() []string { +func (x *ListMethodResult) GetMethodNameList() []string { if x != nil { return x.MethodNameList } @@ -569,37 +542,34 @@ func (x *ListMethod_Result) GetMethodNameList() []string { } // Message for parse file request arguments. -type ParseFile_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type ParseFileArgs struct { + state protoimpl.MessageState `protogen:"open.v1"` // Path of the file to be parsed. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Source code to be parsed. Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // External packages path. - ExternalPkgs []*ExternalPkg `protobuf:"bytes,3,rep,name=external_pkgs,json=externalPkgs,proto3" json:"external_pkgs,omitempty"` + ExternalPkgs []*ExternalPkg `protobuf:"bytes,3,rep,name=external_pkgs,json=externalPkgs,proto3" json:"external_pkgs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *ParseFile_Args) Reset() { - *x = ParseFile_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *ParseFileArgs) Reset() { + *x = ParseFileArgs{} + mi := &file_spec_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *ParseFile_Args) String() string { +func (x *ParseFileArgs) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ParseFile_Args) ProtoMessage() {} +func (*ParseFileArgs) ProtoMessage() {} -func (x *ParseFile_Args) ProtoReflect() protoreflect.Message { +func (x *ParseFileArgs) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -609,26 +579,26 @@ func (x *ParseFile_Args) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ParseFile_Args.ProtoReflect.Descriptor instead. -func (*ParseFile_Args) Descriptor() ([]byte, []int) { +// Deprecated: Use ParseFileArgs.ProtoReflect.Descriptor instead. +func (*ParseFileArgs) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{10} } -func (x *ParseFile_Args) GetPath() string { +func (x *ParseFileArgs) GetPath() string { if x != nil { return x.Path } return "" } -func (x *ParseFile_Args) GetSource() string { +func (x *ParseFileArgs) GetSource() string { if x != nil { return x.Source } return "" } -func (x *ParseFile_Args) GetExternalPkgs() []*ExternalPkg { +func (x *ParseFileArgs) GetExternalPkgs() []*ExternalPkg { if x != nil { return x.ExternalPkgs } @@ -636,37 +606,34 @@ func (x *ParseFile_Args) GetExternalPkgs() []*ExternalPkg { } // Message for parse file response. -type ParseFile_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type ParseFileResult struct { + state protoimpl.MessageState `protogen:"open.v1"` // Abstract Syntax Tree (AST) in JSON format. AstJson string `protobuf:"bytes,1,opt,name=ast_json,json=astJson,proto3" json:"ast_json,omitempty"` // File dependency paths. Deps []string `protobuf:"bytes,2,rep,name=deps,proto3" json:"deps,omitempty"` // List of parse errors. - Errors []*Error `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"` + Errors []*Error `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *ParseFile_Result) Reset() { - *x = ParseFile_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *ParseFileResult) Reset() { + *x = ParseFileResult{} + mi := &file_spec_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *ParseFile_Result) String() string { +func (x *ParseFileResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ParseFile_Result) ProtoMessage() {} +func (*ParseFileResult) ProtoMessage() {} -func (x *ParseFile_Result) ProtoReflect() protoreflect.Message { +func (x *ParseFileResult) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -676,26 +643,26 @@ func (x *ParseFile_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ParseFile_Result.ProtoReflect.Descriptor instead. -func (*ParseFile_Result) Descriptor() ([]byte, []int) { +// Deprecated: Use ParseFileResult.ProtoReflect.Descriptor instead. +func (*ParseFileResult) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{11} } -func (x *ParseFile_Result) GetAstJson() string { +func (x *ParseFileResult) GetAstJson() string { if x != nil { return x.AstJson } return "" } -func (x *ParseFile_Result) GetDeps() []string { +func (x *ParseFileResult) GetDeps() []string { if x != nil { return x.Deps } return nil } -func (x *ParseFile_Result) GetErrors() []*Error { +func (x *ParseFileResult) GetErrors() []*Error { if x != nil { return x.Errors } @@ -703,37 +670,34 @@ func (x *ParseFile_Result) GetErrors() []*Error { } // Message for parse program request arguments. -type ParseProgram_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type ParseProgramArgs struct { + state protoimpl.MessageState `protogen:"open.v1"` // Paths of the program files to be parsed. Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` // Source codes to be parsed. Sources []string `protobuf:"bytes,2,rep,name=sources,proto3" json:"sources,omitempty"` // External packages path. - ExternalPkgs []*ExternalPkg `protobuf:"bytes,3,rep,name=external_pkgs,json=externalPkgs,proto3" json:"external_pkgs,omitempty"` + ExternalPkgs []*ExternalPkg `protobuf:"bytes,3,rep,name=external_pkgs,json=externalPkgs,proto3" json:"external_pkgs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *ParseProgram_Args) Reset() { - *x = ParseProgram_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *ParseProgramArgs) Reset() { + *x = ParseProgramArgs{} + mi := &file_spec_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *ParseProgram_Args) String() string { +func (x *ParseProgramArgs) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ParseProgram_Args) ProtoMessage() {} +func (*ParseProgramArgs) ProtoMessage() {} -func (x *ParseProgram_Args) ProtoReflect() protoreflect.Message { +func (x *ParseProgramArgs) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -743,26 +707,26 @@ func (x *ParseProgram_Args) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ParseProgram_Args.ProtoReflect.Descriptor instead. -func (*ParseProgram_Args) Descriptor() ([]byte, []int) { +// Deprecated: Use ParseProgramArgs.ProtoReflect.Descriptor instead. +func (*ParseProgramArgs) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{12} } -func (x *ParseProgram_Args) GetPaths() []string { +func (x *ParseProgramArgs) GetPaths() []string { if x != nil { return x.Paths } return nil } -func (x *ParseProgram_Args) GetSources() []string { +func (x *ParseProgramArgs) GetSources() []string { if x != nil { return x.Sources } return nil } -func (x *ParseProgram_Args) GetExternalPkgs() []*ExternalPkg { +func (x *ParseProgramArgs) GetExternalPkgs() []*ExternalPkg { if x != nil { return x.ExternalPkgs } @@ -770,37 +734,34 @@ func (x *ParseProgram_Args) GetExternalPkgs() []*ExternalPkg { } // Message for parse program response. -type ParseProgram_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type ParseProgramResult struct { + state protoimpl.MessageState `protogen:"open.v1"` // Abstract Syntax Tree (AST) in JSON format. AstJson string `protobuf:"bytes,1,opt,name=ast_json,json=astJson,proto3" json:"ast_json,omitempty"` // Returns the files in the order they should be compiled. Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` // List of parse errors. - Errors []*Error `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"` + Errors []*Error `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *ParseProgram_Result) Reset() { - *x = ParseProgram_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *ParseProgramResult) Reset() { + *x = ParseProgramResult{} + mi := &file_spec_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *ParseProgram_Result) String() string { +func (x *ParseProgramResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ParseProgram_Result) ProtoMessage() {} +func (*ParseProgramResult) ProtoMessage() {} -func (x *ParseProgram_Result) ProtoReflect() protoreflect.Message { +func (x *ParseProgramResult) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -810,26 +771,26 @@ func (x *ParseProgram_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ParseProgram_Result.ProtoReflect.Descriptor instead. -func (*ParseProgram_Result) Descriptor() ([]byte, []int) { +// Deprecated: Use ParseProgramResult.ProtoReflect.Descriptor instead. +func (*ParseProgramResult) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{13} } -func (x *ParseProgram_Result) GetAstJson() string { +func (x *ParseProgramResult) GetAstJson() string { if x != nil { return x.AstJson } return "" } -func (x *ParseProgram_Result) GetPaths() []string { +func (x *ParseProgramResult) GetPaths() []string { if x != nil { return x.Paths } return nil } -func (x *ParseProgram_Result) GetErrors() []*Error { +func (x *ParseProgramResult) GetErrors() []*Error { if x != nil { return x.Errors } @@ -837,39 +798,36 @@ func (x *ParseProgram_Result) GetErrors() []*Error { } // Message for load package request arguments. -type LoadPackage_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type LoadPackageArgs struct { + state protoimpl.MessageState `protogen:"open.v1"` // Arguments for parsing the program. - ParseArgs *ParseProgram_Args `protobuf:"bytes,1,opt,name=parse_args,json=parseArgs,proto3" json:"parse_args,omitempty"` + ParseArgs *ParseProgramArgs `protobuf:"bytes,1,opt,name=parse_args,json=parseArgs,proto3" json:"parse_args,omitempty"` // Flag indicating whether to resolve AST. ResolveAst bool `protobuf:"varint,2,opt,name=resolve_ast,json=resolveAst,proto3" json:"resolve_ast,omitempty"` // Flag indicating whether to load built-in modules. LoadBuiltin bool `protobuf:"varint,3,opt,name=load_builtin,json=loadBuiltin,proto3" json:"load_builtin,omitempty"` // Flag indicating whether to include AST index. - WithAstIndex bool `protobuf:"varint,4,opt,name=with_ast_index,json=withAstIndex,proto3" json:"with_ast_index,omitempty"` + WithAstIndex bool `protobuf:"varint,4,opt,name=with_ast_index,json=withAstIndex,proto3" json:"with_ast_index,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *LoadPackage_Args) Reset() { - *x = LoadPackage_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *LoadPackageArgs) Reset() { + *x = LoadPackageArgs{} + mi := &file_spec_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *LoadPackage_Args) String() string { +func (x *LoadPackageArgs) String() string { return protoimpl.X.MessageStringOf(x) } -func (*LoadPackage_Args) ProtoMessage() {} +func (*LoadPackageArgs) ProtoMessage() {} -func (x *LoadPackage_Args) ProtoReflect() protoreflect.Message { +func (x *LoadPackageArgs) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -879,33 +837,33 @@ func (x *LoadPackage_Args) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use LoadPackage_Args.ProtoReflect.Descriptor instead. -func (*LoadPackage_Args) Descriptor() ([]byte, []int) { +// Deprecated: Use LoadPackageArgs.ProtoReflect.Descriptor instead. +func (*LoadPackageArgs) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{14} } -func (x *LoadPackage_Args) GetParseArgs() *ParseProgram_Args { +func (x *LoadPackageArgs) GetParseArgs() *ParseProgramArgs { if x != nil { return x.ParseArgs } return nil } -func (x *LoadPackage_Args) GetResolveAst() bool { +func (x *LoadPackageArgs) GetResolveAst() bool { if x != nil { return x.ResolveAst } return false } -func (x *LoadPackage_Args) GetLoadBuiltin() bool { +func (x *LoadPackageArgs) GetLoadBuiltin() bool { if x != nil { return x.LoadBuiltin } return false } -func (x *LoadPackage_Args) GetWithAstIndex() bool { +func (x *LoadPackageArgs) GetWithAstIndex() bool { if x != nil { return x.WithAstIndex } @@ -913,11 +871,8 @@ func (x *LoadPackage_Args) GetWithAstIndex() bool { } // Message for load package response. -type LoadPackage_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type LoadPackageResult struct { + state protoimpl.MessageState `protogen:"open.v1"` // Program Abstract Syntax Tree (AST) in JSON format. Program string `protobuf:"bytes,1,opt,name=program,proto3" json:"program,omitempty"` // Returns the files in the order they should be compiled. @@ -927,37 +882,37 @@ type LoadPackage_Result struct { // List of type errors. TypeErrors []*Error `protobuf:"bytes,4,rep,name=type_errors,json=typeErrors,proto3" json:"type_errors,omitempty"` // Map of scopes with scope index as key. - Scopes map[string]*Scope `protobuf:"bytes,5,rep,name=scopes,proto3" json:"scopes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Scopes map[string]*Scope `protobuf:"bytes,5,rep,name=scopes,proto3" json:"scopes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map of symbols with symbol index as key. - Symbols map[string]*Symbol `protobuf:"bytes,6,rep,name=symbols,proto3" json:"symbols,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Symbols map[string]*Symbol `protobuf:"bytes,6,rep,name=symbols,proto3" json:"symbols,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map of node-symbol associations with AST index UUID as key. - NodeSymbolMap map[string]*SymbolIndex `protobuf:"bytes,7,rep,name=node_symbol_map,json=nodeSymbolMap,proto3" json:"node_symbol_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + NodeSymbolMap map[string]*SymbolIndex `protobuf:"bytes,7,rep,name=node_symbol_map,json=nodeSymbolMap,proto3" json:"node_symbol_map,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map of symbol-node associations with symbol index as key. - SymbolNodeMap map[string]string `protobuf:"bytes,8,rep,name=symbol_node_map,json=symbolNodeMap,proto3" json:"symbol_node_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + SymbolNodeMap map[string]string `protobuf:"bytes,8,rep,name=symbol_node_map,json=symbolNodeMap,proto3" json:"symbol_node_map,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map of fully qualified names with symbol index as key. - FullyQualifiedNameMap map[string]*SymbolIndex `protobuf:"bytes,9,rep,name=fully_qualified_name_map,json=fullyQualifiedNameMap,proto3" json:"fully_qualified_name_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + FullyQualifiedNameMap map[string]*SymbolIndex `protobuf:"bytes,9,rep,name=fully_qualified_name_map,json=fullyQualifiedNameMap,proto3" json:"fully_qualified_name_map,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map of package scope with package path as key. - PkgScopeMap map[string]*ScopeIndex `protobuf:"bytes,10,rep,name=pkg_scope_map,json=pkgScopeMap,proto3" json:"pkg_scope_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + PkgScopeMap map[string]*ScopeIndex `protobuf:"bytes,10,rep,name=pkg_scope_map,json=pkgScopeMap,proto3" json:"pkg_scope_map,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *LoadPackage_Result) Reset() { - *x = LoadPackage_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *LoadPackageResult) Reset() { + *x = LoadPackageResult{} + mi := &file_spec_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *LoadPackage_Result) String() string { +func (x *LoadPackageResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*LoadPackage_Result) ProtoMessage() {} +func (*LoadPackageResult) ProtoMessage() {} -func (x *LoadPackage_Result) ProtoReflect() protoreflect.Message { +func (x *LoadPackageResult) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -967,75 +922,75 @@ func (x *LoadPackage_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use LoadPackage_Result.ProtoReflect.Descriptor instead. -func (*LoadPackage_Result) Descriptor() ([]byte, []int) { +// Deprecated: Use LoadPackageResult.ProtoReflect.Descriptor instead. +func (*LoadPackageResult) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{15} } -func (x *LoadPackage_Result) GetProgram() string { +func (x *LoadPackageResult) GetProgram() string { if x != nil { return x.Program } return "" } -func (x *LoadPackage_Result) GetPaths() []string { +func (x *LoadPackageResult) GetPaths() []string { if x != nil { return x.Paths } return nil } -func (x *LoadPackage_Result) GetParseErrors() []*Error { +func (x *LoadPackageResult) GetParseErrors() []*Error { if x != nil { return x.ParseErrors } return nil } -func (x *LoadPackage_Result) GetTypeErrors() []*Error { +func (x *LoadPackageResult) GetTypeErrors() []*Error { if x != nil { return x.TypeErrors } return nil } -func (x *LoadPackage_Result) GetScopes() map[string]*Scope { +func (x *LoadPackageResult) GetScopes() map[string]*Scope { if x != nil { return x.Scopes } return nil } -func (x *LoadPackage_Result) GetSymbols() map[string]*Symbol { +func (x *LoadPackageResult) GetSymbols() map[string]*Symbol { if x != nil { return x.Symbols } return nil } -func (x *LoadPackage_Result) GetNodeSymbolMap() map[string]*SymbolIndex { +func (x *LoadPackageResult) GetNodeSymbolMap() map[string]*SymbolIndex { if x != nil { return x.NodeSymbolMap } return nil } -func (x *LoadPackage_Result) GetSymbolNodeMap() map[string]string { +func (x *LoadPackageResult) GetSymbolNodeMap() map[string]string { if x != nil { return x.SymbolNodeMap } return nil } -func (x *LoadPackage_Result) GetFullyQualifiedNameMap() map[string]*SymbolIndex { +func (x *LoadPackageResult) GetFullyQualifiedNameMap() map[string]*SymbolIndex { if x != nil { return x.FullyQualifiedNameMap } return nil } -func (x *LoadPackage_Result) GetPkgScopeMap() map[string]*ScopeIndex { +func (x *LoadPackageResult) GetPkgScopeMap() map[string]*ScopeIndex { if x != nil { return x.PkgScopeMap } @@ -1043,33 +998,30 @@ func (x *LoadPackage_Result) GetPkgScopeMap() map[string]*ScopeIndex { } // Message for list options response. -type ListOptions_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type ListOptionsResult struct { + state protoimpl.MessageState `protogen:"open.v1"` // List of available options. - Options []*OptionHelp `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"` + Options []*OptionHelp `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *ListOptions_Result) Reset() { - *x = ListOptions_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *ListOptionsResult) Reset() { + *x = ListOptionsResult{} + mi := &file_spec_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *ListOptions_Result) String() string { +func (x *ListOptionsResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ListOptions_Result) ProtoMessage() {} +func (*ListOptionsResult) ProtoMessage() {} -func (x *ListOptions_Result) ProtoReflect() protoreflect.Message { +func (x *ListOptionsResult) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1079,12 +1031,12 @@ func (x *ListOptions_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ListOptions_Result.ProtoReflect.Descriptor instead. -func (*ListOptions_Result) Descriptor() ([]byte, []int) { +// Deprecated: Use ListOptionsResult.ProtoReflect.Descriptor instead. +func (*ListOptionsResult) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{16} } -func (x *ListOptions_Result) GetOptions() []*OptionHelp { +func (x *ListOptionsResult) GetOptions() []*OptionHelp { if x != nil { return x.Options } @@ -1093,10 +1045,7 @@ func (x *ListOptions_Result) GetOptions() []*OptionHelp { // Message representing a help option. type OptionHelp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Name of the option. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Type of the option. @@ -1106,16 +1055,16 @@ type OptionHelp struct { // Default value of the option. DefaultValue string `protobuf:"bytes,4,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` // Help text for the option. - Help string `protobuf:"bytes,5,opt,name=help,proto3" json:"help,omitempty"` + Help string `protobuf:"bytes,5,opt,name=help,proto3" json:"help,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *OptionHelp) Reset() { *x = OptionHelp{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_spec_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OptionHelp) String() string { @@ -1126,7 +1075,7 @@ func (*OptionHelp) ProtoMessage() {} func (x *OptionHelp) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1178,10 +1127,7 @@ func (x *OptionHelp) GetHelp() string { // Message representing a symbol in KCL. type Symbol struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Type of the symbol. Ty *KclType `protobuf:"bytes,1,opt,name=ty,proto3" json:"ty,omitempty"` // Name of the symbol. @@ -1193,16 +1139,16 @@ type Symbol struct { // Attributes of the symbol. Attrs []*SymbolIndex `protobuf:"bytes,5,rep,name=attrs,proto3" json:"attrs,omitempty"` // Flag indicating if the symbol is global. - IsGlobal bool `protobuf:"varint,6,opt,name=is_global,json=isGlobal,proto3" json:"is_global,omitempty"` + IsGlobal bool `protobuf:"varint,6,opt,name=is_global,json=isGlobal,proto3" json:"is_global,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Symbol) Reset() { *x = Symbol{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_spec_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Symbol) String() string { @@ -1213,7 +1159,7 @@ func (*Symbol) ProtoMessage() {} func (x *Symbol) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1272,10 +1218,7 @@ func (x *Symbol) GetIsGlobal() bool { // Message representing a scope in KCL. type Scope struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Type of the scope. Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` // Parent scope. @@ -1285,16 +1228,16 @@ type Scope struct { // Children of the scope. Children []*ScopeIndex `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"` // Definitions in the scope. - Defs []*SymbolIndex `protobuf:"bytes,5,rep,name=defs,proto3" json:"defs,omitempty"` + Defs []*SymbolIndex `protobuf:"bytes,5,rep,name=defs,proto3" json:"defs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Scope) Reset() { *x = Scope{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_spec_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Scope) String() string { @@ -1305,7 +1248,7 @@ func (*Scope) ProtoMessage() {} func (x *Scope) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1357,25 +1300,22 @@ func (x *Scope) GetDefs() []*SymbolIndex { // Message representing a symbol index. type SymbolIndex struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Index identifier. I uint64 `protobuf:"varint,1,opt,name=i,proto3" json:"i,omitempty"` // Global identifier. G uint64 `protobuf:"varint,2,opt,name=g,proto3" json:"g,omitempty"` // Type of the symbol or scope. - Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` + Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SymbolIndex) Reset() { *x = SymbolIndex{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_spec_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SymbolIndex) String() string { @@ -1386,7 +1326,7 @@ func (*SymbolIndex) ProtoMessage() {} func (x *SymbolIndex) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1424,25 +1364,22 @@ func (x *SymbolIndex) GetKind() string { // Message representing a scope index. type ScopeIndex struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Index identifier. I uint64 `protobuf:"varint,1,opt,name=i,proto3" json:"i,omitempty"` // Global identifier. G uint64 `protobuf:"varint,2,opt,name=g,proto3" json:"g,omitempty"` // Type of the scope. - Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` + Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ScopeIndex) Reset() { *x = ScopeIndex{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_spec_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ScopeIndex) String() string { @@ -1453,7 +1390,7 @@ func (*ScopeIndex) ProtoMessage() {} func (x *ScopeIndex) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1490,11 +1427,8 @@ func (x *ScopeIndex) GetKind() string { } // Message for execute program request arguments. -type ExecProgram_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type ExecProgramArgs struct { + state protoimpl.MessageState `protogen:"open.v1"` // Working directory. WorkDir string `protobuf:"bytes,1,opt,name=work_dir,json=workDir,proto3" json:"work_dir,omitempty"` // List of KCL filenames. @@ -1530,27 +1464,27 @@ type ExecProgram_Args struct { // Path selectors for results. PathSelector []string `protobuf:"bytes,17,rep,name=path_selector,json=pathSelector,proto3" json:"path_selector,omitempty"` // Flag for fast evaluation. - FastEval bool `protobuf:"varint,18,opt,name=fast_eval,json=fastEval,proto3" json:"fast_eval,omitempty"` + FastEval bool `protobuf:"varint,18,opt,name=fast_eval,json=fastEval,proto3" json:"fast_eval,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *ExecProgram_Args) Reset() { - *x = ExecProgram_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *ExecProgramArgs) Reset() { + *x = ExecProgramArgs{} + mi := &file_spec_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *ExecProgram_Args) String() string { +func (x *ExecProgramArgs) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ExecProgram_Args) ProtoMessage() {} +func (*ExecProgramArgs) ProtoMessage() {} -func (x *ExecProgram_Args) ProtoReflect() protoreflect.Message { +func (x *ExecProgramArgs) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1560,131 +1494,131 @@ func (x *ExecProgram_Args) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ExecProgram_Args.ProtoReflect.Descriptor instead. -func (*ExecProgram_Args) Descriptor() ([]byte, []int) { +// Deprecated: Use ExecProgramArgs.ProtoReflect.Descriptor instead. +func (*ExecProgramArgs) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{22} } -func (x *ExecProgram_Args) GetWorkDir() string { +func (x *ExecProgramArgs) GetWorkDir() string { if x != nil { return x.WorkDir } return "" } -func (x *ExecProgram_Args) GetKFilenameList() []string { +func (x *ExecProgramArgs) GetKFilenameList() []string { if x != nil { return x.KFilenameList } return nil } -func (x *ExecProgram_Args) GetKCodeList() []string { +func (x *ExecProgramArgs) GetKCodeList() []string { if x != nil { return x.KCodeList } return nil } -func (x *ExecProgram_Args) GetArgs() []*Argument { +func (x *ExecProgramArgs) GetArgs() []*Argument { if x != nil { return x.Args } return nil } -func (x *ExecProgram_Args) GetOverrides() []string { +func (x *ExecProgramArgs) GetOverrides() []string { if x != nil { return x.Overrides } return nil } -func (x *ExecProgram_Args) GetDisableYamlResult() bool { +func (x *ExecProgramArgs) GetDisableYamlResult() bool { if x != nil { return x.DisableYamlResult } return false } -func (x *ExecProgram_Args) GetPrintOverrideAst() bool { +func (x *ExecProgramArgs) GetPrintOverrideAst() bool { if x != nil { return x.PrintOverrideAst } return false } -func (x *ExecProgram_Args) GetStrictRangeCheck() bool { +func (x *ExecProgramArgs) GetStrictRangeCheck() bool { if x != nil { return x.StrictRangeCheck } return false } -func (x *ExecProgram_Args) GetDisableNone() bool { +func (x *ExecProgramArgs) GetDisableNone() bool { if x != nil { return x.DisableNone } return false } -func (x *ExecProgram_Args) GetVerbose() int32 { +func (x *ExecProgramArgs) GetVerbose() int32 { if x != nil { return x.Verbose } return 0 } -func (x *ExecProgram_Args) GetDebug() int32 { +func (x *ExecProgramArgs) GetDebug() int32 { if x != nil { return x.Debug } return 0 } -func (x *ExecProgram_Args) GetSortKeys() bool { +func (x *ExecProgramArgs) GetSortKeys() bool { if x != nil { return x.SortKeys } return false } -func (x *ExecProgram_Args) GetExternalPkgs() []*ExternalPkg { +func (x *ExecProgramArgs) GetExternalPkgs() []*ExternalPkg { if x != nil { return x.ExternalPkgs } return nil } -func (x *ExecProgram_Args) GetIncludeSchemaTypePath() bool { +func (x *ExecProgramArgs) GetIncludeSchemaTypePath() bool { if x != nil { return x.IncludeSchemaTypePath } return false } -func (x *ExecProgram_Args) GetCompileOnly() bool { +func (x *ExecProgramArgs) GetCompileOnly() bool { if x != nil { return x.CompileOnly } return false } -func (x *ExecProgram_Args) GetShowHidden() bool { +func (x *ExecProgramArgs) GetShowHidden() bool { if x != nil { return x.ShowHidden } return false } -func (x *ExecProgram_Args) GetPathSelector() []string { +func (x *ExecProgramArgs) GetPathSelector() []string { if x != nil { return x.PathSelector } return nil } -func (x *ExecProgram_Args) GetFastEval() bool { +func (x *ExecProgramArgs) GetFastEval() bool { if x != nil { return x.FastEval } @@ -1692,11 +1626,8 @@ func (x *ExecProgram_Args) GetFastEval() bool { } // Message for execute program response. -type ExecProgram_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type ExecProgramResult struct { + state protoimpl.MessageState `protogen:"open.v1"` // Result in JSON format. JsonResult string `protobuf:"bytes,1,opt,name=json_result,json=jsonResult,proto3" json:"json_result,omitempty"` // Result in YAML format. @@ -1704,27 +1635,27 @@ type ExecProgram_Result struct { // Log message from execution. LogMessage string `protobuf:"bytes,3,opt,name=log_message,json=logMessage,proto3" json:"log_message,omitempty"` // Error message from execution. - ErrMessage string `protobuf:"bytes,4,opt,name=err_message,json=errMessage,proto3" json:"err_message,omitempty"` + ErrMessage string `protobuf:"bytes,4,opt,name=err_message,json=errMessage,proto3" json:"err_message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *ExecProgram_Result) Reset() { - *x = ExecProgram_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *ExecProgramResult) Reset() { + *x = ExecProgramResult{} + mi := &file_spec_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *ExecProgram_Result) String() string { +func (x *ExecProgramResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ExecProgram_Result) ProtoMessage() {} +func (*ExecProgramResult) ProtoMessage() {} -func (x *ExecProgram_Result) ProtoReflect() protoreflect.Message { +func (x *ExecProgramResult) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1734,33 +1665,33 @@ func (x *ExecProgram_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ExecProgram_Result.ProtoReflect.Descriptor instead. -func (*ExecProgram_Result) Descriptor() ([]byte, []int) { +// Deprecated: Use ExecProgramResult.ProtoReflect.Descriptor instead. +func (*ExecProgramResult) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{23} } -func (x *ExecProgram_Result) GetJsonResult() string { +func (x *ExecProgramResult) GetJsonResult() string { if x != nil { return x.JsonResult } return "" } -func (x *ExecProgram_Result) GetYamlResult() string { +func (x *ExecProgramResult) GetYamlResult() string { if x != nil { return x.YamlResult } return "" } -func (x *ExecProgram_Result) GetLogMessage() string { +func (x *ExecProgramResult) GetLogMessage() string { if x != nil { return x.LogMessage } return "" } -func (x *ExecProgram_Result) GetErrMessage() string { +func (x *ExecProgramResult) GetErrMessage() string { if x != nil { return x.ErrMessage } @@ -1768,35 +1699,32 @@ func (x *ExecProgram_Result) GetErrMessage() string { } // Message for build program request arguments. -type BuildProgram_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type BuildProgramArgs struct { + state protoimpl.MessageState `protogen:"open.v1"` // Arguments for executing the program. - ExecArgs *ExecProgram_Args `protobuf:"bytes,1,opt,name=exec_args,json=execArgs,proto3" json:"exec_args,omitempty"` + ExecArgs *ExecProgramArgs `protobuf:"bytes,1,opt,name=exec_args,json=execArgs,proto3" json:"exec_args,omitempty"` // Output path. - Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"` + Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *BuildProgram_Args) Reset() { - *x = BuildProgram_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *BuildProgramArgs) Reset() { + *x = BuildProgramArgs{} + mi := &file_spec_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *BuildProgram_Args) String() string { +func (x *BuildProgramArgs) String() string { return protoimpl.X.MessageStringOf(x) } -func (*BuildProgram_Args) ProtoMessage() {} +func (*BuildProgramArgs) ProtoMessage() {} -func (x *BuildProgram_Args) ProtoReflect() protoreflect.Message { +func (x *BuildProgramArgs) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1806,19 +1734,19 @@ func (x *BuildProgram_Args) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use BuildProgram_Args.ProtoReflect.Descriptor instead. -func (*BuildProgram_Args) Descriptor() ([]byte, []int) { +// Deprecated: Use BuildProgramArgs.ProtoReflect.Descriptor instead. +func (*BuildProgramArgs) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{24} } -func (x *BuildProgram_Args) GetExecArgs() *ExecProgram_Args { +func (x *BuildProgramArgs) GetExecArgs() *ExecProgramArgs { if x != nil { return x.ExecArgs } return nil } -func (x *BuildProgram_Args) GetOutput() string { +func (x *BuildProgramArgs) GetOutput() string { if x != nil { return x.Output } @@ -1826,33 +1754,30 @@ func (x *BuildProgram_Args) GetOutput() string { } // Message for build program response. -type BuildProgram_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type BuildProgramResult struct { + state protoimpl.MessageState `protogen:"open.v1"` // Path of the built program. - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *BuildProgram_Result) Reset() { - *x = BuildProgram_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *BuildProgramResult) Reset() { + *x = BuildProgramResult{} + mi := &file_spec_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *BuildProgram_Result) String() string { +func (x *BuildProgramResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*BuildProgram_Result) ProtoMessage() {} +func (*BuildProgramResult) ProtoMessage() {} -func (x *BuildProgram_Result) ProtoReflect() protoreflect.Message { +func (x *BuildProgramResult) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1862,12 +1787,12 @@ func (x *BuildProgram_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use BuildProgram_Result.ProtoReflect.Descriptor instead. -func (*BuildProgram_Result) Descriptor() ([]byte, []int) { +// Deprecated: Use BuildProgramResult.ProtoReflect.Descriptor instead. +func (*BuildProgramResult) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{25} } -func (x *BuildProgram_Result) GetPath() string { +func (x *BuildProgramResult) GetPath() string { if x != nil { return x.Path } @@ -1875,35 +1800,32 @@ func (x *BuildProgram_Result) GetPath() string { } // Message for execute artifact request arguments. -type ExecArtifact_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type ExecArtifactArgs struct { + state protoimpl.MessageState `protogen:"open.v1"` // Path of the artifact. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Arguments for executing the program. - ExecArgs *ExecProgram_Args `protobuf:"bytes,2,opt,name=exec_args,json=execArgs,proto3" json:"exec_args,omitempty"` + ExecArgs *ExecProgramArgs `protobuf:"bytes,2,opt,name=exec_args,json=execArgs,proto3" json:"exec_args,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *ExecArtifact_Args) Reset() { - *x = ExecArtifact_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *ExecArtifactArgs) Reset() { + *x = ExecArtifactArgs{} + mi := &file_spec_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *ExecArtifact_Args) String() string { +func (x *ExecArtifactArgs) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ExecArtifact_Args) ProtoMessage() {} +func (*ExecArtifactArgs) ProtoMessage() {} -func (x *ExecArtifact_Args) ProtoReflect() protoreflect.Message { +func (x *ExecArtifactArgs) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1913,19 +1835,19 @@ func (x *ExecArtifact_Args) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ExecArtifact_Args.ProtoReflect.Descriptor instead. -func (*ExecArtifact_Args) Descriptor() ([]byte, []int) { +// Deprecated: Use ExecArtifactArgs.ProtoReflect.Descriptor instead. +func (*ExecArtifactArgs) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{26} } -func (x *ExecArtifact_Args) GetPath() string { +func (x *ExecArtifactArgs) GetPath() string { if x != nil { return x.Path } return "" } -func (x *ExecArtifact_Args) GetExecArgs() *ExecProgram_Args { +func (x *ExecArtifactArgs) GetExecArgs() *ExecProgramArgs { if x != nil { return x.ExecArgs } @@ -1933,33 +1855,30 @@ func (x *ExecArtifact_Args) GetExecArgs() *ExecProgram_Args { } // Message for format code request arguments. -type FormatCode_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type FormatCodeArgs struct { + state protoimpl.MessageState `protogen:"open.v1"` // Source code to be formatted. - Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` + Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *FormatCode_Args) Reset() { - *x = FormatCode_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *FormatCodeArgs) Reset() { + *x = FormatCodeArgs{} + mi := &file_spec_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *FormatCode_Args) String() string { +func (x *FormatCodeArgs) String() string { return protoimpl.X.MessageStringOf(x) } -func (*FormatCode_Args) ProtoMessage() {} +func (*FormatCodeArgs) ProtoMessage() {} -func (x *FormatCode_Args) ProtoReflect() protoreflect.Message { +func (x *FormatCodeArgs) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1969,12 +1888,12 @@ func (x *FormatCode_Args) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use FormatCode_Args.ProtoReflect.Descriptor instead. -func (*FormatCode_Args) Descriptor() ([]byte, []int) { +// Deprecated: Use FormatCodeArgs.ProtoReflect.Descriptor instead. +func (*FormatCodeArgs) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{27} } -func (x *FormatCode_Args) GetSource() string { +func (x *FormatCodeArgs) GetSource() string { if x != nil { return x.Source } @@ -1982,33 +1901,30 @@ func (x *FormatCode_Args) GetSource() string { } // Message for format code response. -type FormatCode_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type FormatCodeResult struct { + state protoimpl.MessageState `protogen:"open.v1"` // Formatted code as bytes. - Formatted []byte `protobuf:"bytes,1,opt,name=formatted,proto3" json:"formatted,omitempty"` + Formatted []byte `protobuf:"bytes,1,opt,name=formatted,proto3" json:"formatted,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *FormatCode_Result) Reset() { - *x = FormatCode_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *FormatCodeResult) Reset() { + *x = FormatCodeResult{} + mi := &file_spec_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *FormatCode_Result) String() string { +func (x *FormatCodeResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*FormatCode_Result) ProtoMessage() {} +func (*FormatCodeResult) ProtoMessage() {} -func (x *FormatCode_Result) ProtoReflect() protoreflect.Message { +func (x *FormatCodeResult) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2018,12 +1934,12 @@ func (x *FormatCode_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use FormatCode_Result.ProtoReflect.Descriptor instead. -func (*FormatCode_Result) Descriptor() ([]byte, []int) { +// Deprecated: Use FormatCodeResult.ProtoReflect.Descriptor instead. +func (*FormatCodeResult) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{28} } -func (x *FormatCode_Result) GetFormatted() []byte { +func (x *FormatCodeResult) GetFormatted() []byte { if x != nil { return x.Formatted } @@ -2031,33 +1947,30 @@ func (x *FormatCode_Result) GetFormatted() []byte { } // Message for format file path request arguments. -type FormatPath_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type FormatPathArgs struct { + state protoimpl.MessageState `protogen:"open.v1"` // Path of the file to format. - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *FormatPath_Args) Reset() { - *x = FormatPath_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *FormatPathArgs) Reset() { + *x = FormatPathArgs{} + mi := &file_spec_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *FormatPath_Args) String() string { +func (x *FormatPathArgs) String() string { return protoimpl.X.MessageStringOf(x) } -func (*FormatPath_Args) ProtoMessage() {} +func (*FormatPathArgs) ProtoMessage() {} -func (x *FormatPath_Args) ProtoReflect() protoreflect.Message { +func (x *FormatPathArgs) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2067,12 +1980,12 @@ func (x *FormatPath_Args) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use FormatPath_Args.ProtoReflect.Descriptor instead. -func (*FormatPath_Args) Descriptor() ([]byte, []int) { +// Deprecated: Use FormatPathArgs.ProtoReflect.Descriptor instead. +func (*FormatPathArgs) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{29} } -func (x *FormatPath_Args) GetPath() string { +func (x *FormatPathArgs) GetPath() string { if x != nil { return x.Path } @@ -2080,33 +1993,30 @@ func (x *FormatPath_Args) GetPath() string { } // Message for format file path response. -type FormatPath_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type FormatPathResult struct { + state protoimpl.MessageState `protogen:"open.v1"` // List of changed file paths. - ChangedPaths []string `protobuf:"bytes,1,rep,name=changed_paths,json=changedPaths,proto3" json:"changed_paths,omitempty"` + ChangedPaths []string `protobuf:"bytes,1,rep,name=changed_paths,json=changedPaths,proto3" json:"changed_paths,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *FormatPath_Result) Reset() { - *x = FormatPath_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *FormatPathResult) Reset() { + *x = FormatPathResult{} + mi := &file_spec_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *FormatPath_Result) String() string { +func (x *FormatPathResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*FormatPath_Result) ProtoMessage() {} +func (*FormatPathResult) ProtoMessage() {} -func (x *FormatPath_Result) ProtoReflect() protoreflect.Message { +func (x *FormatPathResult) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2116,12 +2026,12 @@ func (x *FormatPath_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use FormatPath_Result.ProtoReflect.Descriptor instead. -func (*FormatPath_Result) Descriptor() ([]byte, []int) { +// Deprecated: Use FormatPathResult.ProtoReflect.Descriptor instead. +func (*FormatPathResult) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{30} } -func (x *FormatPath_Result) GetChangedPaths() []string { +func (x *FormatPathResult) GetChangedPaths() []string { if x != nil { return x.ChangedPaths } @@ -2129,33 +2039,30 @@ func (x *FormatPath_Result) GetChangedPaths() []string { } // Message for lint file path request arguments. -type LintPath_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type LintPathArgs struct { + state protoimpl.MessageState `protogen:"open.v1"` // Paths of the files to lint. - Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` + Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *LintPath_Args) Reset() { - *x = LintPath_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *LintPathArgs) Reset() { + *x = LintPathArgs{} + mi := &file_spec_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *LintPath_Args) String() string { +func (x *LintPathArgs) String() string { return protoimpl.X.MessageStringOf(x) } -func (*LintPath_Args) ProtoMessage() {} +func (*LintPathArgs) ProtoMessage() {} -func (x *LintPath_Args) ProtoReflect() protoreflect.Message { +func (x *LintPathArgs) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2165,12 +2072,12 @@ func (x *LintPath_Args) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use LintPath_Args.ProtoReflect.Descriptor instead. -func (*LintPath_Args) Descriptor() ([]byte, []int) { +// Deprecated: Use LintPathArgs.ProtoReflect.Descriptor instead. +func (*LintPathArgs) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{31} } -func (x *LintPath_Args) GetPaths() []string { +func (x *LintPathArgs) GetPaths() []string { if x != nil { return x.Paths } @@ -2178,33 +2085,30 @@ func (x *LintPath_Args) GetPaths() []string { } // Message for lint file path response. -type LintPath_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type LintPathResult struct { + state protoimpl.MessageState `protogen:"open.v1"` // List of lint results. - Results []string `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` + Results []string `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *LintPath_Result) Reset() { - *x = LintPath_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *LintPathResult) Reset() { + *x = LintPathResult{} + mi := &file_spec_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *LintPath_Result) String() string { +func (x *LintPathResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*LintPath_Result) ProtoMessage() {} +func (*LintPathResult) ProtoMessage() {} -func (x *LintPath_Result) ProtoReflect() protoreflect.Message { +func (x *LintPathResult) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2214,12 +2118,12 @@ func (x *LintPath_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use LintPath_Result.ProtoReflect.Descriptor instead. -func (*LintPath_Result) Descriptor() ([]byte, []int) { +// Deprecated: Use LintPathResult.ProtoReflect.Descriptor instead. +func (*LintPathResult) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{32} } -func (x *LintPath_Result) GetResults() []string { +func (x *LintPathResult) GetResults() []string { if x != nil { return x.Results } @@ -2227,37 +2131,34 @@ func (x *LintPath_Result) GetResults() []string { } // Message for override file request arguments. -type OverrideFile_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type OverrideFileArgs struct { + state protoimpl.MessageState `protogen:"open.v1"` // Path of the file to override. File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` // List of override specifications. Specs []string `protobuf:"bytes,2,rep,name=specs,proto3" json:"specs,omitempty"` // List of import paths. - ImportPaths []string `protobuf:"bytes,3,rep,name=import_paths,json=importPaths,proto3" json:"import_paths,omitempty"` + ImportPaths []string `protobuf:"bytes,3,rep,name=import_paths,json=importPaths,proto3" json:"import_paths,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *OverrideFile_Args) Reset() { - *x = OverrideFile_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *OverrideFileArgs) Reset() { + *x = OverrideFileArgs{} + mi := &file_spec_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *OverrideFile_Args) String() string { +func (x *OverrideFileArgs) String() string { return protoimpl.X.MessageStringOf(x) } -func (*OverrideFile_Args) ProtoMessage() {} +func (*OverrideFileArgs) ProtoMessage() {} -func (x *OverrideFile_Args) ProtoReflect() protoreflect.Message { +func (x *OverrideFileArgs) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2267,26 +2168,26 @@ func (x *OverrideFile_Args) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use OverrideFile_Args.ProtoReflect.Descriptor instead. -func (*OverrideFile_Args) Descriptor() ([]byte, []int) { +// Deprecated: Use OverrideFileArgs.ProtoReflect.Descriptor instead. +func (*OverrideFileArgs) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{33} } -func (x *OverrideFile_Args) GetFile() string { +func (x *OverrideFileArgs) GetFile() string { if x != nil { return x.File } return "" } -func (x *OverrideFile_Args) GetSpecs() []string { +func (x *OverrideFileArgs) GetSpecs() []string { if x != nil { return x.Specs } return nil } -func (x *OverrideFile_Args) GetImportPaths() []string { +func (x *OverrideFileArgs) GetImportPaths() []string { if x != nil { return x.ImportPaths } @@ -2294,35 +2195,32 @@ func (x *OverrideFile_Args) GetImportPaths() []string { } // Message for override file response. -type OverrideFile_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type OverrideFileResult struct { + state protoimpl.MessageState `protogen:"open.v1"` // Result of the override operation. Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` // List of parse errors encountered. - ParseErrors []*Error `protobuf:"bytes,2,rep,name=parse_errors,json=parseErrors,proto3" json:"parse_errors,omitempty"` + ParseErrors []*Error `protobuf:"bytes,2,rep,name=parse_errors,json=parseErrors,proto3" json:"parse_errors,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *OverrideFile_Result) Reset() { - *x = OverrideFile_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *OverrideFileResult) Reset() { + *x = OverrideFileResult{} + mi := &file_spec_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *OverrideFile_Result) String() string { +func (x *OverrideFileResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*OverrideFile_Result) ProtoMessage() {} +func (*OverrideFileResult) ProtoMessage() {} -func (x *OverrideFile_Result) ProtoReflect() protoreflect.Message { +func (x *OverrideFileResult) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2332,19 +2230,19 @@ func (x *OverrideFile_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use OverrideFile_Result.ProtoReflect.Descriptor instead. -func (*OverrideFile_Result) Descriptor() ([]byte, []int) { +// Deprecated: Use OverrideFileResult.ProtoReflect.Descriptor instead. +func (*OverrideFileResult) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{34} } -func (x *OverrideFile_Result) GetResult() bool { +func (x *OverrideFileResult) GetResult() bool { if x != nil { return x.Result } return false } -func (x *OverrideFile_Result) GetParseErrors() []*Error { +func (x *OverrideFileResult) GetParseErrors() []*Error { if x != nil { return x.ParseErrors } @@ -2352,33 +2250,30 @@ func (x *OverrideFile_Result) GetParseErrors() []*Error { } // Message for list variables options. -type ListVariables_Options struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type ListVariablesOptions struct { + state protoimpl.MessageState `protogen:"open.v1"` // Flag to merge program configuration. - MergeProgram bool `protobuf:"varint,1,opt,name=merge_program,json=mergeProgram,proto3" json:"merge_program,omitempty"` + MergeProgram bool `protobuf:"varint,1,opt,name=merge_program,json=mergeProgram,proto3" json:"merge_program,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *ListVariables_Options) Reset() { - *x = ListVariables_Options{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *ListVariablesOptions) Reset() { + *x = ListVariablesOptions{} + mi := &file_spec_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *ListVariables_Options) String() string { +func (x *ListVariablesOptions) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ListVariables_Options) ProtoMessage() {} +func (*ListVariablesOptions) ProtoMessage() {} -func (x *ListVariables_Options) ProtoReflect() protoreflect.Message { +func (x *ListVariablesOptions) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2388,12 +2283,12 @@ func (x *ListVariables_Options) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ListVariables_Options.ProtoReflect.Descriptor instead. -func (*ListVariables_Options) Descriptor() ([]byte, []int) { +// Deprecated: Use ListVariablesOptions.ProtoReflect.Descriptor instead. +func (*ListVariablesOptions) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{35} } -func (x *ListVariables_Options) GetMergeProgram() bool { +func (x *ListVariablesOptions) GetMergeProgram() bool { if x != nil { return x.MergeProgram } @@ -2402,21 +2297,18 @@ func (x *ListVariables_Options) GetMergeProgram() bool { // Message representing a list of variables. type VariableList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // List of variables. - Variables []*Variable `protobuf:"bytes,1,rep,name=variables,proto3" json:"variables,omitempty"` + Variables []*Variable `protobuf:"bytes,1,rep,name=variables,proto3" json:"variables,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *VariableList) Reset() { *x = VariableList{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_spec_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VariableList) String() string { @@ -2427,7 +2319,7 @@ func (*VariableList) ProtoMessage() {} func (x *VariableList) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2450,37 +2342,34 @@ func (x *VariableList) GetVariables() []*Variable { } // Message for list variables request arguments. -type ListVariables_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type ListVariablesArgs struct { + state protoimpl.MessageState `protogen:"open.v1"` // Files to be processed. Files []string `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` // Specifications for variables. Specs []string `protobuf:"bytes,2,rep,name=specs,proto3" json:"specs,omitempty"` // Options for listing variables. - Options *ListVariables_Options `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"` + Options *ListVariablesOptions `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *ListVariables_Args) Reset() { - *x = ListVariables_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *ListVariablesArgs) Reset() { + *x = ListVariablesArgs{} + mi := &file_spec_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *ListVariables_Args) String() string { +func (x *ListVariablesArgs) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ListVariables_Args) ProtoMessage() {} +func (*ListVariablesArgs) ProtoMessage() {} -func (x *ListVariables_Args) ProtoReflect() protoreflect.Message { +func (x *ListVariablesArgs) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2490,26 +2379,26 @@ func (x *ListVariables_Args) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ListVariables_Args.ProtoReflect.Descriptor instead. -func (*ListVariables_Args) Descriptor() ([]byte, []int) { +// Deprecated: Use ListVariablesArgs.ProtoReflect.Descriptor instead. +func (*ListVariablesArgs) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{37} } -func (x *ListVariables_Args) GetFiles() []string { +func (x *ListVariablesArgs) GetFiles() []string { if x != nil { return x.Files } return nil } -func (x *ListVariables_Args) GetSpecs() []string { +func (x *ListVariablesArgs) GetSpecs() []string { if x != nil { return x.Specs } return nil } -func (x *ListVariables_Args) GetOptions() *ListVariables_Options { +func (x *ListVariablesArgs) GetOptions() *ListVariablesOptions { if x != nil { return x.Options } @@ -2517,37 +2406,34 @@ func (x *ListVariables_Args) GetOptions() *ListVariables_Options { } // Message for list variables response. -type ListVariables_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type ListVariablesResult struct { + state protoimpl.MessageState `protogen:"open.v1"` // Map of variable lists by file. - Variables map[string]*VariableList `protobuf:"bytes,1,rep,name=variables,proto3" json:"variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Variables map[string]*VariableList `protobuf:"bytes,1,rep,name=variables,proto3" json:"variables,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // List of unsupported codes. UnsupportedCodes []string `protobuf:"bytes,2,rep,name=unsupported_codes,json=unsupportedCodes,proto3" json:"unsupported_codes,omitempty"` // List of parse errors encountered. - ParseErrors []*Error `protobuf:"bytes,3,rep,name=parse_errors,json=parseErrors,proto3" json:"parse_errors,omitempty"` + ParseErrors []*Error `protobuf:"bytes,3,rep,name=parse_errors,json=parseErrors,proto3" json:"parse_errors,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *ListVariables_Result) Reset() { - *x = ListVariables_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *ListVariablesResult) Reset() { + *x = ListVariablesResult{} + mi := &file_spec_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *ListVariables_Result) String() string { +func (x *ListVariablesResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ListVariables_Result) ProtoMessage() {} +func (*ListVariablesResult) ProtoMessage() {} -func (x *ListVariables_Result) ProtoReflect() protoreflect.Message { +func (x *ListVariablesResult) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2557,26 +2443,26 @@ func (x *ListVariables_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ListVariables_Result.ProtoReflect.Descriptor instead. -func (*ListVariables_Result) Descriptor() ([]byte, []int) { +// Deprecated: Use ListVariablesResult.ProtoReflect.Descriptor instead. +func (*ListVariablesResult) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{38} } -func (x *ListVariables_Result) GetVariables() map[string]*VariableList { +func (x *ListVariablesResult) GetVariables() map[string]*VariableList { if x != nil { return x.Variables } return nil } -func (x *ListVariables_Result) GetUnsupportedCodes() []string { +func (x *ListVariablesResult) GetUnsupportedCodes() []string { if x != nil { return x.UnsupportedCodes } return nil } -func (x *ListVariables_Result) GetParseErrors() []*Error { +func (x *ListVariablesResult) GetParseErrors() []*Error { if x != nil { return x.ParseErrors } @@ -2585,10 +2471,7 @@ func (x *ListVariables_Result) GetParseErrors() []*Error { // Message representing a variable. type Variable struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Value of the variable. Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Type name of the variable. @@ -2598,16 +2481,16 @@ type Variable struct { // List items if the variable is a list. ListItems []*Variable `protobuf:"bytes,4,rep,name=list_items,json=listItems,proto3" json:"list_items,omitempty"` // Dictionary entries if the variable is a dictionary. - DictEntries []*MapEntry `protobuf:"bytes,5,rep,name=dict_entries,json=dictEntries,proto3" json:"dict_entries,omitempty"` + DictEntries []*MapEntry `protobuf:"bytes,5,rep,name=dict_entries,json=dictEntries,proto3" json:"dict_entries,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Variable) Reset() { *x = Variable{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_spec_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Variable) String() string { @@ -2618,7 +2501,7 @@ func (*Variable) ProtoMessage() {} func (x *Variable) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2670,23 +2553,20 @@ func (x *Variable) GetDictEntries() []*MapEntry { // Message representing a map entry. type MapEntry struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Key of the map entry. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Value of the map entry. - Value *Variable `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Value *Variable `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MapEntry) Reset() { *x = MapEntry{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_spec_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MapEntry) String() string { @@ -2697,7 +2577,7 @@ func (*MapEntry) ProtoMessage() {} func (x *MapEntry) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2727,35 +2607,32 @@ func (x *MapEntry) GetValue() *Variable { } // Message for get schema type mapping request arguments. -type GetSchemaTypeMapping_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type GetSchemaTypeMappingArgs struct { + state protoimpl.MessageState `protogen:"open.v1"` // Arguments for executing the program. - ExecArgs *ExecProgram_Args `protobuf:"bytes,1,opt,name=exec_args,json=execArgs,proto3" json:"exec_args,omitempty"` + ExecArgs *ExecProgramArgs `protobuf:"bytes,1,opt,name=exec_args,json=execArgs,proto3" json:"exec_args,omitempty"` // Name of the schema. - SchemaName string `protobuf:"bytes,2,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"` + SchemaName string `protobuf:"bytes,2,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *GetSchemaTypeMapping_Args) Reset() { - *x = GetSchemaTypeMapping_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *GetSchemaTypeMappingArgs) Reset() { + *x = GetSchemaTypeMappingArgs{} + mi := &file_spec_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *GetSchemaTypeMapping_Args) String() string { +func (x *GetSchemaTypeMappingArgs) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetSchemaTypeMapping_Args) ProtoMessage() {} +func (*GetSchemaTypeMappingArgs) ProtoMessage() {} -func (x *GetSchemaTypeMapping_Args) ProtoReflect() protoreflect.Message { +func (x *GetSchemaTypeMappingArgs) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2765,19 +2642,19 @@ func (x *GetSchemaTypeMapping_Args) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetSchemaTypeMapping_Args.ProtoReflect.Descriptor instead. -func (*GetSchemaTypeMapping_Args) Descriptor() ([]byte, []int) { +// Deprecated: Use GetSchemaTypeMappingArgs.ProtoReflect.Descriptor instead. +func (*GetSchemaTypeMappingArgs) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{41} } -func (x *GetSchemaTypeMapping_Args) GetExecArgs() *ExecProgram_Args { +func (x *GetSchemaTypeMappingArgs) GetExecArgs() *ExecProgramArgs { if x != nil { return x.ExecArgs } return nil } -func (x *GetSchemaTypeMapping_Args) GetSchemaName() string { +func (x *GetSchemaTypeMappingArgs) GetSchemaName() string { if x != nil { return x.SchemaName } @@ -2785,33 +2662,30 @@ func (x *GetSchemaTypeMapping_Args) GetSchemaName() string { } // Message for get schema type mapping response. -type GetSchemaTypeMapping_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type GetSchemaTypeMappingResult struct { + state protoimpl.MessageState `protogen:"open.v1"` // Map of schema type mappings. - SchemaTypeMapping map[string]*KclType `protobuf:"bytes,1,rep,name=schema_type_mapping,json=schemaTypeMapping,proto3" json:"schema_type_mapping,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + SchemaTypeMapping map[string]*KclType `protobuf:"bytes,1,rep,name=schema_type_mapping,json=schemaTypeMapping,proto3" json:"schema_type_mapping,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *GetSchemaTypeMapping_Result) Reset() { - *x = GetSchemaTypeMapping_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *GetSchemaTypeMappingResult) Reset() { + *x = GetSchemaTypeMappingResult{} + mi := &file_spec_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *GetSchemaTypeMapping_Result) String() string { +func (x *GetSchemaTypeMappingResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetSchemaTypeMapping_Result) ProtoMessage() {} +func (*GetSchemaTypeMappingResult) ProtoMessage() {} -func (x *GetSchemaTypeMapping_Result) ProtoReflect() protoreflect.Message { +func (x *GetSchemaTypeMappingResult) ProtoReflect() protoreflect.Message { mi := &file_spec_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2821,24 +2695,112 @@ func (x *GetSchemaTypeMapping_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetSchemaTypeMapping_Result.ProtoReflect.Descriptor instead. -func (*GetSchemaTypeMapping_Result) Descriptor() ([]byte, []int) { +// Deprecated: Use GetSchemaTypeMappingResult.ProtoReflect.Descriptor instead. +func (*GetSchemaTypeMappingResult) Descriptor() ([]byte, []int) { return file_spec_proto_rawDescGZIP(), []int{42} } -func (x *GetSchemaTypeMapping_Result) GetSchemaTypeMapping() map[string]*KclType { +func (x *GetSchemaTypeMappingResult) GetSchemaTypeMapping() map[string]*KclType { if x != nil { return x.SchemaTypeMapping } return nil } -// Message for validate code request arguments. -type ValidateCode_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache +// Message for get schema type mapping response. +type GetSchemaTypeMappingUnderPathResult struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Map of pkg and schema types mappings. + SchemaTypeMapping map[string]*SchemaTypes `protobuf:"bytes,1,rep,name=schema_type_mapping,json=schemaTypeMapping,proto3" json:"schema_type_mapping,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *GetSchemaTypeMappingUnderPathResult) Reset() { + *x = GetSchemaTypeMappingUnderPathResult{} + mi := &file_spec_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *GetSchemaTypeMappingUnderPathResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSchemaTypeMappingUnderPathResult) ProtoMessage() {} + +func (x *GetSchemaTypeMappingUnderPathResult) ProtoReflect() protoreflect.Message { + mi := &file_spec_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 GetSchemaTypeMappingUnderPathResult.ProtoReflect.Descriptor instead. +func (*GetSchemaTypeMappingUnderPathResult) Descriptor() ([]byte, []int) { + return file_spec_proto_rawDescGZIP(), []int{43} +} + +func (x *GetSchemaTypeMappingUnderPathResult) GetSchemaTypeMapping() map[string]*SchemaTypes { + if x != nil { + return x.SchemaTypeMapping + } + return nil +} + +type SchemaTypes struct { + state protoimpl.MessageState `protogen:"open.v1"` + // List of schema type mappings. + SchemaType []*KclType `protobuf:"bytes,1,rep,name=schema_type,json=schemaType,proto3" json:"schema_type,omitempty"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SchemaTypes) Reset() { + *x = SchemaTypes{} + mi := &file_spec_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SchemaTypes) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SchemaTypes) ProtoMessage() {} +func (x *SchemaTypes) ProtoReflect() protoreflect.Message { + mi := &file_spec_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 SchemaTypes.ProtoReflect.Descriptor instead. +func (*SchemaTypes) Descriptor() ([]byte, []int) { + return file_spec_proto_rawDescGZIP(), []int{44} +} + +func (x *SchemaTypes) GetSchemaType() []*KclType { + if x != nil { + return x.SchemaType + } + return nil +} + +// Message for validate code request arguments. +type ValidateCodeArgs struct { + state protoimpl.MessageState `protogen:"open.v1"` // Path to the data file. Datafile string `protobuf:"bytes,1,opt,name=datafile,proto3" json:"datafile,omitempty"` // Data content. @@ -2853,26 +2815,28 @@ type ValidateCode_Args struct { AttributeName string `protobuf:"bytes,6,opt,name=attribute_name,json=attributeName,proto3" json:"attribute_name,omitempty"` // Format of the validation (e.g., "json", "yaml"). Format string `protobuf:"bytes,7,opt,name=format,proto3" json:"format,omitempty"` + // List of external packages updated. + ExternalPkgs []*ExternalPkg `protobuf:"bytes,8,rep,name=external_pkgs,json=externalPkgs,proto3" json:"external_pkgs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *ValidateCode_Args) Reset() { - *x = ValidateCode_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *ValidateCodeArgs) Reset() { + *x = ValidateCodeArgs{} + mi := &file_spec_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *ValidateCode_Args) String() string { +func (x *ValidateCodeArgs) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ValidateCode_Args) ProtoMessage() {} +func (*ValidateCodeArgs) ProtoMessage() {} -func (x *ValidateCode_Args) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { +func (x *ValidateCodeArgs) ProtoReflect() protoreflect.Message { + mi := &file_spec_proto_msgTypes[45] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2882,90 +2846,94 @@ func (x *ValidateCode_Args) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ValidateCode_Args.ProtoReflect.Descriptor instead. -func (*ValidateCode_Args) Descriptor() ([]byte, []int) { - return file_spec_proto_rawDescGZIP(), []int{43} +// Deprecated: Use ValidateCodeArgs.ProtoReflect.Descriptor instead. +func (*ValidateCodeArgs) Descriptor() ([]byte, []int) { + return file_spec_proto_rawDescGZIP(), []int{45} } -func (x *ValidateCode_Args) GetDatafile() string { +func (x *ValidateCodeArgs) GetDatafile() string { if x != nil { return x.Datafile } return "" } -func (x *ValidateCode_Args) GetData() string { +func (x *ValidateCodeArgs) GetData() string { if x != nil { return x.Data } return "" } -func (x *ValidateCode_Args) GetFile() string { +func (x *ValidateCodeArgs) GetFile() string { if x != nil { return x.File } return "" } -func (x *ValidateCode_Args) GetCode() string { +func (x *ValidateCodeArgs) GetCode() string { if x != nil { return x.Code } return "" } -func (x *ValidateCode_Args) GetSchema() string { +func (x *ValidateCodeArgs) GetSchema() string { if x != nil { return x.Schema } return "" } -func (x *ValidateCode_Args) GetAttributeName() string { +func (x *ValidateCodeArgs) GetAttributeName() string { if x != nil { return x.AttributeName } return "" } -func (x *ValidateCode_Args) GetFormat() string { +func (x *ValidateCodeArgs) GetFormat() string { if x != nil { return x.Format } return "" } -// Message for validate code response. -type ValidateCode_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (x *ValidateCodeArgs) GetExternalPkgs() []*ExternalPkg { + if x != nil { + return x.ExternalPkgs + } + return nil +} +// Message for validate code response. +type ValidateCodeResult struct { + state protoimpl.MessageState `protogen:"open.v1"` // Flag indicating if validation was successful. Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // Error message from validation. - ErrMessage string `protobuf:"bytes,2,opt,name=err_message,json=errMessage,proto3" json:"err_message,omitempty"` + ErrMessage string `protobuf:"bytes,2,opt,name=err_message,json=errMessage,proto3" json:"err_message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *ValidateCode_Result) Reset() { - *x = ValidateCode_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *ValidateCodeResult) Reset() { + *x = ValidateCodeResult{} + mi := &file_spec_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *ValidateCode_Result) String() string { +func (x *ValidateCodeResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ValidateCode_Result) ProtoMessage() {} +func (*ValidateCodeResult) ProtoMessage() {} -func (x *ValidateCode_Result) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { +func (x *ValidateCodeResult) ProtoReflect() protoreflect.Message { + mi := &file_spec_proto_msgTypes[46] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2975,19 +2943,19 @@ func (x *ValidateCode_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ValidateCode_Result.ProtoReflect.Descriptor instead. -func (*ValidateCode_Result) Descriptor() ([]byte, []int) { - return file_spec_proto_rawDescGZIP(), []int{44} +// Deprecated: Use ValidateCodeResult.ProtoReflect.Descriptor instead. +func (*ValidateCodeResult) Descriptor() ([]byte, []int) { + return file_spec_proto_rawDescGZIP(), []int{46} } -func (x *ValidateCode_Result) GetSuccess() bool { +func (x *ValidateCodeResult) GetSuccess() bool { if x != nil { return x.Success } return false } -func (x *ValidateCode_Result) GetErrMessage() string { +func (x *ValidateCodeResult) GetErrMessage() string { if x != nil { return x.ErrMessage } @@ -2996,25 +2964,22 @@ func (x *ValidateCode_Result) GetErrMessage() string { // Message representing a position in the source code. type Position struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Line number. Line int64 `protobuf:"varint,1,opt,name=line,proto3" json:"line,omitempty"` // Column number. Column int64 `protobuf:"varint,2,opt,name=column,proto3" json:"column,omitempty"` // Filename the position refers to. - Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"` + Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Position) Reset() { *x = Position{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_spec_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Position) String() string { @@ -3024,8 +2989,8 @@ func (x *Position) String() string { func (*Position) ProtoMessage() {} func (x *Position) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_msgTypes[45] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_spec_proto_msgTypes[47] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3037,7 +3002,7 @@ func (x *Position) ProtoReflect() protoreflect.Message { // Deprecated: Use Position.ProtoReflect.Descriptor instead. func (*Position) Descriptor() ([]byte, []int) { - return file_spec_proto_rawDescGZIP(), []int{45} + return file_spec_proto_rawDescGZIP(), []int{47} } func (x *Position) GetLine() int64 { @@ -3062,11 +3027,8 @@ func (x *Position) GetFilename() string { } // Message for list dependency files request arguments. -type ListDepFiles_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type ListDepFilesArgs struct { + state protoimpl.MessageState `protogen:"open.v1"` // Working directory. WorkDir string `protobuf:"bytes,1,opt,name=work_dir,json=workDir,proto3" json:"work_dir,omitempty"` // Flag to use absolute paths. @@ -3075,26 +3037,26 @@ type ListDepFiles_Args struct { IncludeAll bool `protobuf:"varint,3,opt,name=include_all,json=includeAll,proto3" json:"include_all,omitempty"` // Flag to use fast parser. UseFastParser bool `protobuf:"varint,4,opt,name=use_fast_parser,json=useFastParser,proto3" json:"use_fast_parser,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *ListDepFiles_Args) Reset() { - *x = ListDepFiles_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *ListDepFilesArgs) Reset() { + *x = ListDepFilesArgs{} + mi := &file_spec_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *ListDepFiles_Args) String() string { +func (x *ListDepFilesArgs) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ListDepFiles_Args) ProtoMessage() {} +func (*ListDepFilesArgs) ProtoMessage() {} -func (x *ListDepFiles_Args) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_msgTypes[46] - if protoimpl.UnsafeEnabled && x != nil { +func (x *ListDepFilesArgs) ProtoReflect() protoreflect.Message { + mi := &file_spec_proto_msgTypes[48] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3104,33 +3066,33 @@ func (x *ListDepFiles_Args) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ListDepFiles_Args.ProtoReflect.Descriptor instead. -func (*ListDepFiles_Args) Descriptor() ([]byte, []int) { - return file_spec_proto_rawDescGZIP(), []int{46} +// Deprecated: Use ListDepFilesArgs.ProtoReflect.Descriptor instead. +func (*ListDepFilesArgs) Descriptor() ([]byte, []int) { + return file_spec_proto_rawDescGZIP(), []int{48} } -func (x *ListDepFiles_Args) GetWorkDir() string { +func (x *ListDepFilesArgs) GetWorkDir() string { if x != nil { return x.WorkDir } return "" } -func (x *ListDepFiles_Args) GetUseAbsPath() bool { +func (x *ListDepFilesArgs) GetUseAbsPath() bool { if x != nil { return x.UseAbsPath } return false } -func (x *ListDepFiles_Args) GetIncludeAll() bool { +func (x *ListDepFilesArgs) GetIncludeAll() bool { if x != nil { return x.IncludeAll } return false } -func (x *ListDepFiles_Args) GetUseFastParser() bool { +func (x *ListDepFilesArgs) GetUseFastParser() bool { if x != nil { return x.UseFastParser } @@ -3138,37 +3100,34 @@ func (x *ListDepFiles_Args) GetUseFastParser() bool { } // Message for list dependency files response. -type ListDepFiles_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type ListDepFilesResult struct { + state protoimpl.MessageState `protogen:"open.v1"` // Root package path. Pkgroot string `protobuf:"bytes,1,opt,name=pkgroot,proto3" json:"pkgroot,omitempty"` // Package path. Pkgpath string `protobuf:"bytes,2,opt,name=pkgpath,proto3" json:"pkgpath,omitempty"` // List of file paths in the package. - Files []string `protobuf:"bytes,3,rep,name=files,proto3" json:"files,omitempty"` + Files []string `protobuf:"bytes,3,rep,name=files,proto3" json:"files,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *ListDepFiles_Result) Reset() { - *x = ListDepFiles_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *ListDepFilesResult) Reset() { + *x = ListDepFilesResult{} + mi := &file_spec_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *ListDepFiles_Result) String() string { +func (x *ListDepFilesResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ListDepFiles_Result) ProtoMessage() {} +func (*ListDepFilesResult) ProtoMessage() {} -func (x *ListDepFiles_Result) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_msgTypes[47] - if protoimpl.UnsafeEnabled && x != nil { +func (x *ListDepFilesResult) ProtoReflect() protoreflect.Message { + mi := &file_spec_proto_msgTypes[49] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3178,26 +3137,26 @@ func (x *ListDepFiles_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ListDepFiles_Result.ProtoReflect.Descriptor instead. -func (*ListDepFiles_Result) Descriptor() ([]byte, []int) { - return file_spec_proto_rawDescGZIP(), []int{47} +// Deprecated: Use ListDepFilesResult.ProtoReflect.Descriptor instead. +func (*ListDepFilesResult) Descriptor() ([]byte, []int) { + return file_spec_proto_rawDescGZIP(), []int{49} } -func (x *ListDepFiles_Result) GetPkgroot() string { +func (x *ListDepFilesResult) GetPkgroot() string { if x != nil { return x.Pkgroot } return "" } -func (x *ListDepFiles_Result) GetPkgpath() string { +func (x *ListDepFilesResult) GetPkgpath() string { if x != nil { return x.Pkgpath } return "" } -func (x *ListDepFiles_Result) GetFiles() []string { +func (x *ListDepFilesResult) GetFiles() []string { if x != nil { return x.Files } @@ -3205,35 +3164,32 @@ func (x *ListDepFiles_Result) GetFiles() []string { } // Message for load settings files request arguments. -type LoadSettingsFiles_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type LoadSettingsFilesArgs struct { + state protoimpl.MessageState `protogen:"open.v1"` // Working directory. WorkDir string `protobuf:"bytes,1,opt,name=work_dir,json=workDir,proto3" json:"work_dir,omitempty"` // Setting files to load. - Files []string `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"` + Files []string `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *LoadSettingsFiles_Args) Reset() { - *x = LoadSettingsFiles_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *LoadSettingsFilesArgs) Reset() { + *x = LoadSettingsFilesArgs{} + mi := &file_spec_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *LoadSettingsFiles_Args) String() string { +func (x *LoadSettingsFilesArgs) String() string { return protoimpl.X.MessageStringOf(x) } -func (*LoadSettingsFiles_Args) ProtoMessage() {} +func (*LoadSettingsFilesArgs) ProtoMessage() {} -func (x *LoadSettingsFiles_Args) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_msgTypes[48] - if protoimpl.UnsafeEnabled && x != nil { +func (x *LoadSettingsFilesArgs) ProtoReflect() protoreflect.Message { + mi := &file_spec_proto_msgTypes[50] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3243,19 +3199,19 @@ func (x *LoadSettingsFiles_Args) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use LoadSettingsFiles_Args.ProtoReflect.Descriptor instead. -func (*LoadSettingsFiles_Args) Descriptor() ([]byte, []int) { - return file_spec_proto_rawDescGZIP(), []int{48} +// Deprecated: Use LoadSettingsFilesArgs.ProtoReflect.Descriptor instead. +func (*LoadSettingsFilesArgs) Descriptor() ([]byte, []int) { + return file_spec_proto_rawDescGZIP(), []int{50} } -func (x *LoadSettingsFiles_Args) GetWorkDir() string { +func (x *LoadSettingsFilesArgs) GetWorkDir() string { if x != nil { return x.WorkDir } return "" } -func (x *LoadSettingsFiles_Args) GetFiles() []string { +func (x *LoadSettingsFilesArgs) GetFiles() []string { if x != nil { return x.Files } @@ -3263,35 +3219,32 @@ func (x *LoadSettingsFiles_Args) GetFiles() []string { } // Message for load settings files response. -type LoadSettingsFiles_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type LoadSettingsFilesResult struct { + state protoimpl.MessageState `protogen:"open.v1"` // KCL CLI configuration. KclCliConfigs *CliConfig `protobuf:"bytes,1,opt,name=kcl_cli_configs,json=kclCliConfigs,proto3" json:"kcl_cli_configs,omitempty"` // List of KCL options as key-value pairs. - KclOptions []*KeyValuePair `protobuf:"bytes,2,rep,name=kcl_options,json=kclOptions,proto3" json:"kcl_options,omitempty"` + KclOptions []*KeyValuePair `protobuf:"bytes,2,rep,name=kcl_options,json=kclOptions,proto3" json:"kcl_options,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *LoadSettingsFiles_Result) Reset() { - *x = LoadSettingsFiles_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *LoadSettingsFilesResult) Reset() { + *x = LoadSettingsFilesResult{} + mi := &file_spec_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *LoadSettingsFiles_Result) String() string { +func (x *LoadSettingsFilesResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*LoadSettingsFiles_Result) ProtoMessage() {} +func (*LoadSettingsFilesResult) ProtoMessage() {} -func (x *LoadSettingsFiles_Result) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_msgTypes[49] - if protoimpl.UnsafeEnabled && x != nil { +func (x *LoadSettingsFilesResult) ProtoReflect() protoreflect.Message { + mi := &file_spec_proto_msgTypes[51] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3301,19 +3254,19 @@ func (x *LoadSettingsFiles_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use LoadSettingsFiles_Result.ProtoReflect.Descriptor instead. -func (*LoadSettingsFiles_Result) Descriptor() ([]byte, []int) { - return file_spec_proto_rawDescGZIP(), []int{49} +// Deprecated: Use LoadSettingsFilesResult.ProtoReflect.Descriptor instead. +func (*LoadSettingsFilesResult) Descriptor() ([]byte, []int) { + return file_spec_proto_rawDescGZIP(), []int{51} } -func (x *LoadSettingsFiles_Result) GetKclCliConfigs() *CliConfig { +func (x *LoadSettingsFilesResult) GetKclCliConfigs() *CliConfig { if x != nil { return x.KclCliConfigs } return nil } -func (x *LoadSettingsFiles_Result) GetKclOptions() []*KeyValuePair { +func (x *LoadSettingsFilesResult) GetKclOptions() []*KeyValuePair { if x != nil { return x.KclOptions } @@ -3322,10 +3275,7 @@ func (x *LoadSettingsFiles_Result) GetKclOptions() []*KeyValuePair { // Message representing KCL CLI configuration. type CliConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // List of files. Files []string `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` // Output path. @@ -3349,16 +3299,16 @@ type CliConfig struct { // Flag to include schema type path in results. IncludeSchemaTypePath bool `protobuf:"varint,11,opt,name=include_schema_type_path,json=includeSchemaTypePath,proto3" json:"include_schema_type_path,omitempty"` // Flag for fast evaluation. - FastEval bool `protobuf:"varint,12,opt,name=fast_eval,json=fastEval,proto3" json:"fast_eval,omitempty"` + FastEval bool `protobuf:"varint,12,opt,name=fast_eval,json=fastEval,proto3" json:"fast_eval,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CliConfig) Reset() { *x = CliConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_spec_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CliConfig) String() string { @@ -3368,8 +3318,8 @@ func (x *CliConfig) String() string { func (*CliConfig) ProtoMessage() {} func (x *CliConfig) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_msgTypes[50] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_spec_proto_msgTypes[52] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3381,7 +3331,7 @@ func (x *CliConfig) ProtoReflect() protoreflect.Message { // Deprecated: Use CliConfig.ProtoReflect.Descriptor instead. func (*CliConfig) Descriptor() ([]byte, []int) { - return file_spec_proto_rawDescGZIP(), []int{50} + return file_spec_proto_rawDescGZIP(), []int{52} } func (x *CliConfig) GetFiles() []string { @@ -3470,23 +3420,20 @@ func (x *CliConfig) GetFastEval() bool { // Message representing a key-value pair. type KeyValuePair struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Key of the pair. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Value of the pair. - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *KeyValuePair) Reset() { *x = KeyValuePair{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_spec_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *KeyValuePair) String() string { @@ -3496,8 +3443,8 @@ func (x *KeyValuePair) String() string { func (*KeyValuePair) ProtoMessage() {} func (x *KeyValuePair) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_msgTypes[51] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_spec_proto_msgTypes[53] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3509,7 +3456,7 @@ func (x *KeyValuePair) ProtoReflect() protoreflect.Message { // Deprecated: Use KeyValuePair.ProtoReflect.Descriptor instead. func (*KeyValuePair) Descriptor() ([]byte, []int) { - return file_spec_proto_rawDescGZIP(), []int{51} + return file_spec_proto_rawDescGZIP(), []int{53} } func (x *KeyValuePair) GetKey() string { @@ -3527,11 +3474,8 @@ func (x *KeyValuePair) GetValue() string { } // Message for rename request arguments. -type Rename_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type RenameArgs struct { + state protoimpl.MessageState `protogen:"open.v1"` // File path to the package root. PackageRoot string `protobuf:"bytes,1,opt,name=package_root,json=packageRoot,proto3" json:"package_root,omitempty"` // Path to the target symbol to be renamed. @@ -3539,27 +3483,27 @@ type Rename_Args struct { // Paths to the source code files. FilePaths []string `protobuf:"bytes,3,rep,name=file_paths,json=filePaths,proto3" json:"file_paths,omitempty"` // New name of the symbol. - NewName string `protobuf:"bytes,4,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"` + NewName string `protobuf:"bytes,4,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *Rename_Args) Reset() { - *x = Rename_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *RenameArgs) Reset() { + *x = RenameArgs{} + mi := &file_spec_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *Rename_Args) String() string { +func (x *RenameArgs) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Rename_Args) ProtoMessage() {} +func (*RenameArgs) ProtoMessage() {} -func (x *Rename_Args) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_msgTypes[52] - if protoimpl.UnsafeEnabled && x != nil { +func (x *RenameArgs) ProtoReflect() protoreflect.Message { + mi := &file_spec_proto_msgTypes[54] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3569,33 +3513,33 @@ func (x *Rename_Args) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Rename_Args.ProtoReflect.Descriptor instead. -func (*Rename_Args) Descriptor() ([]byte, []int) { - return file_spec_proto_rawDescGZIP(), []int{52} +// Deprecated: Use RenameArgs.ProtoReflect.Descriptor instead. +func (*RenameArgs) Descriptor() ([]byte, []int) { + return file_spec_proto_rawDescGZIP(), []int{54} } -func (x *Rename_Args) GetPackageRoot() string { +func (x *RenameArgs) GetPackageRoot() string { if x != nil { return x.PackageRoot } return "" } -func (x *Rename_Args) GetSymbolPath() string { +func (x *RenameArgs) GetSymbolPath() string { if x != nil { return x.SymbolPath } return "" } -func (x *Rename_Args) GetFilePaths() []string { +func (x *RenameArgs) GetFilePaths() []string { if x != nil { return x.FilePaths } return nil } -func (x *Rename_Args) GetNewName() string { +func (x *RenameArgs) GetNewName() string { if x != nil { return x.NewName } @@ -3603,33 +3547,30 @@ func (x *Rename_Args) GetNewName() string { } // Message for rename response. -type Rename_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type RenameResult struct { + state protoimpl.MessageState `protogen:"open.v1"` // List of file paths that got changed. - ChangedFiles []string `protobuf:"bytes,1,rep,name=changed_files,json=changedFiles,proto3" json:"changed_files,omitempty"` + ChangedFiles []string `protobuf:"bytes,1,rep,name=changed_files,json=changedFiles,proto3" json:"changed_files,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *Rename_Result) Reset() { - *x = Rename_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *RenameResult) Reset() { + *x = RenameResult{} + mi := &file_spec_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *Rename_Result) String() string { +func (x *RenameResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Rename_Result) ProtoMessage() {} +func (*RenameResult) ProtoMessage() {} -func (x *Rename_Result) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_msgTypes[53] - if protoimpl.UnsafeEnabled && x != nil { +func (x *RenameResult) ProtoReflect() protoreflect.Message { + mi := &file_spec_proto_msgTypes[55] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3639,12 +3580,12 @@ func (x *Rename_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Rename_Result.ProtoReflect.Descriptor instead. -func (*Rename_Result) Descriptor() ([]byte, []int) { - return file_spec_proto_rawDescGZIP(), []int{53} +// Deprecated: Use RenameResult.ProtoReflect.Descriptor instead. +func (*RenameResult) Descriptor() ([]byte, []int) { + return file_spec_proto_rawDescGZIP(), []int{55} } -func (x *Rename_Result) GetChangedFiles() []string { +func (x *RenameResult) GetChangedFiles() []string { if x != nil { return x.ChangedFiles } @@ -3652,39 +3593,36 @@ func (x *Rename_Result) GetChangedFiles() []string { } // Message for rename code request arguments. -type RenameCode_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type RenameCodeArgs struct { + state protoimpl.MessageState `protogen:"open.v1"` // File path to the package root. PackageRoot string `protobuf:"bytes,1,opt,name=package_root,json=packageRoot,proto3" json:"package_root,omitempty"` // Path to the target symbol to be renamed. SymbolPath string `protobuf:"bytes,2,opt,name=symbol_path,json=symbolPath,proto3" json:"symbol_path,omitempty"` // Map of source code with filename as key and code as value. - SourceCodes map[string]string `protobuf:"bytes,3,rep,name=source_codes,json=sourceCodes,proto3" json:"source_codes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + SourceCodes map[string]string `protobuf:"bytes,3,rep,name=source_codes,json=sourceCodes,proto3" json:"source_codes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // New name of the symbol. - NewName string `protobuf:"bytes,4,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"` + NewName string `protobuf:"bytes,4,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *RenameCode_Args) Reset() { - *x = RenameCode_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[54] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *RenameCodeArgs) Reset() { + *x = RenameCodeArgs{} + mi := &file_spec_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *RenameCode_Args) String() string { +func (x *RenameCodeArgs) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RenameCode_Args) ProtoMessage() {} +func (*RenameCodeArgs) ProtoMessage() {} -func (x *RenameCode_Args) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_msgTypes[54] - if protoimpl.UnsafeEnabled && x != nil { +func (x *RenameCodeArgs) ProtoReflect() protoreflect.Message { + mi := &file_spec_proto_msgTypes[56] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3694,33 +3632,33 @@ func (x *RenameCode_Args) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RenameCode_Args.ProtoReflect.Descriptor instead. -func (*RenameCode_Args) Descriptor() ([]byte, []int) { - return file_spec_proto_rawDescGZIP(), []int{54} +// Deprecated: Use RenameCodeArgs.ProtoReflect.Descriptor instead. +func (*RenameCodeArgs) Descriptor() ([]byte, []int) { + return file_spec_proto_rawDescGZIP(), []int{56} } -func (x *RenameCode_Args) GetPackageRoot() string { +func (x *RenameCodeArgs) GetPackageRoot() string { if x != nil { return x.PackageRoot } return "" } -func (x *RenameCode_Args) GetSymbolPath() string { +func (x *RenameCodeArgs) GetSymbolPath() string { if x != nil { return x.SymbolPath } return "" } -func (x *RenameCode_Args) GetSourceCodes() map[string]string { +func (x *RenameCodeArgs) GetSourceCodes() map[string]string { if x != nil { return x.SourceCodes } return nil } -func (x *RenameCode_Args) GetNewName() string { +func (x *RenameCodeArgs) GetNewName() string { if x != nil { return x.NewName } @@ -3728,33 +3666,30 @@ func (x *RenameCode_Args) GetNewName() string { } // Message for rename code response. -type RenameCode_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type RenameCodeResult struct { + state protoimpl.MessageState `protogen:"open.v1"` // Map of changed code with filename as key and modified code as value. - ChangedCodes map[string]string `protobuf:"bytes,1,rep,name=changed_codes,json=changedCodes,proto3" json:"changed_codes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ChangedCodes map[string]string `protobuf:"bytes,1,rep,name=changed_codes,json=changedCodes,proto3" json:"changed_codes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *RenameCode_Result) Reset() { - *x = RenameCode_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[55] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *RenameCodeResult) Reset() { + *x = RenameCodeResult{} + mi := &file_spec_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *RenameCode_Result) String() string { +func (x *RenameCodeResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RenameCode_Result) ProtoMessage() {} +func (*RenameCodeResult) ProtoMessage() {} -func (x *RenameCode_Result) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_msgTypes[55] - if protoimpl.UnsafeEnabled && x != nil { +func (x *RenameCodeResult) ProtoReflect() protoreflect.Message { + mi := &file_spec_proto_msgTypes[57] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3764,12 +3699,12 @@ func (x *RenameCode_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RenameCode_Result.ProtoReflect.Descriptor instead. -func (*RenameCode_Result) Descriptor() ([]byte, []int) { - return file_spec_proto_rawDescGZIP(), []int{55} +// Deprecated: Use RenameCodeResult.ProtoReflect.Descriptor instead. +func (*RenameCodeResult) Descriptor() ([]byte, []int) { + return file_spec_proto_rawDescGZIP(), []int{57} } -func (x *RenameCode_Result) GetChangedCodes() map[string]string { +func (x *RenameCodeResult) GetChangedCodes() map[string]string { if x != nil { return x.ChangedCodes } @@ -3777,39 +3712,36 @@ func (x *RenameCode_Result) GetChangedCodes() map[string]string { } // Message for test request arguments. -type Test_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type TestArgs struct { + state protoimpl.MessageState `protogen:"open.v1"` // Execution program arguments. - ExecArgs *ExecProgram_Args `protobuf:"bytes,1,opt,name=exec_args,json=execArgs,proto3" json:"exec_args,omitempty"` + ExecArgs *ExecProgramArgs `protobuf:"bytes,1,opt,name=exec_args,json=execArgs,proto3" json:"exec_args,omitempty"` // List of KCL package paths to be tested. PkgList []string `protobuf:"bytes,2,rep,name=pkg_list,json=pkgList,proto3" json:"pkg_list,omitempty"` // Regular expression for filtering tests to run. RunRegexp string `protobuf:"bytes,3,opt,name=run_regexp,json=runRegexp,proto3" json:"run_regexp,omitempty"` // Flag to stop the test run on the first failure. - FailFast bool `protobuf:"varint,4,opt,name=fail_fast,json=failFast,proto3" json:"fail_fast,omitempty"` + FailFast bool `protobuf:"varint,4,opt,name=fail_fast,json=failFast,proto3" json:"fail_fast,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *Test_Args) Reset() { - *x = Test_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[56] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *TestArgs) Reset() { + *x = TestArgs{} + mi := &file_spec_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *Test_Args) String() string { +func (x *TestArgs) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Test_Args) ProtoMessage() {} +func (*TestArgs) ProtoMessage() {} -func (x *Test_Args) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_msgTypes[56] - if protoimpl.UnsafeEnabled && x != nil { +func (x *TestArgs) ProtoReflect() protoreflect.Message { + mi := &file_spec_proto_msgTypes[58] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3819,33 +3751,33 @@ func (x *Test_Args) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Test_Args.ProtoReflect.Descriptor instead. -func (*Test_Args) Descriptor() ([]byte, []int) { - return file_spec_proto_rawDescGZIP(), []int{56} +// Deprecated: Use TestArgs.ProtoReflect.Descriptor instead. +func (*TestArgs) Descriptor() ([]byte, []int) { + return file_spec_proto_rawDescGZIP(), []int{58} } -func (x *Test_Args) GetExecArgs() *ExecProgram_Args { +func (x *TestArgs) GetExecArgs() *ExecProgramArgs { if x != nil { return x.ExecArgs } return nil } -func (x *Test_Args) GetPkgList() []string { +func (x *TestArgs) GetPkgList() []string { if x != nil { return x.PkgList } return nil } -func (x *Test_Args) GetRunRegexp() string { +func (x *TestArgs) GetRunRegexp() string { if x != nil { return x.RunRegexp } return "" } -func (x *Test_Args) GetFailFast() bool { +func (x *TestArgs) GetFailFast() bool { if x != nil { return x.FailFast } @@ -3853,33 +3785,30 @@ func (x *Test_Args) GetFailFast() bool { } // Message for test response. -type Test_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type TestResult struct { + state protoimpl.MessageState `protogen:"open.v1"` // List of test case information. - Info []*TestCaseInfo `protobuf:"bytes,2,rep,name=info,proto3" json:"info,omitempty"` + Info []*TestCaseInfo `protobuf:"bytes,2,rep,name=info,proto3" json:"info,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *Test_Result) Reset() { - *x = Test_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[57] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *TestResult) Reset() { + *x = TestResult{} + mi := &file_spec_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *Test_Result) String() string { +func (x *TestResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Test_Result) ProtoMessage() {} +func (*TestResult) ProtoMessage() {} -func (x *Test_Result) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_msgTypes[57] - if protoimpl.UnsafeEnabled && x != nil { +func (x *TestResult) ProtoReflect() protoreflect.Message { + mi := &file_spec_proto_msgTypes[59] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3889,12 +3818,12 @@ func (x *Test_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Test_Result.ProtoReflect.Descriptor instead. -func (*Test_Result) Descriptor() ([]byte, []int) { - return file_spec_proto_rawDescGZIP(), []int{57} +// Deprecated: Use TestResult.ProtoReflect.Descriptor instead. +func (*TestResult) Descriptor() ([]byte, []int) { + return file_spec_proto_rawDescGZIP(), []int{59} } -func (x *Test_Result) GetInfo() []*TestCaseInfo { +func (x *TestResult) GetInfo() []*TestCaseInfo { if x != nil { return x.Info } @@ -3903,10 +3832,7 @@ func (x *Test_Result) GetInfo() []*TestCaseInfo { // Message representing information about a single test case. type TestCaseInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Name of the test case. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Error message if any. @@ -3914,16 +3840,16 @@ type TestCaseInfo struct { // Duration of the test case in microseconds. Duration uint64 `protobuf:"varint,3,opt,name=duration,proto3" json:"duration,omitempty"` // Log message from the test case. - LogMessage string `protobuf:"bytes,4,opt,name=log_message,json=logMessage,proto3" json:"log_message,omitempty"` + LogMessage string `protobuf:"bytes,4,opt,name=log_message,json=logMessage,proto3" json:"log_message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TestCaseInfo) Reset() { *x = TestCaseInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[58] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_spec_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TestCaseInfo) String() string { @@ -3933,8 +3859,8 @@ func (x *TestCaseInfo) String() string { func (*TestCaseInfo) ProtoMessage() {} func (x *TestCaseInfo) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_msgTypes[58] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_spec_proto_msgTypes[60] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3946,7 +3872,7 @@ func (x *TestCaseInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use TestCaseInfo.ProtoReflect.Descriptor instead. func (*TestCaseInfo) Descriptor() ([]byte, []int) { - return file_spec_proto_rawDescGZIP(), []int{58} + return file_spec_proto_rawDescGZIP(), []int{60} } func (x *TestCaseInfo) GetName() string { @@ -3978,35 +3904,32 @@ func (x *TestCaseInfo) GetLogMessage() string { } // Message for update dependencies request arguments. -type UpdateDependencies_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type UpdateDependenciesArgs struct { + state protoimpl.MessageState `protogen:"open.v1"` // Path to the manifest file. ManifestPath string `protobuf:"bytes,1,opt,name=manifest_path,json=manifestPath,proto3" json:"manifest_path,omitempty"` // Flag to vendor dependencies locally. - Vendor bool `protobuf:"varint,2,opt,name=vendor,proto3" json:"vendor,omitempty"` + Vendor bool `protobuf:"varint,2,opt,name=vendor,proto3" json:"vendor,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *UpdateDependencies_Args) Reset() { - *x = UpdateDependencies_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[59] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *UpdateDependenciesArgs) Reset() { + *x = UpdateDependenciesArgs{} + mi := &file_spec_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *UpdateDependencies_Args) String() string { +func (x *UpdateDependenciesArgs) String() string { return protoimpl.X.MessageStringOf(x) } -func (*UpdateDependencies_Args) ProtoMessage() {} +func (*UpdateDependenciesArgs) ProtoMessage() {} -func (x *UpdateDependencies_Args) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_msgTypes[59] - if protoimpl.UnsafeEnabled && x != nil { +func (x *UpdateDependenciesArgs) ProtoReflect() protoreflect.Message { + mi := &file_spec_proto_msgTypes[61] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4016,19 +3939,19 @@ func (x *UpdateDependencies_Args) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use UpdateDependencies_Args.ProtoReflect.Descriptor instead. -func (*UpdateDependencies_Args) Descriptor() ([]byte, []int) { - return file_spec_proto_rawDescGZIP(), []int{59} +// Deprecated: Use UpdateDependenciesArgs.ProtoReflect.Descriptor instead. +func (*UpdateDependenciesArgs) Descriptor() ([]byte, []int) { + return file_spec_proto_rawDescGZIP(), []int{61} } -func (x *UpdateDependencies_Args) GetManifestPath() string { +func (x *UpdateDependenciesArgs) GetManifestPath() string { if x != nil { return x.ManifestPath } return "" } -func (x *UpdateDependencies_Args) GetVendor() bool { +func (x *UpdateDependenciesArgs) GetVendor() bool { if x != nil { return x.Vendor } @@ -4036,33 +3959,30 @@ func (x *UpdateDependencies_Args) GetVendor() bool { } // Message for update dependencies response. -type UpdateDependencies_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - +type UpdateDependenciesResult struct { + state protoimpl.MessageState `protogen:"open.v1"` // List of external packages updated. - ExternalPkgs []*ExternalPkg `protobuf:"bytes,3,rep,name=external_pkgs,json=externalPkgs,proto3" json:"external_pkgs,omitempty"` + ExternalPkgs []*ExternalPkg `protobuf:"bytes,3,rep,name=external_pkgs,json=externalPkgs,proto3" json:"external_pkgs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (x *UpdateDependencies_Result) Reset() { - *x = UpdateDependencies_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[60] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (x *UpdateDependenciesResult) Reset() { + *x = UpdateDependenciesResult{} + mi := &file_spec_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *UpdateDependencies_Result) String() string { +func (x *UpdateDependenciesResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*UpdateDependencies_Result) ProtoMessage() {} +func (*UpdateDependenciesResult) ProtoMessage() {} -func (x *UpdateDependencies_Result) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_msgTypes[60] - if protoimpl.UnsafeEnabled && x != nil { +func (x *UpdateDependenciesResult) ProtoReflect() protoreflect.Message { + mi := &file_spec_proto_msgTypes[62] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4072,12 +3992,12 @@ func (x *UpdateDependencies_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use UpdateDependencies_Result.ProtoReflect.Descriptor instead. -func (*UpdateDependencies_Result) Descriptor() ([]byte, []int) { - return file_spec_proto_rawDescGZIP(), []int{60} +// Deprecated: Use UpdateDependenciesResult.ProtoReflect.Descriptor instead. +func (*UpdateDependenciesResult) Descriptor() ([]byte, []int) { + return file_spec_proto_rawDescGZIP(), []int{62} } -func (x *UpdateDependencies_Result) GetExternalPkgs() []*ExternalPkg { +func (x *UpdateDependenciesResult) GetExternalPkgs() []*ExternalPkg { if x != nil { return x.ExternalPkgs } @@ -4086,10 +4006,7 @@ func (x *UpdateDependencies_Result) GetExternalPkgs() []*ExternalPkg { // Message representing a KCL type. type KclType struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Type name (e.g., schema, dict, list, str, int, float, bool, any, union, number_multiplier). Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Union types if applicable. @@ -4101,7 +4018,7 @@ type KclType struct { // Documentation for the schema. SchemaDoc string `protobuf:"bytes,5,opt,name=schema_doc,json=schemaDoc,proto3" json:"schema_doc,omitempty"` // Properties of the schema as a map with property name as key. - Properties map[string]*KclType `protobuf:"bytes,6,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Properties map[string]*KclType `protobuf:"bytes,6,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // List of required schema properties. Required []string `protobuf:"bytes,7,rep,name=required,proto3" json:"required,omitempty"` // Key type if the KclType is a dictionary. @@ -4119,18 +4036,18 @@ type KclType struct { // Documentation for the attribute. Description string `protobuf:"bytes,14,opt,name=description,proto3" json:"description,omitempty"` // Map of examples with example name as key. - Examples map[string]*Example `protobuf:"bytes,15,rep,name=examples,proto3" json:"examples,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Examples map[string]*Example `protobuf:"bytes,15,rep,name=examples,proto3" json:"examples,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Base schema if applicable. - BaseSchema *KclType `protobuf:"bytes,16,opt,name=base_schema,json=baseSchema,proto3" json:"base_schema,omitempty"` + BaseSchema *KclType `protobuf:"bytes,16,opt,name=base_schema,json=baseSchema,proto3" json:"base_schema,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *KclType) Reset() { *x = KclType{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[61] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_spec_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *KclType) String() string { @@ -4140,8 +4057,8 @@ func (x *KclType) String() string { func (*KclType) ProtoMessage() {} func (x *KclType) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_msgTypes[61] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_spec_proto_msgTypes[63] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4153,7 +4070,7 @@ func (x *KclType) ProtoReflect() protoreflect.Message { // Deprecated: Use KclType.ProtoReflect.Descriptor instead. func (*KclType) Descriptor() ([]byte, []int) { - return file_spec_proto_rawDescGZIP(), []int{61} + return file_spec_proto_rawDescGZIP(), []int{63} } func (x *KclType) GetType() string { @@ -4270,25 +4187,22 @@ func (x *KclType) GetBaseSchema() *KclType { // Message representing a decorator in KCL. type Decorator struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Name of the decorator. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Arguments for the decorator. Arguments []string `protobuf:"bytes,2,rep,name=arguments,proto3" json:"arguments,omitempty"` // Keyword arguments for the decorator as a map with keyword name as key. - Keywords map[string]string `protobuf:"bytes,3,rep,name=keywords,proto3" json:"keywords,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Keywords map[string]string `protobuf:"bytes,3,rep,name=keywords,proto3" json:"keywords,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Decorator) Reset() { *x = Decorator{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[62] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_spec_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Decorator) String() string { @@ -4298,8 +4212,8 @@ func (x *Decorator) String() string { func (*Decorator) ProtoMessage() {} func (x *Decorator) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_msgTypes[62] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_spec_proto_msgTypes[64] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4311,7 +4225,7 @@ func (x *Decorator) ProtoReflect() protoreflect.Message { // Deprecated: Use Decorator.ProtoReflect.Descriptor instead. func (*Decorator) Descriptor() ([]byte, []int) { - return file_spec_proto_rawDescGZIP(), []int{62} + return file_spec_proto_rawDescGZIP(), []int{64} } func (x *Decorator) GetName() string { @@ -4337,25 +4251,22 @@ func (x *Decorator) GetKeywords() map[string]string { // Message representing an example in KCL. type Example struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Short description for the example. Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` // Long description for the example. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Embedded literal example. - Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` + Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Example) Reset() { *x = Example{} - if protoimpl.UnsafeEnabled { - mi := &file_spec_proto_msgTypes[63] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_spec_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Example) String() string { @@ -4365,8 +4276,8 @@ func (x *Example) String() string { func (*Example) ProtoMessage() {} func (x *Example) ProtoReflect() protoreflect.Message { - mi := &file_spec_proto_msgTypes[63] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_spec_proto_msgTypes[65] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4378,7 +4289,7 @@ func (x *Example) ProtoReflect() protoreflect.Message { // Deprecated: Use Example.ProtoReflect.Descriptor instead. func (*Example) Descriptor() ([]byte, []int) { - return file_spec_proto_rawDescGZIP(), []int{63} + return file_spec_proto_rawDescGZIP(), []int{65} } func (x *Example) GetSummary() string { @@ -4404,843 +4315,508 @@ func (x *Example) GetValue() string { var File_spec_proto protoreflect.FileDescriptor -var file_spec_proto_rawDesc = []byte{ - 0x0a, 0x0a, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x63, 0x6f, - 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x22, 0x43, 0x0a, 0x0b, 0x45, 0x78, 0x74, - 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x6b, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6b, 0x67, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6b, 0x67, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6b, 0x67, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6b, 0x67, 0x50, 0x61, 0x74, 0x68, 0x22, 0x34, - 0x0a, 0x08, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x22, 0x63, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x14, 0x0a, - 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, - 0x76, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, - 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0x44, 0x0a, 0x07, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x27, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, - 0x69, 0x2e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x22, - 0x21, 0x0a, 0x09, 0x50, 0x69, 0x6e, 0x67, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x14, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x22, 0x23, 0x0a, 0x0b, 0x50, 0x69, 0x6e, 0x67, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x11, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x56, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x22, 0x85, 0x01, 0x0a, 0x11, 0x47, - 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x68, - 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x68, - 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x17, 0x0a, 0x07, 0x67, 0x69, 0x74, 0x5f, 0x73, 0x68, - 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x67, 0x69, 0x74, 0x53, 0x68, 0x61, 0x12, - 0x21, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, - 0x66, 0x6f, 0x22, 0x11, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, - 0x5f, 0x41, 0x72, 0x67, 0x73, 0x22, 0x3d, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, - 0x68, 0x6f, 0x64, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x65, - 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4e, 0x61, 0x6d, 0x65, - 0x4c, 0x69, 0x73, 0x74, 0x22, 0x7b, 0x0a, 0x0e, 0x50, 0x61, 0x72, 0x73, 0x65, 0x46, 0x69, 0x6c, - 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x12, 0x3d, 0x0a, 0x0d, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x70, - 0x6b, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, - 0x50, 0x6b, 0x67, 0x52, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x6b, 0x67, - 0x73, 0x22, 0x6d, 0x0a, 0x10, 0x50, 0x61, 0x72, 0x73, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x5f, 0x52, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x73, 0x74, 0x5f, 0x6a, 0x73, 0x6f, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x73, 0x74, 0x4a, 0x73, 0x6f, 0x6e, - 0x12, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x70, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, - 0x64, 0x65, 0x70, 0x73, 0x12, 0x2a, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x03, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, - 0x70, 0x69, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, - 0x22, 0x82, 0x01, 0x0a, 0x11, 0x50, 0x61, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, - 0x6d, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x12, 0x18, 0x0a, 0x07, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0d, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, - 0x61, 0x6c, 0x5f, 0x70, 0x6b, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x45, 0x78, 0x74, 0x65, - 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x6b, 0x67, 0x52, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, - 0x6c, 0x50, 0x6b, 0x67, 0x73, 0x22, 0x72, 0x0a, 0x13, 0x50, 0x61, 0x72, 0x73, 0x65, 0x50, 0x72, - 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x19, 0x0a, 0x08, - 0x61, 0x73, 0x74, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x61, 0x73, 0x74, 0x4a, 0x73, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x12, 0x2a, 0x0a, - 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x45, 0x72, 0x72, 0x6f, - 0x72, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x22, 0xbb, 0x01, 0x0a, 0x10, 0x4c, 0x6f, - 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x3d, - 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x73, 0x65, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x50, 0x61, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x41, 0x72, - 0x67, 0x73, 0x52, 0x09, 0x70, 0x61, 0x72, 0x73, 0x65, 0x41, 0x72, 0x67, 0x73, 0x12, 0x1f, 0x0a, - 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x5f, 0x61, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x41, 0x73, 0x74, 0x12, 0x21, - 0x0a, 0x0c, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x74, 0x69, 0x6e, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x74, 0x69, - 0x6e, 0x12, 0x24, 0x0a, 0x0e, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x61, 0x73, 0x74, 0x5f, 0x69, 0x6e, - 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x77, 0x69, 0x74, 0x68, 0x41, - 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0xbb, 0x09, 0x0a, 0x12, 0x4c, 0x6f, 0x61, 0x64, - 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, - 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x12, 0x35, - 0x0a, 0x0c, 0x70, 0x61, 0x72, 0x73, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x03, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, - 0x70, 0x69, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x73, 0x65, 0x45, - 0x72, 0x72, 0x6f, 0x72, 0x73, 0x12, 0x33, 0x0a, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x65, 0x72, - 0x72, 0x6f, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x0a, - 0x74, 0x79, 0x70, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x12, 0x43, 0x0a, 0x06, 0x73, 0x63, - 0x6f, 0x70, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, - 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x53, 0x63, 0x6f, 0x70, - 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, - 0x46, 0x0a, 0x07, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, - 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x2e, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, - 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x73, 0x12, 0x5a, 0x0a, 0x0f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, - 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, - 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x4d, 0x61, 0x70, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, - 0x4d, 0x61, 0x70, 0x12, 0x5a, 0x0a, 0x0f, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x5f, 0x6e, 0x6f, - 0x64, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x50, - 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x53, 0x79, - 0x6d, 0x62, 0x6f, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x0d, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x61, 0x70, 0x12, - 0x73, 0x0a, 0x18, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x5f, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x66, 0x69, - 0x65, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x09, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x3a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x4c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x79, 0x51, 0x75, 0x61, 0x6c, 0x69, 0x66, 0x69, 0x65, - 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x15, 0x66, - 0x75, 0x6c, 0x6c, 0x79, 0x51, 0x75, 0x61, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x64, 0x4e, 0x61, 0x6d, - 0x65, 0x4d, 0x61, 0x70, 0x12, 0x54, 0x0a, 0x0d, 0x70, 0x6b, 0x67, 0x5f, 0x73, 0x63, 0x6f, 0x70, - 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x50, 0x61, - 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x50, 0x6b, 0x67, - 0x53, 0x63, 0x6f, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x70, - 0x6b, 0x67, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x1a, 0x4d, 0x0a, 0x0b, 0x53, 0x63, - 0x6f, 0x70, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x28, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4f, 0x0a, 0x0c, 0x53, 0x79, 0x6d, - 0x62, 0x6f, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x29, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x5a, 0x0a, 0x12, 0x4e, 0x6f, - 0x64, 0x65, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, - 0x65, 0x79, 0x12, 0x2e, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x40, 0x0a, 0x12, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, - 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x62, 0x0a, 0x1a, 0x46, 0x75, 0x6c, 0x6c, - 0x79, 0x51, 0x75, 0x61, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x4d, 0x61, - 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2e, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, - 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x49, 0x6e, 0x64, 0x65, - 0x78, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x57, 0x0a, 0x10, - 0x50, 0x6b, 0x67, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, - 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x53, 0x63, 0x6f, 0x70, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x47, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x31, 0x0a, 0x07, 0x6f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x48, 0x65, 0x6c, 0x70, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x89, - 0x01, 0x0a, 0x0a, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x6c, 0x70, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, - 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, - 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, - 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x65, 0x6c, 0x70, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x65, 0x6c, 0x70, 0x22, 0xeb, 0x01, 0x0a, 0x06, 0x53, - 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x24, 0x0a, 0x02, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x4b, 0x63, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x02, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x2e, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x79, 0x6d, - 0x62, 0x6f, 0x6c, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, - 0x2a, 0x0a, 0x03, 0x64, 0x65, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x79, 0x6d, 0x62, 0x6f, - 0x6c, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x03, 0x64, 0x65, 0x66, 0x12, 0x2e, 0x0a, 0x05, 0x61, - 0x74, 0x74, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x49, - 0x6e, 0x64, 0x65, 0x78, 0x52, 0x05, 0x61, 0x74, 0x74, 0x72, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x69, - 0x73, 0x5f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, - 0x69, 0x73, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x22, 0xdf, 0x01, 0x0a, 0x05, 0x53, 0x63, 0x6f, - 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x2f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, - 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, - 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, - 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x49, 0x6e, 0x64, 0x65, 0x78, - 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x33, 0x0a, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, - 0x72, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x49, 0x6e, 0x64, - 0x65, 0x78, 0x52, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x12, 0x2c, 0x0a, 0x04, - 0x64, 0x65, 0x66, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x49, - 0x6e, 0x64, 0x65, 0x78, 0x52, 0x04, 0x64, 0x65, 0x66, 0x73, 0x22, 0x3d, 0x0a, 0x0b, 0x53, 0x79, - 0x6d, 0x62, 0x6f, 0x6c, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x0c, 0x0a, 0x01, 0x69, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x01, 0x69, 0x12, 0x0c, 0x0a, 0x01, 0x67, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x01, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x3c, 0x0a, 0x0a, 0x53, 0x63, 0x6f, - 0x70, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x0c, 0x0a, 0x01, 0x69, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x01, 0x69, 0x12, 0x0c, 0x0a, 0x01, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x01, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0xb8, 0x05, 0x0a, 0x10, 0x45, 0x78, 0x65, 0x63, - 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x19, 0x0a, 0x08, - 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x69, 0x72, 0x12, 0x26, 0x0a, 0x0f, 0x6b, 0x5f, 0x66, 0x69, 0x6c, - 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x0d, 0x6b, 0x46, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, - 0x1e, 0x0a, 0x0b, 0x6b, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6b, 0x43, 0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, - 0x29, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x41, 0x72, 0x67, 0x75, - 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x76, - 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6f, - 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x64, 0x69, 0x73, 0x61, - 0x62, 0x6c, 0x65, 0x5f, 0x79, 0x61, 0x6d, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x59, 0x61, - 0x6d, 0x6c, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x72, 0x69, 0x6e, - 0x74, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x5f, 0x61, 0x73, 0x74, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x4f, 0x76, 0x65, 0x72, 0x72, - 0x69, 0x64, 0x65, 0x41, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, - 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x10, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x43, - 0x68, 0x65, 0x63, 0x6b, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, - 0x6e, 0x6f, 0x6e, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x61, - 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x6e, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, - 0x73, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x62, 0x75, 0x67, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x05, 0x64, 0x65, 0x62, 0x75, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x6f, 0x72, 0x74, 0x5f, - 0x6b, 0x65, 0x79, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x6f, 0x72, 0x74, - 0x4b, 0x65, 0x79, 0x73, 0x12, 0x3d, 0x0a, 0x0d, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, - 0x5f, 0x70, 0x6b, 0x67, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, - 0x61, 0x6c, 0x50, 0x6b, 0x67, 0x52, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x50, - 0x6b, 0x67, 0x73, 0x12, 0x37, 0x0a, 0x18, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x73, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, - 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x53, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x21, 0x0a, 0x0c, - 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x0f, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x12, - 0x1f, 0x0a, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x18, 0x10, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, 0x68, 0x6f, 0x77, 0x48, 0x69, 0x64, 0x64, 0x65, 0x6e, - 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, - 0x72, 0x18, 0x11, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x61, 0x74, 0x68, 0x53, 0x65, 0x6c, - 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x61, 0x73, 0x74, 0x5f, 0x65, 0x76, - 0x61, 0x6c, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x66, 0x61, 0x73, 0x74, 0x45, 0x76, - 0x61, 0x6c, 0x22, 0x98, 0x01, 0x0a, 0x12, 0x45, 0x78, 0x65, 0x63, 0x50, 0x72, 0x6f, 0x67, 0x72, - 0x61, 0x6d, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6a, 0x73, 0x6f, - 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x6a, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x79, 0x61, - 0x6d, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0a, 0x79, 0x61, 0x6d, 0x6c, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, - 0x6f, 0x67, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x6c, 0x6f, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1f, 0x0a, 0x0b, - 0x65, 0x72, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x67, 0x0a, - 0x11, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x41, 0x72, - 0x67, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x65, 0x78, 0x65, 0x63, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, - 0x41, 0x72, 0x67, 0x73, 0x52, 0x08, 0x65, 0x78, 0x65, 0x63, 0x41, 0x72, 0x67, 0x73, 0x12, 0x16, - 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x22, 0x29, 0x0a, 0x13, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x50, - 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a, - 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, - 0x68, 0x22, 0x63, 0x0a, 0x11, 0x45, 0x78, 0x65, 0x63, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, - 0x74, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x3a, 0x0a, 0x09, 0x65, 0x78, - 0x65, 0x63, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x45, 0x78, 0x65, 0x63, - 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x52, 0x08, 0x65, 0x78, - 0x65, 0x63, 0x41, 0x72, 0x67, 0x73, 0x22, 0x29, 0x0a, 0x0f, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, - 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x22, 0x31, 0x0a, 0x11, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x5f, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, - 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, - 0x74, 0x74, 0x65, 0x64, 0x22, 0x25, 0x0a, 0x0f, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x50, 0x61, - 0x74, 0x68, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x38, 0x0a, 0x11, 0x46, - 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x50, 0x61, 0x74, 0x68, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, - 0x50, 0x61, 0x74, 0x68, 0x73, 0x22, 0x25, 0x0a, 0x0d, 0x4c, 0x69, 0x6e, 0x74, 0x50, 0x61, 0x74, - 0x68, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x22, 0x2b, 0x0a, 0x0f, - 0x4c, 0x69, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, - 0x18, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x60, 0x0a, 0x11, 0x4f, 0x76, 0x65, - 0x72, 0x72, 0x69, 0x64, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x12, - 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x69, - 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x70, 0x65, 0x63, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x05, 0x73, 0x70, 0x65, 0x63, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x6d, 0x70, 0x6f, - 0x72, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, - 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x61, 0x74, 0x68, 0x73, 0x22, 0x64, 0x0a, 0x13, 0x4f, - 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x35, 0x0a, 0x0c, 0x70, 0x61, - 0x72, 0x73, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x12, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x45, - 0x72, 0x72, 0x6f, 0x72, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x73, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, - 0x73, 0x22, 0x3c, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, - 0x65, 0x73, 0x5f, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, - 0x72, 0x67, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x0c, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x22, - 0x43, 0x0a, 0x0c, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, - 0x33, 0x0a, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, - 0x62, 0x6c, 0x65, 0x73, 0x22, 0x7e, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x72, 0x69, - 0x61, 0x62, 0x6c, 0x65, 0x73, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x69, - 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, - 0x12, 0x14, 0x0a, 0x05, 0x73, 0x70, 0x65, 0x63, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x05, 0x73, 0x70, 0x65, 0x63, 0x73, 0x12, 0x3c, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, - 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, - 0x6c, 0x65, 0x73, 0x5f, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xa3, 0x02, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x72, - 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x4e, 0x0a, - 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x5f, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x2b, 0x0a, - 0x11, 0x75, 0x6e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x64, - 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x75, 0x6e, 0x73, 0x75, 0x70, 0x70, - 0x6f, 0x72, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x0c, 0x70, 0x61, - 0x72, 0x73, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x12, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x45, - 0x72, 0x72, 0x6f, 0x72, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x73, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, - 0x73, 0x1a, 0x57, 0x0a, 0x0e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, - 0x70, 0x69, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xc4, 0x01, 0x0a, 0x08, 0x56, - 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, - 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x70, - 0x5f, 0x73, 0x79, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x70, 0x53, 0x79, - 0x6d, 0x12, 0x34, 0x0a, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, - 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x09, 0x6c, 0x69, - 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x38, 0x0a, 0x0c, 0x64, 0x69, 0x63, 0x74, 0x5f, - 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d, 0x61, 0x70, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x64, 0x69, 0x63, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, - 0x73, 0x22, 0x49, 0x0a, 0x08, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x2b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x56, 0x61, 0x72, - 0x69, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x78, 0x0a, 0x19, - 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, - 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x65, 0x78, 0x65, - 0x63, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x50, - 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x52, 0x08, 0x65, 0x78, 0x65, - 0x63, 0x41, 0x72, 0x67, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xea, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x53, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x6f, 0x0a, 0x13, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, - 0x69, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x4d, - 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x53, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, - 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x1a, 0x5a, 0x0a, 0x16, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x4b, 0x63, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, - 0x02, 0x38, 0x01, 0x22, 0xc2, 0x01, 0x0a, 0x11, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, - 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x61, 0x74, - 0x61, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, - 0x61, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69, 0x6c, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x12, 0x0a, - 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, - 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x74, 0x74, - 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0d, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x50, 0x0a, 0x13, 0x56, 0x61, 0x6c, 0x69, - 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, - 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x72, 0x72, - 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x65, 0x72, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x52, 0x0a, 0x08, 0x50, 0x6f, - 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, - 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x75, - 0x6d, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x99, - 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x70, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, - 0x41, 0x72, 0x67, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x64, 0x69, 0x72, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x69, 0x72, 0x12, - 0x20, 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x5f, 0x61, 0x62, 0x73, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x41, 0x62, 0x73, 0x50, 0x61, 0x74, - 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x61, 0x6c, 0x6c, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x41, - 0x6c, 0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x75, 0x73, 0x65, 0x5f, 0x66, 0x61, 0x73, 0x74, 0x5f, 0x70, - 0x61, 0x72, 0x73, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x75, 0x73, 0x65, - 0x46, 0x61, 0x73, 0x74, 0x50, 0x61, 0x72, 0x73, 0x65, 0x72, 0x22, 0x5f, 0x0a, 0x13, 0x4c, 0x69, - 0x73, 0x74, 0x44, 0x65, 0x70, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x6b, 0x67, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x70, 0x6b, 0x67, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, - 0x6b, 0x67, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6b, - 0x67, 0x70, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x03, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x22, 0x49, 0x0a, 0x16, 0x4c, - 0x6f, 0x61, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x73, - 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x64, 0x69, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x69, 0x72, - 0x12, 0x14, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x22, 0x96, 0x01, 0x0a, 0x18, 0x4c, 0x6f, 0x61, 0x64, 0x53, - 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x12, 0x3e, 0x0a, 0x0f, 0x6b, 0x63, 0x6c, 0x5f, 0x63, 0x6c, 0x69, 0x5f, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x6c, 0x69, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x6b, 0x63, 0x6c, 0x43, 0x6c, 0x69, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x73, 0x12, 0x3a, 0x0a, 0x0b, 0x6b, 0x63, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, - 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, - 0x61, 0x69, 0x72, 0x52, 0x0a, 0x6b, 0x63, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, - 0x91, 0x03, 0x0a, 0x09, 0x43, 0x6c, 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x14, 0x0a, - 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x66, 0x69, - 0x6c, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6f, - 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, - 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x61, 0x74, - 0x68, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x0c, 0x70, 0x61, 0x74, 0x68, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x2c, - 0x0a, 0x12, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x63, - 0x68, 0x65, 0x63, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x73, 0x74, 0x72, 0x69, - 0x63, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x21, 0x0a, 0x0c, - 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x6f, 0x6e, 0x65, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x6e, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x62, - 0x75, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x64, 0x65, 0x62, 0x75, 0x67, 0x12, - 0x1b, 0x0a, 0x09, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x08, 0x73, 0x6f, 0x72, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x1f, 0x0a, 0x0b, - 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x0a, 0x73, 0x68, 0x6f, 0x77, 0x48, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x12, 0x37, 0x0a, - 0x18, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x15, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, - 0x70, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x61, 0x73, 0x74, 0x5f, 0x65, - 0x76, 0x61, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x66, 0x61, 0x73, 0x74, 0x45, - 0x76, 0x61, 0x6c, 0x22, 0x36, 0x0a, 0x0c, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, - 0x61, 0x69, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x8b, 0x01, 0x0a, 0x0b, - 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x70, - 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x1f, - 0x0a, 0x0b, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, - 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x03, 0x20, - 0x03, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x19, - 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x6e, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x34, 0x0a, 0x0d, 0x52, 0x65, 0x6e, - 0x61, 0x6d, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x22, - 0x82, 0x02, 0x0a, 0x0f, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x41, - 0x72, 0x67, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x72, - 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, - 0x67, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, - 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x79, 0x6d, - 0x62, 0x6f, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x50, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x6e, 0x61, - 0x6d, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x2e, 0x53, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x65, 0x77, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x77, - 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x3e, 0x0a, 0x10, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, - 0x64, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x22, 0xab, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, - 0x6f, 0x64, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x55, 0x0a, 0x0d, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, - 0x73, 0x1a, 0x3f, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x22, 0x9e, 0x01, 0x0a, 0x09, 0x54, 0x65, 0x73, 0x74, 0x5f, 0x41, 0x72, 0x67, 0x73, - 0x12, 0x3a, 0x0a, 0x09, 0x65, 0x78, 0x65, 0x63, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, - 0x69, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x41, 0x72, - 0x67, 0x73, 0x52, 0x08, 0x65, 0x78, 0x65, 0x63, 0x41, 0x72, 0x67, 0x73, 0x12, 0x19, 0x0a, 0x08, - 0x70, 0x6b, 0x67, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, - 0x70, 0x6b, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x75, 0x6e, 0x5f, 0x72, - 0x65, 0x67, 0x65, 0x78, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x75, 0x6e, - 0x52, 0x65, 0x67, 0x65, 0x78, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x61, 0x69, 0x6c, 0x5f, 0x66, - 0x61, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x66, 0x61, 0x69, 0x6c, 0x46, - 0x61, 0x73, 0x74, 0x22, 0x3c, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x5f, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x12, 0x2d, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x54, - 0x65, 0x73, 0x74, 0x43, 0x61, 0x73, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, - 0x6f, 0x22, 0x75, 0x0a, 0x0c, 0x54, 0x65, 0x73, 0x74, 0x43, 0x61, 0x73, 0x65, 0x49, 0x6e, 0x66, - 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x64, - 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x64, - 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x67, 0x5f, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, - 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x56, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x41, - 0x72, 0x67, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, - 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x6e, 0x69, - 0x66, 0x65, 0x73, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x65, 0x6e, 0x64, - 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x76, 0x65, 0x6e, 0x64, 0x6f, 0x72, - 0x22, 0x5a, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, - 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x3d, 0x0a, - 0x0d, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x6b, 0x67, 0x73, 0x18, 0x03, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, - 0x70, 0x69, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x6b, 0x67, 0x52, 0x0c, - 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x6b, 0x67, 0x73, 0x22, 0xa6, 0x06, 0x0a, - 0x07, 0x4b, 0x63, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x35, 0x0a, 0x0b, - 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x4b, 0x63, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x54, 0x79, - 0x70, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x1f, 0x0a, - 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, - 0x0a, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x64, 0x6f, 0x63, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x6f, 0x63, 0x12, 0x44, 0x0a, - 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x4b, 0x63, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, - 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, - 0x69, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, - 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, - 0x26, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4b, 0x63, 0x6c, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x28, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x4b, 0x63, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x69, 0x74, 0x65, - 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x36, 0x0a, 0x0a, 0x64, 0x65, 0x63, 0x6f, 0x72, 0x61, 0x74, - 0x6f, 0x72, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x65, 0x63, 0x6f, 0x72, 0x61, 0x74, 0x6f, - 0x72, 0x52, 0x0a, 0x64, 0x65, 0x63, 0x6f, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x1a, 0x0a, - 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6b, 0x67, - 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6b, 0x67, - 0x50, 0x61, 0x74, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x08, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, - 0x65, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, - 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4b, 0x63, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x45, - 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x65, 0x78, - 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x0b, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4b, 0x63, 0x6c, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x1a, 0x53, 0x0a, - 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, - 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x4b, 0x63, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x1a, 0x51, 0x0a, 0x0d, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, - 0x70, 0x69, 0x2e, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xbc, 0x01, 0x0a, 0x09, 0x44, 0x65, 0x63, 0x6f, 0x72, 0x61, - 0x74, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x72, 0x67, 0x75, 0x6d, - 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x72, 0x67, 0x75, - 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x40, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, - 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, - 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x65, 0x63, 0x6f, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, - 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6b, - 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x1a, 0x3b, 0x0a, 0x0d, 0x4b, 0x65, 0x79, 0x77, 0x6f, - 0x72, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5b, 0x0a, 0x07, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x32, 0x96, 0x01, 0x0a, 0x0e, 0x42, 0x75, 0x69, 0x6c, 0x74, 0x69, 0x6e, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x38, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x5f, - 0x41, 0x72, 0x67, 0x73, 0x1a, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, - 0x70, 0x69, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x4a, - 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1c, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, - 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, - 0x68, 0x6f, 0x64, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x32, 0xde, 0x0d, 0x0a, 0x0c, 0x4b, - 0x63, 0x6c, 0x76, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x38, 0x0a, 0x04, 0x50, - 0x69, 0x6e, 0x67, 0x12, 0x16, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, - 0x69, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x18, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x5f, 0x52, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x4a, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, - 0x69, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x41, 0x72, 0x67, - 0x73, 0x1a, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x12, 0x50, 0x0a, 0x0c, 0x50, 0x61, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, - 0x6d, 0x12, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x50, 0x61, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x41, 0x72, 0x67, - 0x73, 0x1a, 0x20, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x50, 0x61, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x12, 0x47, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x73, 0x65, 0x46, 0x69, 0x6c, 0x65, - 0x12, 0x1b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, - 0x61, 0x72, 0x73, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1d, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x61, 0x72, 0x73, - 0x65, 0x46, 0x69, 0x6c, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x4d, 0x0a, 0x0b, - 0x4c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x1d, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x50, 0x61, - 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1f, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, - 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x4e, 0x0a, 0x0b, 0x4c, - 0x69, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x61, 0x72, 0x73, 0x65, 0x50, 0x72, - 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1f, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x53, 0x0a, 0x0d, 0x4c, - 0x69, 0x73, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, - 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x21, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, - 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x12, 0x4d, 0x0a, 0x0b, 0x45, 0x78, 0x65, 0x63, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, - 0x1d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x45, 0x78, - 0x65, 0x63, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1f, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x45, 0x78, 0x65, - 0x63, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, - 0x50, 0x0a, 0x0c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, - 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x42, 0x75, - 0x69, 0x6c, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, - 0x20, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x42, 0x75, - 0x69, 0x6c, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x12, 0x4f, 0x0a, 0x0c, 0x45, 0x78, 0x65, 0x63, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, - 0x74, 0x12, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x45, 0x78, 0x65, 0x63, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x41, 0x72, 0x67, - 0x73, 0x1a, 0x1f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x45, 0x78, 0x65, 0x63, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x12, 0x50, 0x0a, 0x0c, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x46, 0x69, - 0x6c, 0x65, 0x12, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x5f, 0x41, 0x72, - 0x67, 0x73, 0x1a, 0x20, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x5f, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x12, 0x68, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x26, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, - 0x41, 0x72, 0x67, 0x73, 0x1a, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, - 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, - 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x4a, - 0x0a, 0x0a, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, - 0x74, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x43, - 0x6f, 0x64, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x4a, 0x0a, 0x0a, 0x46, 0x6f, - 0x72, 0x6d, 0x61, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, - 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x50, 0x61, 0x74, - 0x68, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, - 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x50, 0x61, 0x74, 0x68, 0x5f, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x44, 0x0a, 0x08, 0x4c, 0x69, 0x6e, 0x74, 0x50, 0x61, - 0x74, 0x68, 0x12, 0x1a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x4c, 0x69, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1c, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x6e, - 0x74, 0x50, 0x61, 0x74, 0x68, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x50, 0x0a, 0x0c, - 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x20, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x50, - 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x70, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x1e, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x44, 0x65, 0x70, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x20, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x44, 0x65, 0x70, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x12, 0x5f, 0x0a, 0x11, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, - 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, - 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x25, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x74, - 0x74, 0x69, 0x6e, 0x67, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x12, 0x3e, 0x0a, 0x06, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, - 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x12, 0x4a, 0x0a, 0x0a, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, - 0x1c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, - 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1e, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x6e, 0x61, - 0x6d, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x38, 0x0a, - 0x04, 0x54, 0x65, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x18, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x54, 0x65, 0x73, 0x74, - 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x62, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x12, 0x24, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x41, - 0x72, 0x67, 0x73, 0x1a, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x6b, 0x63, 0x6c, 0x2e, 0x61, 0x70, - 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, - 0x63, 0x69, 0x65, 0x73, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x42, 0x14, 0x5a, 0x05, 0x2e, - 0x3b, 0x61, 0x70, 0x69, 0xaa, 0x02, 0x0a, 0x4b, 0x63, 0x6c, 0x4c, 0x69, 0x62, 0x2e, 0x41, 0x50, - 0x49, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_spec_proto_rawDesc = "" + + "\n" + + "\n" + + "spec.proto\x12\vcom.kcl.api\"C\n" + + "\vExternalPkg\x12\x19\n" + + "\bpkg_name\x18\x01 \x01(\tR\apkgName\x12\x19\n" + + "\bpkg_path\x18\x02 \x01(\tR\apkgPath\"4\n" + + "\bArgument\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value\"c\n" + + "\x05Error\x12\x14\n" + + "\x05level\x18\x01 \x01(\tR\x05level\x12\x12\n" + + "\x04code\x18\x02 \x01(\tR\x04code\x120\n" + + "\bmessages\x18\x03 \x03(\v2\x14.com.kcl.api.MessageR\bmessages\"D\n" + + "\aMessage\x12\x10\n" + + "\x03msg\x18\x01 \x01(\tR\x03msg\x12'\n" + + "\x03pos\x18\x02 \x01(\v2\x15.com.kcl.api.PositionR\x03pos\" \n" + + "\bPingArgs\x12\x14\n" + + "\x05value\x18\x01 \x01(\tR\x05value\"\"\n" + + "\n" + + "PingResult\x12\x14\n" + + "\x05value\x18\x01 \x01(\tR\x05value\"\x10\n" + + "\x0eGetVersionArgs\"\x84\x01\n" + + "\x10GetVersionResult\x12\x18\n" + + "\aversion\x18\x01 \x01(\tR\aversion\x12\x1a\n" + + "\bchecksum\x18\x02 \x01(\tR\bchecksum\x12\x17\n" + + "\agit_sha\x18\x03 \x01(\tR\x06gitSha\x12!\n" + + "\fversion_info\x18\x04 \x01(\tR\vversionInfo\"\x10\n" + + "\x0eListMethodArgs\"<\n" + + "\x10ListMethodResult\x12(\n" + + "\x10method_name_list\x18\x01 \x03(\tR\x0emethodNameList\"z\n" + + "\rParseFileArgs\x12\x12\n" + + "\x04path\x18\x01 \x01(\tR\x04path\x12\x16\n" + + "\x06source\x18\x02 \x01(\tR\x06source\x12=\n" + + "\rexternal_pkgs\x18\x03 \x03(\v2\x18.com.kcl.api.ExternalPkgR\fexternalPkgs\"l\n" + + "\x0fParseFileResult\x12\x19\n" + + "\bast_json\x18\x01 \x01(\tR\aastJson\x12\x12\n" + + "\x04deps\x18\x02 \x03(\tR\x04deps\x12*\n" + + "\x06errors\x18\x03 \x03(\v2\x12.com.kcl.api.ErrorR\x06errors\"\x81\x01\n" + + "\x10ParseProgramArgs\x12\x14\n" + + "\x05paths\x18\x01 \x03(\tR\x05paths\x12\x18\n" + + "\asources\x18\x02 \x03(\tR\asources\x12=\n" + + "\rexternal_pkgs\x18\x03 \x03(\v2\x18.com.kcl.api.ExternalPkgR\fexternalPkgs\"q\n" + + "\x12ParseProgramResult\x12\x19\n" + + "\bast_json\x18\x01 \x01(\tR\aastJson\x12\x14\n" + + "\x05paths\x18\x02 \x03(\tR\x05paths\x12*\n" + + "\x06errors\x18\x03 \x03(\v2\x12.com.kcl.api.ErrorR\x06errors\"\xb9\x01\n" + + "\x0fLoadPackageArgs\x12<\n" + + "\n" + + "parse_args\x18\x01 \x01(\v2\x1d.com.kcl.api.ParseProgramArgsR\tparseArgs\x12\x1f\n" + + "\vresolve_ast\x18\x02 \x01(\bR\n" + + "resolveAst\x12!\n" + + "\fload_builtin\x18\x03 \x01(\bR\vloadBuiltin\x12$\n" + + "\x0ewith_ast_index\x18\x04 \x01(\bR\fwithAstIndex\"\xb4\t\n" + + "\x11LoadPackageResult\x12\x18\n" + + "\aprogram\x18\x01 \x01(\tR\aprogram\x12\x14\n" + + "\x05paths\x18\x02 \x03(\tR\x05paths\x125\n" + + "\fparse_errors\x18\x03 \x03(\v2\x12.com.kcl.api.ErrorR\vparseErrors\x123\n" + + "\vtype_errors\x18\x04 \x03(\v2\x12.com.kcl.api.ErrorR\n" + + "typeErrors\x12B\n" + + "\x06scopes\x18\x05 \x03(\v2*.com.kcl.api.LoadPackageResult.ScopesEntryR\x06scopes\x12E\n" + + "\asymbols\x18\x06 \x03(\v2+.com.kcl.api.LoadPackageResult.SymbolsEntryR\asymbols\x12Y\n" + + "\x0fnode_symbol_map\x18\a \x03(\v21.com.kcl.api.LoadPackageResult.NodeSymbolMapEntryR\rnodeSymbolMap\x12Y\n" + + "\x0fsymbol_node_map\x18\b \x03(\v21.com.kcl.api.LoadPackageResult.SymbolNodeMapEntryR\rsymbolNodeMap\x12r\n" + + "\x18fully_qualified_name_map\x18\t \x03(\v29.com.kcl.api.LoadPackageResult.FullyQualifiedNameMapEntryR\x15fullyQualifiedNameMap\x12S\n" + + "\rpkg_scope_map\x18\n" + + " \x03(\v2/.com.kcl.api.LoadPackageResult.PkgScopeMapEntryR\vpkgScopeMap\x1aM\n" + + "\vScopesEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12(\n" + + "\x05value\x18\x02 \x01(\v2\x12.com.kcl.api.ScopeR\x05value:\x028\x01\x1aO\n" + + "\fSymbolsEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12)\n" + + "\x05value\x18\x02 \x01(\v2\x13.com.kcl.api.SymbolR\x05value:\x028\x01\x1aZ\n" + + "\x12NodeSymbolMapEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12.\n" + + "\x05value\x18\x02 \x01(\v2\x18.com.kcl.api.SymbolIndexR\x05value:\x028\x01\x1a@\n" + + "\x12SymbolNodeMapEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1ab\n" + + "\x1aFullyQualifiedNameMapEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12.\n" + + "\x05value\x18\x02 \x01(\v2\x18.com.kcl.api.SymbolIndexR\x05value:\x028\x01\x1aW\n" + + "\x10PkgScopeMapEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12-\n" + + "\x05value\x18\x02 \x01(\v2\x17.com.kcl.api.ScopeIndexR\x05value:\x028\x01\"F\n" + + "\x11ListOptionsResult\x121\n" + + "\aoptions\x18\x02 \x03(\v2\x17.com.kcl.api.OptionHelpR\aoptions\"\x89\x01\n" + + "\n" + + "OptionHelp\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" + + "\x04type\x18\x02 \x01(\tR\x04type\x12\x1a\n" + + "\brequired\x18\x03 \x01(\bR\brequired\x12#\n" + + "\rdefault_value\x18\x04 \x01(\tR\fdefaultValue\x12\x12\n" + + "\x04help\x18\x05 \x01(\tR\x04help\"\xeb\x01\n" + + "\x06Symbol\x12$\n" + + "\x02ty\x18\x01 \x01(\v2\x14.com.kcl.api.KclTypeR\x02ty\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12.\n" + + "\x05owner\x18\x03 \x01(\v2\x18.com.kcl.api.SymbolIndexR\x05owner\x12*\n" + + "\x03def\x18\x04 \x01(\v2\x18.com.kcl.api.SymbolIndexR\x03def\x12.\n" + + "\x05attrs\x18\x05 \x03(\v2\x18.com.kcl.api.SymbolIndexR\x05attrs\x12\x1b\n" + + "\tis_global\x18\x06 \x01(\bR\bisGlobal\"\xdf\x01\n" + + "\x05Scope\x12\x12\n" + + "\x04kind\x18\x01 \x01(\tR\x04kind\x12/\n" + + "\x06parent\x18\x02 \x01(\v2\x17.com.kcl.api.ScopeIndexR\x06parent\x12.\n" + + "\x05owner\x18\x03 \x01(\v2\x18.com.kcl.api.SymbolIndexR\x05owner\x123\n" + + "\bchildren\x18\x04 \x03(\v2\x17.com.kcl.api.ScopeIndexR\bchildren\x12,\n" + + "\x04defs\x18\x05 \x03(\v2\x18.com.kcl.api.SymbolIndexR\x04defs\"=\n" + + "\vSymbolIndex\x12\f\n" + + "\x01i\x18\x01 \x01(\x04R\x01i\x12\f\n" + + "\x01g\x18\x02 \x01(\x04R\x01g\x12\x12\n" + + "\x04kind\x18\x03 \x01(\tR\x04kind\"<\n" + + "\n" + + "ScopeIndex\x12\f\n" + + "\x01i\x18\x01 \x01(\x04R\x01i\x12\f\n" + + "\x01g\x18\x02 \x01(\x04R\x01g\x12\x12\n" + + "\x04kind\x18\x03 \x01(\tR\x04kind\"\xb7\x05\n" + + "\x0fExecProgramArgs\x12\x19\n" + + "\bwork_dir\x18\x01 \x01(\tR\aworkDir\x12&\n" + + "\x0fk_filename_list\x18\x02 \x03(\tR\rkFilenameList\x12\x1e\n" + + "\vk_code_list\x18\x03 \x03(\tR\tkCodeList\x12)\n" + + "\x04args\x18\x04 \x03(\v2\x15.com.kcl.api.ArgumentR\x04args\x12\x1c\n" + + "\toverrides\x18\x05 \x03(\tR\toverrides\x12.\n" + + "\x13disable_yaml_result\x18\x06 \x01(\bR\x11disableYamlResult\x12,\n" + + "\x12print_override_ast\x18\a \x01(\bR\x10printOverrideAst\x12,\n" + + "\x12strict_range_check\x18\b \x01(\bR\x10strictRangeCheck\x12!\n" + + "\fdisable_none\x18\t \x01(\bR\vdisableNone\x12\x18\n" + + "\averbose\x18\n" + + " \x01(\x05R\averbose\x12\x14\n" + + "\x05debug\x18\v \x01(\x05R\x05debug\x12\x1b\n" + + "\tsort_keys\x18\f \x01(\bR\bsortKeys\x12=\n" + + "\rexternal_pkgs\x18\r \x03(\v2\x18.com.kcl.api.ExternalPkgR\fexternalPkgs\x127\n" + + "\x18include_schema_type_path\x18\x0e \x01(\bR\x15includeSchemaTypePath\x12!\n" + + "\fcompile_only\x18\x0f \x01(\bR\vcompileOnly\x12\x1f\n" + + "\vshow_hidden\x18\x10 \x01(\bR\n" + + "showHidden\x12#\n" + + "\rpath_selector\x18\x11 \x03(\tR\fpathSelector\x12\x1b\n" + + "\tfast_eval\x18\x12 \x01(\bR\bfastEval\"\x97\x01\n" + + "\x11ExecProgramResult\x12\x1f\n" + + "\vjson_result\x18\x01 \x01(\tR\n" + + "jsonResult\x12\x1f\n" + + "\vyaml_result\x18\x02 \x01(\tR\n" + + "yamlResult\x12\x1f\n" + + "\vlog_message\x18\x03 \x01(\tR\n" + + "logMessage\x12\x1f\n" + + "\verr_message\x18\x04 \x01(\tR\n" + + "errMessage\"e\n" + + "\x10BuildProgramArgs\x129\n" + + "\texec_args\x18\x01 \x01(\v2\x1c.com.kcl.api.ExecProgramArgsR\bexecArgs\x12\x16\n" + + "\x06output\x18\x02 \x01(\tR\x06output\"(\n" + + "\x12BuildProgramResult\x12\x12\n" + + "\x04path\x18\x01 \x01(\tR\x04path\"a\n" + + "\x10ExecArtifactArgs\x12\x12\n" + + "\x04path\x18\x01 \x01(\tR\x04path\x129\n" + + "\texec_args\x18\x02 \x01(\v2\x1c.com.kcl.api.ExecProgramArgsR\bexecArgs\"(\n" + + "\x0eFormatCodeArgs\x12\x16\n" + + "\x06source\x18\x01 \x01(\tR\x06source\"0\n" + + "\x10FormatCodeResult\x12\x1c\n" + + "\tformatted\x18\x01 \x01(\fR\tformatted\"$\n" + + "\x0eFormatPathArgs\x12\x12\n" + + "\x04path\x18\x01 \x01(\tR\x04path\"7\n" + + "\x10FormatPathResult\x12#\n" + + "\rchanged_paths\x18\x01 \x03(\tR\fchangedPaths\"$\n" + + "\fLintPathArgs\x12\x14\n" + + "\x05paths\x18\x01 \x03(\tR\x05paths\"*\n" + + "\x0eLintPathResult\x12\x18\n" + + "\aresults\x18\x01 \x03(\tR\aresults\"_\n" + + "\x10OverrideFileArgs\x12\x12\n" + + "\x04file\x18\x01 \x01(\tR\x04file\x12\x14\n" + + "\x05specs\x18\x02 \x03(\tR\x05specs\x12!\n" + + "\fimport_paths\x18\x03 \x03(\tR\vimportPaths\"c\n" + + "\x12OverrideFileResult\x12\x16\n" + + "\x06result\x18\x01 \x01(\bR\x06result\x125\n" + + "\fparse_errors\x18\x02 \x03(\v2\x12.com.kcl.api.ErrorR\vparseErrors\";\n" + + "\x14ListVariablesOptions\x12#\n" + + "\rmerge_program\x18\x01 \x01(\bR\fmergeProgram\"C\n" + + "\fVariableList\x123\n" + + "\tvariables\x18\x01 \x03(\v2\x15.com.kcl.api.VariableR\tvariables\"|\n" + + "\x11ListVariablesArgs\x12\x14\n" + + "\x05files\x18\x01 \x03(\tR\x05files\x12\x14\n" + + "\x05specs\x18\x02 \x03(\tR\x05specs\x12;\n" + + "\aoptions\x18\x03 \x01(\v2!.com.kcl.api.ListVariablesOptionsR\aoptions\"\xa1\x02\n" + + "\x13ListVariablesResult\x12M\n" + + "\tvariables\x18\x01 \x03(\v2/.com.kcl.api.ListVariablesResult.VariablesEntryR\tvariables\x12+\n" + + "\x11unsupported_codes\x18\x02 \x03(\tR\x10unsupportedCodes\x125\n" + + "\fparse_errors\x18\x03 \x03(\v2\x12.com.kcl.api.ErrorR\vparseErrors\x1aW\n" + + "\x0eVariablesEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12/\n" + + "\x05value\x18\x02 \x01(\v2\x19.com.kcl.api.VariableListR\x05value:\x028\x01\"\xc4\x01\n" + + "\bVariable\x12\x14\n" + + "\x05value\x18\x01 \x01(\tR\x05value\x12\x1b\n" + + "\ttype_name\x18\x02 \x01(\tR\btypeName\x12\x15\n" + + "\x06op_sym\x18\x03 \x01(\tR\x05opSym\x124\n" + + "\n" + + "list_items\x18\x04 \x03(\v2\x15.com.kcl.api.VariableR\tlistItems\x128\n" + + "\fdict_entries\x18\x05 \x03(\v2\x15.com.kcl.api.MapEntryR\vdictEntries\"I\n" + + "\bMapEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12+\n" + + "\x05value\x18\x02 \x01(\v2\x15.com.kcl.api.VariableR\x05value\"v\n" + + "\x18GetSchemaTypeMappingArgs\x129\n" + + "\texec_args\x18\x01 \x01(\v2\x1c.com.kcl.api.ExecProgramArgsR\bexecArgs\x12\x1f\n" + + "\vschema_name\x18\x02 \x01(\tR\n" + + "schemaName\"\xe8\x01\n" + + "\x1aGetSchemaTypeMappingResult\x12n\n" + + "\x13schema_type_mapping\x18\x01 \x03(\v2>.com.kcl.api.GetSchemaTypeMappingResult.SchemaTypeMappingEntryR\x11schemaTypeMapping\x1aZ\n" + + "\x16SchemaTypeMappingEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12*\n" + + "\x05value\x18\x02 \x01(\v2\x14.com.kcl.api.KclTypeR\x05value:\x028\x01\"\xfe\x01\n" + + "#GetSchemaTypeMappingUnderPathResult\x12w\n" + + "\x13schema_type_mapping\x18\x01 \x03(\v2G.com.kcl.api.GetSchemaTypeMappingUnderPathResult.SchemaTypeMappingEntryR\x11schemaTypeMapping\x1a^\n" + + "\x16SchemaTypeMappingEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12.\n" + + "\x05value\x18\x02 \x01(\v2\x18.com.kcl.api.SchemaTypesR\x05value:\x028\x01\"D\n" + + "\vSchemaTypes\x125\n" + + "\vschema_type\x18\x01 \x03(\v2\x14.com.kcl.api.KclTypeR\n" + + "schemaType\"\x80\x02\n" + + "\x10ValidateCodeArgs\x12\x1a\n" + + "\bdatafile\x18\x01 \x01(\tR\bdatafile\x12\x12\n" + + "\x04data\x18\x02 \x01(\tR\x04data\x12\x12\n" + + "\x04file\x18\x03 \x01(\tR\x04file\x12\x12\n" + + "\x04code\x18\x04 \x01(\tR\x04code\x12\x16\n" + + "\x06schema\x18\x05 \x01(\tR\x06schema\x12%\n" + + "\x0eattribute_name\x18\x06 \x01(\tR\rattributeName\x12\x16\n" + + "\x06format\x18\a \x01(\tR\x06format\x12=\n" + + "\rexternal_pkgs\x18\b \x03(\v2\x18.com.kcl.api.ExternalPkgR\fexternalPkgs\"O\n" + + "\x12ValidateCodeResult\x12\x18\n" + + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" + + "\verr_message\x18\x02 \x01(\tR\n" + + "errMessage\"R\n" + + "\bPosition\x12\x12\n" + + "\x04line\x18\x01 \x01(\x03R\x04line\x12\x16\n" + + "\x06column\x18\x02 \x01(\x03R\x06column\x12\x1a\n" + + "\bfilename\x18\x03 \x01(\tR\bfilename\"\x98\x01\n" + + "\x10ListDepFilesArgs\x12\x19\n" + + "\bwork_dir\x18\x01 \x01(\tR\aworkDir\x12 \n" + + "\fuse_abs_path\x18\x02 \x01(\bR\n" + + "useAbsPath\x12\x1f\n" + + "\vinclude_all\x18\x03 \x01(\bR\n" + + "includeAll\x12&\n" + + "\x0fuse_fast_parser\x18\x04 \x01(\bR\ruseFastParser\"^\n" + + "\x12ListDepFilesResult\x12\x18\n" + + "\apkgroot\x18\x01 \x01(\tR\apkgroot\x12\x18\n" + + "\apkgpath\x18\x02 \x01(\tR\apkgpath\x12\x14\n" + + "\x05files\x18\x03 \x03(\tR\x05files\"H\n" + + "\x15LoadSettingsFilesArgs\x12\x19\n" + + "\bwork_dir\x18\x01 \x01(\tR\aworkDir\x12\x14\n" + + "\x05files\x18\x02 \x03(\tR\x05files\"\x95\x01\n" + + "\x17LoadSettingsFilesResult\x12>\n" + + "\x0fkcl_cli_configs\x18\x01 \x01(\v2\x16.com.kcl.api.CliConfigR\rkclCliConfigs\x12:\n" + + "\vkcl_options\x18\x02 \x03(\v2\x19.com.kcl.api.KeyValuePairR\n" + + "kclOptions\"\x91\x03\n" + + "\tCliConfig\x12\x14\n" + + "\x05files\x18\x01 \x03(\tR\x05files\x12\x16\n" + + "\x06output\x18\x02 \x01(\tR\x06output\x12\x1c\n" + + "\toverrides\x18\x03 \x03(\tR\toverrides\x12#\n" + + "\rpath_selector\x18\x04 \x03(\tR\fpathSelector\x12,\n" + + "\x12strict_range_check\x18\x05 \x01(\bR\x10strictRangeCheck\x12!\n" + + "\fdisable_none\x18\x06 \x01(\bR\vdisableNone\x12\x18\n" + + "\averbose\x18\a \x01(\x03R\averbose\x12\x14\n" + + "\x05debug\x18\b \x01(\bR\x05debug\x12\x1b\n" + + "\tsort_keys\x18\t \x01(\bR\bsortKeys\x12\x1f\n" + + "\vshow_hidden\x18\n" + + " \x01(\bR\n" + + "showHidden\x127\n" + + "\x18include_schema_type_path\x18\v \x01(\bR\x15includeSchemaTypePath\x12\x1b\n" + + "\tfast_eval\x18\f \x01(\bR\bfastEval\"6\n" + + "\fKeyValuePair\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value\"\x8a\x01\n" + + "\n" + + "RenameArgs\x12!\n" + + "\fpackage_root\x18\x01 \x01(\tR\vpackageRoot\x12\x1f\n" + + "\vsymbol_path\x18\x02 \x01(\tR\n" + + "symbolPath\x12\x1d\n" + + "\n" + + "file_paths\x18\x03 \x03(\tR\tfilePaths\x12\x19\n" + + "\bnew_name\x18\x04 \x01(\tR\anewName\"3\n" + + "\fRenameResult\x12#\n" + + "\rchanged_files\x18\x01 \x03(\tR\fchangedFiles\"\x80\x02\n" + + "\x0eRenameCodeArgs\x12!\n" + + "\fpackage_root\x18\x01 \x01(\tR\vpackageRoot\x12\x1f\n" + + "\vsymbol_path\x18\x02 \x01(\tR\n" + + "symbolPath\x12O\n" + + "\fsource_codes\x18\x03 \x03(\v2,.com.kcl.api.RenameCodeArgs.SourceCodesEntryR\vsourceCodes\x12\x19\n" + + "\bnew_name\x18\x04 \x01(\tR\anewName\x1a>\n" + + "\x10SourceCodesEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xa9\x01\n" + + "\x10RenameCodeResult\x12T\n" + + "\rchanged_codes\x18\x01 \x03(\v2/.com.kcl.api.RenameCodeResult.ChangedCodesEntryR\fchangedCodes\x1a?\n" + + "\x11ChangedCodesEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x9c\x01\n" + + "\bTestArgs\x129\n" + + "\texec_args\x18\x01 \x01(\v2\x1c.com.kcl.api.ExecProgramArgsR\bexecArgs\x12\x19\n" + + "\bpkg_list\x18\x02 \x03(\tR\apkgList\x12\x1d\n" + + "\n" + + "run_regexp\x18\x03 \x01(\tR\trunRegexp\x12\x1b\n" + + "\tfail_fast\x18\x04 \x01(\bR\bfailFast\";\n" + + "\n" + + "TestResult\x12-\n" + + "\x04info\x18\x02 \x03(\v2\x19.com.kcl.api.TestCaseInfoR\x04info\"u\n" + + "\fTestCaseInfo\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" + + "\x05error\x18\x02 \x01(\tR\x05error\x12\x1a\n" + + "\bduration\x18\x03 \x01(\x04R\bduration\x12\x1f\n" + + "\vlog_message\x18\x04 \x01(\tR\n" + + "logMessage\"U\n" + + "\x16UpdateDependenciesArgs\x12#\n" + + "\rmanifest_path\x18\x01 \x01(\tR\fmanifestPath\x12\x16\n" + + "\x06vendor\x18\x02 \x01(\bR\x06vendor\"Y\n" + + "\x18UpdateDependenciesResult\x12=\n" + + "\rexternal_pkgs\x18\x03 \x03(\v2\x18.com.kcl.api.ExternalPkgR\fexternalPkgs\"\xa6\x06\n" + + "\aKclType\x12\x12\n" + + "\x04type\x18\x01 \x01(\tR\x04type\x125\n" + + "\vunion_types\x18\x02 \x03(\v2\x14.com.kcl.api.KclTypeR\n" + + "unionTypes\x12\x18\n" + + "\adefault\x18\x03 \x01(\tR\adefault\x12\x1f\n" + + "\vschema_name\x18\x04 \x01(\tR\n" + + "schemaName\x12\x1d\n" + + "\n" + + "schema_doc\x18\x05 \x01(\tR\tschemaDoc\x12D\n" + + "\n" + + "properties\x18\x06 \x03(\v2$.com.kcl.api.KclType.PropertiesEntryR\n" + + "properties\x12\x1a\n" + + "\brequired\x18\a \x03(\tR\brequired\x12&\n" + + "\x03key\x18\b \x01(\v2\x14.com.kcl.api.KclTypeR\x03key\x12(\n" + + "\x04item\x18\t \x01(\v2\x14.com.kcl.api.KclTypeR\x04item\x12\x12\n" + + "\x04line\x18\n" + + " \x01(\x05R\x04line\x126\n" + + "\n" + + "decorators\x18\v \x03(\v2\x16.com.kcl.api.DecoratorR\n" + + "decorators\x12\x1a\n" + + "\bfilename\x18\f \x01(\tR\bfilename\x12\x19\n" + + "\bpkg_path\x18\r \x01(\tR\apkgPath\x12 \n" + + "\vdescription\x18\x0e \x01(\tR\vdescription\x12>\n" + + "\bexamples\x18\x0f \x03(\v2\".com.kcl.api.KclType.ExamplesEntryR\bexamples\x125\n" + + "\vbase_schema\x18\x10 \x01(\v2\x14.com.kcl.api.KclTypeR\n" + + "baseSchema\x1aS\n" + + "\x0fPropertiesEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12*\n" + + "\x05value\x18\x02 \x01(\v2\x14.com.kcl.api.KclTypeR\x05value:\x028\x01\x1aQ\n" + + "\rExamplesEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12*\n" + + "\x05value\x18\x02 \x01(\v2\x14.com.kcl.api.ExampleR\x05value:\x028\x01\"\xbc\x01\n" + + "\tDecorator\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12\x1c\n" + + "\targuments\x18\x02 \x03(\tR\targuments\x12@\n" + + "\bkeywords\x18\x03 \x03(\v2$.com.kcl.api.Decorator.KeywordsEntryR\bkeywords\x1a;\n" + + "\rKeywordsEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"[\n" + + "\aExample\x12\x18\n" + + "\asummary\x18\x01 \x01(\tR\asummary\x12 \n" + + "\vdescription\x18\x02 \x01(\tR\vdescription\x12\x14\n" + + "\x05value\x18\x03 \x01(\tR\x05value2\x92\x01\n" + + "\x0eBuiltinService\x126\n" + + "\x04Ping\x12\x15.com.kcl.api.PingArgs\x1a\x17.com.kcl.api.PingResult\x12H\n" + + "\n" + + "ListMethod\x12\x1b.com.kcl.api.ListMethodArgs\x1a\x1d.com.kcl.api.ListMethodResult2\xb0\r\n" + + "\n" + + "KclService\x126\n" + + "\x04Ping\x12\x15.com.kcl.api.PingArgs\x1a\x17.com.kcl.api.PingResult\x12H\n" + + "\n" + + "GetVersion\x12\x1b.com.kcl.api.GetVersionArgs\x1a\x1d.com.kcl.api.GetVersionResult\x12N\n" + + "\fParseProgram\x12\x1d.com.kcl.api.ParseProgramArgs\x1a\x1f.com.kcl.api.ParseProgramResult\x12E\n" + + "\tParseFile\x12\x1a.com.kcl.api.ParseFileArgs\x1a\x1c.com.kcl.api.ParseFileResult\x12K\n" + + "\vLoadPackage\x12\x1c.com.kcl.api.LoadPackageArgs\x1a\x1e.com.kcl.api.LoadPackageResult\x12L\n" + + "\vListOptions\x12\x1d.com.kcl.api.ParseProgramArgs\x1a\x1e.com.kcl.api.ListOptionsResult\x12Q\n" + + "\rListVariables\x12\x1e.com.kcl.api.ListVariablesArgs\x1a .com.kcl.api.ListVariablesResult\x12K\n" + + "\vExecProgram\x12\x1c.com.kcl.api.ExecProgramArgs\x1a\x1e.com.kcl.api.ExecProgramResult\x12N\n" + + "\fBuildProgram\x12\x1d.com.kcl.api.BuildProgramArgs\x1a\x1f.com.kcl.api.BuildProgramResult\x12M\n" + + "\fExecArtifact\x12\x1d.com.kcl.api.ExecArtifactArgs\x1a\x1e.com.kcl.api.ExecProgramResult\x12N\n" + + "\fOverrideFile\x12\x1d.com.kcl.api.OverrideFileArgs\x1a\x1f.com.kcl.api.OverrideFileResult\x12f\n" + + "\x14GetSchemaTypeMapping\x12%.com.kcl.api.GetSchemaTypeMappingArgs\x1a'.com.kcl.api.GetSchemaTypeMappingResult\x12H\n" + + "\n" + + "FormatCode\x12\x1b.com.kcl.api.FormatCodeArgs\x1a\x1d.com.kcl.api.FormatCodeResult\x12H\n" + + "\n" + + "FormatPath\x12\x1b.com.kcl.api.FormatPathArgs\x1a\x1d.com.kcl.api.FormatPathResult\x12B\n" + + "\bLintPath\x12\x19.com.kcl.api.LintPathArgs\x1a\x1b.com.kcl.api.LintPathResult\x12N\n" + + "\fValidateCode\x12\x1d.com.kcl.api.ValidateCodeArgs\x1a\x1f.com.kcl.api.ValidateCodeResult\x12N\n" + + "\fListDepFiles\x12\x1d.com.kcl.api.ListDepFilesArgs\x1a\x1f.com.kcl.api.ListDepFilesResult\x12]\n" + + "\x11LoadSettingsFiles\x12\".com.kcl.api.LoadSettingsFilesArgs\x1a$.com.kcl.api.LoadSettingsFilesResult\x12<\n" + + "\x06Rename\x12\x17.com.kcl.api.RenameArgs\x1a\x19.com.kcl.api.RenameResult\x12H\n" + + "\n" + + "RenameCode\x12\x1b.com.kcl.api.RenameCodeArgs\x1a\x1d.com.kcl.api.RenameCodeResult\x126\n" + + "\x04Test\x12\x15.com.kcl.api.TestArgs\x1a\x17.com.kcl.api.TestResult\x12`\n" + + "\x12UpdateDependencies\x12#.com.kcl.api.UpdateDependenciesArgs\x1a%.com.kcl.api.UpdateDependenciesResultB\x14Z\x05.;api\xaa\x02\n" + + "KclLib.APIb\x06proto3" var ( file_spec_proto_rawDescOnce sync.Once - file_spec_proto_rawDescData = file_spec_proto_rawDesc + file_spec_proto_rawDescData []byte ) func file_spec_proto_rawDescGZIP() []byte { file_spec_proto_rawDescOnce.Do(func() { - file_spec_proto_rawDescData = protoimpl.X.CompressGZIP(file_spec_proto_rawDescData) + file_spec_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_spec_proto_rawDesc), len(file_spec_proto_rawDesc))) }) return file_spec_proto_rawDescData } -var file_spec_proto_msgTypes = make([]protoimpl.MessageInfo, 77) +var file_spec_proto_msgTypes = make([]protoimpl.MessageInfo, 80) var file_spec_proto_goTypes = []any{ - (*ExternalPkg)(nil), // 0: com.kcl.api.ExternalPkg - (*Argument)(nil), // 1: com.kcl.api.Argument - (*Error)(nil), // 2: com.kcl.api.Error - (*Message)(nil), // 3: com.kcl.api.Message - (*Ping_Args)(nil), // 4: com.kcl.api.Ping_Args - (*Ping_Result)(nil), // 5: com.kcl.api.Ping_Result - (*GetVersion_Args)(nil), // 6: com.kcl.api.GetVersion_Args - (*GetVersion_Result)(nil), // 7: com.kcl.api.GetVersion_Result - (*ListMethod_Args)(nil), // 8: com.kcl.api.ListMethod_Args - (*ListMethod_Result)(nil), // 9: com.kcl.api.ListMethod_Result - (*ParseFile_Args)(nil), // 10: com.kcl.api.ParseFile_Args - (*ParseFile_Result)(nil), // 11: com.kcl.api.ParseFile_Result - (*ParseProgram_Args)(nil), // 12: com.kcl.api.ParseProgram_Args - (*ParseProgram_Result)(nil), // 13: com.kcl.api.ParseProgram_Result - (*LoadPackage_Args)(nil), // 14: com.kcl.api.LoadPackage_Args - (*LoadPackage_Result)(nil), // 15: com.kcl.api.LoadPackage_Result - (*ListOptions_Result)(nil), // 16: com.kcl.api.ListOptions_Result - (*OptionHelp)(nil), // 17: com.kcl.api.OptionHelp - (*Symbol)(nil), // 18: com.kcl.api.Symbol - (*Scope)(nil), // 19: com.kcl.api.Scope - (*SymbolIndex)(nil), // 20: com.kcl.api.SymbolIndex - (*ScopeIndex)(nil), // 21: com.kcl.api.ScopeIndex - (*ExecProgram_Args)(nil), // 22: com.kcl.api.ExecProgram_Args - (*ExecProgram_Result)(nil), // 23: com.kcl.api.ExecProgram_Result - (*BuildProgram_Args)(nil), // 24: com.kcl.api.BuildProgram_Args - (*BuildProgram_Result)(nil), // 25: com.kcl.api.BuildProgram_Result - (*ExecArtifact_Args)(nil), // 26: com.kcl.api.ExecArtifact_Args - (*FormatCode_Args)(nil), // 27: com.kcl.api.FormatCode_Args - (*FormatCode_Result)(nil), // 28: com.kcl.api.FormatCode_Result - (*FormatPath_Args)(nil), // 29: com.kcl.api.FormatPath_Args - (*FormatPath_Result)(nil), // 30: com.kcl.api.FormatPath_Result - (*LintPath_Args)(nil), // 31: com.kcl.api.LintPath_Args - (*LintPath_Result)(nil), // 32: com.kcl.api.LintPath_Result - (*OverrideFile_Args)(nil), // 33: com.kcl.api.OverrideFile_Args - (*OverrideFile_Result)(nil), // 34: com.kcl.api.OverrideFile_Result - (*ListVariables_Options)(nil), // 35: com.kcl.api.ListVariables_Options - (*VariableList)(nil), // 36: com.kcl.api.VariableList - (*ListVariables_Args)(nil), // 37: com.kcl.api.ListVariables_Args - (*ListVariables_Result)(nil), // 38: com.kcl.api.ListVariables_Result - (*Variable)(nil), // 39: com.kcl.api.Variable - (*MapEntry)(nil), // 40: com.kcl.api.MapEntry - (*GetSchemaTypeMapping_Args)(nil), // 41: com.kcl.api.GetSchemaTypeMapping_Args - (*GetSchemaTypeMapping_Result)(nil), // 42: com.kcl.api.GetSchemaTypeMapping_Result - (*ValidateCode_Args)(nil), // 43: com.kcl.api.ValidateCode_Args - (*ValidateCode_Result)(nil), // 44: com.kcl.api.ValidateCode_Result - (*Position)(nil), // 45: com.kcl.api.Position - (*ListDepFiles_Args)(nil), // 46: com.kcl.api.ListDepFiles_Args - (*ListDepFiles_Result)(nil), // 47: com.kcl.api.ListDepFiles_Result - (*LoadSettingsFiles_Args)(nil), // 48: com.kcl.api.LoadSettingsFiles_Args - (*LoadSettingsFiles_Result)(nil), // 49: com.kcl.api.LoadSettingsFiles_Result - (*CliConfig)(nil), // 50: com.kcl.api.CliConfig - (*KeyValuePair)(nil), // 51: com.kcl.api.KeyValuePair - (*Rename_Args)(nil), // 52: com.kcl.api.Rename_Args - (*Rename_Result)(nil), // 53: com.kcl.api.Rename_Result - (*RenameCode_Args)(nil), // 54: com.kcl.api.RenameCode_Args - (*RenameCode_Result)(nil), // 55: com.kcl.api.RenameCode_Result - (*Test_Args)(nil), // 56: com.kcl.api.Test_Args - (*Test_Result)(nil), // 57: com.kcl.api.Test_Result - (*TestCaseInfo)(nil), // 58: com.kcl.api.TestCaseInfo - (*UpdateDependencies_Args)(nil), // 59: com.kcl.api.UpdateDependencies_Args - (*UpdateDependencies_Result)(nil), // 60: com.kcl.api.UpdateDependencies_Result - (*KclType)(nil), // 61: com.kcl.api.KclType - (*Decorator)(nil), // 62: com.kcl.api.Decorator - (*Example)(nil), // 63: com.kcl.api.Example - nil, // 64: com.kcl.api.LoadPackage_Result.ScopesEntry - nil, // 65: com.kcl.api.LoadPackage_Result.SymbolsEntry - nil, // 66: com.kcl.api.LoadPackage_Result.NodeSymbolMapEntry - nil, // 67: com.kcl.api.LoadPackage_Result.SymbolNodeMapEntry - nil, // 68: com.kcl.api.LoadPackage_Result.FullyQualifiedNameMapEntry - nil, // 69: com.kcl.api.LoadPackage_Result.PkgScopeMapEntry - nil, // 70: com.kcl.api.ListVariables_Result.VariablesEntry - nil, // 71: com.kcl.api.GetSchemaTypeMapping_Result.SchemaTypeMappingEntry - nil, // 72: com.kcl.api.RenameCode_Args.SourceCodesEntry - nil, // 73: com.kcl.api.RenameCode_Result.ChangedCodesEntry - nil, // 74: com.kcl.api.KclType.PropertiesEntry - nil, // 75: com.kcl.api.KclType.ExamplesEntry - nil, // 76: com.kcl.api.Decorator.KeywordsEntry + (*ExternalPkg)(nil), // 0: com.kcl.api.ExternalPkg + (*Argument)(nil), // 1: com.kcl.api.Argument + (*Error)(nil), // 2: com.kcl.api.Error + (*Message)(nil), // 3: com.kcl.api.Message + (*PingArgs)(nil), // 4: com.kcl.api.PingArgs + (*PingResult)(nil), // 5: com.kcl.api.PingResult + (*GetVersionArgs)(nil), // 6: com.kcl.api.GetVersionArgs + (*GetVersionResult)(nil), // 7: com.kcl.api.GetVersionResult + (*ListMethodArgs)(nil), // 8: com.kcl.api.ListMethodArgs + (*ListMethodResult)(nil), // 9: com.kcl.api.ListMethodResult + (*ParseFileArgs)(nil), // 10: com.kcl.api.ParseFileArgs + (*ParseFileResult)(nil), // 11: com.kcl.api.ParseFileResult + (*ParseProgramArgs)(nil), // 12: com.kcl.api.ParseProgramArgs + (*ParseProgramResult)(nil), // 13: com.kcl.api.ParseProgramResult + (*LoadPackageArgs)(nil), // 14: com.kcl.api.LoadPackageArgs + (*LoadPackageResult)(nil), // 15: com.kcl.api.LoadPackageResult + (*ListOptionsResult)(nil), // 16: com.kcl.api.ListOptionsResult + (*OptionHelp)(nil), // 17: com.kcl.api.OptionHelp + (*Symbol)(nil), // 18: com.kcl.api.Symbol + (*Scope)(nil), // 19: com.kcl.api.Scope + (*SymbolIndex)(nil), // 20: com.kcl.api.SymbolIndex + (*ScopeIndex)(nil), // 21: com.kcl.api.ScopeIndex + (*ExecProgramArgs)(nil), // 22: com.kcl.api.ExecProgramArgs + (*ExecProgramResult)(nil), // 23: com.kcl.api.ExecProgramResult + (*BuildProgramArgs)(nil), // 24: com.kcl.api.BuildProgramArgs + (*BuildProgramResult)(nil), // 25: com.kcl.api.BuildProgramResult + (*ExecArtifactArgs)(nil), // 26: com.kcl.api.ExecArtifactArgs + (*FormatCodeArgs)(nil), // 27: com.kcl.api.FormatCodeArgs + (*FormatCodeResult)(nil), // 28: com.kcl.api.FormatCodeResult + (*FormatPathArgs)(nil), // 29: com.kcl.api.FormatPathArgs + (*FormatPathResult)(nil), // 30: com.kcl.api.FormatPathResult + (*LintPathArgs)(nil), // 31: com.kcl.api.LintPathArgs + (*LintPathResult)(nil), // 32: com.kcl.api.LintPathResult + (*OverrideFileArgs)(nil), // 33: com.kcl.api.OverrideFileArgs + (*OverrideFileResult)(nil), // 34: com.kcl.api.OverrideFileResult + (*ListVariablesOptions)(nil), // 35: com.kcl.api.ListVariablesOptions + (*VariableList)(nil), // 36: com.kcl.api.VariableList + (*ListVariablesArgs)(nil), // 37: com.kcl.api.ListVariablesArgs + (*ListVariablesResult)(nil), // 38: com.kcl.api.ListVariablesResult + (*Variable)(nil), // 39: com.kcl.api.Variable + (*MapEntry)(nil), // 40: com.kcl.api.MapEntry + (*GetSchemaTypeMappingArgs)(nil), // 41: com.kcl.api.GetSchemaTypeMappingArgs + (*GetSchemaTypeMappingResult)(nil), // 42: com.kcl.api.GetSchemaTypeMappingResult + (*GetSchemaTypeMappingUnderPathResult)(nil), // 43: com.kcl.api.GetSchemaTypeMappingUnderPathResult + (*SchemaTypes)(nil), // 44: com.kcl.api.SchemaTypes + (*ValidateCodeArgs)(nil), // 45: com.kcl.api.ValidateCodeArgs + (*ValidateCodeResult)(nil), // 46: com.kcl.api.ValidateCodeResult + (*Position)(nil), // 47: com.kcl.api.Position + (*ListDepFilesArgs)(nil), // 48: com.kcl.api.ListDepFilesArgs + (*ListDepFilesResult)(nil), // 49: com.kcl.api.ListDepFilesResult + (*LoadSettingsFilesArgs)(nil), // 50: com.kcl.api.LoadSettingsFilesArgs + (*LoadSettingsFilesResult)(nil), // 51: com.kcl.api.LoadSettingsFilesResult + (*CliConfig)(nil), // 52: com.kcl.api.CliConfig + (*KeyValuePair)(nil), // 53: com.kcl.api.KeyValuePair + (*RenameArgs)(nil), // 54: com.kcl.api.RenameArgs + (*RenameResult)(nil), // 55: com.kcl.api.RenameResult + (*RenameCodeArgs)(nil), // 56: com.kcl.api.RenameCodeArgs + (*RenameCodeResult)(nil), // 57: com.kcl.api.RenameCodeResult + (*TestArgs)(nil), // 58: com.kcl.api.TestArgs + (*TestResult)(nil), // 59: com.kcl.api.TestResult + (*TestCaseInfo)(nil), // 60: com.kcl.api.TestCaseInfo + (*UpdateDependenciesArgs)(nil), // 61: com.kcl.api.UpdateDependenciesArgs + (*UpdateDependenciesResult)(nil), // 62: com.kcl.api.UpdateDependenciesResult + (*KclType)(nil), // 63: com.kcl.api.KclType + (*Decorator)(nil), // 64: com.kcl.api.Decorator + (*Example)(nil), // 65: com.kcl.api.Example + nil, // 66: com.kcl.api.LoadPackageResult.ScopesEntry + nil, // 67: com.kcl.api.LoadPackageResult.SymbolsEntry + nil, // 68: com.kcl.api.LoadPackageResult.NodeSymbolMapEntry + nil, // 69: com.kcl.api.LoadPackageResult.SymbolNodeMapEntry + nil, // 70: com.kcl.api.LoadPackageResult.FullyQualifiedNameMapEntry + nil, // 71: com.kcl.api.LoadPackageResult.PkgScopeMapEntry + nil, // 72: com.kcl.api.ListVariablesResult.VariablesEntry + nil, // 73: com.kcl.api.GetSchemaTypeMappingResult.SchemaTypeMappingEntry + nil, // 74: com.kcl.api.GetSchemaTypeMappingUnderPathResult.SchemaTypeMappingEntry + nil, // 75: com.kcl.api.RenameCodeArgs.SourceCodesEntry + nil, // 76: com.kcl.api.RenameCodeResult.ChangedCodesEntry + nil, // 77: com.kcl.api.KclType.PropertiesEntry + nil, // 78: com.kcl.api.KclType.ExamplesEntry + nil, // 79: com.kcl.api.Decorator.KeywordsEntry } var file_spec_proto_depIdxs = []int32{ 3, // 0: com.kcl.api.Error.messages:type_name -> com.kcl.api.Message - 45, // 1: com.kcl.api.Message.pos:type_name -> com.kcl.api.Position - 0, // 2: com.kcl.api.ParseFile_Args.external_pkgs:type_name -> com.kcl.api.ExternalPkg - 2, // 3: com.kcl.api.ParseFile_Result.errors:type_name -> com.kcl.api.Error - 0, // 4: com.kcl.api.ParseProgram_Args.external_pkgs:type_name -> com.kcl.api.ExternalPkg - 2, // 5: com.kcl.api.ParseProgram_Result.errors:type_name -> com.kcl.api.Error - 12, // 6: com.kcl.api.LoadPackage_Args.parse_args:type_name -> com.kcl.api.ParseProgram_Args - 2, // 7: com.kcl.api.LoadPackage_Result.parse_errors:type_name -> com.kcl.api.Error - 2, // 8: com.kcl.api.LoadPackage_Result.type_errors:type_name -> com.kcl.api.Error - 64, // 9: com.kcl.api.LoadPackage_Result.scopes:type_name -> com.kcl.api.LoadPackage_Result.ScopesEntry - 65, // 10: com.kcl.api.LoadPackage_Result.symbols:type_name -> com.kcl.api.LoadPackage_Result.SymbolsEntry - 66, // 11: com.kcl.api.LoadPackage_Result.node_symbol_map:type_name -> com.kcl.api.LoadPackage_Result.NodeSymbolMapEntry - 67, // 12: com.kcl.api.LoadPackage_Result.symbol_node_map:type_name -> com.kcl.api.LoadPackage_Result.SymbolNodeMapEntry - 68, // 13: com.kcl.api.LoadPackage_Result.fully_qualified_name_map:type_name -> com.kcl.api.LoadPackage_Result.FullyQualifiedNameMapEntry - 69, // 14: com.kcl.api.LoadPackage_Result.pkg_scope_map:type_name -> com.kcl.api.LoadPackage_Result.PkgScopeMapEntry - 17, // 15: com.kcl.api.ListOptions_Result.options:type_name -> com.kcl.api.OptionHelp - 61, // 16: com.kcl.api.Symbol.ty:type_name -> com.kcl.api.KclType + 47, // 1: com.kcl.api.Message.pos:type_name -> com.kcl.api.Position + 0, // 2: com.kcl.api.ParseFileArgs.external_pkgs:type_name -> com.kcl.api.ExternalPkg + 2, // 3: com.kcl.api.ParseFileResult.errors:type_name -> com.kcl.api.Error + 0, // 4: com.kcl.api.ParseProgramArgs.external_pkgs:type_name -> com.kcl.api.ExternalPkg + 2, // 5: com.kcl.api.ParseProgramResult.errors:type_name -> com.kcl.api.Error + 12, // 6: com.kcl.api.LoadPackageArgs.parse_args:type_name -> com.kcl.api.ParseProgramArgs + 2, // 7: com.kcl.api.LoadPackageResult.parse_errors:type_name -> com.kcl.api.Error + 2, // 8: com.kcl.api.LoadPackageResult.type_errors:type_name -> com.kcl.api.Error + 66, // 9: com.kcl.api.LoadPackageResult.scopes:type_name -> com.kcl.api.LoadPackageResult.ScopesEntry + 67, // 10: com.kcl.api.LoadPackageResult.symbols:type_name -> com.kcl.api.LoadPackageResult.SymbolsEntry + 68, // 11: com.kcl.api.LoadPackageResult.node_symbol_map:type_name -> com.kcl.api.LoadPackageResult.NodeSymbolMapEntry + 69, // 12: com.kcl.api.LoadPackageResult.symbol_node_map:type_name -> com.kcl.api.LoadPackageResult.SymbolNodeMapEntry + 70, // 13: com.kcl.api.LoadPackageResult.fully_qualified_name_map:type_name -> com.kcl.api.LoadPackageResult.FullyQualifiedNameMapEntry + 71, // 14: com.kcl.api.LoadPackageResult.pkg_scope_map:type_name -> com.kcl.api.LoadPackageResult.PkgScopeMapEntry + 17, // 15: com.kcl.api.ListOptionsResult.options:type_name -> com.kcl.api.OptionHelp + 63, // 16: com.kcl.api.Symbol.ty:type_name -> com.kcl.api.KclType 20, // 17: com.kcl.api.Symbol.owner:type_name -> com.kcl.api.SymbolIndex 20, // 18: com.kcl.api.Symbol.def:type_name -> com.kcl.api.SymbolIndex 20, // 19: com.kcl.api.Symbol.attrs:type_name -> com.kcl.api.SymbolIndex @@ -5248,97 +4824,101 @@ var file_spec_proto_depIdxs = []int32{ 20, // 21: com.kcl.api.Scope.owner:type_name -> com.kcl.api.SymbolIndex 21, // 22: com.kcl.api.Scope.children:type_name -> com.kcl.api.ScopeIndex 20, // 23: com.kcl.api.Scope.defs:type_name -> com.kcl.api.SymbolIndex - 1, // 24: com.kcl.api.ExecProgram_Args.args:type_name -> com.kcl.api.Argument - 0, // 25: com.kcl.api.ExecProgram_Args.external_pkgs:type_name -> com.kcl.api.ExternalPkg - 22, // 26: com.kcl.api.BuildProgram_Args.exec_args:type_name -> com.kcl.api.ExecProgram_Args - 22, // 27: com.kcl.api.ExecArtifact_Args.exec_args:type_name -> com.kcl.api.ExecProgram_Args - 2, // 28: com.kcl.api.OverrideFile_Result.parse_errors:type_name -> com.kcl.api.Error + 1, // 24: com.kcl.api.ExecProgramArgs.args:type_name -> com.kcl.api.Argument + 0, // 25: com.kcl.api.ExecProgramArgs.external_pkgs:type_name -> com.kcl.api.ExternalPkg + 22, // 26: com.kcl.api.BuildProgramArgs.exec_args:type_name -> com.kcl.api.ExecProgramArgs + 22, // 27: com.kcl.api.ExecArtifactArgs.exec_args:type_name -> com.kcl.api.ExecProgramArgs + 2, // 28: com.kcl.api.OverrideFileResult.parse_errors:type_name -> com.kcl.api.Error 39, // 29: com.kcl.api.VariableList.variables:type_name -> com.kcl.api.Variable - 35, // 30: com.kcl.api.ListVariables_Args.options:type_name -> com.kcl.api.ListVariables_Options - 70, // 31: com.kcl.api.ListVariables_Result.variables:type_name -> com.kcl.api.ListVariables_Result.VariablesEntry - 2, // 32: com.kcl.api.ListVariables_Result.parse_errors:type_name -> com.kcl.api.Error + 35, // 30: com.kcl.api.ListVariablesArgs.options:type_name -> com.kcl.api.ListVariablesOptions + 72, // 31: com.kcl.api.ListVariablesResult.variables:type_name -> com.kcl.api.ListVariablesResult.VariablesEntry + 2, // 32: com.kcl.api.ListVariablesResult.parse_errors:type_name -> com.kcl.api.Error 39, // 33: com.kcl.api.Variable.list_items:type_name -> com.kcl.api.Variable 40, // 34: com.kcl.api.Variable.dict_entries:type_name -> com.kcl.api.MapEntry 39, // 35: com.kcl.api.MapEntry.value:type_name -> com.kcl.api.Variable - 22, // 36: com.kcl.api.GetSchemaTypeMapping_Args.exec_args:type_name -> com.kcl.api.ExecProgram_Args - 71, // 37: com.kcl.api.GetSchemaTypeMapping_Result.schema_type_mapping:type_name -> com.kcl.api.GetSchemaTypeMapping_Result.SchemaTypeMappingEntry - 50, // 38: com.kcl.api.LoadSettingsFiles_Result.kcl_cli_configs:type_name -> com.kcl.api.CliConfig - 51, // 39: com.kcl.api.LoadSettingsFiles_Result.kcl_options:type_name -> com.kcl.api.KeyValuePair - 72, // 40: com.kcl.api.RenameCode_Args.source_codes:type_name -> com.kcl.api.RenameCode_Args.SourceCodesEntry - 73, // 41: com.kcl.api.RenameCode_Result.changed_codes:type_name -> com.kcl.api.RenameCode_Result.ChangedCodesEntry - 22, // 42: com.kcl.api.Test_Args.exec_args:type_name -> com.kcl.api.ExecProgram_Args - 58, // 43: com.kcl.api.Test_Result.info:type_name -> com.kcl.api.TestCaseInfo - 0, // 44: com.kcl.api.UpdateDependencies_Result.external_pkgs:type_name -> com.kcl.api.ExternalPkg - 61, // 45: com.kcl.api.KclType.union_types:type_name -> com.kcl.api.KclType - 74, // 46: com.kcl.api.KclType.properties:type_name -> com.kcl.api.KclType.PropertiesEntry - 61, // 47: com.kcl.api.KclType.key:type_name -> com.kcl.api.KclType - 61, // 48: com.kcl.api.KclType.item:type_name -> com.kcl.api.KclType - 62, // 49: com.kcl.api.KclType.decorators:type_name -> com.kcl.api.Decorator - 75, // 50: com.kcl.api.KclType.examples:type_name -> com.kcl.api.KclType.ExamplesEntry - 61, // 51: com.kcl.api.KclType.base_schema:type_name -> com.kcl.api.KclType - 76, // 52: com.kcl.api.Decorator.keywords:type_name -> com.kcl.api.Decorator.KeywordsEntry - 19, // 53: com.kcl.api.LoadPackage_Result.ScopesEntry.value:type_name -> com.kcl.api.Scope - 18, // 54: com.kcl.api.LoadPackage_Result.SymbolsEntry.value:type_name -> com.kcl.api.Symbol - 20, // 55: com.kcl.api.LoadPackage_Result.NodeSymbolMapEntry.value:type_name -> com.kcl.api.SymbolIndex - 20, // 56: com.kcl.api.LoadPackage_Result.FullyQualifiedNameMapEntry.value:type_name -> com.kcl.api.SymbolIndex - 21, // 57: com.kcl.api.LoadPackage_Result.PkgScopeMapEntry.value:type_name -> com.kcl.api.ScopeIndex - 36, // 58: com.kcl.api.ListVariables_Result.VariablesEntry.value:type_name -> com.kcl.api.VariableList - 61, // 59: com.kcl.api.GetSchemaTypeMapping_Result.SchemaTypeMappingEntry.value:type_name -> com.kcl.api.KclType - 61, // 60: com.kcl.api.KclType.PropertiesEntry.value:type_name -> com.kcl.api.KclType - 63, // 61: com.kcl.api.KclType.ExamplesEntry.value:type_name -> com.kcl.api.Example - 4, // 62: com.kcl.api.BuiltinService.Ping:input_type -> com.kcl.api.Ping_Args - 8, // 63: com.kcl.api.BuiltinService.ListMethod:input_type -> com.kcl.api.ListMethod_Args - 4, // 64: com.kcl.api.KclvmService.Ping:input_type -> com.kcl.api.Ping_Args - 6, // 65: com.kcl.api.KclvmService.GetVersion:input_type -> com.kcl.api.GetVersion_Args - 12, // 66: com.kcl.api.KclvmService.ParseProgram:input_type -> com.kcl.api.ParseProgram_Args - 10, // 67: com.kcl.api.KclvmService.ParseFile:input_type -> com.kcl.api.ParseFile_Args - 14, // 68: com.kcl.api.KclvmService.LoadPackage:input_type -> com.kcl.api.LoadPackage_Args - 12, // 69: com.kcl.api.KclvmService.ListOptions:input_type -> com.kcl.api.ParseProgram_Args - 37, // 70: com.kcl.api.KclvmService.ListVariables:input_type -> com.kcl.api.ListVariables_Args - 22, // 71: com.kcl.api.KclvmService.ExecProgram:input_type -> com.kcl.api.ExecProgram_Args - 24, // 72: com.kcl.api.KclvmService.BuildProgram:input_type -> com.kcl.api.BuildProgram_Args - 26, // 73: com.kcl.api.KclvmService.ExecArtifact:input_type -> com.kcl.api.ExecArtifact_Args - 33, // 74: com.kcl.api.KclvmService.OverrideFile:input_type -> com.kcl.api.OverrideFile_Args - 41, // 75: com.kcl.api.KclvmService.GetSchemaTypeMapping:input_type -> com.kcl.api.GetSchemaTypeMapping_Args - 27, // 76: com.kcl.api.KclvmService.FormatCode:input_type -> com.kcl.api.FormatCode_Args - 29, // 77: com.kcl.api.KclvmService.FormatPath:input_type -> com.kcl.api.FormatPath_Args - 31, // 78: com.kcl.api.KclvmService.LintPath:input_type -> com.kcl.api.LintPath_Args - 43, // 79: com.kcl.api.KclvmService.ValidateCode:input_type -> com.kcl.api.ValidateCode_Args - 46, // 80: com.kcl.api.KclvmService.ListDepFiles:input_type -> com.kcl.api.ListDepFiles_Args - 48, // 81: com.kcl.api.KclvmService.LoadSettingsFiles:input_type -> com.kcl.api.LoadSettingsFiles_Args - 52, // 82: com.kcl.api.KclvmService.Rename:input_type -> com.kcl.api.Rename_Args - 54, // 83: com.kcl.api.KclvmService.RenameCode:input_type -> com.kcl.api.RenameCode_Args - 56, // 84: com.kcl.api.KclvmService.Test:input_type -> com.kcl.api.Test_Args - 59, // 85: com.kcl.api.KclvmService.UpdateDependencies:input_type -> com.kcl.api.UpdateDependencies_Args - 5, // 86: com.kcl.api.BuiltinService.Ping:output_type -> com.kcl.api.Ping_Result - 9, // 87: com.kcl.api.BuiltinService.ListMethod:output_type -> com.kcl.api.ListMethod_Result - 5, // 88: com.kcl.api.KclvmService.Ping:output_type -> com.kcl.api.Ping_Result - 7, // 89: com.kcl.api.KclvmService.GetVersion:output_type -> com.kcl.api.GetVersion_Result - 13, // 90: com.kcl.api.KclvmService.ParseProgram:output_type -> com.kcl.api.ParseProgram_Result - 11, // 91: com.kcl.api.KclvmService.ParseFile:output_type -> com.kcl.api.ParseFile_Result - 15, // 92: com.kcl.api.KclvmService.LoadPackage:output_type -> com.kcl.api.LoadPackage_Result - 16, // 93: com.kcl.api.KclvmService.ListOptions:output_type -> com.kcl.api.ListOptions_Result - 38, // 94: com.kcl.api.KclvmService.ListVariables:output_type -> com.kcl.api.ListVariables_Result - 23, // 95: com.kcl.api.KclvmService.ExecProgram:output_type -> com.kcl.api.ExecProgram_Result - 25, // 96: com.kcl.api.KclvmService.BuildProgram:output_type -> com.kcl.api.BuildProgram_Result - 23, // 97: com.kcl.api.KclvmService.ExecArtifact:output_type -> com.kcl.api.ExecProgram_Result - 34, // 98: com.kcl.api.KclvmService.OverrideFile:output_type -> com.kcl.api.OverrideFile_Result - 42, // 99: com.kcl.api.KclvmService.GetSchemaTypeMapping:output_type -> com.kcl.api.GetSchemaTypeMapping_Result - 28, // 100: com.kcl.api.KclvmService.FormatCode:output_type -> com.kcl.api.FormatCode_Result - 30, // 101: com.kcl.api.KclvmService.FormatPath:output_type -> com.kcl.api.FormatPath_Result - 32, // 102: com.kcl.api.KclvmService.LintPath:output_type -> com.kcl.api.LintPath_Result - 44, // 103: com.kcl.api.KclvmService.ValidateCode:output_type -> com.kcl.api.ValidateCode_Result - 47, // 104: com.kcl.api.KclvmService.ListDepFiles:output_type -> com.kcl.api.ListDepFiles_Result - 49, // 105: com.kcl.api.KclvmService.LoadSettingsFiles:output_type -> com.kcl.api.LoadSettingsFiles_Result - 53, // 106: com.kcl.api.KclvmService.Rename:output_type -> com.kcl.api.Rename_Result - 55, // 107: com.kcl.api.KclvmService.RenameCode:output_type -> com.kcl.api.RenameCode_Result - 57, // 108: com.kcl.api.KclvmService.Test:output_type -> com.kcl.api.Test_Result - 60, // 109: com.kcl.api.KclvmService.UpdateDependencies:output_type -> com.kcl.api.UpdateDependencies_Result - 86, // [86:110] is the sub-list for method output_type - 62, // [62:86] is the sub-list for method input_type - 62, // [62:62] is the sub-list for extension type_name - 62, // [62:62] is the sub-list for extension extendee - 0, // [0:62] is the sub-list for field type_name + 22, // 36: com.kcl.api.GetSchemaTypeMappingArgs.exec_args:type_name -> com.kcl.api.ExecProgramArgs + 73, // 37: com.kcl.api.GetSchemaTypeMappingResult.schema_type_mapping:type_name -> com.kcl.api.GetSchemaTypeMappingResult.SchemaTypeMappingEntry + 74, // 38: com.kcl.api.GetSchemaTypeMappingUnderPathResult.schema_type_mapping:type_name -> com.kcl.api.GetSchemaTypeMappingUnderPathResult.SchemaTypeMappingEntry + 63, // 39: com.kcl.api.SchemaTypes.schema_type:type_name -> com.kcl.api.KclType + 0, // 40: com.kcl.api.ValidateCodeArgs.external_pkgs:type_name -> com.kcl.api.ExternalPkg + 52, // 41: com.kcl.api.LoadSettingsFilesResult.kcl_cli_configs:type_name -> com.kcl.api.CliConfig + 53, // 42: com.kcl.api.LoadSettingsFilesResult.kcl_options:type_name -> com.kcl.api.KeyValuePair + 75, // 43: com.kcl.api.RenameCodeArgs.source_codes:type_name -> com.kcl.api.RenameCodeArgs.SourceCodesEntry + 76, // 44: com.kcl.api.RenameCodeResult.changed_codes:type_name -> com.kcl.api.RenameCodeResult.ChangedCodesEntry + 22, // 45: com.kcl.api.TestArgs.exec_args:type_name -> com.kcl.api.ExecProgramArgs + 60, // 46: com.kcl.api.TestResult.info:type_name -> com.kcl.api.TestCaseInfo + 0, // 47: com.kcl.api.UpdateDependenciesResult.external_pkgs:type_name -> com.kcl.api.ExternalPkg + 63, // 48: com.kcl.api.KclType.union_types:type_name -> com.kcl.api.KclType + 77, // 49: com.kcl.api.KclType.properties:type_name -> com.kcl.api.KclType.PropertiesEntry + 63, // 50: com.kcl.api.KclType.key:type_name -> com.kcl.api.KclType + 63, // 51: com.kcl.api.KclType.item:type_name -> com.kcl.api.KclType + 64, // 52: com.kcl.api.KclType.decorators:type_name -> com.kcl.api.Decorator + 78, // 53: com.kcl.api.KclType.examples:type_name -> com.kcl.api.KclType.ExamplesEntry + 63, // 54: com.kcl.api.KclType.base_schema:type_name -> com.kcl.api.KclType + 79, // 55: com.kcl.api.Decorator.keywords:type_name -> com.kcl.api.Decorator.KeywordsEntry + 19, // 56: com.kcl.api.LoadPackageResult.ScopesEntry.value:type_name -> com.kcl.api.Scope + 18, // 57: com.kcl.api.LoadPackageResult.SymbolsEntry.value:type_name -> com.kcl.api.Symbol + 20, // 58: com.kcl.api.LoadPackageResult.NodeSymbolMapEntry.value:type_name -> com.kcl.api.SymbolIndex + 20, // 59: com.kcl.api.LoadPackageResult.FullyQualifiedNameMapEntry.value:type_name -> com.kcl.api.SymbolIndex + 21, // 60: com.kcl.api.LoadPackageResult.PkgScopeMapEntry.value:type_name -> com.kcl.api.ScopeIndex + 36, // 61: com.kcl.api.ListVariablesResult.VariablesEntry.value:type_name -> com.kcl.api.VariableList + 63, // 62: com.kcl.api.GetSchemaTypeMappingResult.SchemaTypeMappingEntry.value:type_name -> com.kcl.api.KclType + 44, // 63: com.kcl.api.GetSchemaTypeMappingUnderPathResult.SchemaTypeMappingEntry.value:type_name -> com.kcl.api.SchemaTypes + 63, // 64: com.kcl.api.KclType.PropertiesEntry.value:type_name -> com.kcl.api.KclType + 65, // 65: com.kcl.api.KclType.ExamplesEntry.value:type_name -> com.kcl.api.Example + 4, // 66: com.kcl.api.BuiltinService.Ping:input_type -> com.kcl.api.PingArgs + 8, // 67: com.kcl.api.BuiltinService.ListMethod:input_type -> com.kcl.api.ListMethodArgs + 4, // 68: com.kcl.api.KclService.Ping:input_type -> com.kcl.api.PingArgs + 6, // 69: com.kcl.api.KclService.GetVersion:input_type -> com.kcl.api.GetVersionArgs + 12, // 70: com.kcl.api.KclService.ParseProgram:input_type -> com.kcl.api.ParseProgramArgs + 10, // 71: com.kcl.api.KclService.ParseFile:input_type -> com.kcl.api.ParseFileArgs + 14, // 72: com.kcl.api.KclService.LoadPackage:input_type -> com.kcl.api.LoadPackageArgs + 12, // 73: com.kcl.api.KclService.ListOptions:input_type -> com.kcl.api.ParseProgramArgs + 37, // 74: com.kcl.api.KclService.ListVariables:input_type -> com.kcl.api.ListVariablesArgs + 22, // 75: com.kcl.api.KclService.ExecProgram:input_type -> com.kcl.api.ExecProgramArgs + 24, // 76: com.kcl.api.KclService.BuildProgram:input_type -> com.kcl.api.BuildProgramArgs + 26, // 77: com.kcl.api.KclService.ExecArtifact:input_type -> com.kcl.api.ExecArtifactArgs + 33, // 78: com.kcl.api.KclService.OverrideFile:input_type -> com.kcl.api.OverrideFileArgs + 41, // 79: com.kcl.api.KclService.GetSchemaTypeMapping:input_type -> com.kcl.api.GetSchemaTypeMappingArgs + 27, // 80: com.kcl.api.KclService.FormatCode:input_type -> com.kcl.api.FormatCodeArgs + 29, // 81: com.kcl.api.KclService.FormatPath:input_type -> com.kcl.api.FormatPathArgs + 31, // 82: com.kcl.api.KclService.LintPath:input_type -> com.kcl.api.LintPathArgs + 45, // 83: com.kcl.api.KclService.ValidateCode:input_type -> com.kcl.api.ValidateCodeArgs + 48, // 84: com.kcl.api.KclService.ListDepFiles:input_type -> com.kcl.api.ListDepFilesArgs + 50, // 85: com.kcl.api.KclService.LoadSettingsFiles:input_type -> com.kcl.api.LoadSettingsFilesArgs + 54, // 86: com.kcl.api.KclService.Rename:input_type -> com.kcl.api.RenameArgs + 56, // 87: com.kcl.api.KclService.RenameCode:input_type -> com.kcl.api.RenameCodeArgs + 58, // 88: com.kcl.api.KclService.Test:input_type -> com.kcl.api.TestArgs + 61, // 89: com.kcl.api.KclService.UpdateDependencies:input_type -> com.kcl.api.UpdateDependenciesArgs + 5, // 90: com.kcl.api.BuiltinService.Ping:output_type -> com.kcl.api.PingResult + 9, // 91: com.kcl.api.BuiltinService.ListMethod:output_type -> com.kcl.api.ListMethodResult + 5, // 92: com.kcl.api.KclService.Ping:output_type -> com.kcl.api.PingResult + 7, // 93: com.kcl.api.KclService.GetVersion:output_type -> com.kcl.api.GetVersionResult + 13, // 94: com.kcl.api.KclService.ParseProgram:output_type -> com.kcl.api.ParseProgramResult + 11, // 95: com.kcl.api.KclService.ParseFile:output_type -> com.kcl.api.ParseFileResult + 15, // 96: com.kcl.api.KclService.LoadPackage:output_type -> com.kcl.api.LoadPackageResult + 16, // 97: com.kcl.api.KclService.ListOptions:output_type -> com.kcl.api.ListOptionsResult + 38, // 98: com.kcl.api.KclService.ListVariables:output_type -> com.kcl.api.ListVariablesResult + 23, // 99: com.kcl.api.KclService.ExecProgram:output_type -> com.kcl.api.ExecProgramResult + 25, // 100: com.kcl.api.KclService.BuildProgram:output_type -> com.kcl.api.BuildProgramResult + 23, // 101: com.kcl.api.KclService.ExecArtifact:output_type -> com.kcl.api.ExecProgramResult + 34, // 102: com.kcl.api.KclService.OverrideFile:output_type -> com.kcl.api.OverrideFileResult + 42, // 103: com.kcl.api.KclService.GetSchemaTypeMapping:output_type -> com.kcl.api.GetSchemaTypeMappingResult + 28, // 104: com.kcl.api.KclService.FormatCode:output_type -> com.kcl.api.FormatCodeResult + 30, // 105: com.kcl.api.KclService.FormatPath:output_type -> com.kcl.api.FormatPathResult + 32, // 106: com.kcl.api.KclService.LintPath:output_type -> com.kcl.api.LintPathResult + 46, // 107: com.kcl.api.KclService.ValidateCode:output_type -> com.kcl.api.ValidateCodeResult + 49, // 108: com.kcl.api.KclService.ListDepFiles:output_type -> com.kcl.api.ListDepFilesResult + 51, // 109: com.kcl.api.KclService.LoadSettingsFiles:output_type -> com.kcl.api.LoadSettingsFilesResult + 55, // 110: com.kcl.api.KclService.Rename:output_type -> com.kcl.api.RenameResult + 57, // 111: com.kcl.api.KclService.RenameCode:output_type -> com.kcl.api.RenameCodeResult + 59, // 112: com.kcl.api.KclService.Test:output_type -> com.kcl.api.TestResult + 62, // 113: com.kcl.api.KclService.UpdateDependencies:output_type -> com.kcl.api.UpdateDependenciesResult + 90, // [90:114] is the sub-list for method output_type + 66, // [66:90] is the sub-list for method input_type + 66, // [66:66] is the sub-list for extension type_name + 66, // [66:66] is the sub-list for extension extendee + 0, // [0:66] is the sub-list for field type_name } func init() { file_spec_proto_init() } @@ -5346,783 +4926,13 @@ func file_spec_proto_init() { if File_spec_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_spec_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExternalPkg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*Argument); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*Error); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*Message); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*Ping_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*Ping_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*GetVersion_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*GetVersion_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*ListMethod_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*ListMethod_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*ParseFile_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*ParseFile_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[12].Exporter = func(v any, i int) any { - switch v := v.(*ParseProgram_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[13].Exporter = func(v any, i int) any { - switch v := v.(*ParseProgram_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[14].Exporter = func(v any, i int) any { - switch v := v.(*LoadPackage_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[15].Exporter = func(v any, i int) any { - switch v := v.(*LoadPackage_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[16].Exporter = func(v any, i int) any { - switch v := v.(*ListOptions_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[17].Exporter = func(v any, i int) any { - switch v := v.(*OptionHelp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[18].Exporter = func(v any, i int) any { - switch v := v.(*Symbol); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[19].Exporter = func(v any, i int) any { - switch v := v.(*Scope); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[20].Exporter = func(v any, i int) any { - switch v := v.(*SymbolIndex); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[21].Exporter = func(v any, i int) any { - switch v := v.(*ScopeIndex); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[22].Exporter = func(v any, i int) any { - switch v := v.(*ExecProgram_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[23].Exporter = func(v any, i int) any { - switch v := v.(*ExecProgram_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[24].Exporter = func(v any, i int) any { - switch v := v.(*BuildProgram_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[25].Exporter = func(v any, i int) any { - switch v := v.(*BuildProgram_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[26].Exporter = func(v any, i int) any { - switch v := v.(*ExecArtifact_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[27].Exporter = func(v any, i int) any { - switch v := v.(*FormatCode_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[28].Exporter = func(v any, i int) any { - switch v := v.(*FormatCode_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[29].Exporter = func(v any, i int) any { - switch v := v.(*FormatPath_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[30].Exporter = func(v any, i int) any { - switch v := v.(*FormatPath_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[31].Exporter = func(v any, i int) any { - switch v := v.(*LintPath_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[32].Exporter = func(v any, i int) any { - switch v := v.(*LintPath_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[33].Exporter = func(v any, i int) any { - switch v := v.(*OverrideFile_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[34].Exporter = func(v any, i int) any { - switch v := v.(*OverrideFile_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[35].Exporter = func(v any, i int) any { - switch v := v.(*ListVariables_Options); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[36].Exporter = func(v any, i int) any { - switch v := v.(*VariableList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[37].Exporter = func(v any, i int) any { - switch v := v.(*ListVariables_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[38].Exporter = func(v any, i int) any { - switch v := v.(*ListVariables_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[39].Exporter = func(v any, i int) any { - switch v := v.(*Variable); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[40].Exporter = func(v any, i int) any { - switch v := v.(*MapEntry); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[41].Exporter = func(v any, i int) any { - switch v := v.(*GetSchemaTypeMapping_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[42].Exporter = func(v any, i int) any { - switch v := v.(*GetSchemaTypeMapping_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[43].Exporter = func(v any, i int) any { - switch v := v.(*ValidateCode_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[44].Exporter = func(v any, i int) any { - switch v := v.(*ValidateCode_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[45].Exporter = func(v any, i int) any { - switch v := v.(*Position); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[46].Exporter = func(v any, i int) any { - switch v := v.(*ListDepFiles_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[47].Exporter = func(v any, i int) any { - switch v := v.(*ListDepFiles_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[48].Exporter = func(v any, i int) any { - switch v := v.(*LoadSettingsFiles_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[49].Exporter = func(v any, i int) any { - switch v := v.(*LoadSettingsFiles_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[50].Exporter = func(v any, i int) any { - switch v := v.(*CliConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[51].Exporter = func(v any, i int) any { - switch v := v.(*KeyValuePair); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[52].Exporter = func(v any, i int) any { - switch v := v.(*Rename_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[53].Exporter = func(v any, i int) any { - switch v := v.(*Rename_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[54].Exporter = func(v any, i int) any { - switch v := v.(*RenameCode_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[55].Exporter = func(v any, i int) any { - switch v := v.(*RenameCode_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[56].Exporter = func(v any, i int) any { - switch v := v.(*Test_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[57].Exporter = func(v any, i int) any { - switch v := v.(*Test_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[58].Exporter = func(v any, i int) any { - switch v := v.(*TestCaseInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[59].Exporter = func(v any, i int) any { - switch v := v.(*UpdateDependencies_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[60].Exporter = func(v any, i int) any { - switch v := v.(*UpdateDependencies_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[61].Exporter = func(v any, i int) any { - switch v := v.(*KclType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[62].Exporter = func(v any, i int) any { - switch v := v.(*Decorator); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spec_proto_msgTypes[63].Exporter = func(v any, i int) any { - switch v := v.(*Example); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_spec_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_spec_proto_rawDesc), len(file_spec_proto_rawDesc)), NumEnums: 0, - NumMessages: 77, + NumMessages: 80, NumExtensions: 0, NumServices: 2, }, @@ -6131,7 +4941,6 @@ func file_spec_proto_init() { MessageInfos: file_spec_proto_msgTypes, }.Build() File_spec_proto = out.File - file_spec_proto_rawDesc = nil file_spec_proto_goTypes = nil file_spec_proto_depIdxs = nil } diff --git a/go/install/install.go b/go/install/install.go index f08ca705..28bc0c39 100644 --- a/go/install/install.go +++ b/go/install/install.go @@ -10,7 +10,7 @@ import ( "github.com/gofrs/flock" ) -const KCLVM_VERSION = "v0.11.2" +const KCL_VERSION = "v0.12.0" func findPath(name string) string { if path, err := exec.LookPath(name); err == nil { @@ -20,25 +20,25 @@ func findPath(name string) string { } func getVersion() string { - return fmt.Sprintf("%s-%s-%s", KCLVM_VERSION, runtime.GOOS, runtime.GOARCH) + return fmt.Sprintf("%s-%s-%s", KCL_VERSION, runtime.GOOS, runtime.GOARCH) } -func checkVersion(kclvmVersionDir string) (bool, error) { - kclvmVersionPath := filepath.Join(kclvmVersionDir, "kclvm.version") - _, err := os.Stat(kclvmVersionPath) +func checkVersion(kclVersionDir string) (bool, error) { + kclVersionPath := filepath.Join(kclVersionDir, "kcl.version") + _, err := os.Stat(kclVersionPath) if os.IsNotExist(err) { - err := os.MkdirAll(kclvmVersionDir, 0777) + err := os.MkdirAll(kclVersionDir, 0777) if err != nil { return false, err } - versionFile, err := os.Create(kclvmVersionPath) + versionFile, err := os.Create(kclVersionPath) defer func() { versionFile.Close() }() return false, err } - version, err := os.ReadFile(kclvmVersionPath) + version, err := os.ReadFile(kclVersionPath) if err != nil { return false, err @@ -48,7 +48,7 @@ func checkVersion(kclvmVersionDir string) (bool, error) { } -func InstallKclvm(installRoot string) error { +func InstallKcl(installRoot string) error { installRoot, err := filepath.Abs(installRoot) if err != nil { return err @@ -75,15 +75,15 @@ func InstallKclvm(installRoot string) error { return err } - // Install kclvm libs. - err = installLib(installRoot, "kclvm_cli_cdylib", versionMatched) + // Install kcl libs. + err = installLib(installRoot, "kcl", versionMatched) if err != nil { return err } if !versionMatched { - kclvmVersionPath := filepath.Join(installRoot, "kclvm.version") - err = os.WriteFile(kclvmVersionPath, []byte(getVersion()), os.FileMode(os.O_WRONLY|os.O_TRUNC)) + kclVersionPath := filepath.Join(installRoot, "kcl.version") + err = os.WriteFile(kclVersionPath, []byte(getVersion()), os.FileMode(os.O_WRONLY|os.O_TRUNC)) if err != nil { return err } diff --git a/go/lib/darwin-amd64/libkclvm_cli_cdylib.dylib b/go/lib/darwin-amd64/libkcl.dylib old mode 100755 new mode 100644 similarity index 62% rename from go/lib/darwin-amd64/libkclvm_cli_cdylib.dylib rename to go/lib/darwin-amd64/libkcl.dylib index 80606be4..dbb2faea Binary files a/go/lib/darwin-amd64/libkclvm_cli_cdylib.dylib and b/go/lib/darwin-amd64/libkcl.dylib differ diff --git a/go/lib/darwin-arm64/libkclvm_cli_cdylib.dylib b/go/lib/darwin-arm64/libkcl.dylib old mode 100755 new mode 100644 similarity index 61% rename from go/lib/darwin-arm64/libkclvm_cli_cdylib.dylib rename to go/lib/darwin-arm64/libkcl.dylib index 545e7319..d5c1aa36 Binary files a/go/lib/darwin-arm64/libkclvm_cli_cdylib.dylib and b/go/lib/darwin-arm64/libkcl.dylib differ diff --git a/go/lib/kclvm_cli_shared_lib_linux_amd64.go b/go/lib/kcl_lib_darwin_amd64.go similarity index 54% rename from go/lib/kclvm_cli_shared_lib_linux_amd64.go rename to go/lib/kcl_lib_darwin_amd64.go index 36029e11..550f86c6 100644 --- a/go/lib/kclvm_cli_shared_lib_linux_amd64.go +++ b/go/lib/kcl_lib_darwin_amd64.go @@ -4,5 +4,5 @@ import ( _ "embed" ) -//go:embed linux-amd64/libkclvm_cli_cdylib.so +//go:embed darwin-amd64/libkcl.dylib var CliLib []byte diff --git a/go/lib/kclvm_cli_shared_lib_linux_arm64.go b/go/lib/kcl_lib_darwin_arm64.go similarity index 54% rename from go/lib/kclvm_cli_shared_lib_linux_arm64.go rename to go/lib/kcl_lib_darwin_arm64.go index 01916269..54dc0a98 100644 --- a/go/lib/kclvm_cli_shared_lib_linux_arm64.go +++ b/go/lib/kcl_lib_darwin_arm64.go @@ -4,5 +4,5 @@ import ( _ "embed" ) -//go:embed linux-arm64/libkclvm_cli_cdylib.so +//go:embed darwin-arm64/libkcl.dylib var CliLib []byte diff --git a/go/lib/kclvm_cli_shared_lib_darwin_amd64.go b/go/lib/kcl_lib_linux_amd64.go similarity index 51% rename from go/lib/kclvm_cli_shared_lib_darwin_amd64.go rename to go/lib/kcl_lib_linux_amd64.go index e29b34e0..5cdb7585 100644 --- a/go/lib/kclvm_cli_shared_lib_darwin_amd64.go +++ b/go/lib/kcl_lib_linux_amd64.go @@ -4,5 +4,5 @@ import ( _ "embed" ) -//go:embed darwin-amd64/libkclvm_cli_cdylib.dylib +//go:embed linux-amd64/libkcl.so var CliLib []byte diff --git a/go/lib/kclvm_cli_shared_lib_darwin_arm64.go b/go/lib/kcl_lib_linux_arm64.go similarity index 51% rename from go/lib/kclvm_cli_shared_lib_darwin_arm64.go rename to go/lib/kcl_lib_linux_arm64.go index 865070ff..d257e362 100644 --- a/go/lib/kclvm_cli_shared_lib_darwin_arm64.go +++ b/go/lib/kcl_lib_linux_arm64.go @@ -4,5 +4,5 @@ import ( _ "embed" ) -//go:embed darwin-arm64/libkclvm_cli_cdylib.dylib +//go:embed linux-arm64/libkcl.so var CliLib []byte diff --git a/go/lib/kcl_lib_windows_amd64.go b/go/lib/kcl_lib_windows_amd64.go new file mode 100644 index 00000000..57dab7a2 --- /dev/null +++ b/go/lib/kcl_lib_windows_amd64.go @@ -0,0 +1,11 @@ +package lib + +import ( + _ "embed" +) + +//go:embed windows-amd64/kcl.dll +var CliLib []byte + +//go:embed windows-amd64/kcl.lib +var ExportLib []byte diff --git a/go/lib/kcl_lib_windows_arm64.go b/go/lib/kcl_lib_windows_arm64.go new file mode 100644 index 00000000..4cb7d0dd --- /dev/null +++ b/go/lib/kcl_lib_windows_arm64.go @@ -0,0 +1,11 @@ +package lib + +import ( + _ "embed" +) + +//go:embed windows-arm64/kcl.dll +var CliLib []byte + +//go:embed windows-amd64/kcl.lib +var ExportLib []byte diff --git a/go/lib/kclvm_cli_shared_lib_windows_amd64.go b/go/lib/kclvm_cli_shared_lib_windows_amd64.go deleted file mode 100644 index 22279a72..00000000 --- a/go/lib/kclvm_cli_shared_lib_windows_amd64.go +++ /dev/null @@ -1,11 +0,0 @@ -package lib - -import ( - _ "embed" -) - -//go:embed windows-amd64/kclvm_cli_cdylib.dll -var CliLib []byte - -//go:embed windows-amd64/kclvm_cli_cdylib.lib -var ExportLib []byte diff --git a/go/lib/kclvm_cli_shared_lib_windows_arm64.go b/go/lib/kclvm_cli_shared_lib_windows_arm64.go deleted file mode 100644 index 62607d3f..00000000 --- a/go/lib/kclvm_cli_shared_lib_windows_arm64.go +++ /dev/null @@ -1,11 +0,0 @@ -package lib - -import ( - _ "embed" -) - -//go:embed windows-arm64/kclvm_cli_cdylib.dll -var CliLib []byte - -//go:embed windows-amd64/kclvm_cli_cdylib.lib -var ExportLib []byte diff --git a/go/lib/linux-amd64/libkclvm_cli_cdylib.so b/go/lib/linux-amd64/libkcl.so similarity index 64% rename from go/lib/linux-amd64/libkclvm_cli_cdylib.so rename to go/lib/linux-amd64/libkcl.so index 621e1b36..8a25fbb7 100755 Binary files a/go/lib/linux-amd64/libkclvm_cli_cdylib.so and b/go/lib/linux-amd64/libkcl.so differ diff --git a/go/lib/linux-arm64/libkclvm_cli_cdylib.so b/go/lib/linux-arm64/libkcl.so old mode 100755 new mode 100644 similarity index 64% rename from go/lib/linux-arm64/libkclvm_cli_cdylib.so rename to go/lib/linux-arm64/libkcl.so index 2e15b4f2..50991f63 Binary files a/go/lib/linux-arm64/libkclvm_cli_cdylib.so and b/go/lib/linux-arm64/libkcl.so differ diff --git a/go/lib/windows-arm64/kclvm_cli_cdylib.dll b/go/lib/windows-amd64/kcl.dll similarity index 61% rename from go/lib/windows-arm64/kclvm_cli_cdylib.dll rename to go/lib/windows-amd64/kcl.dll index 4ce16186..f7096e42 100644 Binary files a/go/lib/windows-arm64/kclvm_cli_cdylib.dll and b/go/lib/windows-amd64/kcl.dll differ diff --git a/go/lib/windows-amd64/kcl.lib b/go/lib/windows-amd64/kcl.lib new file mode 100644 index 00000000..14fdd126 Binary files /dev/null and b/go/lib/windows-amd64/kcl.lib differ diff --git a/go/lib/windows-amd64/kclvm_cli_cdylib.lib b/go/lib/windows-amd64/kclvm_cli_cdylib.lib deleted file mode 100644 index 0af84924..00000000 Binary files a/go/lib/windows-amd64/kclvm_cli_cdylib.lib and /dev/null differ diff --git a/go/lib/windows-amd64/kclvm_cli_cdylib.dll b/go/lib/windows-arm64/kcl.dll similarity index 61% rename from go/lib/windows-amd64/kclvm_cli_cdylib.dll rename to go/lib/windows-arm64/kcl.dll index 4ce16186..f7096e42 100644 Binary files a/go/lib/windows-amd64/kclvm_cli_cdylib.dll and b/go/lib/windows-arm64/kcl.dll differ diff --git a/go/lib/windows-arm64/kcl.lib b/go/lib/windows-arm64/kcl.lib new file mode 100644 index 00000000..14fdd126 Binary files /dev/null and b/go/lib/windows-arm64/kcl.lib differ diff --git a/go/lib/windows-arm64/kclvm_cli_cdylib.lib b/go/lib/windows-arm64/kclvm_cli_cdylib.lib deleted file mode 100644 index 0af84924..00000000 Binary files a/go/lib/windows-arm64/kclvm_cli_cdylib.lib and /dev/null differ diff --git a/go/native/client.go b/go/native/client.go index ebb2e610..5692371c 100644 --- a/go/native/client.go +++ b/go/native/client.go @@ -40,9 +40,9 @@ func initClient(pluginAgent uint64) { if err != nil { panic(err) } - purego.RegisterLibFunc(&serviceNew, lib, "kclvm_service_new") - purego.RegisterLibFunc(&serviceDelete, lib, "kclvm_service_delete") - purego.RegisterLibFunc(&serviceCall, lib, "kclvm_service_call_with_length") + purego.RegisterLibFunc(&serviceNew, lib, "kcl_service_new") + purego.RegisterLibFunc(&serviceDelete, lib, "kcl_service_delete") + purego.RegisterLibFunc(&serviceCall, lib, "kcl_service_call_with_length") purego.RegisterLibFunc(&free, lib, "kcl_free") client = new(NativeServiceClient) client.svc = serviceNew(pluginAgent) @@ -76,7 +76,7 @@ func cApiCall[I interface { protoreflect.ProtoMessage }, TI any, TO any](c *NativeServiceClient, callName string, in I) (O, error) { if callName == "" { - return nil, errors.New("kclvm service c api call: empty method name") + return nil, errors.New("kcl service c api call: empty method name") } if in == nil { @@ -123,92 +123,92 @@ func GoBytes(c uintptr, length uint) []byte { return unsafe.Slice((*byte)(ptr), length) } -func (c *NativeServiceClient) Ping(in *api.Ping_Args) (*api.Ping_Result, error) { - return cApiCall[*api.Ping_Args, *api.Ping_Result](c, "KclvmService.Ping", in) +func (c *NativeServiceClient) Ping(in *api.PingArgs) (*api.PingResult, error) { + return cApiCall[*api.PingArgs, *api.PingResult](c, "KclService.Ping", in) } -func (c *NativeServiceClient) ExecProgram(in *api.ExecProgram_Args) (*api.ExecProgram_Result, error) { - return cApiCall[*api.ExecProgram_Args, *api.ExecProgram_Result](c, "KclvmService.ExecProgram", in) +func (c *NativeServiceClient) ExecProgram(in *api.ExecProgramArgs) (*api.ExecProgramResult, error) { + return cApiCall[*api.ExecProgramArgs, *api.ExecProgramResult](c, "KclService.ExecProgram", in) } -// Depreciated: Please use the env.EnableFastEvalMode() and c.ExecutProgram method and will be removed in v0.11.1. -func (c *NativeServiceClient) BuildProgram(in *api.BuildProgram_Args) (*api.BuildProgram_Result, error) { - return cApiCall[*api.BuildProgram_Args, *api.BuildProgram_Result](c, "KclvmService.BuildProgram", in) +// Depreciated: Please use the env.EnableFastEvalMode() and c.ExecutProgram method and will be removed in v0.12.0. +func (c *NativeServiceClient) BuildProgram(in *api.BuildProgramArgs) (*api.BuildProgramResult, error) { + return cApiCall[*api.BuildProgramArgs, *api.BuildProgramResult](c, "KclService.BuildProgram", in) } -// Depreciated: Please use the env.EnableFastEvalMode() and c.ExecutProgram method and will be removed in v0.11.1. -func (c *NativeServiceClient) ExecArtifact(in *api.ExecArtifact_Args) (*api.ExecProgram_Result, error) { - return cApiCall[*api.ExecArtifact_Args, *api.ExecProgram_Result](c, "KclvmService.ExecArtifact", in) +// Depreciated: Please use the env.EnableFastEvalMode() and c.ExecutProgram method and will be removed in v0.12.0. +func (c *NativeServiceClient) ExecArtifact(in *api.ExecArtifactArgs) (*api.ExecProgramResult, error) { + return cApiCall[*api.ExecArtifactArgs, *api.ExecProgramResult](c, "KclService.ExecArtifact", in) } -func (c *NativeServiceClient) ParseFile(in *api.ParseFile_Args) (*api.ParseFile_Result, error) { - return cApiCall[*api.ParseFile_Args, *api.ParseFile_Result](c, "KclvmService.ParseFile", in) +func (c *NativeServiceClient) ParseFile(in *api.ParseFileArgs) (*api.ParseFileResult, error) { + return cApiCall[*api.ParseFileArgs, *api.ParseFileResult](c, "KclService.ParseFile", in) } -func (c *NativeServiceClient) ParseProgram(in *api.ParseProgram_Args) (*api.ParseProgram_Result, error) { - return cApiCall[*api.ParseProgram_Args, *api.ParseProgram_Result](c, "KclvmService.ParseProgram", in) +func (c *NativeServiceClient) ParseProgram(in *api.ParseProgramArgs) (*api.ParseProgramResult, error) { + return cApiCall[*api.ParseProgramArgs, *api.ParseProgramResult](c, "KclService.ParseProgram", in) } -func (c *NativeServiceClient) ListOptions(in *api.ParseProgram_Args) (*api.ListOptions_Result, error) { - return cApiCall[*api.ParseProgram_Args, *api.ListOptions_Result](c, "KclvmService.ListOptions", in) +func (c *NativeServiceClient) ListOptions(in *api.ParseProgramArgs) (*api.ListOptionsResult, error) { + return cApiCall[*api.ParseProgramArgs, *api.ListOptionsResult](c, "KclService.ListOptions", in) } -func (c *NativeServiceClient) ListVariables(in *api.ListVariables_Args) (*api.ListVariables_Result, error) { - return cApiCall[*api.ListVariables_Args, *api.ListVariables_Result](c, "KclvmService.ListVariables", in) +func (c *NativeServiceClient) ListVariables(in *api.ListVariablesArgs) (*api.ListVariablesResult, error) { + return cApiCall[*api.ListVariablesArgs, *api.ListVariablesResult](c, "KclService.ListVariables", in) } -func (c *NativeServiceClient) LoadPackage(in *api.LoadPackage_Args) (*api.LoadPackage_Result, error) { - return cApiCall[*api.LoadPackage_Args, *api.LoadPackage_Result](c, "KclvmService.LoadPackage", in) +func (c *NativeServiceClient) LoadPackage(in *api.LoadPackageArgs) (*api.LoadPackageResult, error) { + return cApiCall[*api.LoadPackageArgs, *api.LoadPackageResult](c, "KclService.LoadPackage", in) } -func (c *NativeServiceClient) FormatCode(in *api.FormatCode_Args) (*api.FormatCode_Result, error) { - return cApiCall[*api.FormatCode_Args, *api.FormatCode_Result](c, "KclvmService.FormatCode", in) +func (c *NativeServiceClient) FormatCode(in *api.FormatCodeArgs) (*api.FormatCodeResult, error) { + return cApiCall[*api.FormatCodeArgs, *api.FormatCodeResult](c, "KclService.FormatCode", in) } -func (c *NativeServiceClient) FormatPath(in *api.FormatPath_Args) (*api.FormatPath_Result, error) { - return cApiCall[*api.FormatPath_Args, *api.FormatPath_Result](c, "KclvmService.FormatPath", in) +func (c *NativeServiceClient) FormatPath(in *api.FormatPathArgs) (*api.FormatPathResult, error) { + return cApiCall[*api.FormatPathArgs, *api.FormatPathResult](c, "KclService.FormatPath", in) } -func (c *NativeServiceClient) LintPath(in *api.LintPath_Args) (*api.LintPath_Result, error) { - return cApiCall[*api.LintPath_Args, *api.LintPath_Result](c, "KclvmService.LintPath", in) +func (c *NativeServiceClient) LintPath(in *api.LintPathArgs) (*api.LintPathResult, error) { + return cApiCall[*api.LintPathArgs, *api.LintPathResult](c, "KclService.LintPath", in) } -func (c *NativeServiceClient) OverrideFile(in *api.OverrideFile_Args) (*api.OverrideFile_Result, error) { - return cApiCall[*api.OverrideFile_Args, *api.OverrideFile_Result](c, "KclvmService.OverrideFile", in) +func (c *NativeServiceClient) OverrideFile(in *api.OverrideFileArgs) (*api.OverrideFileResult, error) { + return cApiCall[*api.OverrideFileArgs, *api.OverrideFileResult](c, "KclService.OverrideFile", in) } -func (c *NativeServiceClient) GetSchemaTypeMapping(in *api.GetSchemaTypeMapping_Args) (*api.GetSchemaTypeMapping_Result, error) { - return cApiCall[*api.GetSchemaTypeMapping_Args, *api.GetSchemaTypeMapping_Result](c, "KclvmService.GetSchemaTypeMapping", in) +func (c *NativeServiceClient) GetSchemaTypeMapping(in *api.GetSchemaTypeMappingArgs) (*api.GetSchemaTypeMappingResult, error) { + return cApiCall[*api.GetSchemaTypeMappingArgs, *api.GetSchemaTypeMappingResult](c, "KclService.GetSchemaTypeMapping", in) } -func (c *NativeServiceClient) ValidateCode(in *api.ValidateCode_Args) (*api.ValidateCode_Result, error) { - return cApiCall[*api.ValidateCode_Args, *api.ValidateCode_Result](c, "KclvmService.ValidateCode", in) +func (c *NativeServiceClient) ValidateCode(in *api.ValidateCodeArgs) (*api.ValidateCodeResult, error) { + return cApiCall[*api.ValidateCodeArgs, *api.ValidateCodeResult](c, "KclService.ValidateCode", in) } -func (c *NativeServiceClient) ListDepFiles(in *api.ListDepFiles_Args) (*api.ListDepFiles_Result, error) { - return cApiCall[*api.ListDepFiles_Args, *api.ListDepFiles_Result](c, "KclvmService.ListDepFiles", in) +func (c *NativeServiceClient) ListDepFiles(in *api.ListDepFilesArgs) (*api.ListDepFilesResult, error) { + return cApiCall[*api.ListDepFilesArgs, *api.ListDepFilesResult](c, "KclService.ListDepFiles", in) } -func (c *NativeServiceClient) LoadSettingsFiles(in *api.LoadSettingsFiles_Args) (*api.LoadSettingsFiles_Result, error) { - return cApiCall[*api.LoadSettingsFiles_Args, *api.LoadSettingsFiles_Result](c, "KclvmService.LoadSettingsFiles", in) +func (c *NativeServiceClient) LoadSettingsFiles(in *api.LoadSettingsFilesArgs) (*api.LoadSettingsFilesResult, error) { + return cApiCall[*api.LoadSettingsFilesArgs, *api.LoadSettingsFilesResult](c, "KclService.LoadSettingsFiles", in) } -func (c *NativeServiceClient) Rename(in *api.Rename_Args) (*api.Rename_Result, error) { - return cApiCall[*api.Rename_Args, *api.Rename_Result](c, "KclvmService.Rename", in) +func (c *NativeServiceClient) Rename(in *api.RenameArgs) (*api.RenameResult, error) { + return cApiCall[*api.RenameArgs, *api.RenameResult](c, "KclService.Rename", in) } -func (c *NativeServiceClient) RenameCode(in *api.RenameCode_Args) (*api.RenameCode_Result, error) { - return cApiCall[*api.RenameCode_Args, *api.RenameCode_Result](c, "KclvmService.RenameCode", in) +func (c *NativeServiceClient) RenameCode(in *api.RenameCodeArgs) (*api.RenameCodeResult, error) { + return cApiCall[*api.RenameCodeArgs, *api.RenameCodeResult](c, "KclService.RenameCode", in) } -func (c *NativeServiceClient) Test(in *api.Test_Args) (*api.Test_Result, error) { - return cApiCall[*api.Test_Args, *api.Test_Result](c, "KclvmService.Test", in) +func (c *NativeServiceClient) Test(in *api.TestArgs) (*api.TestResult, error) { + return cApiCall[*api.TestArgs, *api.TestResult](c, "KclService.Test", in) } -func (c *NativeServiceClient) UpdateDependencies(in *api.UpdateDependencies_Args) (*api.UpdateDependencies_Result, error) { - return cApiCall[*api.UpdateDependencies_Args, *api.UpdateDependencies_Result](c, "KclvmService.UpdateDependencies", in) +func (c *NativeServiceClient) UpdateDependencies(in *api.UpdateDependenciesArgs) (*api.UpdateDependenciesResult, error) { + return cApiCall[*api.UpdateDependenciesArgs, *api.UpdateDependenciesResult](c, "KclService.UpdateDependencies", in) } -func (c *NativeServiceClient) GetVersion(in *api.GetVersion_Args) (*api.GetVersion_Result, error) { - return cApiCall[*api.GetVersion_Args, *api.GetVersion_Result](c, "KclvmService.GetVersion", in) +func (c *NativeServiceClient) GetVersion(in *api.GetVersionArgs) (*api.GetVersionResult, error) { + return cApiCall[*api.GetVersionArgs, *api.GetVersionResult](c, "KclService.GetVersion", in) } diff --git a/go/native/client_plugin_test.go b/go/native/client_plugin_test.go index c0730ce3..ef55a53b 100644 --- a/go/native/client_plugin_test.go +++ b/go/native/client_plugin_test.go @@ -28,7 +28,7 @@ func init() { func TestExecProgramWithPlugin(t *testing.T) { client := NewNativeServiceClient() - result, err := client.ExecProgram(&api.ExecProgram_Args{ + result, err := client.ExecProgram(&api.ExecProgramArgs{ KFilenameList: []string{"main.k"}, KCodeList: []string{code}, Args: []*api.Argument{ @@ -52,7 +52,7 @@ func TestExecProgramWithPlugin(t *testing.T) { func TestExecProgramWithPluginError(t *testing.T) { client := NewNativeServiceClient() - result, err := client.ExecProgram(&api.ExecProgram_Args{ + result, err := client.ExecProgram(&api.ExecProgramArgs{ KFilenameList: []string{"main.k"}, KCodeList: []string{code}, }) diff --git a/go/native/client_test.go b/go/native/client_test.go index af1989b5..2d244106 100644 --- a/go/native/client_test.go +++ b/go/native/client_test.go @@ -80,7 +80,7 @@ func ParseFileASTJson(filename string, src interface{}) (result string, err erro } } client := NewNativeServiceClient() - resp, err := client.ParseFile(&api.ParseFile_Args{ + resp, err := client.ParseFile(&api.ParseFileArgs{ Path: filename, Source: code, }) diff --git a/go/native/loader.go b/go/native/loader.go index 4b336302..84fc2f5d 100644 --- a/go/native/loader.go +++ b/go/native/loader.go @@ -9,7 +9,7 @@ import ( lazypath "kcl-lang.io/lib/go/path" ) -const libName = "kclvm_cli_cdylib" +const libName = "kcl" func libPath() (path string, err error) { return lazypath.CacheHomeWithError() @@ -35,7 +35,7 @@ func loadServiceNativeLib() (uintptr, error) { if err != nil { return 0, err } - err = install.InstallKclvm(libPath) + err = install.InstallKcl(libPath) if err != nil { return 0, err } diff --git a/java/Cargo.lock b/java/Cargo.lock index bfbb9848..8b3f878c 100644 --- a/java/Cargo.lock +++ b/java/Cargo.lock @@ -4,35 +4,24 @@ version = 4 [[package]] name = "addr2line" -version = "0.24.2" +version = "0.25.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" +checksum = "1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b" dependencies = [ "gimli", ] [[package]] name = "adler2" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" - -[[package]] -name = "ahash" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" -dependencies = [ - "getrandom", - "once_cell", - "version_check", -] +checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" [[package]] name = "aho-corasick" -version = "1.1.3" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" +checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" dependencies = [ "memchr", ] @@ -46,12 +35,6 @@ dependencies = [ "log", ] -[[package]] -name = "android-tzdata" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" - [[package]] name = "android_system_properties" version = "0.1.5" @@ -73,9 +56,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.18" +version = "0.6.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b" +checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a" dependencies = [ "anstyle", "anstyle-parse", @@ -88,43 +71,44 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.10" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" +checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" [[package]] name = "anstyle-parse" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9" +checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.1.2" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c" +checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "anstyle-wincon" -version = "3.0.6" +version = "3.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2109dbce0e72be3ec00bed26e6a7479ca384ad226efdd66db8fa2e3a38c83125" +checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" dependencies = [ "anstyle", - "windows-sys 0.59.0", + "once_cell_polyfill", + "windows-sys 0.61.2", ] [[package]] name = "anyhow" -version = "1.0.94" +version = "1.0.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1fd03a028ef38ba2276dce7e33fcd6369c158a1bca17946c4b1b701891c1ff7" +checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" dependencies = [ "backtrace", ] @@ -160,36 +144,36 @@ checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + [[package]] name = "autocfg" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" +checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] name = "backtrace" -version = "0.3.74" +version = "0.3.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" +checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6" dependencies = [ "addr2line", - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", "miniz_oxide", "object", "rustc-demangle", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] -[[package]] -name = "base-x" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cbbc9d0964165b47557570cce6c952866c2678457aca742aafc9fb771d30270" - [[package]] name = "base32" version = "0.4.0" @@ -231,9 +215,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.6.0" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" +checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" [[package]] name = "bitmaps" @@ -246,14 +230,14 @@ dependencies = [ [[package]] name = "blake3" -version = "1.5.5" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8ee0c1824c4dea5b5f81736aff91bae041d2c07ee1192bec91054e10e3e601e" +checksum = "3888aaa89e4b2a40fca9848e400f6a658a5a3978de7be858e209cafa8be9a4a0" dependencies = [ "arrayref", "arrayvec", "cc", - "cfg-if 1.0.0", + "cfg-if 1.0.4", "constant_time_eq", ] @@ -309,9 +293,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.16.0" +version = "3.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" +checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" [[package]] name = "byte-tools" @@ -327,16 +311,17 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.9.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" +checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3" [[package]] name = "cc" -version = "1.2.2" +version = "1.2.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f34d93e62b03caf570cccc334cbc6c2fceca82f39211051345108adcba3eebdc" +checksum = "cd405d82c84ff7f35739f175f67d8b9fb7687a0e84ccdc78bd3568839827cf07" dependencies = [ + "find-msvc-tools", "shlex", ] @@ -354,9 +339,9 @@ checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" [[package]] name = "cfg-if" -version = "1.0.0" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "cfg_aliases" @@ -366,17 +351,16 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" [[package]] name = "chrono" -version = "0.4.38" +version = "0.4.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" +checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2" dependencies = [ - "android-tzdata", "iana-time-zone", "js-sys", "num-traits", "serde", "wasm-bindgen", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] @@ -387,18 +371,18 @@ checksum = "bd1b64030216239a2e7c364b13cd96a2097ebf0dfe5025f2dedee14a23f2ab60" [[package]] name = "clap" -version = "4.5.22" +version = "4.5.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69371e34337c4c984bbe322360c2547210bf632eb2814bbe78a6e87a2935bd2b" +checksum = "c9e340e012a1bf4935f5282ed1436d1489548e8f72308207ea5df0e23d2d03f8" dependencies = [ "clap_builder", ] [[package]] name = "clap_builder" -version = "4.5.22" +version = "4.5.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e24c1b4099818523236a8ca881d2b45db98dadfb4625cf6608c12069fcbbde1" +checksum = "d76b5d13eaa18c901fd2f7fca939fefe3a0727a953561fefdf3b2922b8569d00" dependencies = [ "anstream", "anstyle", @@ -408,15 +392,15 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.7.3" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afb84c814227b90d6895e01398aee0d8033c00e7466aca416fb6a8e0eb19d8a7" +checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d" [[package]] name = "colorchoice" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990" +checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" [[package]] name = "combine" @@ -472,12 +456,6 @@ dependencies = [ "rustc_span", ] -[[package]] -name = "const_fn" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "373e9fafaa20882876db20562275ff58d50e0caa2590077fe7ce7bef90211d0d" - [[package]] name = "constant_time_eq" version = "0.3.1" @@ -492,36 +470,36 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "cpufeatures" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b80225097f2e5ae4e7179dd2266824648f3e2f49d9134d584b76389d31c4c3" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" dependencies = [ "libc", ] [[package]] name = "crc32fast" -version = "1.4.2" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" +checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", ] [[package]] name = "crossbeam-channel" -version = "0.5.13" +version = "0.5.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33480d6946193aa8033910124896ca395333cae7e2d1113d1fef6c3272217df2" +checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2" dependencies = [ "crossbeam-utils", ] [[package]] name = "crossbeam-deque" -version = "0.8.5" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" +checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" dependencies = [ "crossbeam-epoch", "crossbeam-utils", @@ -538,15 +516,15 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.20" +version = "0.8.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" +checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" [[package]] name = "crypto-common" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" dependencies = [ "generic-array 0.14.7", "typenum", @@ -554,9 +532,9 @@ dependencies = [ [[package]] name = "darling" -version = "0.20.10" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989" +checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee" dependencies = [ "darling_core", "darling_macro", @@ -564,27 +542,27 @@ dependencies = [ [[package]] name = "darling_core" -version = "0.20.10" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95133861a8032aaea082871032f5815eb9e98cef03fa916ab4500513994df9e5" +checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e" dependencies = [ "fnv", "ident_case", "proc-macro2", "quote", "strsim 0.11.1", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "darling_macro" -version = "0.20.10" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" +checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" dependencies = [ "darling_core", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -593,18 +571,18 @@ version = "5.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "hashbrown 0.14.5", "lock_api", "once_cell", - "parking_lot_core 0.9.10", + "parking_lot_core 0.9.12", ] [[package]] name = "deranged" -version = "0.3.11" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" +checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587" dependencies = [ "powerfmt", ] @@ -627,7 +605,7 @@ dependencies = [ "darling", "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -637,7 +615,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab63b0e2bf4d5928aff72e83a7dace85d7bba5fe12dcc3c5a572d78caffd3f3c" dependencies = [ "derive_builder_core", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -696,12 +674,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "discard" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0" - [[package]] name = "displaydoc" version = "0.2.5" @@ -710,26 +682,26 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "dns-lookup" -version = "2.0.4" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5766087c2235fec47fafa4cfecc81e494ee679d0fd4a59887ea0919bfb0e4fc" +checksum = "cf5597a4b7fe5275fc9dcf88ce26326bc8e4cb87d0130f33752d4c5f717793cf" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", "socket2", - "windows-sys 0.48.0", + "windows-sys 0.60.2", ] [[package]] name = "either" -version = "1.13.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" +checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "ena" @@ -741,69 +713,14 @@ dependencies = [ ] [[package]] -name = "encoding" -version = "0.2.33" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b0d943856b990d12d3b55b359144ff341533e516d94098b1d3fc1ac666d36ec" -dependencies = [ - "encoding-index-japanese", - "encoding-index-korean", - "encoding-index-simpchinese", - "encoding-index-singlebyte", - "encoding-index-tradchinese", -] - -[[package]] -name = "encoding-index-japanese" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04e8b2ff42e9a05335dbf8b5c6f7567e5591d0d916ccef4e0b1710d32a0d0c91" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-korean" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dc33fb8e6bcba213fe2f14275f0963fd16f0a02c878e3095ecfdf5bee529d81" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-simpchinese" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d87a7194909b9118fc707194baa434a4e3b0fb6a5a757c73c3adb07aa25031f7" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-singlebyte" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3351d5acffb224af9ca265f435b859c7c01537c0849754d3db3fdf2bfe2ae84a" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-tradchinese" -version = "1.20141219.5" +name = "encoding_rs" +version = "0.8.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd0e20d5688ce3cab59eb3ef3a2083a5c77bf496cb798dc6fcdb75f323890c18" +checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" dependencies = [ - "encoding_index_tests", + "cfg-if 1.0.4", ] -[[package]] -name = "encoding_index_tests" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a246d82be1c9d791c5dfde9a2bd045fc3cbba3fa2b11ad558f27d01712f00569" - [[package]] name = "enquote" version = "1.1.0" @@ -815,9 +732,9 @@ dependencies = [ [[package]] name = "env_filter" -version = "0.1.2" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f2c92ceda6ceec50f43169f9ee8424fe2db276791afde7b2cd8bc084cb376ab" +checksum = "1bf3c259d255ca70051b30e2e95b5446cdb8949ac4cd22c0d7fd634d89f568e2" dependencies = [ "log", "regex", @@ -825,41 +742,42 @@ dependencies = [ [[package]] name = "env_logger" -version = "0.11.5" +version = "0.11.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13fa619b91fb2381732789fc5de83b45675e882f66623b7d8cb4f643017018d" +checksum = "13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f" dependencies = [ "anstream", "anstyle", "env_filter", - "humantime", + "jiff", "log", ] [[package]] name = "equivalent" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" [[package]] name = "erased-serde" -version = "0.4.5" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24e2389d65ab4fab27dc2a5de7b191e1f6617d1f1c8855c0dc569c94a4cbb18d" +checksum = "89e8918065695684b2b0702da20382d5ae6065cf3327bc2d6436bd49a71ce9f3" dependencies = [ "serde", + "serde_core", "typeid", ] [[package]] name = "errno" -version = "0.3.10" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -874,33 +792,45 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "486f806e73c5707928240ddc295403b1b93c96a02038563881c4a2fd84b81ac4" +checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" [[package]] name = "filetime" -version = "0.2.25" +version = "0.2.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586" +checksum = "bc0505cd1b6fa6580283f6bdf70a73fcf4aba1184038c90902b92b3dd0df63ed" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", "libredox", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] +[[package]] +name = "find-msvc-tools" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844" + [[package]] name = "fixedbitset" version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" +[[package]] +name = "fixedbitset" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99" + [[package]] name = "flate2" -version = "1.0.35" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c" +checksum = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb" dependencies = [ "crc32fast", "miniz_oxide", @@ -934,9 +864,9 @@ dependencies = [ [[package]] name = "fluent-langneg" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c4ad0989667548f06ccd0e306ed56b61bd4d35458d54df5ec7587c0e8ed5e94" +checksum = "7eebbe59450baee8282d71676f3bfed5689aeab00b27545e83e5f14b1195e8b0" dependencies = [ "unic-langid", ] @@ -958,9 +888,9 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "form_urlencoded" -version = "1.2.1" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" dependencies = [ "percent-encoding", ] @@ -1046,7 +976,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -1085,7 +1015,7 @@ version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "877e94aff08e743b651baaea359664321055749b398adff8740a7399af7796e7" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", ] [[package]] @@ -1109,28 +1039,42 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" +checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "js-sys", "libc", "wasi", "wasm-bindgen", ] +[[package]] +name = "getrandom" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if 1.0.4", + "js-sys", + "libc", + "r-efi", + "wasip2", + "wasm-bindgen", +] + [[package]] name = "gimli" -version = "0.31.1" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" +checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7" [[package]] name = "glob" -version = "0.3.1" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" +checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" [[package]] name = "handlebars" @@ -1160,9 +1104,9 @@ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" [[package]] name = "hashbrown" -version = "0.15.2" +version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" [[package]] name = "heck" @@ -1175,15 +1119,15 @@ dependencies = [ [[package]] name = "heck" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "hermit-abi" -version = "0.3.9" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" +checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" [[package]] name = "hmac" @@ -1194,31 +1138,22 @@ dependencies = [ "digest 0.10.7", ] -[[package]] -name = "home" -version = "0.5.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" -dependencies = [ - "windows-sys 0.52.0", -] - [[package]] name = "hostname" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9c7c7c8ac16c798734b8a24560c1362120597c40d5e1459f09498f8f6c8f2ba" +checksum = "a56f203cd1c76362b69e3863fd987520ac36cf70a8c92627449b2f64a8cf7d65" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", - "windows", + "windows-link 0.1.3", ] [[package]] name = "http" -version = "1.2.0" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea" +checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565" dependencies = [ "bytes", "fnv", @@ -1246,12 +1181,12 @@ dependencies = [ [[package]] name = "http-body-util" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" +checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" dependencies = [ "bytes", - "futures-util", + "futures-core", "http", "http-body", "pin-project-lite", @@ -1259,30 +1194,26 @@ dependencies = [ [[package]] name = "httparse" -version = "1.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946" - -[[package]] -name = "humantime" -version = "2.1.0" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" [[package]] name = "hyper" -version = "1.5.1" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97818827ef4f364230e16705d4706e2897df2bb60617d6ca15d598025a3c481f" +checksum = "2ab2d4f250c3d7b1c9fcdff1cece94ea4e2dfbec68614f7b87cb205f24ca9d11" dependencies = [ + "atomic-waker", "bytes", "futures-channel", - "futures-util", + "futures-core", "http", "http-body", "httparse", "itoa", "pin-project-lite", + "pin-utils", "smallvec", "tokio", "want", @@ -1290,11 +1221,10 @@ dependencies = [ [[package]] name = "hyper-rustls" -version = "0.27.3" +version = "0.27.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08afdbb5c31130e3034af566421053ab03787c640246a446327f550d11bcb333" +checksum = "e3c93eb611681b207e1fe55d5a71ecf91572ec8a6705cdb6857f7d8d5242cf58" dependencies = [ - "futures-util", "http", "hyper", "hyper-util", @@ -1308,16 +1238,21 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.10" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4" +checksum = "52e9a2a24dc5c6821e71a7030e1e14b7b632acac55c40e9d2e082c621261bb56" dependencies = [ + "base64 0.22.1", "bytes", "futures-channel", + "futures-core", "futures-util", "http", "http-body", "hyper", + "ipnet", + "libc", + "percent-encoding", "pin-project-lite", "socket2", "tokio", @@ -1327,14 +1262,15 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.61" +version = "0.1.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220" +checksum = "33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", + "log", "wasm-bindgen", "windows-core", ] @@ -1350,21 +1286,22 @@ dependencies = [ [[package]] name = "icu_collections" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526" +checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43" dependencies = [ "displaydoc", + "potential_utf", "yoke", "zerofrom", "zerovec", ] [[package]] -name = "icu_locid" -version = "1.5.0" +name = "icu_locale_core" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637" +checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6" dependencies = [ "displaydoc", "litemap", @@ -1373,99 +1310,61 @@ dependencies = [ "zerovec", ] -[[package]] -name = "icu_locid_transform" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e" -dependencies = [ - "displaydoc", - "icu_locid", - "icu_locid_transform_data", - "icu_provider", - "tinystr", - "zerovec", -] - -[[package]] -name = "icu_locid_transform_data" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e" - [[package]] name = "icu_normalizer" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f" +checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599" dependencies = [ - "displaydoc", "icu_collections", "icu_normalizer_data", "icu_properties", "icu_provider", "smallvec", - "utf16_iter", - "utf8_iter", - "write16", "zerovec", ] [[package]] name = "icu_normalizer_data" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516" +checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a" [[package]] name = "icu_properties" -version = "1.5.1" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5" +checksum = "e93fcd3157766c0c8da2f8cff6ce651a31f0810eaa1c51ec363ef790bbb5fb99" dependencies = [ - "displaydoc", "icu_collections", - "icu_locid_transform", + "icu_locale_core", "icu_properties_data", "icu_provider", - "tinystr", + "zerotrie", "zerovec", ] [[package]] name = "icu_properties_data" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569" +checksum = "02845b3647bb045f1100ecd6480ff52f34c35f82d9880e029d329c21d1054899" [[package]] name = "icu_provider" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9" +checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614" dependencies = [ "displaydoc", - "icu_locid", - "icu_provider_macros", - "stable_deref_trait", - "tinystr", + "icu_locale_core", "writeable", "yoke", "zerofrom", + "zerotrie", "zerovec", ] -[[package]] -name = "icu_provider_macros" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.90", -] - [[package]] name = "ident_case" version = "1.0.1" @@ -1474,9 +1373,9 @@ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" [[package]] name = "idna" -version = "1.0.3" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" dependencies = [ "idna_adapter", "smallvec", @@ -1485,9 +1384,9 @@ dependencies = [ [[package]] name = "idna_adapter" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71" +checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" dependencies = [ "icu_normalizer", "icu_properties", @@ -1500,7 +1399,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af1955a75fa080c677d3972822ec4bad316169ab1cfc6c257a942c2265dbe5fe" dependencies = [ "bitmaps", - "rand_core", + "rand_core 0.6.4", "rand_xoshiro", "sized-chunks", "typenum", @@ -1515,17 +1414,17 @@ checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" dependencies = [ "autocfg", "hashbrown 0.12.3", - "rustc-rayon 0.5.0", + "rustc-rayon 0.5.1", ] [[package]] name = "indexmap" -version = "2.7.0" +version = "2.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f" +checksum = "0ad4bb2b565bca0645f4d68c5c9af97fba094e9791da685bf83cb5f3ce74acf2" dependencies = [ "equivalent", - "hashbrown 0.15.2", + "hashbrown 0.16.1", ] [[package]] @@ -1565,14 +1464,14 @@ version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", ] [[package]] name = "intl-memoizer" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe22e020fce238ae18a6d5d8c502ee76a52a6e880d99477657e6acc30ec57bda" +checksum = "310da2e345f5eb861e7a07ee182262e94975051db9e4223e909ba90f392f163f" dependencies = [ "type-map", "unic-langid", @@ -1589,21 +1488,34 @@ dependencies = [ [[package]] name = "inventory" -version = "0.3.15" +version = "0.3.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f958d3d68f4167080a18141e10381e7634563984a537f2a49a30fd8e53ac5767" +checksum = "bc61209c082fbeb19919bee74b176221b27223e27b65d781eb91af24eb1fb46e" +dependencies = [ + "rustversion", +] [[package]] name = "ipnet" -version = "2.10.1" +version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708" +checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" + +[[package]] +name = "iri-string" +version = "0.7.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f867b9d1d896b67beb18518eda36fdb77a32ea590de864f1325b294a6d14397" +dependencies = [ + "memchr", + "serde", +] [[package]] name = "is_terminal_polyfill" -version = "1.70.1" +version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" +checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" [[package]] name = "itertools" @@ -1614,11 +1526,44 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" +dependencies = [ + "either", +] + [[package]] name = "itoa" -version = "1.0.14" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" + +[[package]] +name = "jiff" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49cce2b81f2098e7e3efc35bc2e0a6b7abec9d34128283d7a26fa8f32a6dbb35" +dependencies = [ + "jiff-static", + "log", + "portable-atomic", + "portable-atomic-util", + "serde_core", +] + +[[package]] +name = "jiff-static" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" +checksum = "980af8b43c3ad5d8d349ace167ec8170839f753a42d233ba19e08afe1850fa69" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] [[package]] name = "jni" @@ -1627,7 +1572,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" dependencies = [ "cesu8", - "cfg-if 1.0.0", + "cfg-if 1.0.4", "combine", "jni-sys", "log", @@ -1644,10 +1589,11 @@ checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" [[package]] name = "jobserver" -version = "0.1.32" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" +checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" dependencies = [ + "getrandom 0.3.4", "libc", ] @@ -1659,9 +1605,9 @@ checksum = "8b23360e99b8717f20aaa4598f5a6541efbe30630039fbc7706cf954a87947ae" [[package]] name = "js-sys" -version = "0.3.74" +version = "0.3.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a865e038f7f6ed956f788f0d7d60c541fff74c7bd74272c5d4cf15c63743e705" +checksum = "b011eec8cc36da2aab2d5cff675ec18454fad408585853910a202391cf9f8e65" dependencies = [ "once_cell", "wasm-bindgen", @@ -1717,122 +1663,58 @@ dependencies = [ "hmac", "serde", "serde_json", - "sha2 0.10.8", + "sha2 0.10.9", ] [[package]] -name = "kcl-language-server" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-api" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", - "chrono", - "clap", - "compiler_base_session", - "crossbeam-channel", - "dashmap", - "env_logger", - "im-rc", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-parser", - "kclvm-query", - "kclvm-sema", - "kclvm-span", - "kclvm-tools", - "kclvm-utils", - "kclvm-version", - "log", - "lsp-server", - "lsp-types", + "futures", + "jsonrpc-stdio-server", + "kcl-ast", + "kcl-ast-pretty", + "kcl-config", + "kcl-driver", + "kcl-error", + "kcl-language-server", + "kcl-loader", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-runner", + "kcl-runtime", + "kcl-sema", + "kcl-tools", + "kcl-utils", + "kcl-version", "maplit", - "notify 7.0.0", - "parking_lot 0.12.3", - "proc_macro_crate", - "ra_ap_vfs", - "ra_ap_vfs-notify", - "ropey", - "rustc-hash 1.1.0", - "rustc_lexer", - "salsa", + "once_cell", + "prost", + "prost-build", + "prost-types", + "prost-wkt", + "prost-wkt-build", + "protoc-bin-vendored", "serde", "serde_json", - "threadpool", + "serde_yaml_ng", + "tempfile", "tokio", - "tokio-test", ] [[package]] -name = "kcl-lib-jni" -version = "0.11.2" -dependencies = [ - "anyhow", - "indexmap 2.7.0", - "jni", - "kclvm-api", - "kclvm-parser", - "kclvm-sema", - "lazy_static", - "once_cell", - "prost", - "prost-types", - "serde", - "serde_json", -] - -[[package]] -name = "kclvm-api" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" -dependencies = [ - "anyhow", - "futures", - "indexmap 1.9.3", - "jsonrpc-stdio-server", - "kcl-language-server", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-loader", - "kclvm-parser", - "kclvm-query", - "kclvm-runner", - "kclvm-runtime", - "kclvm-sema", - "kclvm-tools", - "kclvm-utils", - "kclvm-version", - "maplit", - "once_cell", - "prost", - "prost-build", - "prost-types", - "prost-wkt", - "prost-wkt-build", - "prost-wkt-types", - "protoc-bin-vendored", - "serde", - "serde_json", - "serde_yaml", - "tempfile", - "tokio", -] - -[[package]] -name = "kclvm-ast" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-ast" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "compiler_base_span", - "kclvm-error", - "kclvm-span", - "kclvm-utils", + "kcl-error", + "kcl-span", + "kcl-utils", "serde", "serde_json", "thread_local", @@ -1840,80 +1722,58 @@ dependencies = [ ] [[package]] -name = "kclvm-ast-pretty" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-ast-pretty" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "compiler_base_macros", "compiler_base_session", "fancy-regex", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-error", + "kcl-ast", + "kcl-error", + "kcl-primitives", "pretty_assertions", ] [[package]] -name = "kclvm-compiler" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" -dependencies = [ - "ahash", - "bit-set", - "bitflags 1.3.2", - "fancy-regex", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-error", - "kclvm-runtime", - "kclvm-sema", - "once_cell", - "phf", - "time 0.2.27", - "unicode_names2", -] - -[[package]] -name = "kclvm-config" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-config" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ - "ahash", "anyhow", "chrono", "dirs", "glob", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-utils", - "kclvm-version", + "kcl-ast", + "kcl-utils", + "kcl-version", "md-5 0.8.0", "pathdiff", "regex", "ron", "serde", "serde_json", - "serde_yaml", + "serde_yaml_ng", "toml", "url", ] [[package]] -name = "kclvm-driver" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-driver" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "flate2", - "indexmap 2.7.0", - "kclvm-ast", - "kclvm-config", - "kclvm-parser", - "kclvm-runtime", - "kclvm-utils", - "oci-distribution", + "kcl-ast", + "kcl-config", + "kcl-parser", + "kcl-primitives", + "kcl-runtime", + "kcl-utils", + "oci-client", "once_cell", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "serde", "serde_json", "tar", @@ -1922,9 +1782,9 @@ dependencies = [ ] [[package]] -name = "kclvm-error" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-error" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "annotate-snippets", "anyhow", @@ -1932,63 +1792,126 @@ dependencies = [ "compiler_base_macros", "compiler_base_session", "compiler_base_span", - "indexmap 1.9.3", - "kclvm-runtime", - "kclvm-span", - "kclvm-utils", + "kcl-primitives", + "kcl-runtime", + "kcl-span", + "kcl-utils", "serde", "serde_json", "termize", - "thiserror 1.0.69", + "thiserror 2.0.17", "tracing", ] [[package]] -name = "kclvm-evaluator" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-evaluator" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "generational-arena", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-error", - "kclvm-runtime", - "kclvm-sema", + "kcl-ast", + "kcl-error", + "kcl-primitives", + "kcl-runtime", + "kcl-sema", "scopeguard", ] [[package]] -name = "kclvm-lexer" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-language-server" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" +dependencies = [ + "anyhow", + "chrono", + "clap", + "compiler_base_session", + "crossbeam-channel", + "dashmap", + "env_logger", + "im-rc", + "kcl-ast", + "kcl-config", + "kcl-driver", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-sema", + "kcl-span", + "kcl-tools", + "kcl-utils", + "kcl-version", + "log", + "lsp-server", + "lsp-types", + "maplit", + "notify 7.0.0", + "parking_lot 0.12.5", + "proc_macro_crate", + "ra_ap_vfs", + "ra_ap_vfs-notify", + "ropey", + "rustc-hash 1.1.0", + "rustc_lexer", + "salsa", + "serde", + "serde_json", + "threadpool", + "tokio", + "tokio-test", +] + +[[package]] +name = "kcl-lexer" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ - "kclvm-error", + "kcl-error", "rustc_lexer", "unic-emoji-char", ] [[package]] -name = "kclvm-loader" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-lib-jni" +version = "0.12.0" dependencies = [ "anyhow", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-error", - "kclvm-parser", - "kclvm-query", - "kclvm-sema", - "kclvm-utils", + "indexmap 2.12.1", + "jni", + "kcl-api", + "kcl-parser", + "kcl-sema", + "lazy_static", + "once_cell", + "prost", + "prost-types", + "serde", + "serde_json", +] + +[[package]] +name = "kcl-loader" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" +dependencies = [ + "anyhow", + "kcl-ast", + "kcl-ast-pretty", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-sema", + "kcl-utils", "maplit", ] [[package]] -name = "kclvm-macros" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-macros" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "proc-macro2", "quote", @@ -1997,9 +1920,9 @@ dependencies = [ ] [[package]] -name = "kclvm-parser" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-parser" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "bstr", @@ -2010,17 +1933,17 @@ dependencies = [ "either", "enquote", "glob", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-config", - "kclvm-error", - "kclvm-lexer", - "kclvm-sema", - "kclvm-span", - "kclvm-utils", + "kcl-ast", + "kcl-config", + "kcl-error", + "kcl-lexer", + "kcl-primitives", + "kcl-sema", + "kcl-span", + "kcl-utils", "num-bigint", - "parking_lot 0.12.3", - "petgraph", + "parking_lot 0.12.5", + "petgraph 0.6.5", "regex", "rustc_lexer", "serde", @@ -2031,30 +1954,39 @@ dependencies = [ ] [[package]] -name = "kclvm-query" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-primitives" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" +dependencies = [ + "indexmap 2.12.1", + "rustc-hash 2.1.1", +] + +[[package]] +name = "kcl-query" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "compiler_base_macros", "compiler_base_session", "fancy-regex", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-error", - "kclvm-parser", - "kclvm-sema", - "kclvm-utils", + "kcl-ast", + "kcl-ast-pretty", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-sema", + "kcl-utils", "maplit", "serde", "serde_json", ] [[package]] -name = "kclvm-runner" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-runner" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "cc", @@ -2062,19 +1994,18 @@ dependencies = [ "compiler_base_macros", "compiler_base_session", "glob", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-compiler", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-evaluator", - "kclvm-parser", - "kclvm-query", - "kclvm-runtime", - "kclvm-sema", - "kclvm-utils", - "kclvm-version", + "kcl-ast", + "kcl-config", + "kcl-driver", + "kcl-error", + "kcl-evaluator", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-runtime", + "kcl-sema", + "kcl-utils", + "kcl-version", "libc", "libloading", "once_cell", @@ -2087,11 +2018,10 @@ dependencies = [ ] [[package]] -name = "kclvm-runtime" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-runtime" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ - "ahash", "anyhow", "base32", "base64 0.13.1", @@ -2100,15 +2030,15 @@ dependencies = [ "chrono", "cidr", "dns-lookup", - "encoding", + "encoding_rs", "fancy-regex", "generational-arena", "glob", "handlebars", "hostname", - "indexmap 1.9.3", - "itertools", - "kclvm_runtime_internal_macros", + "itertools 0.10.5", + "kcl-primitives", + "kcl_runtime_internal_macros", "lazy_static", "libc", "md5", @@ -2117,7 +2047,7 @@ dependencies = [ "regex", "serde", "serde_json", - "serde_yaml", + "serde_yaml_ng", "sha1", "sha2 0.9.9", "unic-ucd-bidi", @@ -2128,11 +2058,10 @@ dependencies = [ ] [[package]] -name = "kclvm-sema" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-sema" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ - "ahash", "anyhow", "bit-set", "bitflags 1.3.2", @@ -2142,17 +2071,17 @@ dependencies = [ "compiler_base_span", "fancy-regex", "generational-arena", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-error", - "kclvm-runtime", - "kclvm-span", - "kclvm-utils", + "kcl-ast", + "kcl-ast-pretty", + "kcl-error", + "kcl-primitives", + "kcl-runtime", + "kcl-span", + "kcl-utils", "lazy_static", "once_cell", - "parking_lot 0.12.3", - "petgraph", + "parking_lot 0.12.5", + "petgraph 0.6.5", "phf", "regex", "serde", @@ -2162,51 +2091,51 @@ dependencies = [ ] [[package]] -name = "kclvm-span" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-span" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "compiler_base_span", - "kclvm-macros", + "kcl-macros", "parking_lot 0.11.2", "scoped-tls", ] [[package]] -name = "kclvm-tools" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-tools" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "compiler_base_session", "compiler_base_span", "fancy-regex", - "indexmap 1.9.3", "json-spanned-value", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-parser", - "kclvm-query", - "kclvm-runner", - "kclvm-runtime", - "kclvm-sema", - "kclvm-utils", + "kcl-ast", + "kcl-ast-pretty", + "kcl-config", + "kcl-driver", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-runner", + "kcl-runtime", + "kcl-sema", + "kcl-utils", "located_yaml", "once_cell", "regex", "rustc_lexer", "serde_json", - "serde_yaml", + "serde_yaml_ng", "walkdir", ] [[package]] -name = "kclvm-utils" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-utils" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "fslock", @@ -2214,17 +2143,17 @@ dependencies = [ ] [[package]] -name = "kclvm-version" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-version" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "vergen-gitcl", ] [[package]] -name = "kclvm_runtime_internal_macros" -version = "0.5.0" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl_runtime_internal_macros" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "proc-macro2", "quote", @@ -2233,9 +2162,9 @@ dependencies = [ [[package]] name = "kqueue" -version = "1.0.8" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7447f1ca1b7b563588a205fe93dea8df60fd981423a768bc1c0ded35ed147d0c" +checksum = "eac30106d7dce88daf4a3fcb4879ea939476d5074a9b7ddd0fb97fa4bed5596a" dependencies = [ "kqueue-sys", "libc", @@ -2259,9 +2188,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.167" +version = "0.2.177" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09d6582e104315a817dff97f75133544b2e094ee22447d2acf4a74e189ba06fc" +checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976" [[package]] name = "libloading" @@ -2269,19 +2198,19 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "winapi", ] [[package]] name = "libredox" -version = "0.1.3" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" +checksum = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", "libc", - "redox_syscall 0.5.7", + "redox_syscall 0.5.18", ] [[package]] @@ -2295,15 +2224,15 @@ dependencies = [ [[package]] name = "linux-raw-sys" -version = "0.4.14" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" +checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" [[package]] name = "litemap" -version = "0.7.4" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104" +checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77" [[package]] name = "located_yaml" @@ -2318,29 +2247,35 @@ dependencies = [ [[package]] name = "lock_api" -version = "0.4.12" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" dependencies = [ - "autocfg", "scopeguard", ] [[package]] name = "log" -version = "0.4.22" +version = "0.4.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432" + +[[package]] +name = "lru-slab" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" +checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154" [[package]] name = "lsp-server" -version = "0.7.7" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "550446e84739dcaf6d48a4a093973850669e13e8a34d8f8d64851041be267cd9" +checksum = "7d6ada348dbc2703cbe7637b2dda05cff84d3da2819c24abcb305dd613e0ba2e" dependencies = [ "crossbeam-channel", "log", "serde", + "serde_derive", "serde_json", ] @@ -2386,7 +2321,7 @@ version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "digest 0.10.7", ] @@ -2398,9 +2333,9 @@ checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771" [[package]] name = "memchr" -version = "2.7.4" +version = "2.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" +checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" [[package]] name = "memmap2" @@ -2411,19 +2346,14 @@ dependencies = [ "libc", ] -[[package]] -name = "mime" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" - [[package]] name = "miniz_oxide" -version = "0.8.0" +version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1" +checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" dependencies = [ "adler2", + "simd-adler32", ] [[package]] @@ -2440,14 +2370,14 @@ dependencies = [ [[package]] name = "mio" -version = "1.0.3" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" +checksum = "69d83b0086dc8ecf3ce9ae2874b2d1290252e2a30720bea58a5c6639b0092873" dependencies = [ "libc", "log", "wasi", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -2461,9 +2391,9 @@ dependencies = [ [[package]] name = "multimap" -version = "0.8.3" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" +checksum = "1d87ecb2933e8aeadb3e3a02b828fed80a7528047e68b4f424523a0981a3a084" [[package]] name = "notify" @@ -2489,14 +2419,14 @@ version = "7.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c533b4c39709f9ba5005d8002048266593c1cfaf3c5f0739d5b8ab0c6c504009" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", "filetime", "fsevent-sys", "inotify 0.10.2", "kqueue", "libc", "log", - "mio 1.0.3", + "mio 1.1.0", "notify-types", "walkdir", "windows-sys 0.52.0", @@ -2547,9 +2477,9 @@ dependencies = [ [[package]] name = "num_cpus" -version = "1.16.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" +checksum = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b" dependencies = [ "hermit-abi", "libc", @@ -2566,18 +2496,18 @@ dependencies = [ [[package]] name = "object" -version = "0.36.5" +version = "0.37.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aedf0a2d09c573ed1d8d85b30c119153926a2b36dce0ab28322c09a117a4683e" +checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe" dependencies = [ "memchr", ] [[package]] -name = "oci-distribution" +name = "oci-client" version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b95a2c51531af0cb93761f66094044ca6ea879320bccd35ab747ff3fcab3f422" +checksum = "560faeb9396a5bae11b141bed3cec8bf9242e5bfec17d0f48feeeab0f879ca35" dependencies = [ "bytes", "chrono", @@ -2591,7 +2521,7 @@ dependencies = [ "reqwest", "serde", "serde_json", - "sha2 0.10.8", + "sha2 0.10.9", "thiserror 1.0.69", "tokio", "tracing", @@ -2611,15 +2541,21 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.20.2" +version = "1.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" +checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" + +[[package]] +name = "once_cell_polyfill" +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" [[package]] name = "oorandom" -version = "11.1.4" +version = "11.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9" +checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e" [[package]] name = "opaque-debug" @@ -2652,12 +2588,12 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.3" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" dependencies = [ "lock_api", - "parking_lot_core 0.9.10", + "parking_lot_core 0.9.12", ] [[package]] @@ -2666,7 +2602,7 @@ version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "instant", "libc", "redox_syscall 0.2.16", @@ -2676,15 +2612,15 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.10" +version = "0.9.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", - "redox_syscall 0.5.7", + "redox_syscall 0.5.18", "smallvec", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] @@ -2695,26 +2631,25 @@ checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3" [[package]] name = "percent-encoding" -version = "2.3.1" +version = "2.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" [[package]] name = "pest" -version = "2.7.14" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "879952a81a83930934cbf1786752d6dedc3b1f29e8f8fb2ad1d0a36f377cf442" +checksum = "cbcfd20a6d4eeba40179f05735784ad32bdaef05ce8e8af05f180d45bb3e7e22" dependencies = [ "memchr", - "thiserror 1.0.69", "ucd-trie", ] [[package]] name = "pest_derive" -version = "2.7.14" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d214365f632b123a47fd913301e14c946c61d1c183ee245fa76eb752e59a02dd" +checksum = "51f72981ade67b1ca6adc26ec221be9f463f2b5839c7508998daa17c23d94d7f" dependencies = [ "pest", "pest_generator", @@ -2722,26 +2657,25 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.14" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb55586734301717aea2ac313f50b2eb8f60d2fc3dc01d190eefa2e625f60c4e" +checksum = "dee9efd8cdb50d719a80088b76f81aec7c41ed6d522ee750178f83883d271625" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "pest_meta" -version = "2.7.14" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b75da2a70cf4d9cb76833c990ac9cd3923c9a8905a8929789ce347c84564d03d" +checksum = "bf1d70880e76bdc13ba52eafa6239ce793d85c8e43896507e43dd8984ff05b82" dependencies = [ - "once_cell", "pest", - "sha2 0.10.8", + "sha2 0.10.9", ] [[package]] @@ -2750,8 +2684,18 @@ version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" dependencies = [ - "fixedbitset", - "indexmap 2.7.0", + "fixedbitset 0.4.2", + "indexmap 2.12.1", +] + +[[package]] +name = "petgraph" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3672b37090dbd86368a4145bc067582552b29c27377cad4e0a306c97f9bd7772" +dependencies = [ + "fixedbitset 0.5.7", + "indexmap 2.12.1", ] [[package]] @@ -2772,7 +2716,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d43f3220d96e0080cc9ea234978ccd80d904eafb17be31bb0f76daaea6493082" dependencies = [ "phf_shared", - "rand", + "rand 0.8.5", ] [[package]] @@ -2800,9 +2744,9 @@ dependencies = [ [[package]] name = "pin-project-lite" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff" +checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" [[package]] name = "pin-utils" @@ -2810,6 +2754,30 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "portable-atomic" +version = "1.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483" + +[[package]] +name = "portable-atomic-util" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507" +dependencies = [ + "portable-atomic", +] + +[[package]] +name = "potential_utf" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77" +dependencies = [ + "zerovec", +] + [[package]] name = "powerfmt" version = "0.2.0" @@ -2818,9 +2786,9 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "ppv-lite86" -version = "0.2.20" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" dependencies = [ "zerocopy", ] @@ -2837,12 +2805,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.1.25" +version = "0.2.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86" +checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" dependencies = [ "proc-macro2", - "syn 1.0.109", + "syn 2.0.111", ] [[package]] @@ -2853,9 +2821,9 @@ checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" [[package]] name = "proc-macro2" -version = "1.0.92" +version = "1.0.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" +checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" dependencies = [ "unicode-ident", ] @@ -2863,18 +2831,18 @@ dependencies = [ [[package]] name = "proc_macro_crate" version = "0.1.0" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "prost" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" +checksum = "7231bd9b3d3d33c86b58adbac74b5ec0ad9f496b19d22801d773636feaa95f3d" dependencies = [ "bytes", "prost-derive", @@ -2882,52 +2850,51 @@ dependencies = [ [[package]] name = "prost-build" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" +checksum = "ac6c3320f9abac597dcbc668774ef006702672474aad53c6d596b62e487b40b1" dependencies = [ - "bytes", - "heck 0.4.1", - "itertools", - "lazy_static", + "heck 0.5.0", + "itertools 0.14.0", "log", "multimap", - "petgraph", + "once_cell", + "petgraph 0.7.1", "prettyplease", "prost", "prost-types", "regex", - "syn 1.0.109", + "syn 2.0.111", "tempfile", - "which", ] [[package]] name = "prost-derive" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4" +checksum = "9120690fafc389a67ba3803df527d0ec9cbbc9cc45e4cc20b332996dfb672425" dependencies = [ "anyhow", - "itertools", + "itertools 0.14.0", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.111", ] [[package]] name = "prost-types" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" +checksum = "b9b4db3d6da204ed77bb26ba83b6122a73aeb2e87e25fbf7ad2e84c4ccbf8f72" dependencies = [ "prost", ] [[package]] name = "prost-wkt" -version = "0.4.1" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "655944d0ce015e71b3ec21279437e6a09e58433e50c7b0677901f3d5235e74f5" dependencies = [ "chrono", "inventory", @@ -2940,41 +2907,26 @@ dependencies = [ [[package]] name = "prost-wkt-build" -version = "0.4.1" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f869f1443fee474b785e935d92e1007f57443e485f51668ed41943fc01a321a2" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "prost", "prost-build", "prost-types", "quote", ] -[[package]] -name = "prost-wkt-types" -version = "0.4.1" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" -dependencies = [ - "chrono", - "prost", - "prost-build", - "prost-types", - "prost-wkt", - "prost-wkt-build", - "protoc-bin-vendored", - "regex", - "serde", - "serde_derive", - "serde_json", -] - [[package]] name = "protoc-bin-vendored" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1c381df33c98266b5f08186583660090a4ffa0889e76c7e9a5e175f645a67fa" dependencies = [ "protoc-bin-vendored-linux-aarch_64", "protoc-bin-vendored-linux-ppcle_64", + "protoc-bin-vendored-linux-s390_64", "protoc-bin-vendored-linux-x86_32", "protoc-bin-vendored-linux-x86_64", "protoc-bin-vendored-macos-aarch_64", @@ -2985,71 +2937,87 @@ dependencies = [ [[package]] name = "protoc-bin-vendored-linux-aarch_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c350df4d49b5b9e3ca79f7e646fde2377b199e13cfa87320308397e1f37e1a4c" [[package]] name = "protoc-bin-vendored-linux-ppcle_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a55a63e6c7244f19b5c6393f025017eb5d793fd5467823a099740a7a4222440c" + +[[package]] +name = "protoc-bin-vendored-linux-s390_64" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1dba5565db4288e935d5330a07c264a4ee8e4a5b4a4e6f4e83fad824cc32f3b0" [[package]] name = "protoc-bin-vendored-linux-x86_32" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8854774b24ee28b7868cd71dccaae8e02a2365e67a4a87a6cd11ee6cdbdf9cf5" [[package]] name = "protoc-bin-vendored-linux-x86_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b38b07546580df720fa464ce124c4b03630a6fb83e05c336fea2a241df7e5d78" [[package]] name = "protoc-bin-vendored-macos-aarch_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89278a9926ce312e51f1d999fee8825d324d603213344a9a706daa009f1d8092" [[package]] name = "protoc-bin-vendored-macos-x86_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81745feda7ccfb9471d7a4de888f0652e806d5795b61480605d4943176299756" [[package]] name = "protoc-bin-vendored-win32" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95067976aca6421a523e491fce939a3e65249bac4b977adee0ee9771568e8aa3" [[package]] name = "quinn" -version = "0.11.6" +version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62e96808277ec6f97351a2380e6c25114bc9e67037775464979f3037c92d05ef" +checksum = "b9e20a958963c291dc322d98411f541009df2ced7b5a4f2bd52337638cfccf20" dependencies = [ "bytes", + "cfg_aliases", "pin-project-lite", "quinn-proto", "quinn-udp", - "rustc-hash 2.1.0", + "rustc-hash 2.1.1", "rustls", "socket2", - "thiserror 2.0.4", + "thiserror 2.0.17", "tokio", "tracing", + "web-time", ] [[package]] name = "quinn-proto" -version = "0.11.9" +version = "0.11.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2fe5ef3495d7d2e377ff17b1a8ce2ee2ec2a18cde8b6ad6619d65d0701c135d" +checksum = "f1906b49b0c3bc04b5fe5d86a77925ae6524a19b816ae38ce1e426255f1d8a31" dependencies = [ "bytes", - "getrandom", - "rand", + "getrandom 0.3.4", + "lru-slab", + "rand 0.9.2", "ring", - "rustc-hash 2.1.0", + "rustc-hash 2.1.1", "rustls", "rustls-pki-types", "slab", - "thiserror 2.0.4", + "thiserror 2.0.17", "tinyvec", "tracing", "web-time", @@ -3057,27 +3025,33 @@ dependencies = [ [[package]] name = "quinn-udp" -version = "0.5.7" +version = "0.5.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d5a626c6807713b15cac82a6acaccd6043c9a5408c24baae07611fec3f243da" +checksum = "addec6a0dcad8a8d96a771f815f0eaf55f9d1805756410b39f5fa81332574cbd" dependencies = [ "cfg_aliases", "libc", "once_cell", "socket2", "tracing", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] [[package]] name = "quote" -version = "1.0.37" +version = "1.0.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" +checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" dependencies = [ "proc-macro2", ] +[[package]] +name = "r-efi" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + [[package]] name = "ra_ap_paths" version = "0.0.149" @@ -3131,8 +3105,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", - "rand_chacha", - "rand_core", + "rand_chacha 0.3.1", + "rand_core 0.6.4", +] + +[[package]] +name = "rand" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" +dependencies = [ + "rand_chacha 0.9.0", + "rand_core 0.9.3", ] [[package]] @@ -3142,7 +3126,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", - "rand_core", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_chacha" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" +dependencies = [ + "ppv-lite86", + "rand_core 0.9.3", ] [[package]] @@ -3151,7 +3145,16 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom", + "getrandom 0.2.16", +] + +[[package]] +name = "rand_core" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" +dependencies = [ + "getrandom 0.3.4", ] [[package]] @@ -3160,7 +3163,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa" dependencies = [ - "rand_core", + "rand_core 0.6.4", ] [[package]] @@ -3174,11 +3177,11 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.7" +version = "0.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", ] [[package]] @@ -3187,20 +3190,20 @@ version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ - "getrandom", + "getrandom 0.2.16", "libredox", "thiserror 1.0.69", ] [[package]] name = "regex" -version = "1.11.1" +version = "1.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" +checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.9", + "regex-automata 0.4.13", "regex-syntax", ] @@ -3212,9 +3215,9 @@ checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" [[package]] name = "regex-automata" -version = "0.4.9" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" +checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" dependencies = [ "aho-corasick", "memchr", @@ -3223,15 +3226,15 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.8.5" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" +checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" [[package]] name = "reqwest" -version = "0.12.9" +version = "0.12.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a77c62af46e79de0a562e1a9849205ffcb7fc1238876e9bd743357570e04046f" +checksum = "9d0946410b9f7b082a427e4ef5c8ff541a88b357bc6c637c40db3a68ac70a36f" dependencies = [ "base64 0.22.1", "bytes", @@ -3243,16 +3246,12 @@ dependencies = [ "hyper", "hyper-rustls", "hyper-util", - "ipnet", "js-sys", "log", - "mime", - "once_cell", "percent-encoding", "pin-project-lite", "quinn", "rustls", - "rustls-pemfile", "rustls-pki-types", "serde", "serde_json", @@ -3260,7 +3259,9 @@ dependencies = [ "sync_wrapper", "tokio", "tokio-rustls", - "tokio-util 0.7.13", + "tokio-util 0.7.17", + "tower", + "tower-http", "tower-service", "url", "wasm-bindgen", @@ -3268,20 +3269,18 @@ dependencies = [ "wasm-streams", "web-sys", "webpki-roots", - "windows-registry", ] [[package]] name = "ring" -version = "0.17.8" +version = "0.17.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" dependencies = [ "cc", - "cfg-if 1.0.0", - "getrandom", + "cfg-if 1.0.4", + "getrandom 0.2.16", "libc", - "spin", "untrusted", "windows-sys 0.52.0", ] @@ -3309,9 +3308,9 @@ dependencies = [ [[package]] name = "rustc-demangle" -version = "0.1.24" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" +checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace" [[package]] name = "rustc-hash" @@ -3321,9 +3320,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustc-hash" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497" +checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" [[package]] name = "rustc-rayon" @@ -3338,12 +3337,12 @@ dependencies = [ [[package]] name = "rustc-rayon" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb81aadc8837ca6ecebe0fe1353f15df83b3b3cc2cf7a8afd571bc22aa121710" +checksum = "2cd9fb077db982d7ceb42a90471e5a69a990b58f71e06f0d8340bb2cf35eb751" dependencies = [ "either", - "rustc-rayon-core 0.5.0", + "rustc-rayon-core 0.5.1", ] [[package]] @@ -3360,14 +3359,12 @@ dependencies = [ [[package]] name = "rustc-rayon-core" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67668daaf00e359c126f6dcb40d652d89b458a008c8afa727a42a2d20fca0b7f" +checksum = "2f42932dcd3bcbe484b38a3ccf79b7906fac41c02d408b5b1bac26da3416efdb" dependencies = [ - "crossbeam-channel", "crossbeam-deque", "crossbeam-utils", - "num_cpus", ] [[package]] @@ -3384,7 +3381,7 @@ dependencies = [ "jobserver", "libc", "memmap2", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "rustc-hash 1.1.0", "rustc-rayon 0.3.2", "rustc-rayon-core 0.3.2", @@ -3424,47 +3421,38 @@ dependencies = [ "rustc_data_structures", "scoped-tls", "sha-1", - "sha2 0.10.8", + "sha2 0.10.9", "tracing", "unicode-width", ] -[[package]] -name = "rustc_version" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" -dependencies = [ - "semver 0.9.0", -] - [[package]] name = "rustc_version" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ - "semver 1.0.23", + "semver", ] [[package]] name = "rustix" -version = "0.38.41" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7f649912bc1495e167a6edee79151c84b1bad49748cb4f1f1167f459f6224f6" +checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", "errno", "libc", "linux-raw-sys", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] name = "rustls" -version = "0.23.19" +version = "0.23.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "934b404430bb06b3fae2cba809eb45a1ab1aecd64491213d7c3301b88393f8d1" +checksum = "533f54bc6a7d4f647e46ad909549eda97bf5afc1585190ef692b4286b198bd8f" dependencies = [ "once_cell", "ring", @@ -3474,29 +3462,21 @@ dependencies = [ "zeroize", ] -[[package]] -name = "rustls-pemfile" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" -dependencies = [ - "rustls-pki-types", -] - [[package]] name = "rustls-pki-types" -version = "1.10.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16f1201b3c9a7ee8039bcadc17b7e605e2945b27eee7631788c1bd2b0643674b" +checksum = "94182ad936a0c91c324cd46c6511b9510ed16af436d7b5bab34beab0afd55f7a" dependencies = [ "web-time", + "zeroize", ] [[package]] name = "rustls-webpki" -version = "0.102.8" +version = "0.103.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" +checksum = "2ffdfa2f5286e2247234e03f680868ac2815974dc39e00ea15adc445d0aafe52" dependencies = [ "ring", "rustls-pki-types", @@ -3505,15 +3485,15 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.18" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248" +checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" [[package]] name = "ryu" -version = "1.0.18" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" +checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" [[package]] name = "salsa" @@ -3571,76 +3551,73 @@ version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e14e4d63b804dc0c7ec4a1e52bcb63f02c7ac94476755aa579edac21e01f915d" dependencies = [ - "self_cell 1.0.4", + "self_cell 1.2.1", ] [[package]] name = "self_cell" -version = "1.0.4" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d369a96f978623eb3dc28807c4852d6cc617fed53da5d3c400feff1ef34a714a" +checksum = "16c2f82143577edb4921b71ede051dac62ca3c16084e918bf7b40c96ae10eb33" [[package]] name = "semver" -version = "0.9.0" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" -dependencies = [ - "semver-parser", -] +checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" [[package]] -name = "semver" -version = "1.0.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" - -[[package]] -name = "semver-parser" -version = "0.7.0" +name = "serde" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" +dependencies = [ + "serde_core", + "serde_derive", +] [[package]] -name = "serde" -version = "1.0.215" +name = "serde_core" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.215" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "serde_json" -version = "1.0.115" +version = "1.0.145" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12dc5c46daa8e9fdf4f5e71b6cf9a53f2487da0e86e55808e2d35539666497dd" +checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c" dependencies = [ "itoa", + "memchr", "ryu", "serde", + "serde_core", ] [[package]] name = "serde_repr" -version = "0.1.19" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" +checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -3656,11 +3633,12 @@ dependencies = [ ] [[package]] -name = "serde_yaml" -version = "0.9.34+deprecated" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "serde_yaml_ng" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b4db627b98b36d4203a7b458cf3573730f2bb591b28871d916dfa9efabfd41f" dependencies = [ - "indexmap 2.7.0", + "indexmap 2.12.1", "itoa", "ryu", "serde", @@ -3673,7 +3651,7 @@ version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "cpufeatures", "digest 0.10.7", ] @@ -3700,7 +3678,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" dependencies = [ "block-buffer 0.9.0", - "cfg-if 1.0.0", + "cfg-if 1.0.4", "cpufeatures", "digest 0.9.0", "opaque-debug 0.3.1", @@ -3708,11 +3686,11 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.8" +version = "0.10.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "cpufeatures", "digest 0.10.7", ] @@ -3725,13 +3703,19 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook-registry" -version = "1.4.2" +version = "1.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" +checksum = "7664a098b8e616bdfcc2dc0e9ac44eb231eedf41db4e9fe95d8d32ec728dedad" dependencies = [ "libc", ] +[[package]] +name = "simd-adler32" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" + [[package]] name = "siphasher" version = "0.3.11" @@ -3750,98 +3734,31 @@ dependencies = [ [[package]] name = "slab" -version = "0.4.9" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" -dependencies = [ - "autocfg", -] +checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" [[package]] name = "smallvec" -version = "1.13.2" +version = "1.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" [[package]] name = "socket2" -version = "0.5.8" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8" +checksum = "17129e116933cf371d018bb80ae557e889637989d8638274fb25622827b03881" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.60.2", ] -[[package]] -name = "spin" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" - [[package]] name = "stable_deref_trait" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" - -[[package]] -name = "standback" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e113fb6f3de07a243d434a56ec6f186dfd51cb08448239fe7bcae73f87ff28ff" -dependencies = [ - "version_check", -] - -[[package]] -name = "stdweb" -version = "0.4.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d022496b16281348b52d0e30ae99e01a73d737b2f45d38fed4edf79f9325a1d5" -dependencies = [ - "discard", - "rustc_version 0.2.3", - "stdweb-derive", - "stdweb-internal-macros", - "stdweb-internal-runtime", - "wasm-bindgen", -] - -[[package]] -name = "stdweb-derive" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c87a60a40fccc84bef0652345bbbbbe20a605bf5d0ce81719fc476f5c03b50ef" -dependencies = [ - "proc-macro2", - "quote", - "serde", - "serde_derive", - "syn 1.0.109", -] - -[[package]] -name = "stdweb-internal-macros" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58fa5ff6ad0d98d1ffa8cb115892b6e69d67799f6763e162a1c9db421dc22e11" -dependencies = [ - "base-x", - "proc-macro2", - "quote", - "serde", - "serde_derive", - "serde_json", - "sha1", - "syn 1.0.109", -] - -[[package]] -name = "stdweb-internal-runtime" -version = "0.1.5" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213701ba3370744dcd1a12960caa4843b3d68b4d1c0a5d575e0d65b2ee9d16c0" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" [[package]] name = "str_indices" @@ -3889,9 +3806,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.90" +version = "2.0.111" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31" +checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87" dependencies = [ "proc-macro2", "quote", @@ -3921,20 +3838,20 @@ dependencies = [ [[package]] name = "synstructure" -version = "0.13.1" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" +checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "tar" -version = "0.4.43" +version = "0.4.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c65998313f8e17d0d553d28f91a0df93e4dbbbf770279c7bc21ca0f09ea1a1f6" +checksum = "1d863878d212c87a19c1a610eb53bb01fe12951c0501cf5a0d65f724914a667a" dependencies = [ "filetime", "libc", @@ -3943,15 +3860,15 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.14.0" +version = "3.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c" +checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" dependencies = [ - "cfg-if 1.0.0", "fastrand", + "getrandom 0.3.4", "once_cell", "rustix", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -3984,11 +3901,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.4" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f49a1853cf82743e3b7950f77e0f4d622ca36cf4317cba00c767838bac8d490" +checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" dependencies = [ - "thiserror-impl 2.0.4", + "thiserror-impl 2.0.17", ] [[package]] @@ -3999,28 +3916,27 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "thiserror-impl" -version = "2.0.4" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8381894bb3efe0c4acac3ded651301ceee58a15d47c2e34885ed1908ad667061" +checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "thread_local" -version = "1.1.8" +version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" +checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185" dependencies = [ - "cfg-if 1.0.0", - "once_cell", + "cfg-if 1.0.4", ] [[package]] @@ -4034,24 +3950,9 @@ dependencies = [ [[package]] name = "time" -version = "0.2.27" +version = "0.3.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4752a97f8eebd6854ff91f1c1824cd6160626ac4bd44287f7f4ea2035a02a242" -dependencies = [ - "const_fn", - "libc", - "standback", - "stdweb", - "time-macros 0.1.1", - "version_check", - "winapi", -] - -[[package]] -name = "time" -version = "0.3.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21" +checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d" dependencies = [ "deranged", "itoa", @@ -4061,63 +3962,41 @@ dependencies = [ "powerfmt", "serde", "time-core", - "time-macros 0.2.19", + "time-macros", ] [[package]] name = "time-core" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" - -[[package]] -name = "time-macros" -version = "0.1.1" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "957e9c6e26f12cb6d0dd7fc776bb67a706312e7299aed74c8dd5b17ebb27e2f1" -dependencies = [ - "proc-macro-hack", - "time-macros-impl", -] +checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b" [[package]] name = "time-macros" -version = "0.2.19" +version = "0.2.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2834e6017e3e5e4b9834939793b282bc03b37a3336245fa820e35e233e2a85de" +checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3" dependencies = [ "num-conv", "time-core", ] -[[package]] -name = "time-macros-impl" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd3c141a1b43194f3f56a1411225df8646c55781d5f26db825b3d98507eb482f" -dependencies = [ - "proc-macro-hack", - "proc-macro2", - "quote", - "standback", - "syn 1.0.109", -] - [[package]] name = "tinystr" -version = "0.7.6" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f" +checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869" dependencies = [ "displaydoc", + "serde_core", "zerovec", ] [[package]] name = "tinyvec" -version = "1.8.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938" +checksum = "bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa" dependencies = [ "tinyvec_macros", ] @@ -4130,49 +4009,47 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.42.0" +version = "1.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cec9b21b0450273377fc97bd4c33a8acffc8c996c987a7c5b319a0083707551" +checksum = "ff360e02eab121e0bc37a2d3b4d4dc622e6eda3a8e5253d5435ecf5bd4c68408" dependencies = [ - "backtrace", "bytes", "libc", - "mio 1.0.3", - "parking_lot 0.12.3", + "mio 1.1.0", + "parking_lot 0.12.5", "pin-project-lite", "signal-hook-registry", "socket2", "tokio-macros", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] name = "tokio-macros" -version = "2.4.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" +checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "tokio-rustls" -version = "0.26.0" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4" +checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61" dependencies = [ "rustls", - "rustls-pki-types", "tokio", ] [[package]] name = "tokio-stream" -version = "0.1.16" +version = "0.1.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f4e6ce100d0eb49a2734f8c0812bcd324cf357d21810932c5df6b96ef2b86f1" +checksum = "eca58d7bba4a75707817a2c44174253f9236b2d5fbd055602e9d5c07c139a047" dependencies = [ "futures-core", "pin-project-lite", @@ -4208,9 +4085,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.13" +version = "0.7.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7fcaa8d55a2bdd6b83ace262b016eca0d79ee02818c5c1bcdf0305114081078" +checksum = "2efa149fe76073d6e8fd97ef4f4eca7b67f599660115591483572e406e165594" dependencies = [ "bytes", "futures-core", @@ -4228,6 +4105,45 @@ dependencies = [ "serde", ] +[[package]] +name = "tower" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper", + "tokio", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-http" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adc82fd73de2a9722ac5da747f12383d2bfdb93591ee6c58486e0097890f05f2" +dependencies = [ + "bitflags 2.10.0", + "bytes", + "futures-util", + "http", + "http-body", + "iri-string", + "pin-project-lite", + "tower", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-layer" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" + [[package]] name = "tower-service" version = "0.3.3" @@ -4248,20 +4164,20 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.28" +version = "0.1.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" +checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "tracing-core" -version = "0.1.33" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" +checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678" dependencies = [ "once_cell", ] @@ -4274,30 +4190,30 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "type-map" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "deb68604048ff8fa93347f02441e4487594adc20bb8a084f9e564d2b827a0a9f" +checksum = "cb30dbbd9036155e74adad6812e9898d03ec374946234fbcebd5dfc7b9187b90" dependencies = [ - "rustc-hash 1.1.0", + "rustc-hash 2.1.1", ] [[package]] name = "typeid" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e13db2e0ccd5e14a544e8a246ba2312cd25223f616442d7f2cb0e3db614236e" +checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c" [[package]] name = "typenum" -version = "1.17.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" +checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" [[package]] name = "typetag" -version = "0.2.18" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52ba3b6e86ffe0054b2c44f2d86407388b933b16cb0a70eea3929420db1d9bbe" +checksum = "be2212c8a9b9bcfca32024de14998494cf9a5dfa59ea1b829de98bac374b86bf" dependencies = [ "erased-serde", "inventory", @@ -4308,13 +4224,13 @@ dependencies = [ [[package]] name = "typetag-impl" -version = "0.2.18" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70b20a22c42c8f1cd23ce5e34f165d4d37038f5b663ad20fb6adbdf029172483" +checksum = "27a7a9b72ba121f6f1f6c3632b85604cac41aedb5ddc70accbebb6cac83de846" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -4357,9 +4273,9 @@ dependencies = [ [[package]] name = "unic-langid" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23dd9d1e72a73b25e07123a80776aae3e7b0ec461ef94f9151eed6ec88005a44" +checksum = "a28ba52c9b05311f4f6e62d5d9d46f094bd6e84cb8df7b3ef952748d752a7d05" dependencies = [ "unic-langid-impl", "unic-langid-macros", @@ -4367,18 +4283,18 @@ dependencies = [ [[package]] name = "unic-langid-impl" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a5422c1f65949306c99240b81de9f3f15929f5a8bfe05bb44b034cc8bf593e5" +checksum = "dce1bf08044d4b7a94028c93786f8566047edc11110595914de93362559bc658" dependencies = [ "tinystr", ] [[package]] name = "unic-langid-macros" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0da1cd2c042d3c7569a1008806b02039e7a4a2bdf8f8e96bd3c792434a0e275e" +checksum = "d5957eb82e346d7add14182a3315a7e298f04e1ba4baac36f7f0dbfedba5fc25" dependencies = [ "proc-macro-hack", "tinystr", @@ -4388,13 +4304,13 @@ dependencies = [ [[package]] name = "unic-langid-macros-impl" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ed7f4237ba393424195053097c1516bd4590dc82b84f2f97c5c69e12704555b" +checksum = "a1249a628de3ad34b821ecb1001355bca3940bcb2f88558f1a8bd82e977f75b5" dependencies = [ "proc-macro-hack", "quote", - "syn 2.0.90", + "syn 2.0.111", "unic-langid-impl", ] @@ -4432,27 +4348,27 @@ dependencies = [ [[package]] name = "unicase" -version = "2.8.0" +version = "2.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e51b68083f157f853b6379db119d1c1be0e6e4dec98101079dec41f6f5cf6df" +checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539" [[package]] name = "unicode-casing" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "623f59e6af2a98bdafeb93fa277ac8e1e40440973001ca15cf4ae1541cd16d56" +checksum = "061dbb8cc7f108532b6087a0065eff575e892a4bcb503dc57323a197457cc202" [[package]] name = "unicode-ident" -version = "1.0.14" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" +checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" [[package]] name = "unicode-normalization" -version = "0.1.24" +version = "0.1.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956" +checksum = "5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8" dependencies = [ "tinyvec", ] @@ -4495,9 +4411,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.4" +version = "2.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" +checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b" dependencies = [ "form_urlencoded", "idna", @@ -4505,12 +4421,6 @@ dependencies = [ "serde", ] -[[package]] -name = "utf16_iter" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246" - [[package]] name = "utf8_iter" version = "1.0.4" @@ -4525,46 +4435,48 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.11.0" +version = "1.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a" +checksum = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2" dependencies = [ - "getrandom", + "getrandom 0.3.4", + "js-sys", "serde", + "wasm-bindgen", ] [[package]] name = "vergen" -version = "9.0.2" +version = "9.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31f25fc8f8f05df455c7941e87f093ad22522a9ff33d7a027774815acf6f0639" +checksum = "6b2bf58be11fc9414104c6d3a2e464163db5ef74b12296bda593cac37b6e4777" dependencies = [ "anyhow", "derive_builder", - "rustc_version 0.4.1", + "rustc_version", "rustversion", "vergen-lib", ] [[package]] name = "vergen-gitcl" -version = "1.0.2" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0227006d09f98ab00ea69e9a5e055e676a813cfbed4232986176c86a6080b997" +checksum = "b9dfc1de6eb2e08a4ddf152f1b179529638bedc0ea95e6d667c014506377aefe" dependencies = [ "anyhow", "derive_builder", "rustversion", - "time 0.3.37", + "time", "vergen", "vergen-lib", ] [[package]] name = "vergen-lib" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0c767e6751c09fc85cde58722cf2f1007e80e4c8d5a4321fc90d83dc54ca147" +checksum = "9b07e6010c0f3e59fcb164e0163834597da68d1f864e2b8ca49f74de01e9c166" dependencies = [ "anyhow", "derive_builder", @@ -4598,43 +4510,39 @@ dependencies = [ [[package]] name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" +version = "0.11.1+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" [[package]] -name = "wasm-bindgen" -version = "0.2.97" +name = "wasip2" +version = "1.0.1+wasi-0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d15e63b4482863c109d70a7b8706c1e364eb6ea449b201a76c5b89cedcec2d5c" +checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" dependencies = [ - "cfg-if 1.0.0", - "once_cell", - "wasm-bindgen-macro", + "wit-bindgen", ] [[package]] -name = "wasm-bindgen-backend" -version = "0.2.97" +name = "wasm-bindgen" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d36ef12e3aaca16ddd3f67922bc63e48e953f126de60bd33ccc0101ef9998cd" +checksum = "da95793dfc411fbbd93f5be7715b0578ec61fe87cb1a42b12eb625caa5c5ea60" dependencies = [ - "bumpalo", - "log", + "cfg-if 1.0.4", "once_cell", - "proc-macro2", - "quote", - "syn 2.0.90", + "rustversion", + "wasm-bindgen-macro", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.47" +version = "0.4.55" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dfaf8f50e5f293737ee323940c7d8b08a66a95a419223d9f41610ca08b0833d" +checksum = "551f88106c6d5e7ccc7cd9a16f312dd3b5d36ea8b4954304657d5dfba115d4a0" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "js-sys", "once_cell", "wasm-bindgen", @@ -4643,9 +4551,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.97" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "705440e08b42d3e4b36de7d66c944be628d579796b8090bfa3471478a2260051" +checksum = "04264334509e04a7bf8690f2384ef5265f05143a4bff3889ab7a3269adab59c2" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -4653,22 +4561,25 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.97" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98c9ae5a76e46f4deecd0f0255cc223cfa18dc9b261213b8aa0c7b36f61b3f1d" +checksum = "420bc339d9f322e562942d52e115d57e950d12d88983a14c79b86859ee6c7ebc" dependencies = [ + "bumpalo", "proc-macro2", "quote", - "syn 2.0.90", - "wasm-bindgen-backend", + "syn 2.0.111", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.97" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ee99da9c5ba11bd675621338ef6fa52296b76b83305e9b6e5c77d4c286d6d49" +checksum = "76f218a38c84bcb33c25ec7059b07847d465ce0e0a76b995e134a45adcb6af76" +dependencies = [ + "unicode-ident", +] [[package]] name = "wasm-streams" @@ -4685,9 +4596,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.74" +version = "0.3.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a98bc3c33f0fe7e59ad7cd041b89034fa82a7c2d4365ca538dda6cdaf513863c" +checksum = "3a1f95c0d03a47f4ae1f7a64643a6bb97465d9b740f0fa8f90ea33915c99a9a1" dependencies = [ "js-sys", "wasm-bindgen", @@ -4705,25 +4616,13 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.26.7" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d642ff16b7e79272ae451b7322067cdc17cadf68c23264be9d94a32319efe7e" +checksum = "b2878ef029c47c6e8cf779119f20fcf52bde7ad42a731b2a304bc221df17571e" dependencies = [ "rustls-pki-types", ] -[[package]] -name = "which" -version = "4.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" -dependencies = [ - "either", - "home", - "once_cell", - "rustix", -] - [[package]] name = "winapi" version = "0.3.9" @@ -4742,11 +4641,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.9" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -4756,52 +4655,68 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] -name = "windows" -version = "0.52.0" +name = "windows-core" +version = "0.62.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" dependencies = [ - "windows-core", - "windows-targets 0.52.6", + "windows-implement", + "windows-interface", + "windows-link 0.2.1", + "windows-result", + "windows-strings", ] [[package]] -name = "windows-core" -version = "0.52.0" +name = "windows-implement" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" dependencies = [ - "windows-targets 0.52.6", + "proc-macro2", + "quote", + "syn 2.0.111", ] [[package]] -name = "windows-registry" -version = "0.2.0" +name = "windows-interface" +version = "0.59.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" dependencies = [ - "windows-result", - "windows-strings", - "windows-targets 0.52.6", + "proc-macro2", + "quote", + "syn 2.0.111", ] +[[package]] +name = "windows-link" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + [[package]] name = "windows-result" -version = "0.2.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" dependencies = [ - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] name = "windows-strings" -version = "0.1.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" dependencies = [ - "windows-result", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] @@ -4848,11 +4763,20 @@ dependencies = [ [[package]] name = "windows-sys" -version = "0.59.0" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" dependencies = [ - "windows-targets 0.52.6", + "windows-targets 0.53.5", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link 0.2.1", ] [[package]] @@ -4894,13 +4818,30 @@ dependencies = [ "windows_aarch64_gnullvm 0.52.6", "windows_aarch64_msvc 0.52.6", "windows_i686_gnu 0.52.6", - "windows_i686_gnullvm", + "windows_i686_gnullvm 0.52.6", "windows_i686_msvc 0.52.6", "windows_x86_64_gnu 0.52.6", "windows_x86_64_gnullvm 0.52.6", "windows_x86_64_msvc 0.52.6", ] +[[package]] +name = "windows-targets" +version = "0.53.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" +dependencies = [ + "windows-link 0.2.1", + "windows_aarch64_gnullvm 0.53.1", + "windows_aarch64_msvc 0.53.1", + "windows_i686_gnu 0.53.1", + "windows_i686_gnullvm 0.53.1", + "windows_i686_msvc 0.53.1", + "windows_x86_64_gnu 0.53.1", + "windows_x86_64_gnullvm 0.53.1", + "windows_x86_64_msvc 0.53.1", +] + [[package]] name = "windows_aarch64_gnullvm" version = "0.42.2" @@ -4919,6 +4860,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" + [[package]] name = "windows_aarch64_msvc" version = "0.42.2" @@ -4937,6 +4884,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" +[[package]] +name = "windows_aarch64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" + [[package]] name = "windows_i686_gnu" version = "0.42.2" @@ -4955,12 +4908,24 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" +[[package]] +name = "windows_i686_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" + [[package]] name = "windows_i686_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" +[[package]] +name = "windows_i686_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" + [[package]] name = "windows_i686_msvc" version = "0.42.2" @@ -4979,6 +4944,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" +[[package]] +name = "windows_i686_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" + [[package]] name = "windows_x86_64_gnu" version = "0.42.2" @@ -4997,6 +4968,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" +[[package]] +name = "windows_x86_64_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" + [[package]] name = "windows_x86_64_gnullvm" version = "0.42.2" @@ -5015,6 +4992,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" + [[package]] name = "windows_x86_64_msvc" version = "0.42.2" @@ -5034,25 +5017,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] -name = "write16" -version = "1.0.0" +name = "windows_x86_64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" + +[[package]] +name = "wit-bindgen" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936" +checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59" [[package]] name = "writeable" -version = "0.5.5" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51" +checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9" [[package]] name = "xattr" -version = "1.3.1" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f" +checksum = "32e45ad4206f6d2479085147f02bc2ef834ac85886624a23575ae137c8aa8156" dependencies = [ "libc", - "linux-raw-sys", "rustix", ] @@ -5082,11 +5070,10 @@ dependencies = [ [[package]] name = "yoke" -version = "0.7.5" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40" +checksum = "72d6e5c6afb84d73944e5cedb052c4680d5657337201555f9f2a16b7406d4954" dependencies = [ - "serde", "stable_deref_trait", "yoke-derive", "zerofrom", @@ -5094,70 +5081,81 @@ dependencies = [ [[package]] name = "yoke-derive" -version = "0.7.5" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" +checksum = "b659052874eb698efe5b9e8cf382204678a0086ebf46982b79d6ca3182927e5d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", - "synstructure 0.13.1", + "syn 2.0.111", + "synstructure 0.13.2", ] [[package]] name = "zerocopy" -version = "0.7.35" +version = "0.8.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" +checksum = "43fa6694ed34d6e57407afbccdeecfa268c470a7d2a5b0cf49ce9fcc345afb90" dependencies = [ - "byteorder", "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.35" +version = "0.8.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" +checksum = "c640b22cd9817fae95be82f0d2f90b11f7605f6c319d16705c459b27ac2cbc26" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "zerofrom" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e" +checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" dependencies = [ "zerofrom-derive", ] [[package]] name = "zerofrom-derive" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808" +checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", - "synstructure 0.13.1", + "syn 2.0.111", + "synstructure 0.13.2", ] [[package]] name = "zeroize" -version = "1.8.1" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" +checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0" + +[[package]] +name = "zerotrie" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a59c17a5562d507e4b54960e8569ebee33bee890c70aa3fe7b97e85a9fd7851" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] [[package]] name = "zerovec" -version = "0.10.4" +version = "0.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079" +checksum = "6c28719294829477f525be0186d13efa9a3c602f7ec202ca9e353d310fb9a002" dependencies = [ + "serde", "yoke", "zerofrom", "zerovec-derive", @@ -5165,11 +5163,11 @@ dependencies = [ [[package]] name = "zerovec-derive" -version = "0.10.3" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" +checksum = "eadce39539ca5cb3985590102671f2567e659fca9666581ad3411d59207951f3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] diff --git a/java/Cargo.toml b/java/Cargo.toml index 22a4a920..56b10dfc 100644 --- a/java/Cargo.toml +++ b/java/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "kcl-lib-jni" publish = false -version = "0.11.2" +version = "0.12.0" +edition = "2024" [lib] crate-type = ["cdylib"] @@ -9,15 +10,15 @@ doc = false [dependencies] jni = "0.21.1" -prost = "0.11.8" -prost-types = "0.11.8" serde_json = "1" indexmap = "2.2.5" anyhow = "1" serde = { version = "1", features = ["derive"] } once_cell = "1.19.0" lazy_static = "1.4.0" +prost = "0.14.1" +prost-types = "0.14.1" -kclvm-parser = { git = "https://github.com/kcl-lang/kcl", version = "0.11.2" } -kclvm-sema = { git = "https://github.com/kcl-lang/kcl", version = "0.11.2" } -kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.11.2" } +kcl-parser = { git = "https://github.com/kcl-lang/kcl", version = "0.12.0" } +kcl-sema = { git = "https://github.com/kcl-lang/kcl", version = "0.12.0" } +kcl-api = { git = "https://github.com/kcl-lang/kcl", version = "0.12.0" } diff --git a/java/README.md b/java/README.md index ae588dfe..7a38858a 100644 --- a/java/README.md +++ b/java/README.md @@ -26,7 +26,7 @@ This way you'll be able to import the above dependency to use the SDK. com.kcl kcl-lib - 0.11.2-SNAPSHOT + 0.12.0-SNAPSHOT ``` @@ -34,14 +34,14 @@ Write the code ```java import com.kcl.api.API; -import com.kcl.api.Spec.ExecProgram_Args; -import com.kcl.api.Spec.ExecProgram_Result; +import com.kcl.api.Spec.ExecProgramArgs; +import com.kcl.api.Spec.ExecProgramResult; public class ExecProgramTest { public static void main(String[] args) throws Exception { API api = new API(); - ExecProgram_Result result = api - .execProgram(ExecProgram_Args.newBuilder().addKFilenameList("path/to/kcl.k").build()); + ExecProgramResult result = api + .execProgram(ExecProgramArgs.newBuilder().addKFilenameList("path/to/kcl.k").build()); System.out.println(result.getYamlResult()); } } @@ -96,9 +96,9 @@ Java Code ```java import com.kcl.api.*; -ExecProgram_Args args = ExecProgram_Args.newBuilder().addKFilenameList("schema.k").build(); +ExecProgramArgs args = ExecProgramArgs.newBuilder().addKFilenameList("schema.k").build(); API apiInstance = new API(); -ExecProgram_Result result = apiInstance.execProgram(args); +ExecProgramResult result = apiInstance.execProgram(args); ```

@@ -127,9 +127,9 @@ Java Code ```java import com.kcl.api.*; -ParseFile_Args args = ParseFile_Args.newBuilder().setPath("schema.k").build(); +ParseFileArgs args = ParseFileArgs.newBuilder().setPath("schema.k").build(); API apiInstance = new API(); -ParseFile_Result result = apiInstance.parseFile(args); +ParseFileResult result = apiInstance.parseFile(args); ```

@@ -159,9 +159,9 @@ Java Code import com.kcl.api.*; API api = new API(); -LoadPackage_Result result = api.loadPackage(LoadPackage_Args.newBuilder().setResolveAst(true) +LoadPackageResult result = api.loadPackage(LoadPackageArgs.newBuilder().setResolveAst(true) .setWithAstIndex(true) - .setParseArgs(ParseProgram_Args.newBuilder().addPaths("schema.k").build()).build()); + .setParseArgs(ParseProgramArgs.newBuilder().addPaths("schema.k").build()).build()); ```

@@ -191,9 +191,9 @@ Java Code import com.kcl.api.*; API api = new API(); -ListVariables_Result result = api.listVariables( - ListVariables_Args.newBuilder().setResolveAst(true).setParseArgs( - ParseProgram_Args.newBuilder().addPaths("/path/to/kcl.k").build()) +ListVariablesResult result = api.listVariables( + ListVariablesArgs.newBuilder().setResolveAst(true).setParseArgs( + ParseProgramArgs.newBuilder().addPaths("/path/to/kcl.k").build()) .build()); result.getSymbolsMap().values().forEach(s -> System.out.println(s)); ``` @@ -223,9 +223,9 @@ Java Code ```java import com.kcl.api.*; -ParseProgram_Args args = ParseProgram_Args.newBuilder().addPaths("./src/test_data/option/main.k").build(); +ParseProgramArgs args = ParseProgramArgs.newBuilder().addPaths("./src/test_data/option/main.k").build(); API apiInstance = new API(); -ListOptions_Result result = apiInstance.listOptions(args); +ListOptionsResult result = apiInstance.listOptions(args); ```

@@ -254,10 +254,10 @@ Java Code ```java import com.kcl.api.*; -ExecProgram_Args execArgs = ExecProgram_Args.newBuilder().addKFilenameList("schema.k").build(); -GetSchemaTypeMapping_Args args = GetSchemaTypeMapping_Args.newBuilder().setExecArgs(execArgs).build(); +ExecProgramArgs execArgs = ExecProgramArgs.newBuilder().addKFilenameList("schema.k").build(); +GetSchemaTypeMappingArgs args = GetSchemaTypeMappingArgs.newBuilder().setExecArgs(execArgs).build(); API apiInstance = new API(); -GetSchemaTypeMapping_Result result = apiInstance.getSchemaTypeMapping(args); +GetSchemaTypeMappingResult result = apiInstance.getSchemaTypeMapping(args); KclType appSchemaType = result.getSchemaTypeMappingMap().get("app"); String replicasType = appSchemaType.getPropertiesOrThrow("replicas").getType(); ``` @@ -289,7 +289,7 @@ import com.kcl.api.*; API api = new API(); String spec = "a=2"; -OverrideFile_Result result = api.overrideFile(OverrideFile_Args.newBuilder() +OverrideFileResult result = api.overrideFile(OverrideFileArgs.newBuilder() .setFile("./src/test_data/override_file/main.k").addSpecs(spec).build()); ``` @@ -310,9 +310,9 @@ import com.kcl.api.*; String sourceCode = "schema Person:\n" + " name: str\n" + " age: int\n" + " check:\n" + " 0 < age < 120\n"; -FormatCode_Args args = FormatCode_Args.newBuilder().setSource(sourceCode).build(); +FormatCodeArgs args = FormatCodeArgs.newBuilder().setSource(sourceCode).build(); API apiInstance = new API(); -FormatCode_Result result = apiInstance.formatCode(args); +FormatCodeResult result = apiInstance.formatCode(args); String expectedFormattedCode = "schema Person:\n" + " name: str\n" + " age: int\n\n" + " check:\n" + " 0 < age < 120\n\n"; ``` @@ -343,9 +343,9 @@ Java Code ```java import com.kcl.api.*; -FormatPath_Args args = FormatPath_Args.newBuilder().setPath("format_path.k").build(); +FormatPathArgs args = FormatPathArgs.newBuilder().setPath("format_path.k").build(); API apiInstance = new API(); -FormatPath_Result result = apiInstance.formatPath(args); +FormatPathResult result = apiInstance.formatPath(args); Assert.assertTrue(result.getChangedPathsList().isEmpty()); ``` @@ -372,9 +372,9 @@ Java Code ```java import com.kcl.api.*; -LintPath_Args args = LintPath_Args.newBuilder().addPaths("lint_path.k").build(); +LintPathArgs args = LintPathArgs.newBuilder().addPaths("lint_path.k").build(); API apiInstance = new API(); -LintPath_Result result = apiInstance.lintPath(args); +LintPathResult result = apiInstance.lintPath(args); boolean foundWarning = result.getResultsList().stream() .anyMatch(warning -> warning.contains("Module 'math' imported but unused")); ``` @@ -397,9 +397,9 @@ import com.kcl.api.*; String code = "schema Person:\n" + " name: str\n" + " age: int\n" + " check:\n" + " 0 < age < 120\n"; String data = "{\"name\": \"Alice\", \"age\": 10}"; -ValidateCode_Args args = ValidateCode_Args.newBuilder().setCode(code).setData(data).setFormat("json").build(); +ValidateCodeArgs args = ValidateCodeArgs.newBuilder().setCode(code).setData(data).setFormat("json").build(); API apiInstance = new API(); -ValidateCode_Result result = apiInstance.validateCode(args); +ValidateCodeResult result = apiInstance.validateCode(args); ```

@@ -424,10 +424,10 @@ Java Code ```java import com.kcl.api.*; -Rename_Args args = Rename_Args.newBuilder().setPackageRoot(".").setSymbolPath("a") +RenameArgs args = RenameArgs.newBuilder().setPackageRoot(".").setSymbolPath("a") .addFilePaths("main.k").setNewName("a2").build(); API apiInstance = new API(); -Rename_Result result = apiInstance.rename(args); +RenameResult result = apiInstance.rename(args); ```

@@ -446,9 +446,9 @@ Java Code import com.kcl.api.*; API api = new API(); -RenameCode_Args args = RenameCode_Args.newBuilder().setPackageRoot("/mock/path").setSymbolPath("a") +RenameCodeArgs args = RenameCodeArgs.newBuilder().setPackageRoot("/mock/path").setSymbolPath("a") .putSourceCodes("/mock/path/main.k", "a = 1\nb = a").setNewName("a2").build(); -RenameCode_Result result = api.renameCode(args); +RenameCodeResult result = api.renameCode(args); ```

@@ -467,8 +467,8 @@ Java Code import com.kcl.api.*; API apiInstance = new API(); -Test_Args args = Test_Args.newBuilder().addPkgList("/path/to/test/package").build(); -Test_Result result = apiInstance.test(args); +TestArgs args = TestArgs.newBuilder().addPkgList("/path/to/test/package").build(); +TestResult result = apiInstance.test(args); ```

@@ -497,9 +497,9 @@ Java Code import com.kcl.api.*; API api = new API(); -LoadSettingsFiles_Args args = LoadSettingsFiles_Args.newBuilder().addFiles("kcl.yaml") +LoadSettingsFilesArgs args = LoadSettingsFilesArgs.newBuilder().addFiles("kcl.yaml") .build(); -LoadSettingsFiles_Result result = api.loadSettingsFiles(args); +LoadSettingsFilesResult result = api.loadSettingsFiles(args); ```

@@ -532,8 +532,8 @@ import com.kcl.api.*; API api = new API(); -UpdateDependencies_Result result = api.updateDependencies( - UpdateDependencies_Args.newBuilder().setManifestPath("module").build()); +UpdateDependenciesResult result = api.updateDependencies( + UpdateDependenciesArgs.newBuilder().setManifestPath("module").build()); ```

@@ -573,13 +573,13 @@ import com.kcl.api.*; API api = new API(); -UpdateDependencies_Result result = api.updateDependencies( - UpdateDependencies_Args.newBuilder().setManifestPath("./src/test_data/update_dependencies").build()); +UpdateDependenciesResult result = api.updateDependencies( + UpdateDependenciesArgs.newBuilder().setManifestPath("./src/test_data/update_dependencies").build()); -ExecProgram_Args execArgs = ExecProgram_Args.newBuilder(). addAllExternalPkgs(result.getExternalPkgsList()) +ExecProgramArgs execArgs = ExecProgramArgs.newBuilder(). addAllExternalPkgs(result.getExternalPkgsList()) .addKFilenameList("./src/test_data/update_dependencies/main.k").build(); -ExecProgram_Result execResult = api.execProgram(execArgs); +ExecProgramResult execResult = api.execProgram(execArgs); ```

@@ -598,8 +598,8 @@ Java Code import com.kcl.api.*; API api = new API(); -GetVersion_Args version_args = GetVersion_Args.newBuilder().build(); -GetVersion_Result result = api.getVersion(version_args); +GetVersionArgs version_args = GetVersionArgs.newBuilder().build(); +GetVersionResult result = api.getVersion(version_args); ```

diff --git a/java/pom.xml b/java/pom.xml index 72c90c82..0b3c4e8b 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -5,7 +5,7 @@ com.kcl kcl-lib - 0.11.2-SNAPSHOT + 0.12.0-SNAPSHOT KCL Arifact Library for Java KCL is an open-source constraint-based record and functional language mainly @@ -39,7 +39,6 @@ yyyyMMddHHmmss ${maven.build.timestamp} - 4.27.0 1.7.30 2.13.2 3.4 @@ -52,13 +51,20 @@ 1.4 3.2.0 2.16.0 + 4.33.1 + 0.6.1 com.google.protobuf protobuf-java - 4.29.3 + ${protobuf-java.version} + + + com.google.protobuf + protobuf-java-util + ${protobuf-java.version} org.slf4j diff --git a/java/src/lib.rs b/java/src/lib.rs index 3ec04e63..04010564 100644 --- a/java/src/lib.rs +++ b/java/src/lib.rs @@ -1,8 +1,8 @@ extern crate anyhow; extern crate jni; -extern crate kclvm_api; -extern crate kclvm_parser; -extern crate kclvm_sema; +extern crate kcl_api; +extern crate kcl_parser; +extern crate kcl_sema; extern crate lazy_static; extern crate once_cell; extern crate prost; @@ -12,11 +12,11 @@ use jni::objects::{GlobalRef, JByteArray, JClass, JObject, JString}; use jni::sys::jbyteArray; use jni::JNIEnv; use jni::JavaVM; -use kclvm_api::call_with_plugin_agent; -use kclvm_api::gpyrpc::LoadPackageArgs; -use kclvm_api::service::KclvmServiceImpl; -use kclvm_parser::KCLModuleCache; -use kclvm_sema::resolver::scope::KCLScopeCache; +use kcl_api::call_with_plugin_agent; +use kcl_api::gpyrpc::LoadPackageArgs; +use kcl_api::service::KclServiceImpl; +use kcl_parser::KCLModuleCache; +use kcl_sema::resolver::scope::KCLScopeCache; use lazy_static::lazy_static; use once_cell::sync::OnceCell; use prost::Message; @@ -31,7 +31,7 @@ lazy_static! { static ref SCOPE_CACHE: Mutex> = Mutex::new(OnceCell::new()); } -#[no_mangle] +#[unsafe(no_mangle)] pub extern "system" fn Java_com_kcl_api_API_callNative( mut env: JNIEnv, _: JClass, @@ -44,7 +44,7 @@ pub extern "system" fn Java_com_kcl_api_API_callNative( }) } -#[no_mangle] +#[unsafe(no_mangle)] pub extern "system" fn Java_com_kcl_api_API_registerPluginContext(env: JNIEnv, obj: JObject) { let jvm = env.get_java_vm().unwrap(); *JVM.lock().unwrap() = Some(jvm); @@ -52,7 +52,7 @@ pub extern "system" fn Java_com_kcl_api_API_registerPluginContext(env: JNIEnv, o *CALLBACK_OBJ.lock().unwrap() = Some(global_ref); } -#[no_mangle] +#[unsafe(no_mangle)] pub extern "system" fn Java_com_kcl_api_API_loadPackageWithCache( mut env: JNIEnv, _: JClass, @@ -87,15 +87,15 @@ fn intern_load_package_with_cache(env: &mut JNIEnv, args: JByteArray) -> Result< let scope_cache = binding.get_or_init(|| KCLScopeCache::default()); // Load package arguments from protobuf bytes. let args = env.convert_byte_array(args)?; - let args: LoadPackageArgs = ::decode(args.as_ref())?; - let svc = KclvmServiceImpl::default(); + let args: LoadPackageArgs = LoadPackageArgs::decode(args.as_ref())?; + let svc = KclServiceImpl::default(); // Call load package API and decode the result to protobuf bytes. let packages = svc.load_package_with_cache(&args, module_cache.clone(), scope_cache.clone())?; let j_byte_array = env.byte_array_from_slice(&packages.encode_to_vec())?; Ok(j_byte_array.into_raw()) } -#[no_mangle] +#[unsafe(no_mangle)] extern "C" fn plugin_agent( method: *const c_char, args: *const c_char, diff --git a/java/src/main/java/com/kcl/api/API.java b/java/src/main/java/com/kcl/api/API.java index b7845998..d7ab6f3b 100644 --- a/java/src/main/java/com/kcl/api/API.java +++ b/java/src/main/java/com/kcl/api/API.java @@ -94,8 +94,8 @@ public API() { * import com.kcl.util.JsonUtil; * * API api = new API(); - * ParseProgram_Result result = api.parseProgram( - * ParseProgram_Args.newBuilder().addPaths("path/to/kcl.k").build() + * ParseProgramResult result = api.parseProgram( + * ParseProgramArgs.newBuilder().addPaths("path/to/kcl.k").build() * ); * System.out.println(result.getAstJson()); * Program program = JsonUtil.deserializeProgram(result.getAstJson()); @@ -111,8 +111,8 @@ public API() { * if an error occurs during the remote procedure call. */ @Override - public ParseProgram_Result parseProgram(ParseProgram_Args args) throws Exception { - return ParseProgram_Result.parseFrom(call("KclvmService.ParseProgram", args.toByteArray())); + public ParseProgramResult parseProgram(ParseProgramArgs args) throws Exception { + return ParseProgramResult.parseFrom(call("KclService.ParseProgram", args.toByteArray())); } /** @@ -125,9 +125,9 @@ public ParseProgram_Result parseProgram(ParseProgram_Args args) throws Exception * {@code * import com.kcl.api.*; * - * ParseFile_Args args = ParseFile_Args.newBuilder().setPath("./src/test_data/parse/main.k").build(); + * ParseFileArgs args = ParseFileArgs.newBuilder().setPath("./src/test_data/parse/main.k").build(); * API apiInstance = new API(); - * ParseFile_Result result = apiInstance.parseFile(args); + * ParseFileResult result = apiInstance.parseFile(args); * } * * @@ -140,8 +140,8 @@ public ParseProgram_Result parseProgram(ParseProgram_Args args) throws Exception * if an error occurs during the remote procedure call. */ @Override - public ParseFile_Result parseFile(ParseFile_Args args) throws Exception { - return ParseFile_Result.parseFrom(call("KclvmService.ParseFile", args.toByteArray())); + public ParseFileResult parseFile(ParseFileArgs args) throws Exception { + return ParseFileResult.parseFrom(call("KclService.ParseFile", args.toByteArray())); } /** @@ -155,9 +155,9 @@ public ParseFile_Result parseFile(ParseFile_Args args) throws Exception { * import com.kcl.api.*; * * API api = new API(); - * LoadPackage_Result result = api.loadPackage( - * LoadPackage_Args.newBuilder().setResolveAst(true).setParseArgs( - * ParseProgram_Args.newBuilder().addPaths("/path/to/kcl.k").build()) + * LoadPackageResult result = api.loadPackage( + * LoadPackageArgs.newBuilder().setResolveAst(true).setParseArgs( + * ParseProgramArgs.newBuilder().addPaths("/path/to/kcl.k").build()) * .build()); * result.getSymbolsMap().values().forEach(s -> System.out.println(s)); * } @@ -172,8 +172,8 @@ public ParseFile_Result parseFile(ParseFile_Args args) throws Exception { * if an error occurs during the remote procedure call. */ @Override - public LoadPackage_Result loadPackage(LoadPackage_Args args) throws Exception { - return LoadPackage_Result.parseFrom(call("KclvmService.LoadPackage", args.toByteArray())); + public LoadPackageResult loadPackage(LoadPackageArgs args) throws Exception { + return LoadPackageResult.parseFrom(call("KclService.LoadPackage", args.toByteArray())); } /** @@ -187,9 +187,9 @@ public LoadPackage_Result loadPackage(LoadPackage_Args args) throws Exception { * import com.kcl.api.*; * * API api = new API(); - * ListVariables_Result result = api.listVariables( - * ListVariables_Args.newBuilder().setResolveAst(true).setParseArgs( - * ParseProgram_Args.newBuilder().addPaths("/path/to/kcl.k").build()) + * ListVariablesResult result = api.listVariables( + * ListVariablesArgs.newBuilder().setResolveAst(true).setParseArgs( + * ParseProgramArgs.newBuilder().addPaths("/path/to/kcl.k").build()) * .build()); * result.getSymbolsMap().values().forEach(s -> System.out.println(s)); * } @@ -204,8 +204,8 @@ public LoadPackage_Result loadPackage(LoadPackage_Args args) throws Exception { * if an error occurs during the remote procedure call. */ @Override - public ListVariables_Result listVariables(ListVariables_Args args) throws Exception { - return ListVariables_Result.parseFrom(call("KclvmService.ListVariables", args.toByteArray())); + public ListVariablesResult listVariables(ListVariablesArgs args) throws Exception { + return ListVariablesResult.parseFrom(call("KclService.ListVariables", args.toByteArray())); } /** @@ -218,9 +218,9 @@ public ListVariables_Result listVariables(ListVariables_Args args) throws Except * {@code * import com.kcl.api.*; * - * ParseProgram_Args args = ParseProgram_Args.newBuilder().addPaths("./src/test_data/option/main.k").build(); + * ParseProgramArgs args = ParseProgramArgs.newBuilder().addPaths("./src/test_data/option/main.k").build(); * API apiInstance = new API(); - * ListOptions_Result result = apiInstance.listOptions(args); + * ListOptionsResult result = apiInstance.listOptions(args); * } * * @@ -233,8 +233,8 @@ public ListVariables_Result listVariables(ListVariables_Args args) throws Except * if an error occurs during the remote procedure call. */ @Override - public ListOptions_Result listOptions(ParseProgram_Args args) throws Exception { - return ListOptions_Result.parseFrom(call("KclvmService.ListOptions", args.toByteArray())); + public ListOptionsResult listOptions(ParseProgramArgs args) throws Exception { + return ListOptionsResult.parseFrom(call("KclService.ListOptions", args.toByteArray())); } /** @@ -248,9 +248,9 @@ public ListOptions_Result listOptions(ParseProgram_Args args) throws Exception { * import com.kcl.api.*; * * API api = new API(); - * LoadPackage_Result result = api.loadPackageWithCache( - * LoadPackage_Args.newBuilder().setResolveAst(true).setParseArgs( - * ParseProgram_Args.newBuilder().addPaths("/path/to/kcl.k").build()) + * LoadPackageResult result = api.loadPackageWithCache( + * LoadPackageArgs.newBuilder().setResolveAst(true).setParseArgs( + * ParseProgramArgs.newBuilder().addPaths("/path/to/kcl.k").build()) * .build()); * result.getSymbolsMap().values().forEach(s -> System.out.println(s)); * } @@ -265,8 +265,8 @@ public ListOptions_Result listOptions(ParseProgram_Args args) throws Exception { * if an error occurs during the remote procedure call. */ @Override - public LoadPackage_Result loadPackageWithCache(LoadPackage_Args args) throws Exception { - return LoadPackage_Result.parseFrom(callLoadPackageWithCache(args.toByteArray())); + public LoadPackageResult loadPackageWithCache(LoadPackageArgs args) throws Exception { + return LoadPackageResult.parseFrom(callLoadPackageWithCache(args.toByteArray())); } /** @@ -279,9 +279,9 @@ public LoadPackage_Result loadPackageWithCache(LoadPackage_Args args) throws Exc * {@code * import com.kcl.api.*; * - * ExecProgram_Args args = ExecProgram_Args.newBuilder().addKFilenameList("schema.k").build(); + * ExecProgramArgs args = ExecProgramArgs.newBuilder().addKFilenameList("schema.k").build(); * API apiInstance = new API(); - * ExecProgram_Result result = apiInstance.execProgram(args); + * ExecProgramResult result = apiInstance.execProgram(args); * } * * @@ -293,8 +293,8 @@ public LoadPackage_Result loadPackageWithCache(LoadPackage_Args args) throws Exc * @throws Exception * if an error occurs during the remote procedure call. */ - public ExecProgram_Result execProgram(ExecProgram_Args args) throws Exception { - return ExecProgram_Result.parseFrom(call("KclvmService.ExecProgram", args.toByteArray())); + public ExecProgramResult execProgram(ExecProgramArgs args) throws Exception { + return ExecProgramResult.parseFrom(call("KclService.ExecProgram", args.toByteArray())); } /** @@ -309,7 +309,7 @@ public ExecProgram_Result execProgram(ExecProgram_Args args) throws Exception { * * API api = new API(); * String spec = "a=2"; - * OverrideFile_Result result = api.overrideFile(OverrideFile_Args.newBuilder() + * OverrideFileResult result = api.overrideFile(OverrideFileArgs.newBuilder() * .setFile("./src/test_data/override_file/main.k").addSpecs(spec).build()); * } * @@ -323,8 +323,8 @@ public ExecProgram_Result execProgram(ExecProgram_Args args) throws Exception { * if an error occurs during the remote procedure call. */ @Override - public OverrideFile_Result overrideFile(OverrideFile_Args args) throws Exception { - return OverrideFile_Result.parseFrom(call("KclvmService.OverrideFile", args.toByteArray())); + public OverrideFileResult overrideFile(OverrideFileArgs args) throws Exception { + return OverrideFileResult.parseFrom(call("KclService.OverrideFile", args.toByteArray())); } /** @@ -337,10 +337,10 @@ public OverrideFile_Result overrideFile(OverrideFile_Args args) throws Exception * {@code * import com.kcl.api.*; * - * ExecProgram_Args execArgs = ExecProgram_Args.newBuilder().addKFilenameList("schema.k").build(); - * GetSchemaTypeMapping_Args args = GetSchemaTypeMapping_Args.newBuilder().setExecArgs(execArgs).build(); + * ExecProgramArgs execArgs = ExecProgramArgs.newBuilder().addKFilenameList("schema.k").build(); + * GetSchemaTypeMappingArgs args = GetSchemaTypeMappingArgs.newBuilder().setExecArgs(execArgs).build(); * API apiInstance = new API(); - * GetSchemaTypeMapping_Result result = apiInstance.getSchemaTypeMapping(args); + * GetSchemaTypeMappingResult result = apiInstance.getSchemaTypeMapping(args); * KclType appSchemaType = result.getSchemaTypeMappingMap().get("app"); * String replicasType = appSchemaType.getPropertiesOrThrow("replicas").getType(); * } @@ -355,8 +355,8 @@ public OverrideFile_Result overrideFile(OverrideFile_Args args) throws Exception * if an error occurs during the remote procedure call. */ @Override - public GetSchemaTypeMapping_Result getSchemaTypeMapping(GetSchemaTypeMapping_Args args) throws Exception { - return GetSchemaTypeMapping_Result.parseFrom(call("KclvmService.GetSchemaTypeMapping", args.toByteArray())); + public GetSchemaTypeMappingResult getSchemaTypeMapping(GetSchemaTypeMappingArgs args) throws Exception { + return GetSchemaTypeMappingResult.parseFrom(call("KclService.GetSchemaTypeMapping", args.toByteArray())); } /** @@ -371,9 +371,9 @@ public GetSchemaTypeMapping_Result getSchemaTypeMapping(GetSchemaTypeMapping_Arg * * String sourceCode = "schema Person:\n" + " name: str\n" + " age: int\n" + " check:\n" * + " 0 < age < 120\n"; - * FormatCode_Args args = FormatCode_Args.newBuilder().setSource(sourceCode).build(); + * FormatCodeArgs args = FormatCodeArgs.newBuilder().setSource(sourceCode).build(); * API apiInstance = new API(); - * FormatCode_Result result = apiInstance.formatCode(args); + * FormatCodeResult result = apiInstance.formatCode(args); * String expectedFormattedCode = "schema Person:\n" + " name: str\n" + " age: int\n\n" + " check:\n" * + " 0 < age < 120\n\n"; * } @@ -388,8 +388,8 @@ public GetSchemaTypeMapping_Result getSchemaTypeMapping(GetSchemaTypeMapping_Arg * if an error occurs during the remote procedure call. */ @Override - public FormatCode_Result formatCode(FormatCode_Args args) throws Exception { - return FormatCode_Result.parseFrom(call("KclvmService.FormatCode", args.toByteArray())); + public FormatCodeResult formatCode(FormatCodeArgs args) throws Exception { + return FormatCodeResult.parseFrom(call("KclService.FormatCode", args.toByteArray())); } /** @@ -402,9 +402,9 @@ public FormatCode_Result formatCode(FormatCode_Args args) throws Exception { * {@code * import com.kcl.api.*; * - * FormatPath_Args args = FormatPath_Args.newBuilder().setPath("test.k").build(); + * FormatPathArgs args = FormatPathArgs.newBuilder().setPath("test.k").build(); * API apiInstance = new API(); - * FormatPath_Result result = apiInstance.formatPath(args); + * FormatPathResult result = apiInstance.formatPath(args); * Assert.assertTrue(result.getChangedPathsList().isEmpty()); * } * @@ -418,8 +418,8 @@ public FormatCode_Result formatCode(FormatCode_Args args) throws Exception { * if an error occurs during the remote procedure call. */ @Override - public FormatPath_Result formatPath(FormatPath_Args args) throws Exception { - return FormatPath_Result.parseFrom(call("KclvmService.FormatPath", args.toByteArray())); + public FormatPathResult formatPath(FormatPathArgs args) throws Exception { + return FormatPathResult.parseFrom(call("KclService.FormatPath", args.toByteArray())); } /** @@ -432,9 +432,9 @@ public FormatPath_Result formatPath(FormatPath_Args args) throws Exception { * {@code * import com.kcl.api.*; * - * LintPath_Args args = LintPath_Args.newBuilder().addPaths("test.k").build(); + * LintPathArgs args = LintPathArgs.newBuilder().addPaths("test.k").build(); * API apiInstance = new API(); - * LintPath_Result result = apiInstance.lintPath(args); + * LintPathResult result = apiInstance.lintPath(args); * boolean foundWarning = result.getResultsList().stream() * .anyMatch(warning -> warning.contains("Module 'math' imported but unused")); * } @@ -449,8 +449,8 @@ public FormatPath_Result formatPath(FormatPath_Args args) throws Exception { * if an error occurs during the remote procedure call. */ @Override - public LintPath_Result lintPath(LintPath_Args args) throws Exception { - return LintPath_Result.parseFrom(call("KclvmService.LintPath", args.toByteArray())); + public LintPathResult lintPath(LintPathArgs args) throws Exception { + return LintPathResult.parseFrom(call("KclService.LintPath", args.toByteArray())); } /** @@ -466,9 +466,9 @@ public LintPath_Result lintPath(LintPath_Args args) throws Exception { * String code = "schema Person:\n" + " name: str\n" + " age: int\n" + " check:\n" * + " 0 < age < 120\n"; * String data = "{\"name\": \"Alice\", \"age\": 10}"; - * ValidateCode_Args args = ValidateCode_Args.newBuilder().setCode(code).setData(data).setFormat("json").build(); + * ValidateCodeArgs args = ValidateCodeArgs.newBuilder().setCode(code).setData(data).setFormat("json").build(); * API apiInstance = new API(); - * ValidateCode_Result result = apiInstance.validateCode(args); + * ValidateCodeResult result = apiInstance.validateCode(args); * } * * @@ -481,8 +481,8 @@ public LintPath_Result lintPath(LintPath_Args args) throws Exception { * if an error occurs during the remote procedure call. */ @Override - public ValidateCode_Result validateCode(ValidateCode_Args args) throws Exception { - return ValidateCode_Result.parseFrom(call("KclvmService.ValidateCode", args.toByteArray())); + public ValidateCodeResult validateCode(ValidateCodeArgs args) throws Exception { + return ValidateCodeResult.parseFrom(call("KclService.ValidateCode", args.toByteArray())); } /** @@ -496,9 +496,9 @@ public ValidateCode_Result validateCode(ValidateCode_Args args) throws Exception * import com.kcl.api.*; * * API api = new API(); - * LoadSettingsFiles_Args args = LoadSettingsFiles_Args.newBuilder().addFiles("kcl.yaml") + * LoadSettingsFilesArgs args = LoadSettingsFilesArgs.newBuilder().addFiles("kcl.yaml") * .build(); - * LoadSettingsFiles_Result result = api.loadSettingsFiles(args); + * LoadSettingsFilesResult result = api.loadSettingsFiles(args); * } * * @@ -511,8 +511,8 @@ public ValidateCode_Result validateCode(ValidateCode_Args args) throws Exception * if an error occurs during the remote procedure call. */ @Override - public LoadSettingsFiles_Result loadSettingsFiles(LoadSettingsFiles_Args args) throws Exception { - return LoadSettingsFiles_Result.parseFrom(call("KclvmService.LoadSettingsFiles", args.toByteArray())); + public LoadSettingsFilesResult loadSettingsFiles(LoadSettingsFilesArgs args) throws Exception { + return LoadSettingsFilesResult.parseFrom(call("KclService.LoadSettingsFiles", args.toByteArray())); } /** @@ -525,10 +525,10 @@ public LoadSettingsFiles_Result loadSettingsFiles(LoadSettingsFiles_Args args) t * {@code * import com.kcl.api.*; * - * Rename_Args args = Rename_Args.newBuilder().setPackageRoot("./src/test_data/rename").setSymbolPath("a") + * RenameArgs args = RenameArgs.newBuilder().setPackageRoot("./src/test_data/rename").setSymbolPath("a") * .addFilePaths("./src/test_data/rename/main.k").setNewName("a2").build(); * API apiInstance = new API(); - * Rename_Result result = apiInstance.rename(args); + * RenameResult result = apiInstance.rename(args); * } * * @@ -541,8 +541,8 @@ public LoadSettingsFiles_Result loadSettingsFiles(LoadSettingsFiles_Args args) t * if an error occurs during the remote procedure call. */ @Override - public Rename_Result rename(Rename_Args args) throws Exception { - return Rename_Result.parseFrom(call("KclvmService.Rename", args.toByteArray())); + public RenameResult rename(RenameArgs args) throws Exception { + return RenameResult.parseFrom(call("KclService.Rename", args.toByteArray())); } /** @@ -556,9 +556,9 @@ public Rename_Result rename(Rename_Args args) throws Exception { * import com.kcl.api.*; * * API api = new API(); - * RenameCode_Args args = RenameCode_Args.newBuilder().setPackageRoot("/mock/path").setSymbolPath("a") + * RenameCodeArgs args = RenameCodeArgs.newBuilder().setPackageRoot("/mock/path").setSymbolPath("a") * .putSourceCodes("/mock/path/main.k", "a = 1\nb = a").setNewName("a2").build(); - * RenameCode_Result result = api.renameCode(args); + * RenameCodeResult result = api.renameCode(args); * } * * @@ -571,8 +571,8 @@ public Rename_Result rename(Rename_Args args) throws Exception { * if an error occurs during the remote procedure call. */ @Override - public RenameCode_Result renameCode(RenameCode_Args args) throws Exception { - return RenameCode_Result.parseFrom(call("KclvmService.RenameCode", args.toByteArray())); + public RenameCodeResult renameCode(RenameCodeArgs args) throws Exception { + return RenameCodeResult.parseFrom(call("KclService.RenameCode", args.toByteArray())); } /** @@ -586,8 +586,8 @@ public RenameCode_Result renameCode(RenameCode_Args args) throws Exception { * import com.kcl.api.*; * * API apiInstance = new API(); - * Test_Args args = Test_Args.newBuilder().addPkgList("./src/test_data/testing/...").build(); - * Test_Result result = apiInstance.test(args); + * TestArgs args = TestArgs.newBuilder().addPkgList("./src/test_data/testing/...").build(); + * TestResult result = apiInstance.test(args); * } * * @@ -600,8 +600,8 @@ public RenameCode_Result renameCode(RenameCode_Args args) throws Exception { * if an error occurs during the remote procedure call. */ @Override - public Test_Result test(Test_Args args) throws Exception { - return Test_Result.parseFrom(call("KclvmService.Test", args.toByteArray())); + public TestResult test(TestArgs args) throws Exception { + return TestResult.parseFrom(call("KclService.Test", args.toByteArray())); } /** @@ -615,8 +615,8 @@ public Test_Result test(Test_Args args) throws Exception { * import com.kcl.api.*; * * API api = new API(); - * UpdateDependencies_Result result = api.updateDependencies( - * UpdateDependencies_Args.newBuilder().setManifestPath("/path/to/module").build()); + * UpdateDependenciesResult result = api.updateDependencies( + * UpdateDependenciesArgs.newBuilder().setManifestPath("/path/to/module").build()); * } * * @@ -629,8 +629,8 @@ public Test_Result test(Test_Args args) throws Exception { * if an error occurs during the remote procedure call. */ @Override - public UpdateDependencies_Result updateDependencies(UpdateDependencies_Args args) throws Exception { - return UpdateDependencies_Result.parseFrom(call("KclvmService.UpdateDependencies", args.toByteArray())); + public UpdateDependenciesResult updateDependencies(UpdateDependenciesArgs args) throws Exception { + return UpdateDependenciesResult.parseFrom(call("KclService.UpdateDependencies", args.toByteArray())); } /** @@ -645,8 +645,8 @@ public UpdateDependencies_Result updateDependencies(UpdateDependencies_Args args * if an error occurs during the remote procedure call. */ @Override - public GetVersion_Result getVersion(GetVersion_Args args) throws Exception { - return GetVersion_Result.parseFrom(call("KclvmService.GetVersion", args.toByteArray())); + public GetVersionResult getVersion(GetVersionArgs args) throws Exception { + return GetVersionResult.parseFrom(call("KclService.GetVersion", args.toByteArray())); } private byte[] call(String name, byte[] args) throws Exception { diff --git a/java/src/main/java/com/kcl/api/Service.java b/java/src/main/java/com/kcl/api/Service.java index 698d5384..2e15aeb7 100644 --- a/java/src/main/java/com/kcl/api/Service.java +++ b/java/src/main/java/com/kcl/api/Service.java @@ -4,59 +4,59 @@ public interface Service { // Parse KCL single file AST JSON string - ParseFile_Result parseFile(ParseFile_Args args) throws Exception; + ParseFileResult parseFile(ParseFileArgs args) throws Exception; // Parse KCL program AST JSON string - ParseProgram_Result parseProgram(ParseProgram_Args args) throws Exception; + ParseProgramResult parseProgram(ParseProgramArgs args) throws Exception; // Loads KCL package and returns the AST, symbol, type, definition information. - LoadPackage_Result loadPackage(LoadPackage_Args args) throws Exception; + LoadPackageResult loadPackage(LoadPackageArgs args) throws Exception; // Loads KCL package and returns the AST, symbol, type, definition information. - LoadPackage_Result loadPackageWithCache(LoadPackage_Args args) throws Exception; + LoadPackageResult loadPackageWithCache(LoadPackageArgs args) throws Exception; // Execute KCL file with args - ExecProgram_Result execProgram(ExecProgram_Args args) throws Exception; + ExecProgramResult execProgram(ExecProgramArgs args) throws Exception; // Override KCL file with args - OverrideFile_Result overrideFile(OverrideFile_Args args) throws Exception; + OverrideFileResult overrideFile(OverrideFileArgs args) throws Exception; // List all the variables in the KCL file - ListVariables_Result listVariables(ListVariables_Args args) throws Exception; + ListVariablesResult listVariables(ListVariablesArgs args) throws Exception; // List all the option functions in the KCL file - ListOptions_Result listOptions(ParseProgram_Args args) throws Exception; + ListOptionsResult listOptions(ParseProgramArgs args) throws Exception; // Service for getting the full schema type list - GetSchemaTypeMapping_Result getSchemaTypeMapping(GetSchemaTypeMapping_Args args) throws Exception; + GetSchemaTypeMappingResult getSchemaTypeMapping(GetSchemaTypeMappingArgs args) throws Exception; // Service for formatting a code source - FormatCode_Result formatCode(FormatCode_Args args) throws Exception; + FormatCodeResult formatCode(FormatCodeArgs args) throws Exception; // Service for formatting KCL file or directory path - FormatPath_Result formatPath(FormatPath_Args args) throws Exception; + FormatPathResult formatPath(FormatPathArgs args) throws Exception; // Service for KCL Lint API - LintPath_Result lintPath(LintPath_Args args) throws Exception; + LintPathResult lintPath(LintPathArgs args) throws Exception; // Service for validating the data string using the schema code string - ValidateCode_Result validateCode(ValidateCode_Args args) throws Exception; + ValidateCodeResult validateCode(ValidateCodeArgs args) throws Exception; // Service for building setting file config from args - LoadSettingsFiles_Result loadSettingsFiles(LoadSettingsFiles_Args args) throws Exception; + LoadSettingsFilesResult loadSettingsFiles(LoadSettingsFilesArgs args) throws Exception; // Service for renaming all the occurrences of the target symbol in the files - Rename_Result rename(Rename_Args args) throws Exception; + RenameResult rename(RenameArgs args) throws Exception; // Service for renaming all the occurrences of the target symbol and rename them - RenameCode_Result renameCode(RenameCode_Args args) throws Exception; + RenameCodeResult renameCode(RenameCodeArgs args) throws Exception; // Service for the testing tool - Test_Result test(Test_Args args) throws Exception; + TestResult test(TestArgs args) throws Exception; // Service for the dependency updating - UpdateDependencies_Result updateDependencies(UpdateDependencies_Args args) throws Exception; + UpdateDependenciesResult updateDependencies(UpdateDependenciesArgs args) throws Exception; // Service for the KCL service version information. - GetVersion_Result getVersion(GetVersion_Args args) throws Exception; + GetVersionResult getVersion(GetVersionArgs args) throws Exception; } diff --git a/java/src/main/java/com/kcl/api/Spec.java b/java/src/main/java/com/kcl/api/Spec.java index 11a67dc1..764f372e 100644 --- a/java/src/main/java/com/kcl/api/Spec.java +++ b/java/src/main/java/com/kcl/api/Spec.java @@ -1,74544 +1,74168 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: spec.proto -// Protobuf Java Version: 4.29.3 +// Protobuf Java Version: 4.33.1 package com.kcl.api; -public final class Spec { - private Spec() { - } - - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", Spec.class.getName()); - } - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - public interface ExternalPkgOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ExternalPkg) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Name of the package.
-         * 
- * - * string pkg_name = 1; - * - * @return The pkgName. - */ - java.lang.String getPkgName(); - - /** - *
-         * Name of the package.
-         * 
- * - * string pkg_name = 1; - * - * @return The bytes for pkgName. - */ - com.google.protobuf.ByteString getPkgNameBytes(); - - /** - *
-         * Path of the package.
-         * 
- * - * string pkg_path = 2; - * - * @return The pkgPath. - */ - java.lang.String getPkgPath(); - - /** - *
-         * Path of the package.
-         * 
- * - * string pkg_path = 2; - * - * @return The bytes for pkgPath. - */ - com.google.protobuf.ByteString getPkgPathBytes(); - } +@com.google.protobuf.Generated +public final class Spec extends com.google.protobuf.GeneratedFile { + private Spec() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "Spec"); + } + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface ExternalPkgOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ExternalPkg) + com.google.protobuf.MessageOrBuilder { /** *
-     * Message representing an external package for KCL.
-     * kcl main.k -E pkg_name=pkg_path
+     * Name of the package.
      * 
* - * Protobuf type {@code com.kcl.api.ExternalPkg} + * string pkg_name = 1; + * @return The pkgName. */ - public static final class ExternalPkg extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ExternalPkg) - ExternalPkgOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", ExternalPkg.class.getName()); - } + java.lang.String getPkgName(); + /** + *
+     * Name of the package.
+     * 
+ * + * string pkg_name = 1; + * @return The bytes for pkgName. + */ + com.google.protobuf.ByteString + getPkgNameBytes(); - // Use ExternalPkg.newBuilder() to construct. - private ExternalPkg(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } + /** + *
+     * Path of the package.
+     * 
+ * + * string pkg_path = 2; + * @return The pkgPath. + */ + java.lang.String getPkgPath(); + /** + *
+     * Path of the package.
+     * 
+ * + * string pkg_path = 2; + * @return The bytes for pkgPath. + */ + com.google.protobuf.ByteString + getPkgPathBytes(); + } + /** + *
+   * Message representing an external package for KCL.
+   * kcl main.k -E pkg_name=pkg_path
+   * 
+ * + * Protobuf type {@code com.kcl.api.ExternalPkg} + */ + public static final class ExternalPkg extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ExternalPkg) + ExternalPkgOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "ExternalPkg"); + } + // Use ExternalPkg.newBuilder() to construct. + private ExternalPkg(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ExternalPkg() { + pkgName_ = ""; + pkgPath_ = ""; + } - private ExternalPkg() { - pkgName_ = ""; - pkgPath_ = ""; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExternalPkg_descriptor; + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExternalPkg_descriptor; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExternalPkg_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ExternalPkg.class, com.kcl.api.Spec.ExternalPkg.Builder.class); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExternalPkg_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ExternalPkg.class, - com.kcl.api.Spec.ExternalPkg.Builder.class); - } - - public static final int PKG_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object pkgName_ = ""; - - /** - *
-         * Name of the package.
-         * 
- * - * string pkg_name = 1; - * - * @return The pkgName. - */ - @java.lang.Override - public java.lang.String getPkgName() { - java.lang.Object ref = pkgName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pkgName_ = s; - return s; - } - } + public static final int PKG_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object pkgName_ = ""; + /** + *
+     * Name of the package.
+     * 
+ * + * string pkg_name = 1; + * @return The pkgName. + */ + @java.lang.Override + public java.lang.String getPkgName() { + java.lang.Object ref = pkgName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pkgName_ = s; + return s; + } + } + /** + *
+     * Name of the package.
+     * 
+ * + * string pkg_name = 1; + * @return The bytes for pkgName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPkgNameBytes() { + java.lang.Object ref = pkgName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pkgName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-         * Name of the package.
-         * 
- * - * string pkg_name = 1; - * - * @return The bytes for pkgName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPkgNameBytes() { - java.lang.Object ref = pkgName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pkgName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static final int PKG_PATH_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object pkgPath_ = ""; + /** + *
+     * Path of the package.
+     * 
+ * + * string pkg_path = 2; + * @return The pkgPath. + */ + @java.lang.Override + public java.lang.String getPkgPath() { + java.lang.Object ref = pkgPath_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pkgPath_ = s; + return s; + } + } + /** + *
+     * Path of the package.
+     * 
+ * + * string pkg_path = 2; + * @return The bytes for pkgPath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPkgPathBytes() { + java.lang.Object ref = pkgPath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pkgPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static final int PKG_PATH_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object pkgPath_ = ""; + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-         * Path of the package.
-         * 
- * - * string pkg_path = 2; - * - * @return The pkgPath. - */ - @java.lang.Override - public java.lang.String getPkgPath() { - java.lang.Object ref = pkgPath_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pkgPath_ = s; - return s; - } - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-         * Path of the package.
-         * 
- * - * string pkg_path = 2; - * - * @return The bytes for pkgPath. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPkgPathBytes() { - java.lang.Object ref = pkgPath_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pkgPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pkgName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, pkgName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pkgPath_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, pkgPath_); + } + getUnknownFields().writeTo(output); + } - private byte memoizedIsInitialized = -1; + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pkgName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, pkgName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pkgPath_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, pkgPath_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ExternalPkg)) { + return super.equals(obj); + } + com.kcl.api.Spec.ExternalPkg other = (com.kcl.api.Spec.ExternalPkg) obj; + + if (!getPkgName() + .equals(other.getPkgName())) return false; + if (!getPkgPath() + .equals(other.getPkgPath())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - memoizedIsInitialized = 1; - return true; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PKG_NAME_FIELD_NUMBER; + hash = (53 * hash) + getPkgName().hashCode(); + hash = (37 * hash) + PKG_PATH_FIELD_NUMBER; + hash = (53 * hash) + getPkgPath().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pkgName_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, pkgName_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pkgPath_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, pkgPath_); - } - getUnknownFields().writeTo(output); - } + public static com.kcl.api.Spec.ExternalPkg parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ExternalPkg parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ExternalPkg parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ExternalPkg parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ExternalPkg parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ExternalPkg parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ExternalPkg parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ExternalPkg parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pkgName_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, pkgName_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pkgPath_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, pkgPath_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + public static com.kcl.api.Spec.ExternalPkg parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ExternalPkg)) { - return super.equals(obj); - } - com.kcl.api.Spec.ExternalPkg other = (com.kcl.api.Spec.ExternalPkg) obj; + public static com.kcl.api.Spec.ExternalPkg parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.ExternalPkg parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ExternalPkg parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - if (!getPkgName().equals(other.getPkgName())) - return false; - if (!getPkgPath().equals(other.getPkgPath())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ExternalPkg prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PKG_NAME_FIELD_NUMBER; - hash = (53 * hash) + getPkgName().hashCode(); - hash = (37 * hash) + PKG_PATH_FIELD_NUMBER; - hash = (53 * hash) + getPkgPath().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message representing an external package for KCL.
+     * kcl main.k -E pkg_name=pkg_path
+     * 
+ * + * Protobuf type {@code com.kcl.api.ExternalPkg} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ExternalPkg) + com.kcl.api.Spec.ExternalPkgOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExternalPkg_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExternalPkg_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ExternalPkg.class, com.kcl.api.Spec.ExternalPkg.Builder.class); + } + + // Construct using com.kcl.api.Spec.ExternalPkg.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + pkgName_ = ""; + pkgPath_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExternalPkg_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ExternalPkg getDefaultInstanceForType() { + return com.kcl.api.Spec.ExternalPkg.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ExternalPkg build() { + com.kcl.api.Spec.ExternalPkg result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ExternalPkg buildPartial() { + com.kcl.api.Spec.ExternalPkg result = new com.kcl.api.Spec.ExternalPkg(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.ExternalPkg result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.pkgName_ = pkgName_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.pkgPath_ = pkgPath_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ExternalPkg) { + return mergeFrom((com.kcl.api.Spec.ExternalPkg)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ExternalPkg other) { + if (other == com.kcl.api.Spec.ExternalPkg.getDefaultInstance()) return this; + if (!other.getPkgName().isEmpty()) { + pkgName_ = other.pkgName_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getPkgPath().isEmpty()) { + pkgPath_ = other.pkgPath_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + pkgName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + pkgPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object pkgName_ = ""; + /** + *
+       * Name of the package.
+       * 
+ * + * string pkg_name = 1; + * @return The pkgName. + */ + public java.lang.String getPkgName() { + java.lang.Object ref = pkgName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pkgName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Name of the package.
+       * 
+ * + * string pkg_name = 1; + * @return The bytes for pkgName. + */ + public com.google.protobuf.ByteString + getPkgNameBytes() { + java.lang.Object ref = pkgName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pkgName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Name of the package.
+       * 
+ * + * string pkg_name = 1; + * @param value The pkgName to set. + * @return This builder for chaining. + */ + public Builder setPkgName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + pkgName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Name of the package.
+       * 
+ * + * string pkg_name = 1; + * @return This builder for chaining. + */ + public Builder clearPkgName() { + pkgName_ = getDefaultInstance().getPkgName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Name of the package.
+       * 
+ * + * string pkg_name = 1; + * @param value The bytes for pkgName to set. + * @return This builder for chaining. + */ + public Builder setPkgNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + pkgName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object pkgPath_ = ""; + /** + *
+       * Path of the package.
+       * 
+ * + * string pkg_path = 2; + * @return The pkgPath. + */ + public java.lang.String getPkgPath() { + java.lang.Object ref = pkgPath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pkgPath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Path of the package.
+       * 
+ * + * string pkg_path = 2; + * @return The bytes for pkgPath. + */ + public com.google.protobuf.ByteString + getPkgPathBytes() { + java.lang.Object ref = pkgPath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pkgPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Path of the package.
+       * 
+ * + * string pkg_path = 2; + * @param value The pkgPath to set. + * @return This builder for chaining. + */ + public Builder setPkgPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + pkgPath_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Path of the package.
+       * 
+ * + * string pkg_path = 2; + * @return This builder for chaining. + */ + public Builder clearPkgPath() { + pkgPath_ = getDefaultInstance().getPkgPath(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Path of the package.
+       * 
+ * + * string pkg_path = 2; + * @param value The bytes for pkgPath to set. + * @return This builder for chaining. + */ + public Builder setPkgPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + pkgPath_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ExternalPkg) + } - public static com.kcl.api.Spec.ExternalPkg parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ExternalPkg) + private static final com.kcl.api.Spec.ExternalPkg DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ExternalPkg(); + } - public static com.kcl.api.Spec.ExternalPkg parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static com.kcl.api.Spec.ExternalPkg getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.ExternalPkg parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExternalPkg parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static com.kcl.api.Spec.ExternalPkg parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static com.kcl.api.Spec.ExternalPkg parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public com.kcl.api.Spec.ExternalPkg getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.ExternalPkg parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + } - public static com.kcl.api.Spec.ExternalPkg parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + public interface ArgumentOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.Argument) + com.google.protobuf.MessageOrBuilder { - public static com.kcl.api.Spec.ExternalPkg parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + /** + *
+     * Name of the argument.
+     * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+     * Name of the argument.
+     * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); - public static com.kcl.api.Spec.ExternalPkg parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } + /** + *
+     * Value of the argument.
+     * 
+ * + * string value = 2; + * @return The value. + */ + java.lang.String getValue(); + /** + *
+     * Value of the argument.
+     * 
+ * + * string value = 2; + * @return The bytes for value. + */ + com.google.protobuf.ByteString + getValueBytes(); + } + /** + *
+   * Message representing a key-value argument for KCL.
+   * kcl main.k -D name=value
+   * 
+ * + * Protobuf type {@code com.kcl.api.Argument} + */ + public static final class Argument extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.Argument) + ArgumentOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "Argument"); + } + // Use Argument.newBuilder() to construct. + private Argument(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private Argument() { + name_ = ""; + value_ = ""; + } - public static com.kcl.api.Spec.ExternalPkg parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Argument_descriptor; + } - public static com.kcl.api.Spec.ExternalPkg parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Argument_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Argument.class, com.kcl.api.Spec.Argument.Builder.class); + } - public static com.kcl.api.Spec.ExternalPkg parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + *
+     * Name of the argument.
+     * 
+ * + * string name = 1; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+     * Name of the argument.
+     * 
+ * + * string name = 1; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + public static final int VALUE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object value_ = ""; + /** + *
+     * Value of the argument.
+     * 
+ * + * string value = 2; + * @return The value. + */ + @java.lang.Override + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } + } + /** + *
+     * Value of the argument.
+     * 
+ * + * string value = 2; + * @return The bytes for value. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static Builder newBuilder(com.kcl.api.Spec.ExternalPkg prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, value_); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message representing an external package for KCL.
-         * kcl main.k -E pkg_name=pkg_path
-         * 
- * - * Protobuf type {@code com.kcl.api.ExternalPkg} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ExternalPkg) - com.kcl.api.Spec.ExternalPkgOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExternalPkg_descriptor; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, value_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExternalPkg_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ExternalPkg.class, - com.kcl.api.Spec.ExternalPkg.Builder.class); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.Argument)) { + return super.equals(obj); + } + com.kcl.api.Spec.Argument other = (com.kcl.api.Spec.Argument) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getValue() + .equals(other.getValue())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - // Construct using com.kcl.api.Spec.ExternalPkg.newBuilder() - private Builder() { + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - } + public static com.kcl.api.Spec.Argument parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Argument parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Argument parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Argument parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Argument parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Argument parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Argument parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Argument parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); + public static com.kcl.api.Spec.Argument parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - } + public static com.kcl.api.Spec.Argument parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.Argument parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Argument parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - pkgName_ = ""; - pkgPath_ = ""; - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.Argument prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExternalPkg_descriptor; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message representing a key-value argument for KCL.
+     * kcl main.k -D name=value
+     * 
+ * + * Protobuf type {@code com.kcl.api.Argument} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.Argument) + com.kcl.api.Spec.ArgumentOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Argument_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Argument_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Argument.class, com.kcl.api.Spec.Argument.Builder.class); + } + + // Construct using com.kcl.api.Spec.Argument.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + value_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Argument_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.Argument getDefaultInstanceForType() { + return com.kcl.api.Spec.Argument.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.Argument build() { + com.kcl.api.Spec.Argument result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.Argument buildPartial() { + com.kcl.api.Spec.Argument result = new com.kcl.api.Spec.Argument(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.Argument result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.value_ = value_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.Argument) { + return mergeFrom((com.kcl.api.Spec.Argument)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.Argument other) { + if (other == com.kcl.api.Spec.Argument.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getValue().isEmpty()) { + value_ = other.value_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + value_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + *
+       * Name of the argument.
+       * 
+ * + * string name = 1; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Name of the argument.
+       * 
+ * + * string name = 1; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Name of the argument.
+       * 
+ * + * string name = 1; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Name of the argument.
+       * 
+ * + * string name = 1; + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Name of the argument.
+       * 
+ * + * string name = 1; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object value_ = ""; + /** + *
+       * Value of the argument.
+       * 
+ * + * string value = 2; + * @return The value. + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Value of the argument.
+       * 
+ * + * string value = 2; + * @return The bytes for value. + */ + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Value of the argument.
+       * 
+ * + * string value = 2; + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + value_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Value of the argument.
+       * 
+ * + * string value = 2; + * @return This builder for chaining. + */ + public Builder clearValue() { + value_ = getDefaultInstance().getValue(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Value of the argument.
+       * 
+ * + * string value = 2; + * @param value The bytes for value to set. + * @return This builder for chaining. + */ + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + value_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.Argument) + } - @java.lang.Override - public com.kcl.api.Spec.ExternalPkg getDefaultInstanceForType() { - return com.kcl.api.Spec.ExternalPkg.getDefaultInstance(); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.Argument) + private static final com.kcl.api.Spec.Argument DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.Argument(); + } - @java.lang.Override - public com.kcl.api.Spec.ExternalPkg build() { - com.kcl.api.Spec.ExternalPkg result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + public static com.kcl.api.Spec.Argument getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public com.kcl.api.Spec.ExternalPkg buildPartial() { - com.kcl.api.Spec.ExternalPkg result = new com.kcl.api.Spec.ExternalPkg(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Argument parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - private void buildPartial0(com.kcl.api.Spec.ExternalPkg result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.pkgName_ = pkgName_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.pkgPath_ = pkgPath_; - } - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ExternalPkg) { - return mergeFrom((com.kcl.api.Spec.ExternalPkg) other); - } else { - super.mergeFrom(other); - return this; - } - } + @java.lang.Override + public com.kcl.api.Spec.Argument getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public Builder mergeFrom(com.kcl.api.Spec.ExternalPkg other) { - if (other == com.kcl.api.Spec.ExternalPkg.getDefaultInstance()) - return this; - if (!other.getPkgName().isEmpty()) { - pkgName_ = other.pkgName_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getPkgPath().isEmpty()) { - pkgPath_ = other.pkgPath_; - bitField0_ |= 0x00000002; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + public interface ErrorOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.Error) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - pkgName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - pkgPath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + /** + *
+     * Level of the error (e.g., "Error", "Warning").
+     * 
+ * + * string level = 1; + * @return The level. + */ + java.lang.String getLevel(); + /** + *
+     * Level of the error (e.g., "Error", "Warning").
+     * 
+ * + * string level = 1; + * @return The bytes for level. + */ + com.google.protobuf.ByteString + getLevelBytes(); - private int bitField0_; - - private java.lang.Object pkgName_ = ""; - - /** - *
-             * Name of the package.
-             * 
- * - * string pkg_name = 1; - * - * @return The pkgName. - */ - public java.lang.String getPkgName() { - java.lang.Object ref = pkgName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pkgName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + /** + *
+     * Error code. (e.g., "E1001")
+     * 
+ * + * string code = 2; + * @return The code. + */ + java.lang.String getCode(); + /** + *
+     * Error code. (e.g., "E1001")
+     * 
+ * + * string code = 2; + * @return The bytes for code. + */ + com.google.protobuf.ByteString + getCodeBytes(); - /** - *
-             * Name of the package.
-             * 
- * - * string pkg_name = 1; - * - * @return The bytes for pkgName. - */ - public com.google.protobuf.ByteString getPkgNameBytes() { - java.lang.Object ref = pkgName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - pkgName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + *
+     * List of error messages.
+     * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + java.util.List + getMessagesList(); + /** + *
+     * List of error messages.
+     * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + com.kcl.api.Spec.Message getMessages(int index); + /** + *
+     * List of error messages.
+     * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + int getMessagesCount(); + /** + *
+     * List of error messages.
+     * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + java.util.List + getMessagesOrBuilderList(); + /** + *
+     * List of error messages.
+     * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + com.kcl.api.Spec.MessageOrBuilder getMessagesOrBuilder( + int index); + } + /** + *
+   * Message representing an error.
+   * 
+ * + * Protobuf type {@code com.kcl.api.Error} + */ + public static final class Error extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.Error) + ErrorOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "Error"); + } + // Use Error.newBuilder() to construct. + private Error(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private Error() { + level_ = ""; + code_ = ""; + messages_ = java.util.Collections.emptyList(); + } - /** - *
-             * Name of the package.
-             * 
- * - * string pkg_name = 1; - * - * @param value - * The pkgName to set. - * - * @return This builder for chaining. - */ - public Builder setPkgName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - pkgName_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Error_descriptor; + } - /** - *
-             * Name of the package.
-             * 
- * - * string pkg_name = 1; - * - * @return This builder for chaining. - */ - public Builder clearPkgName() { - pkgName_ = getDefaultInstance().getPkgName(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Error_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Error.class, com.kcl.api.Spec.Error.Builder.class); + } - /** - *
-             * Name of the package.
-             * 
- * - * string pkg_name = 1; - * - * @param value - * The bytes for pkgName to set. - * - * @return This builder for chaining. - */ - public Builder setPkgNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - pkgName_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + public static final int LEVEL_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object level_ = ""; + /** + *
+     * Level of the error (e.g., "Error", "Warning").
+     * 
+ * + * string level = 1; + * @return The level. + */ + @java.lang.Override + public java.lang.String getLevel() { + java.lang.Object ref = level_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + level_ = s; + return s; + } + } + /** + *
+     * Level of the error (e.g., "Error", "Warning").
+     * 
+ * + * string level = 1; + * @return The bytes for level. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getLevelBytes() { + java.lang.Object ref = level_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + level_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - private java.lang.Object pkgPath_ = ""; - - /** - *
-             * Path of the package.
-             * 
- * - * string pkg_path = 2; - * - * @return The pkgPath. - */ - public java.lang.String getPkgPath() { - java.lang.Object ref = pkgPath_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pkgPath_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static final int CODE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object code_ = ""; + /** + *
+     * Error code. (e.g., "E1001")
+     * 
+ * + * string code = 2; + * @return The code. + */ + @java.lang.Override + public java.lang.String getCode() { + java.lang.Object ref = code_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + code_ = s; + return s; + } + } + /** + *
+     * Error code. (e.g., "E1001")
+     * 
+ * + * string code = 2; + * @return The bytes for code. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCodeBytes() { + java.lang.Object ref = code_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + code_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * Path of the package.
-             * 
- * - * string pkg_path = 2; - * - * @return The bytes for pkgPath. - */ - public com.google.protobuf.ByteString getPkgPathBytes() { - java.lang.Object ref = pkgPath_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - pkgPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static final int MESSAGES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List messages_; + /** + *
+     * List of error messages.
+     * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + @java.lang.Override + public java.util.List getMessagesList() { + return messages_; + } + /** + *
+     * List of error messages.
+     * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + @java.lang.Override + public java.util.List + getMessagesOrBuilderList() { + return messages_; + } + /** + *
+     * List of error messages.
+     * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + @java.lang.Override + public int getMessagesCount() { + return messages_.size(); + } + /** + *
+     * List of error messages.
+     * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.Message getMessages(int index) { + return messages_.get(index); + } + /** + *
+     * List of error messages.
+     * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.MessageOrBuilder getMessagesOrBuilder( + int index) { + return messages_.get(index); + } - /** - *
-             * Path of the package.
-             * 
- * - * string pkg_path = 2; - * - * @param value - * The pkgPath to set. - * - * @return This builder for chaining. - */ - public Builder setPkgPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - pkgPath_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * Path of the package.
-             * 
- * - * string pkg_path = 2; - * - * @return This builder for chaining. - */ - public Builder clearPkgPath() { - pkgPath_ = getDefaultInstance().getPkgPath(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-             * Path of the package.
-             * 
- * - * string pkg_path = 2; - * - * @param value - * The bytes for pkgPath to set. - * - * @return This builder for chaining. - */ - public Builder setPkgPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - pkgPath_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(level_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, level_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(code_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, code_); + } + for (int i = 0; i < messages_.size(); i++) { + output.writeMessage(3, messages_.get(i)); + } + getUnknownFields().writeTo(output); + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.ExternalPkg) - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(level_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, level_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(code_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, code_); + } + for (int i = 0; i < messages_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, messages_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.ExternalPkg) - private static final com.kcl.api.Spec.ExternalPkg DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ExternalPkg(); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.Error)) { + return super.equals(obj); + } + com.kcl.api.Spec.Error other = (com.kcl.api.Spec.Error) obj; + + if (!getLevel() + .equals(other.getLevel())) return false; + if (!getCode() + .equals(other.getCode())) return false; + if (!getMessagesList() + .equals(other.getMessagesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static com.kcl.api.Spec.ExternalPkg getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getLevel().hashCode(); + hash = (37 * hash) + CODE_FIELD_NUMBER; + hash = (53 * hash) + getCode().hashCode(); + if (getMessagesCount() > 0) { + hash = (37 * hash) + MESSAGES_FIELD_NUMBER; + hash = (53 * hash) + getMessagesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExternalPkg parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + public static com.kcl.api.Spec.Error parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Error parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Error parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Error parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Error parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Error parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Error parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Error parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + public static com.kcl.api.Spec.Error parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static com.kcl.api.Spec.Error parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.Error parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Error parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public com.kcl.api.Spec.ExternalPkg getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ArgumentOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Argument) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Name of the argument.
-         * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - - /** - *
-         * Name of the argument.
-         * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - *
-         * Value of the argument.
-         * 
- * - * string value = 2; - * - * @return The value. - */ - java.lang.String getValue(); - - /** - *
-         * Value of the argument.
-         * 
- * - * string value = 2; - * - * @return The bytes for value. - */ - com.google.protobuf.ByteString getValueBytes(); + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.Error prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** *
-     * Message representing a key-value argument for KCL.
-     * kcl main.k -D name=value
+     * Message representing an error.
      * 
* - * Protobuf type {@code com.kcl.api.Argument} + * Protobuf type {@code com.kcl.api.Error} */ - public static final class Argument extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Argument) - ArgumentOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", Argument.class.getName()); - } - - // Use Argument.newBuilder() to construct. - private Argument(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private Argument() { - name_ = ""; - value_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Argument_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Argument_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Argument.class, - com.kcl.api.Spec.Argument.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - - /** - *
-         * Name of the argument.
-         * 
- * - * string name = 1; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - - /** - *
-         * Name of the argument.
-         * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int VALUE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object value_ = ""; - - /** - *
-         * Value of the argument.
-         * 
- * - * string value = 2; - * - * @return The value. - */ - @java.lang.Override - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.Error) + com.kcl.api.Spec.ErrorOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Error_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Error_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Error.class, com.kcl.api.Spec.Error.Builder.class); + } + + // Construct using com.kcl.api.Spec.Error.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + level_ = ""; + code_ = ""; + if (messagesBuilder_ == null) { + messages_ = java.util.Collections.emptyList(); + } else { + messages_ = null; + messagesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Error_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.Error getDefaultInstanceForType() { + return com.kcl.api.Spec.Error.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.Error build() { + com.kcl.api.Spec.Error result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.Error buildPartial() { + com.kcl.api.Spec.Error result = new com.kcl.api.Spec.Error(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.Error result) { + if (messagesBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + messages_ = java.util.Collections.unmodifiableList(messages_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.messages_ = messages_; + } else { + result.messages_ = messagesBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.Error result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.level_ = level_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.code_ = code_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.Error) { + return mergeFrom((com.kcl.api.Spec.Error)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.Error other) { + if (other == com.kcl.api.Spec.Error.getDefaultInstance()) return this; + if (!other.getLevel().isEmpty()) { + level_ = other.level_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getCode().isEmpty()) { + code_ = other.code_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (messagesBuilder_ == null) { + if (!other.messages_.isEmpty()) { + if (messages_.isEmpty()) { + messages_ = other.messages_; + bitField0_ = (bitField0_ & ~0x00000004); } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } - } - - /** - *
-         * Value of the argument.
-         * 
- * - * string value = 2; - * - * @return The bytes for value. - */ - @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; + ensureMessagesIsMutable(); + messages_.addAll(other.messages_); + } + onChanged(); + } + } else { + if (!other.messages_.isEmpty()) { + if (messagesBuilder_.isEmpty()) { + messagesBuilder_.dispose(); + messagesBuilder_ = null; + messages_ = other.messages_; + bitField0_ = (bitField0_ & ~0x00000004); + messagesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetMessagesFieldBuilder() : null; } else { - return (com.google.protobuf.ByteString) ref; - } - } + messagesBuilder_.addAllMessages(other.messages_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + level_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + code_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + com.kcl.api.Spec.Message m = + input.readMessage( + com.kcl.api.Spec.Message.parser(), + extensionRegistry); + if (messagesBuilder_ == null) { + ensureMessagesIsMutable(); + messages_.add(m); + } else { + messagesBuilder_.addMessage(m); + } + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object level_ = ""; + /** + *
+       * Level of the error (e.g., "Error", "Warning").
+       * 
+ * + * string level = 1; + * @return The level. + */ + public java.lang.String getLevel() { + java.lang.Object ref = level_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + level_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Level of the error (e.g., "Error", "Warning").
+       * 
+ * + * string level = 1; + * @return The bytes for level. + */ + public com.google.protobuf.ByteString + getLevelBytes() { + java.lang.Object ref = level_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + level_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Level of the error (e.g., "Error", "Warning").
+       * 
+ * + * string level = 1; + * @param value The level to set. + * @return This builder for chaining. + */ + public Builder setLevel( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + level_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Level of the error (e.g., "Error", "Warning").
+       * 
+ * + * string level = 1; + * @return This builder for chaining. + */ + public Builder clearLevel() { + level_ = getDefaultInstance().getLevel(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Level of the error (e.g., "Error", "Warning").
+       * 
+ * + * string level = 1; + * @param value The bytes for level to set. + * @return This builder for chaining. + */ + public Builder setLevelBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + level_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object code_ = ""; + /** + *
+       * Error code. (e.g., "E1001")
+       * 
+ * + * string code = 2; + * @return The code. + */ + public java.lang.String getCode() { + java.lang.Object ref = code_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + code_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Error code. (e.g., "E1001")
+       * 
+ * + * string code = 2; + * @return The bytes for code. + */ + public com.google.protobuf.ByteString + getCodeBytes() { + java.lang.Object ref = code_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + code_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Error code. (e.g., "E1001")
+       * 
+ * + * string code = 2; + * @param value The code to set. + * @return This builder for chaining. + */ + public Builder setCode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + code_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Error code. (e.g., "E1001")
+       * 
+ * + * string code = 2; + * @return This builder for chaining. + */ + public Builder clearCode() { + code_ = getDefaultInstance().getCode(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Error code. (e.g., "E1001")
+       * 
+ * + * string code = 2; + * @param value The bytes for code to set. + * @return This builder for chaining. + */ + public Builder setCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + code_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.util.List messages_ = + java.util.Collections.emptyList(); + private void ensureMessagesIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + messages_ = new java.util.ArrayList(messages_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Message, com.kcl.api.Spec.Message.Builder, com.kcl.api.Spec.MessageOrBuilder> messagesBuilder_; + + /** + *
+       * List of error messages.
+       * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + public java.util.List getMessagesList() { + if (messagesBuilder_ == null) { + return java.util.Collections.unmodifiableList(messages_); + } else { + return messagesBuilder_.getMessageList(); + } + } + /** + *
+       * List of error messages.
+       * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + public int getMessagesCount() { + if (messagesBuilder_ == null) { + return messages_.size(); + } else { + return messagesBuilder_.getCount(); + } + } + /** + *
+       * List of error messages.
+       * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + public com.kcl.api.Spec.Message getMessages(int index) { + if (messagesBuilder_ == null) { + return messages_.get(index); + } else { + return messagesBuilder_.getMessage(index); + } + } + /** + *
+       * List of error messages.
+       * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + public Builder setMessages( + int index, com.kcl.api.Spec.Message value) { + if (messagesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMessagesIsMutable(); + messages_.set(index, value); + onChanged(); + } else { + messagesBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * List of error messages.
+       * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + public Builder setMessages( + int index, com.kcl.api.Spec.Message.Builder builderForValue) { + if (messagesBuilder_ == null) { + ensureMessagesIsMutable(); + messages_.set(index, builderForValue.build()); + onChanged(); + } else { + messagesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of error messages.
+       * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + public Builder addMessages(com.kcl.api.Spec.Message value) { + if (messagesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMessagesIsMutable(); + messages_.add(value); + onChanged(); + } else { + messagesBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * List of error messages.
+       * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + public Builder addMessages( + int index, com.kcl.api.Spec.Message value) { + if (messagesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMessagesIsMutable(); + messages_.add(index, value); + onChanged(); + } else { + messagesBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * List of error messages.
+       * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + public Builder addMessages( + com.kcl.api.Spec.Message.Builder builderForValue) { + if (messagesBuilder_ == null) { + ensureMessagesIsMutable(); + messages_.add(builderForValue.build()); + onChanged(); + } else { + messagesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * List of error messages.
+       * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + public Builder addMessages( + int index, com.kcl.api.Spec.Message.Builder builderForValue) { + if (messagesBuilder_ == null) { + ensureMessagesIsMutable(); + messages_.add(index, builderForValue.build()); + onChanged(); + } else { + messagesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of error messages.
+       * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + public Builder addAllMessages( + java.lang.Iterable values) { + if (messagesBuilder_ == null) { + ensureMessagesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, messages_); + onChanged(); + } else { + messagesBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * List of error messages.
+       * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + public Builder clearMessages() { + if (messagesBuilder_ == null) { + messages_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + messagesBuilder_.clear(); + } + return this; + } + /** + *
+       * List of error messages.
+       * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + public Builder removeMessages(int index) { + if (messagesBuilder_ == null) { + ensureMessagesIsMutable(); + messages_.remove(index); + onChanged(); + } else { + messagesBuilder_.remove(index); + } + return this; + } + /** + *
+       * List of error messages.
+       * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + public com.kcl.api.Spec.Message.Builder getMessagesBuilder( + int index) { + return internalGetMessagesFieldBuilder().getBuilder(index); + } + /** + *
+       * List of error messages.
+       * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + public com.kcl.api.Spec.MessageOrBuilder getMessagesOrBuilder( + int index) { + if (messagesBuilder_ == null) { + return messages_.get(index); } else { + return messagesBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * List of error messages.
+       * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + public java.util.List + getMessagesOrBuilderList() { + if (messagesBuilder_ != null) { + return messagesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(messages_); + } + } + /** + *
+       * List of error messages.
+       * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + public com.kcl.api.Spec.Message.Builder addMessagesBuilder() { + return internalGetMessagesFieldBuilder().addBuilder( + com.kcl.api.Spec.Message.getDefaultInstance()); + } + /** + *
+       * List of error messages.
+       * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + public com.kcl.api.Spec.Message.Builder addMessagesBuilder( + int index) { + return internalGetMessagesFieldBuilder().addBuilder( + index, com.kcl.api.Spec.Message.getDefaultInstance()); + } + /** + *
+       * List of error messages.
+       * 
+ * + * repeated .com.kcl.api.Message messages = 3; + */ + public java.util.List + getMessagesBuilderList() { + return internalGetMessagesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Message, com.kcl.api.Spec.Message.Builder, com.kcl.api.Spec.MessageOrBuilder> + internalGetMessagesFieldBuilder() { + if (messagesBuilder_ == null) { + messagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Message, com.kcl.api.Spec.Message.Builder, com.kcl.api.Spec.MessageOrBuilder>( + messages_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + messages_ = null; + } + return messagesBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.Error) + } - private byte memoizedIsInitialized = -1; + // @@protoc_insertion_point(class_scope:com.kcl.api.Error) + private static final com.kcl.api.Spec.Error DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.Error(); + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + public static com.kcl.api.Spec.Error getDefaultInstance() { + return DEFAULT_INSTANCE; + } - memoizedIsInitialized = 1; - return true; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Error parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, value_); - } - getUnknownFields().writeTo(output); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, value_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + public com.kcl.api.Spec.Error getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Argument)) { - return super.equals(obj); - } - com.kcl.api.Spec.Argument other = (com.kcl.api.Spec.Argument) obj; + } - if (!getName().equals(other.getName())) - return false; - if (!getValue().equals(other.getValue())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + public interface MessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.Message) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + /** + *
+     * The error message text.
+     * 
+ * + * string msg = 1; + * @return The msg. + */ + java.lang.String getMsg(); + /** + *
+     * The error message text.
+     * 
+ * + * string msg = 1; + * @return The bytes for msg. + */ + com.google.protobuf.ByteString + getMsgBytes(); - public static com.kcl.api.Spec.Argument parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + /** + *
+     * The position in the source code where the error occurred.
+     * 
+ * + * .com.kcl.api.Position pos = 2; + * @return Whether the pos field is set. + */ + boolean hasPos(); + /** + *
+     * The position in the source code where the error occurred.
+     * 
+ * + * .com.kcl.api.Position pos = 2; + * @return The pos. + */ + com.kcl.api.Spec.Position getPos(); + /** + *
+     * The position in the source code where the error occurred.
+     * 
+ * + * .com.kcl.api.Position pos = 2; + */ + com.kcl.api.Spec.PositionOrBuilder getPosOrBuilder(); + } + /** + *
+   * Message representing a detailed error message with a position.
+   * 
+ * + * Protobuf type {@code com.kcl.api.Message} + */ + public static final class Message extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.Message) + MessageOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "Message"); + } + // Use Message.newBuilder() to construct. + private Message(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private Message() { + msg_ = ""; + } - public static com.kcl.api.Spec.Argument parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Message_descriptor; + } - public static com.kcl.api.Spec.Argument parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Message_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Message.class, com.kcl.api.Spec.Message.Builder.class); + } - public static com.kcl.api.Spec.Argument parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Argument parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + private int bitField0_; + public static final int MSG_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object msg_ = ""; + /** + *
+     * The error message text.
+     * 
+ * + * string msg = 1; + * @return The msg. + */ + @java.lang.Override + public java.lang.String getMsg() { + java.lang.Object ref = msg_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + msg_ = s; + return s; + } + } + /** + *
+     * The error message text.
+     * 
+ * + * string msg = 1; + * @return The bytes for msg. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getMsgBytes() { + java.lang.Object ref = msg_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + msg_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static com.kcl.api.Spec.Argument parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static final int POS_FIELD_NUMBER = 2; + private com.kcl.api.Spec.Position pos_; + /** + *
+     * The position in the source code where the error occurred.
+     * 
+ * + * .com.kcl.api.Position pos = 2; + * @return Whether the pos field is set. + */ + @java.lang.Override + public boolean hasPos() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * The position in the source code where the error occurred.
+     * 
+ * + * .com.kcl.api.Position pos = 2; + * @return The pos. + */ + @java.lang.Override + public com.kcl.api.Spec.Position getPos() { + return pos_ == null ? com.kcl.api.Spec.Position.getDefaultInstance() : pos_; + } + /** + *
+     * The position in the source code where the error occurred.
+     * 
+ * + * .com.kcl.api.Position pos = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.PositionOrBuilder getPosOrBuilder() { + return pos_ == null ? com.kcl.api.Spec.Position.getDefaultInstance() : pos_; + } - public static com.kcl.api.Spec.Argument parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static com.kcl.api.Spec.Argument parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + memoizedIsInitialized = 1; + return true; + } - public static com.kcl.api.Spec.Argument parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(msg_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, msg_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getPos()); + } + getUnknownFields().writeTo(output); + } - public static com.kcl.api.Spec.Argument parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(msg_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, msg_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPos()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static com.kcl.api.Spec.Argument parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.Message)) { + return super.equals(obj); + } + com.kcl.api.Spec.Message other = (com.kcl.api.Spec.Message) obj; + + if (!getMsg() + .equals(other.getMsg())) return false; + if (hasPos() != other.hasPos()) return false; + if (hasPos()) { + if (!getPos() + .equals(other.getPos())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static com.kcl.api.Spec.Argument parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + MSG_FIELD_NUMBER; + hash = (53 * hash) + getMsg().hashCode(); + if (hasPos()) { + hash = (37 * hash) + POS_FIELD_NUMBER; + hash = (53 * hash) + getPos().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + public static com.kcl.api.Spec.Message parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Message parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Message parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Message parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Message parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Message parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Message parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Message parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + public static com.kcl.api.Spec.Message parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - public static Builder newBuilder(com.kcl.api.Spec.Argument prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + public static com.kcl.api.Spec.Message parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.Message parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Message parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.Message prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message representing a key-value argument for KCL.
-         * kcl main.k -D name=value
-         * 
- * - * Protobuf type {@code com.kcl.api.Argument} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Argument) - com.kcl.api.Spec.ArgumentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Argument_descriptor; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message representing a detailed error message with a position.
+     * 
+ * + * Protobuf type {@code com.kcl.api.Message} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.Message) + com.kcl.api.Spec.MessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Message_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Message_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Message.class, com.kcl.api.Spec.Message.Builder.class); + } + + // Construct using com.kcl.api.Spec.Message.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + internalGetPosFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + msg_ = ""; + pos_ = null; + if (posBuilder_ != null) { + posBuilder_.dispose(); + posBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Message_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.Message getDefaultInstanceForType() { + return com.kcl.api.Spec.Message.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.Message build() { + com.kcl.api.Spec.Message result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.Message buildPartial() { + com.kcl.api.Spec.Message result = new com.kcl.api.Spec.Message(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.Message result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.msg_ = msg_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.pos_ = posBuilder_ == null + ? pos_ + : posBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.Message) { + return mergeFrom((com.kcl.api.Spec.Message)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.Message other) { + if (other == com.kcl.api.Spec.Message.getDefaultInstance()) return this; + if (!other.getMsg().isEmpty()) { + msg_ = other.msg_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasPos()) { + mergePos(other.getPos()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + msg_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + internalGetPosFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object msg_ = ""; + /** + *
+       * The error message text.
+       * 
+ * + * string msg = 1; + * @return The msg. + */ + public java.lang.String getMsg() { + java.lang.Object ref = msg_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + msg_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * The error message text.
+       * 
+ * + * string msg = 1; + * @return The bytes for msg. + */ + public com.google.protobuf.ByteString + getMsgBytes() { + java.lang.Object ref = msg_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + msg_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * The error message text.
+       * 
+ * + * string msg = 1; + * @param value The msg to set. + * @return This builder for chaining. + */ + public Builder setMsg( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + msg_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * The error message text.
+       * 
+ * + * string msg = 1; + * @return This builder for chaining. + */ + public Builder clearMsg() { + msg_ = getDefaultInstance().getMsg(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * The error message text.
+       * 
+ * + * string msg = 1; + * @param value The bytes for msg to set. + * @return This builder for chaining. + */ + public Builder setMsgBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + msg_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.kcl.api.Spec.Position pos_; + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.Position, com.kcl.api.Spec.Position.Builder, com.kcl.api.Spec.PositionOrBuilder> posBuilder_; + /** + *
+       * The position in the source code where the error occurred.
+       * 
+ * + * .com.kcl.api.Position pos = 2; + * @return Whether the pos field is set. + */ + public boolean hasPos() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+       * The position in the source code where the error occurred.
+       * 
+ * + * .com.kcl.api.Position pos = 2; + * @return The pos. + */ + public com.kcl.api.Spec.Position getPos() { + if (posBuilder_ == null) { + return pos_ == null ? com.kcl.api.Spec.Position.getDefaultInstance() : pos_; + } else { + return posBuilder_.getMessage(); + } + } + /** + *
+       * The position in the source code where the error occurred.
+       * 
+ * + * .com.kcl.api.Position pos = 2; + */ + public Builder setPos(com.kcl.api.Spec.Position value) { + if (posBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + pos_ = value; + } else { + posBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * The position in the source code where the error occurred.
+       * 
+ * + * .com.kcl.api.Position pos = 2; + */ + public Builder setPos( + com.kcl.api.Spec.Position.Builder builderForValue) { + if (posBuilder_ == null) { + pos_ = builderForValue.build(); + } else { + posBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * The position in the source code where the error occurred.
+       * 
+ * + * .com.kcl.api.Position pos = 2; + */ + public Builder mergePos(com.kcl.api.Spec.Position value) { + if (posBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + pos_ != null && + pos_ != com.kcl.api.Spec.Position.getDefaultInstance()) { + getPosBuilder().mergeFrom(value); + } else { + pos_ = value; + } + } else { + posBuilder_.mergeFrom(value); + } + if (pos_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + *
+       * The position in the source code where the error occurred.
+       * 
+ * + * .com.kcl.api.Position pos = 2; + */ + public Builder clearPos() { + bitField0_ = (bitField0_ & ~0x00000002); + pos_ = null; + if (posBuilder_ != null) { + posBuilder_.dispose(); + posBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * The position in the source code where the error occurred.
+       * 
+ * + * .com.kcl.api.Position pos = 2; + */ + public com.kcl.api.Spec.Position.Builder getPosBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return internalGetPosFieldBuilder().getBuilder(); + } + /** + *
+       * The position in the source code where the error occurred.
+       * 
+ * + * .com.kcl.api.Position pos = 2; + */ + public com.kcl.api.Spec.PositionOrBuilder getPosOrBuilder() { + if (posBuilder_ != null) { + return posBuilder_.getMessageOrBuilder(); + } else { + return pos_ == null ? + com.kcl.api.Spec.Position.getDefaultInstance() : pos_; + } + } + /** + *
+       * The position in the source code where the error occurred.
+       * 
+ * + * .com.kcl.api.Position pos = 2; + */ + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.Position, com.kcl.api.Spec.Position.Builder, com.kcl.api.Spec.PositionOrBuilder> + internalGetPosFieldBuilder() { + if (posBuilder_ == null) { + posBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.Position, com.kcl.api.Spec.Position.Builder, com.kcl.api.Spec.PositionOrBuilder>( + getPos(), + getParentForChildren(), + isClean()); + pos_ = null; + } + return posBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.Message) + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Argument_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Argument.class, - com.kcl.api.Spec.Argument.Builder.class); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.Message) + private static final com.kcl.api.Spec.Message DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.Message(); + } - // Construct using com.kcl.api.Spec.Argument.newBuilder() - private Builder() { + public static com.kcl.api.Spec.Message getDefaultInstance() { + return DEFAULT_INSTANCE; + } - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Message parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - } + @java.lang.Override + public com.kcl.api.Spec.Message getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - name_ = ""; - value_ = ""; - return this; - } + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Argument_descriptor; - } + public interface PingArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.PingArgs) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public com.kcl.api.Spec.Argument getDefaultInstanceForType() { - return com.kcl.api.Spec.Argument.getDefaultInstance(); - } + /** + *
+     * Value to be sent in the ping request.
+     * 
+ * + * string value = 1; + * @return The value. + */ + java.lang.String getValue(); + /** + *
+     * Value to be sent in the ping request.
+     * 
+ * + * string value = 1; + * @return The bytes for value. + */ + com.google.protobuf.ByteString + getValueBytes(); + } + /** + *
+   * Message for ping request arguments.
+   * 
+ * + * Protobuf type {@code com.kcl.api.PingArgs} + */ + public static final class PingArgs extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.PingArgs) + PingArgsOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "PingArgs"); + } + // Use PingArgs.newBuilder() to construct. + private PingArgs(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private PingArgs() { + value_ = ""; + } - @java.lang.Override - public com.kcl.api.Spec.Argument build() { - com.kcl.api.Spec.Argument result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_PingArgs_descriptor; + } - @java.lang.Override - public com.kcl.api.Spec.Argument buildPartial() { - com.kcl.api.Spec.Argument result = new com.kcl.api.Spec.Argument(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_PingArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.PingArgs.class, com.kcl.api.Spec.PingArgs.Builder.class); + } - private void buildPartial0(com.kcl.api.Spec.Argument result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.value_ = value_; - } - } + public static final int VALUE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object value_ = ""; + /** + *
+     * Value to be sent in the ping request.
+     * 
+ * + * string value = 1; + * @return The value. + */ + @java.lang.Override + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } + } + /** + *
+     * Value to be sent in the ping request.
+     * 
+ * + * string value = 1; + * @return The bytes for value. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Argument) { - return mergeFrom((com.kcl.api.Spec.Argument) other); - } else { - super.mergeFrom(other); - return this; - } - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public Builder mergeFrom(com.kcl.api.Spec.Argument other) { - if (other == com.kcl.api.Spec.Argument.getDefaultInstance()) - return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getValue().isEmpty()) { - value_ = other.value_; - bitField0_ |= 0x00000002; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, value_); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - value_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, value_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - private int bitField0_; - - private java.lang.Object name_ = ""; - - /** - *
-             * Name of the argument.
-             * 
- * - * string name = 1; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.PingArgs)) { + return super.equals(obj); + } + com.kcl.api.Spec.PingArgs other = (com.kcl.api.Spec.PingArgs) obj; + + if (!getValue() + .equals(other.getValue())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-             * Name of the argument.
-             * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-             * Name of the argument.
-             * 
- * - * string name = 1; - * - * @param value - * The name to set. - * - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + public static com.kcl.api.Spec.PingArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.PingArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.PingArgs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.PingArgs parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.PingArgs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.PingArgs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.PingArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.PingArgs parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Name of the argument.
-             * 
- * - * string name = 1; - * - * @return This builder for chaining. - */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + public static com.kcl.api.Spec.PingArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * Name of the argument.
-             * 
- * - * string name = 1; - * - * @param value - * The bytes for name to set. - * - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + public static com.kcl.api.Spec.PingArgs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.PingArgs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.PingArgs parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - private java.lang.Object value_ = ""; - - /** - *
-             * Value of the argument.
-             * 
- * - * string value = 2; - * - * @return The value. - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.PingArgs prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * Value of the argument.
-             * 
- * - * string value = 2; - * - * @return The bytes for value. - */ - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for ping request arguments.
+     * 
+ * + * Protobuf type {@code com.kcl.api.PingArgs} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.PingArgs) + com.kcl.api.Spec.PingArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_PingArgs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_PingArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.PingArgs.class, com.kcl.api.Spec.PingArgs.Builder.class); + } + + // Construct using com.kcl.api.Spec.PingArgs.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + value_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_PingArgs_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.PingArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.PingArgs.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.PingArgs build() { + com.kcl.api.Spec.PingArgs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.PingArgs buildPartial() { + com.kcl.api.Spec.PingArgs result = new com.kcl.api.Spec.PingArgs(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.PingArgs result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.value_ = value_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.PingArgs) { + return mergeFrom((com.kcl.api.Spec.PingArgs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.PingArgs other) { + if (other == com.kcl.api.Spec.PingArgs.getDefaultInstance()) return this; + if (!other.getValue().isEmpty()) { + value_ = other.value_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + value_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object value_ = ""; + /** + *
+       * Value to be sent in the ping request.
+       * 
+ * + * string value = 1; + * @return The value. + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Value to be sent in the ping request.
+       * 
+ * + * string value = 1; + * @return The bytes for value. + */ + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Value to be sent in the ping request.
+       * 
+ * + * string value = 1; + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + value_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Value to be sent in the ping request.
+       * 
+ * + * string value = 1; + * @return This builder for chaining. + */ + public Builder clearValue() { + value_ = getDefaultInstance().getValue(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Value to be sent in the ping request.
+       * 
+ * + * string value = 1; + * @param value The bytes for value to set. + * @return This builder for chaining. + */ + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + value_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.PingArgs) + } - /** - *
-             * Value of the argument.
-             * 
- * - * string value = 2; - * - * @param value - * The value to set. - * - * @return This builder for chaining. - */ - public Builder setValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.PingArgs) + private static final com.kcl.api.Spec.PingArgs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.PingArgs(); + } - /** - *
-             * Value of the argument.
-             * 
- * - * string value = 2; - * - * @return This builder for chaining. - */ - public Builder clearValue() { - value_ = getDefaultInstance().getValue(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } + public static com.kcl.api.Spec.PingArgs getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-             * Value of the argument.
-             * 
- * - * string value = 2; - * - * @param value - * The bytes for value to set. - * - * @return This builder for chaining. - */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - value_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PingArgs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.Argument) - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.Argument) - private static final com.kcl.api.Spec.Argument DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Argument(); - } + @java.lang.Override + public com.kcl.api.Spec.PingArgs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.Argument getDefaultInstance() { - return DEFAULT_INSTANCE; - } + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Argument parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + public interface PingResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.PingResult) + com.google.protobuf.MessageOrBuilder { - public static com.google.protobuf.Parser parser() { - return PARSER; - } + /** + *
+     * Value received in the ping response.
+     * 
+ * + * string value = 1; + * @return The value. + */ + java.lang.String getValue(); + /** + *
+     * Value received in the ping response.
+     * 
+ * + * string value = 1; + * @return The bytes for value. + */ + com.google.protobuf.ByteString + getValueBytes(); + } + /** + *
+   * Message for ping response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.PingResult} + */ + public static final class PingResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.PingResult) + PingResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "PingResult"); + } + // Use PingResult.newBuilder() to construct. + private PingResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private PingResult() { + value_ = ""; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_PingResult_descriptor; + } - @java.lang.Override - public com.kcl.api.Spec.Argument getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ErrorOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Error) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Level of the error (e.g., "Error", "Warning").
-         * 
- * - * string level = 1; - * - * @return The level. - */ - java.lang.String getLevel(); - - /** - *
-         * Level of the error (e.g., "Error", "Warning").
-         * 
- * - * string level = 1; - * - * @return The bytes for level. - */ - com.google.protobuf.ByteString getLevelBytes(); - - /** - *
-         * Error code. (e.g., "E1001")
-         * 
- * - * string code = 2; - * - * @return The code. - */ - java.lang.String getCode(); - - /** - *
-         * Error code. (e.g., "E1001")
-         * 
- * - * string code = 2; - * - * @return The bytes for code. - */ - com.google.protobuf.ByteString getCodeBytes(); - - /** - *
-         * List of error messages.
-         * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - java.util.List getMessagesList(); - - /** - *
-         * List of error messages.
-         * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - com.kcl.api.Spec.Message getMessages(int index); - - /** - *
-         * List of error messages.
-         * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - int getMessagesCount(); - - /** - *
-         * List of error messages.
-         * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - java.util.List getMessagesOrBuilderList(); - - /** - *
-         * List of error messages.
-         * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - com.kcl.api.Spec.MessageOrBuilder getMessagesOrBuilder(int index); + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_PingResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.PingResult.class, com.kcl.api.Spec.PingResult.Builder.class); } + public static final int VALUE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object value_ = ""; /** *
-     * Message representing an error.
+     * Value received in the ping response.
      * 
* - * Protobuf type {@code com.kcl.api.Error} + * string value = 1; + * @return The value. */ - public static final class Error extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Error) - ErrorOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", Error.class.getName()); - } - - // Use Error.newBuilder() to construct. - private Error(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private Error() { - level_ = ""; - code_ = ""; - messages_ = java.util.Collections.emptyList(); - } + @java.lang.Override + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } + } + /** + *
+     * Value received in the ping response.
+     * 
+ * + * string value = 1; + * @return The bytes for value. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Error_descriptor; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Error_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Error.class, - com.kcl.api.Spec.Error.Builder.class); - } - - public static final int LEVEL_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object level_ = ""; - - /** - *
-         * Level of the error (e.g., "Error", "Warning").
-         * 
- * - * string level = 1; - * - * @return The level. - */ - @java.lang.Override - public java.lang.String getLevel() { - java.lang.Object ref = level_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - level_ = s; - return s; - } - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-         * Level of the error (e.g., "Error", "Warning").
-         * 
- * - * string level = 1; - * - * @return The bytes for level. - */ - @java.lang.Override - public com.google.protobuf.ByteString getLevelBytes() { - java.lang.Object ref = level_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - level_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, value_); + } + getUnknownFields().writeTo(output); + } - public static final int CODE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object code_ = ""; + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, value_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-         * Error code. (e.g., "E1001")
-         * 
- * - * string code = 2; - * - * @return The code. - */ - @java.lang.Override - public java.lang.String getCode() { - java.lang.Object ref = code_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - code_ = s; - return s; - } - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.PingResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.PingResult other = (com.kcl.api.Spec.PingResult) obj; + + if (!getValue() + .equals(other.getValue())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-         * Error code. (e.g., "E1001")
-         * 
- * - * string code = 2; - * - * @return The bytes for code. - */ - @java.lang.Override - public com.google.protobuf.ByteString getCodeBytes() { - java.lang.Object ref = code_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - code_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public static final int MESSAGES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private java.util.List messages_; + public static com.kcl.api.Spec.PingResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.PingResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.PingResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.PingResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.PingResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.PingResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.PingResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.PingResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-         * List of error messages.
-         * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - @java.lang.Override - public java.util.List getMessagesList() { - return messages_; - } + public static com.kcl.api.Spec.PingResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-         * List of error messages.
-         * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - @java.lang.Override - public java.util.List getMessagesOrBuilderList() { - return messages_; - } + public static com.kcl.api.Spec.PingResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.PingResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.PingResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-         * List of error messages.
-         * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - @java.lang.Override - public int getMessagesCount() { - return messages_.size(); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.PingResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-         * List of error messages.
-         * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.Message getMessages(int index) { - return messages_.get(index); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for ping response.
+     * 
+ * + * Protobuf type {@code com.kcl.api.PingResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.PingResult) + com.kcl.api.Spec.PingResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_PingResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_PingResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.PingResult.class, com.kcl.api.Spec.PingResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.PingResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + value_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_PingResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.PingResult getDefaultInstanceForType() { + return com.kcl.api.Spec.PingResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.PingResult build() { + com.kcl.api.Spec.PingResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.PingResult buildPartial() { + com.kcl.api.Spec.PingResult result = new com.kcl.api.Spec.PingResult(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.PingResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.value_ = value_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.PingResult) { + return mergeFrom((com.kcl.api.Spec.PingResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.PingResult other) { + if (other == com.kcl.api.Spec.PingResult.getDefaultInstance()) return this; + if (!other.getValue().isEmpty()) { + value_ = other.value_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + value_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object value_ = ""; + /** + *
+       * Value received in the ping response.
+       * 
+ * + * string value = 1; + * @return The value. + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Value received in the ping response.
+       * 
+ * + * string value = 1; + * @return The bytes for value. + */ + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Value received in the ping response.
+       * 
+ * + * string value = 1; + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + value_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Value received in the ping response.
+       * 
+ * + * string value = 1; + * @return This builder for chaining. + */ + public Builder clearValue() { + value_ = getDefaultInstance().getValue(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Value received in the ping response.
+       * 
+ * + * string value = 1; + * @param value The bytes for value to set. + * @return This builder for chaining. + */ + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + value_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.PingResult) + } - /** - *
-         * List of error messages.
-         * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.MessageOrBuilder getMessagesOrBuilder(int index) { - return messages_.get(index); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.PingResult) + private static final com.kcl.api.Spec.PingResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.PingResult(); + } - private byte memoizedIsInitialized = -1; + public static com.kcl.api.Spec.PingResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PingResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - memoizedIsInitialized = 1; - return true; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(level_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, level_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(code_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, code_); - } - for (int i = 0; i < messages_.size(); i++) { - output.writeMessage(3, messages_.get(i)); - } - getUnknownFields().writeTo(output); - } + @java.lang.Override + public com.kcl.api.Spec.PingResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(level_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, level_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(code_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, code_); - } - for (int i = 0; i < messages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, messages_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + } + + public interface GetVersionArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.GetVersionArgs) + com.google.protobuf.MessageOrBuilder { + } + /** + *
+   * Message for version request arguments. Empty message.
+   * 
+ * + * Protobuf type {@code com.kcl.api.GetVersionArgs} + */ + public static final class GetVersionArgs extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.GetVersionArgs) + GetVersionArgsOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "GetVersionArgs"); + } + // Use GetVersionArgs.newBuilder() to construct. + private GetVersionArgs(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private GetVersionArgs() { + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Error)) { - return super.equals(obj); - } - com.kcl.api.Spec.Error other = (com.kcl.api.Spec.Error) obj; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersionArgs_descriptor; + } - if (!getLevel().equals(other.getLevel())) - return false; - if (!getCode().equals(other.getCode())) - return false; - if (!getMessagesList().equals(other.getMessagesList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersionArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.GetVersionArgs.class, com.kcl.api.Spec.GetVersionArgs.Builder.class); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + LEVEL_FIELD_NUMBER; - hash = (53 * hash) + getLevel().hashCode(); - hash = (37 * hash) + CODE_FIELD_NUMBER; - hash = (53 * hash) + getCode().hashCode(); - if (getMessagesCount() > 0) { - hash = (37 * hash) + MESSAGES_FIELD_NUMBER; - hash = (53 * hash) + getMessagesList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static com.kcl.api.Spec.Error parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + memoizedIsInitialized = 1; + return true; + } - public static com.kcl.api.Spec.Error parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } - public static com.kcl.api.Spec.Error parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; - public static com.kcl.api.Spec.Error parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static com.kcl.api.Spec.Error parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.GetVersionArgs)) { + return super.equals(obj); + } + com.kcl.api.Spec.GetVersionArgs other = (com.kcl.api.Spec.GetVersionArgs) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static com.kcl.api.Spec.Error parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public static com.kcl.api.Spec.Error parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + public static com.kcl.api.Spec.GetVersionArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetVersionArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetVersionArgs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetVersionArgs parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetVersionArgs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetVersionArgs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetVersionArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.GetVersionArgs parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.kcl.api.Spec.Error parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + public static com.kcl.api.Spec.GetVersionArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - public static com.kcl.api.Spec.Error parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } + public static com.kcl.api.Spec.GetVersionArgs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.GetVersionArgs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.GetVersionArgs parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.kcl.api.Spec.Error parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.GetVersionArgs prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - public static com.kcl.api.Spec.Error parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for version request arguments. Empty message.
+     * 
+ * + * Protobuf type {@code com.kcl.api.GetVersionArgs} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.GetVersionArgs) + com.kcl.api.Spec.GetVersionArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersionArgs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersionArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.GetVersionArgs.class, com.kcl.api.Spec.GetVersionArgs.Builder.class); + } + + // Construct using com.kcl.api.Spec.GetVersionArgs.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersionArgs_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.GetVersionArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.GetVersionArgs.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.GetVersionArgs build() { + com.kcl.api.Spec.GetVersionArgs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.GetVersionArgs buildPartial() { + com.kcl.api.Spec.GetVersionArgs result = new com.kcl.api.Spec.GetVersionArgs(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.GetVersionArgs) { + return mergeFrom((com.kcl.api.Spec.GetVersionArgs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.GetVersionArgs other) { + if (other == com.kcl.api.Spec.GetVersionArgs.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.GetVersionArgs) + } - public static com.kcl.api.Spec.Error parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.GetVersionArgs) + private static final com.kcl.api.Spec.GetVersionArgs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.GetVersionArgs(); + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + public static com.kcl.api.Spec.GetVersionArgs getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVersionArgs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static Builder newBuilder(com.kcl.api.Spec.Error prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public com.kcl.api.Spec.GetVersionArgs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message representing an error.
-         * 
- * - * Protobuf type {@code com.kcl.api.Error} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Error) - com.kcl.api.Spec.ErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Error_descriptor; - } + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Error_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Error.class, - com.kcl.api.Spec.Error.Builder.class); - } + public interface GetVersionResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.GetVersionResult) + com.google.protobuf.MessageOrBuilder { - // Construct using com.kcl.api.Spec.Error.newBuilder() - private Builder() { + /** + *
+     * KCL version.
+     * 
+ * + * string version = 1; + * @return The version. + */ + java.lang.String getVersion(); + /** + *
+     * KCL version.
+     * 
+ * + * string version = 1; + * @return The bytes for version. + */ + com.google.protobuf.ByteString + getVersionBytes(); - } + /** + *
+     * Checksum of the KCL version.
+     * 
+ * + * string checksum = 2; + * @return The checksum. + */ + java.lang.String getChecksum(); + /** + *
+     * Checksum of the KCL version.
+     * 
+ * + * string checksum = 2; + * @return The bytes for checksum. + */ + com.google.protobuf.ByteString + getChecksumBytes(); - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); + /** + *
+     * Git Git SHA of the KCL code repo.
+     * 
+ * + * string git_sha = 3; + * @return The gitSha. + */ + java.lang.String getGitSha(); + /** + *
+     * Git Git SHA of the KCL code repo.
+     * 
+ * + * string git_sha = 3; + * @return The bytes for gitSha. + */ + com.google.protobuf.ByteString + getGitShaBytes(); - } + /** + *
+     * Detailed version information as a string.
+     * 
+ * + * string version_info = 4; + * @return The versionInfo. + */ + java.lang.String getVersionInfo(); + /** + *
+     * Detailed version information as a string.
+     * 
+ * + * string version_info = 4; + * @return The bytes for versionInfo. + */ + com.google.protobuf.ByteString + getVersionInfoBytes(); + } + /** + *
+   * Message for version response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.GetVersionResult} + */ + public static final class GetVersionResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.GetVersionResult) + GetVersionResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "GetVersionResult"); + } + // Use GetVersionResult.newBuilder() to construct. + private GetVersionResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private GetVersionResult() { + version_ = ""; + checksum_ = ""; + gitSha_ = ""; + versionInfo_ = ""; + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - level_ = ""; - code_ = ""; - if (messagesBuilder_ == null) { - messages_ = java.util.Collections.emptyList(); - } else { - messages_ = null; - messagesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersionResult_descriptor; + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Error_descriptor; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersionResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.GetVersionResult.class, com.kcl.api.Spec.GetVersionResult.Builder.class); + } - @java.lang.Override - public com.kcl.api.Spec.Error getDefaultInstanceForType() { - return com.kcl.api.Spec.Error.getDefaultInstance(); - } + public static final int VERSION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object version_ = ""; + /** + *
+     * KCL version.
+     * 
+ * + * string version = 1; + * @return The version. + */ + @java.lang.Override + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } + } + /** + *
+     * KCL version.
+     * 
+ * + * string version = 1; + * @return The bytes for version. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public com.kcl.api.Spec.Error build() { - com.kcl.api.Spec.Error result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + public static final int CHECKSUM_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object checksum_ = ""; + /** + *
+     * Checksum of the KCL version.
+     * 
+ * + * string checksum = 2; + * @return The checksum. + */ + @java.lang.Override + public java.lang.String getChecksum() { + java.lang.Object ref = checksum_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + checksum_ = s; + return s; + } + } + /** + *
+     * Checksum of the KCL version.
+     * 
+ * + * string checksum = 2; + * @return The bytes for checksum. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getChecksumBytes() { + java.lang.Object ref = checksum_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + checksum_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public com.kcl.api.Spec.Error buildPartial() { - com.kcl.api.Spec.Error result = new com.kcl.api.Spec.Error(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + public static final int GIT_SHA_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object gitSha_ = ""; + /** + *
+     * Git Git SHA of the KCL code repo.
+     * 
+ * + * string git_sha = 3; + * @return The gitSha. + */ + @java.lang.Override + public java.lang.String getGitSha() { + java.lang.Object ref = gitSha_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + gitSha_ = s; + return s; + } + } + /** + *
+     * Git Git SHA of the KCL code repo.
+     * 
+ * + * string git_sha = 3; + * @return The bytes for gitSha. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getGitShaBytes() { + java.lang.Object ref = gitSha_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + gitSha_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - private void buildPartialRepeatedFields(com.kcl.api.Spec.Error result) { - if (messagesBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - messages_ = java.util.Collections.unmodifiableList(messages_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.messages_ = messages_; - } else { - result.messages_ = messagesBuilder_.build(); - } - } + public static final int VERSION_INFO_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object versionInfo_ = ""; + /** + *
+     * Detailed version information as a string.
+     * 
+ * + * string version_info = 4; + * @return The versionInfo. + */ + @java.lang.Override + public java.lang.String getVersionInfo() { + java.lang.Object ref = versionInfo_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + versionInfo_ = s; + return s; + } + } + /** + *
+     * Detailed version information as a string.
+     * 
+ * + * string version_info = 4; + * @return The bytes for versionInfo. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getVersionInfoBytes() { + java.lang.Object ref = versionInfo_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + versionInfo_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - private void buildPartial0(com.kcl.api.Spec.Error result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.level_ = level_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.code_ = code_; - } - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Error) { - return mergeFrom((com.kcl.api.Spec.Error) other); - } else { - super.mergeFrom(other); - return this; - } - } + memoizedIsInitialized = 1; + return true; + } - public Builder mergeFrom(com.kcl.api.Spec.Error other) { - if (other == com.kcl.api.Spec.Error.getDefaultInstance()) - return this; - if (!other.getLevel().isEmpty()) { - level_ = other.level_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getCode().isEmpty()) { - code_ = other.code_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (messagesBuilder_ == null) { - if (!other.messages_.isEmpty()) { - if (messages_.isEmpty()) { - messages_ = other.messages_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureMessagesIsMutable(); - messages_.addAll(other.messages_); - } - onChanged(); - } - } else { - if (!other.messages_.isEmpty()) { - if (messagesBuilder_.isEmpty()) { - messagesBuilder_.dispose(); - messagesBuilder_ = null; - messages_ = other.messages_; - bitField0_ = (bitField0_ & ~0x00000004); - messagesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getMessagesFieldBuilder() : null; - } else { - messagesBuilder_.addAllMessages(other.messages_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(version_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, version_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(checksum_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, checksum_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(gitSha_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, gitSha_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(versionInfo_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, versionInfo_); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(version_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, version_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(checksum_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, checksum_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(gitSha_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, gitSha_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(versionInfo_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, versionInfo_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - level_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - code_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - com.kcl.api.Spec.Message m = input.readMessage(com.kcl.api.Spec.Message.parser(), - extensionRegistry); - if (messagesBuilder_ == null) { - ensureMessagesIsMutable(); - messages_.add(m); - } else { - messagesBuilder_.addMessage(m); - } - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.GetVersionResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.GetVersionResult other = (com.kcl.api.Spec.GetVersionResult) obj; + + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getChecksum() + .equals(other.getChecksum())) return false; + if (!getGitSha() + .equals(other.getGitSha())) return false; + if (!getVersionInfo() + .equals(other.getVersionInfo())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - private int bitField0_; - - private java.lang.Object level_ = ""; - - /** - *
-             * Level of the error (e.g., "Error", "Warning").
-             * 
- * - * string level = 1; - * - * @return The level. - */ - public java.lang.String getLevel() { - java.lang.Object ref = level_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - level_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + hash = (37 * hash) + CHECKSUM_FIELD_NUMBER; + hash = (53 * hash) + getChecksum().hashCode(); + hash = (37 * hash) + GIT_SHA_FIELD_NUMBER; + hash = (53 * hash) + getGitSha().hashCode(); + hash = (37 * hash) + VERSION_INFO_FIELD_NUMBER; + hash = (53 * hash) + getVersionInfo().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-             * Level of the error (e.g., "Error", "Warning").
-             * 
- * - * string level = 1; - * - * @return The bytes for level. - */ - public com.google.protobuf.ByteString getLevelBytes() { - java.lang.Object ref = level_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - level_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Level of the error (e.g., "Error", "Warning").
-             * 
- * - * string level = 1; - * - * @param value - * The level to set. - * - * @return This builder for chaining. - */ - public Builder setLevel(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - level_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Level of the error (e.g., "Error", "Warning").
-             * 
- * - * string level = 1; - * - * @return This builder for chaining. - */ - public Builder clearLevel() { - level_ = getDefaultInstance().getLevel(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + public static com.kcl.api.Spec.GetVersionResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetVersionResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetVersionResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetVersionResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetVersionResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetVersionResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetVersionResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.GetVersionResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Level of the error (e.g., "Error", "Warning").
-             * 
- * - * string level = 1; - * - * @param value - * The bytes for level to set. - * - * @return This builder for chaining. - */ - public Builder setLevelBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - level_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + public static com.kcl.api.Spec.GetVersionResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - private java.lang.Object code_ = ""; - - /** - *
-             * Error code. (e.g., "E1001")
-             * 
- * - * string code = 2; - * - * @return The code. - */ - public java.lang.String getCode() { - java.lang.Object ref = code_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - code_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static com.kcl.api.Spec.GetVersionResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.GetVersionResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.GetVersionResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Error code. (e.g., "E1001")
-             * 
- * - * string code = 2; - * - * @return The bytes for code. - */ - public com.google.protobuf.ByteString getCodeBytes() { - java.lang.Object ref = code_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - code_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.GetVersionResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * Error code. (e.g., "E1001")
-             * 
- * - * string code = 2; - * - * @param value - * The code to set. - * - * @return This builder for chaining. - */ - public Builder setCode(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - code_ = value; + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for version response.
+     * 
+ * + * Protobuf type {@code com.kcl.api.GetVersionResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.GetVersionResult) + com.kcl.api.Spec.GetVersionResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersionResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersionResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.GetVersionResult.class, com.kcl.api.Spec.GetVersionResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.GetVersionResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + version_ = ""; + checksum_ = ""; + gitSha_ = ""; + versionInfo_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersionResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.GetVersionResult getDefaultInstanceForType() { + return com.kcl.api.Spec.GetVersionResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.GetVersionResult build() { + com.kcl.api.Spec.GetVersionResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.GetVersionResult buildPartial() { + com.kcl.api.Spec.GetVersionResult result = new com.kcl.api.Spec.GetVersionResult(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.GetVersionResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.version_ = version_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.checksum_ = checksum_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.gitSha_ = gitSha_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.versionInfo_ = versionInfo_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.GetVersionResult) { + return mergeFrom((com.kcl.api.Spec.GetVersionResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.GetVersionResult other) { + if (other == com.kcl.api.Spec.GetVersionResult.getDefaultInstance()) return this; + if (!other.getVersion().isEmpty()) { + version_ = other.version_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getChecksum().isEmpty()) { + checksum_ = other.checksum_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getGitSha().isEmpty()) { + gitSha_ = other.gitSha_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getVersionInfo().isEmpty()) { + versionInfo_ = other.versionInfo_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + checksum_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Error code. (e.g., "E1001")
-             * 
- * - * string code = 2; - * - * @return This builder for chaining. - */ - public Builder clearCode() { - code_ = getDefaultInstance().getCode(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } + break; + } // case 18 + case 26: { + gitSha_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + versionInfo_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object version_ = ""; + /** + *
+       * KCL version.
+       * 
+ * + * string version = 1; + * @return The version. + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * KCL version.
+       * 
+ * + * string version = 1; + * @return The bytes for version. + */ + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * KCL version.
+       * 
+ * + * string version = 1; + * @param value The version to set. + * @return This builder for chaining. + */ + public Builder setVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + version_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * KCL version.
+       * 
+ * + * string version = 1; + * @return This builder for chaining. + */ + public Builder clearVersion() { + version_ = getDefaultInstance().getVersion(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * KCL version.
+       * 
+ * + * string version = 1; + * @param value The bytes for version to set. + * @return This builder for chaining. + */ + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + version_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object checksum_ = ""; + /** + *
+       * Checksum of the KCL version.
+       * 
+ * + * string checksum = 2; + * @return The checksum. + */ + public java.lang.String getChecksum() { + java.lang.Object ref = checksum_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + checksum_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Checksum of the KCL version.
+       * 
+ * + * string checksum = 2; + * @return The bytes for checksum. + */ + public com.google.protobuf.ByteString + getChecksumBytes() { + java.lang.Object ref = checksum_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + checksum_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Checksum of the KCL version.
+       * 
+ * + * string checksum = 2; + * @param value The checksum to set. + * @return This builder for chaining. + */ + public Builder setChecksum( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + checksum_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Checksum of the KCL version.
+       * 
+ * + * string checksum = 2; + * @return This builder for chaining. + */ + public Builder clearChecksum() { + checksum_ = getDefaultInstance().getChecksum(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Checksum of the KCL version.
+       * 
+ * + * string checksum = 2; + * @param value The bytes for checksum to set. + * @return This builder for chaining. + */ + public Builder setChecksumBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + checksum_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object gitSha_ = ""; + /** + *
+       * Git Git SHA of the KCL code repo.
+       * 
+ * + * string git_sha = 3; + * @return The gitSha. + */ + public java.lang.String getGitSha() { + java.lang.Object ref = gitSha_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + gitSha_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Git Git SHA of the KCL code repo.
+       * 
+ * + * string git_sha = 3; + * @return The bytes for gitSha. + */ + public com.google.protobuf.ByteString + getGitShaBytes() { + java.lang.Object ref = gitSha_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + gitSha_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Git Git SHA of the KCL code repo.
+       * 
+ * + * string git_sha = 3; + * @param value The gitSha to set. + * @return This builder for chaining. + */ + public Builder setGitSha( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + gitSha_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Git Git SHA of the KCL code repo.
+       * 
+ * + * string git_sha = 3; + * @return This builder for chaining. + */ + public Builder clearGitSha() { + gitSha_ = getDefaultInstance().getGitSha(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+       * Git Git SHA of the KCL code repo.
+       * 
+ * + * string git_sha = 3; + * @param value The bytes for gitSha to set. + * @return This builder for chaining. + */ + public Builder setGitShaBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + gitSha_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object versionInfo_ = ""; + /** + *
+       * Detailed version information as a string.
+       * 
+ * + * string version_info = 4; + * @return The versionInfo. + */ + public java.lang.String getVersionInfo() { + java.lang.Object ref = versionInfo_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + versionInfo_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Detailed version information as a string.
+       * 
+ * + * string version_info = 4; + * @return The bytes for versionInfo. + */ + public com.google.protobuf.ByteString + getVersionInfoBytes() { + java.lang.Object ref = versionInfo_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + versionInfo_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Detailed version information as a string.
+       * 
+ * + * string version_info = 4; + * @param value The versionInfo to set. + * @return This builder for chaining. + */ + public Builder setVersionInfo( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + versionInfo_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Detailed version information as a string.
+       * 
+ * + * string version_info = 4; + * @return This builder for chaining. + */ + public Builder clearVersionInfo() { + versionInfo_ = getDefaultInstance().getVersionInfo(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+       * Detailed version information as a string.
+       * 
+ * + * string version_info = 4; + * @param value The bytes for versionInfo to set. + * @return This builder for chaining. + */ + public Builder setVersionInfoBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + versionInfo_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.GetVersionResult) + } - /** - *
-             * Error code. (e.g., "E1001")
-             * 
- * - * string code = 2; - * - * @param value - * The bytes for code to set. - * - * @return This builder for chaining. - */ - public Builder setCodeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - code_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.GetVersionResult) + private static final com.kcl.api.Spec.GetVersionResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.GetVersionResult(); + } - private java.util.List messages_ = java.util.Collections.emptyList(); + public static com.kcl.api.Spec.GetVersionResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private void ensureMessagesIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - messages_ = new java.util.ArrayList(messages_); - bitField0_ |= 0x00000004; - } - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVersionResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - private com.google.protobuf.RepeatedFieldBuilder messagesBuilder_; + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-             * List of error messages.
-             * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - public java.util.List getMessagesList() { - if (messagesBuilder_ == null) { - return java.util.Collections.unmodifiableList(messages_); - } else { - return messagesBuilder_.getMessageList(); - } - } + @java.lang.Override + public com.kcl.api.Spec.GetVersionResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-             * List of error messages.
-             * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - public int getMessagesCount() { - if (messagesBuilder_ == null) { - return messages_.size(); - } else { - return messagesBuilder_.getCount(); - } - } + } + + public interface ListMethodArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ListMethodArgs) + com.google.protobuf.MessageOrBuilder { + } + /** + *
+   * Message for list method request arguments. Empty message.
+   * 
+ * + * Protobuf type {@code com.kcl.api.ListMethodArgs} + */ + public static final class ListMethodArgs extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ListMethodArgs) + ListMethodArgsOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "ListMethodArgs"); + } + // Use ListMethodArgs.newBuilder() to construct. + private ListMethodArgs(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ListMethodArgs() { + } - /** - *
-             * List of error messages.
-             * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - public com.kcl.api.Spec.Message getMessages(int index) { - if (messagesBuilder_ == null) { - return messages_.get(index); - } else { - return messagesBuilder_.getMessage(index); - } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethodArgs_descriptor; + } - /** - *
-             * List of error messages.
-             * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - public Builder setMessages(int index, com.kcl.api.Spec.Message value) { - if (messagesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMessagesIsMutable(); - messages_.set(index, value); - onChanged(); - } else { - messagesBuilder_.setMessage(index, value); - } - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethodArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListMethodArgs.class, com.kcl.api.Spec.ListMethodArgs.Builder.class); + } - /** - *
-             * List of error messages.
-             * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - public Builder setMessages(int index, com.kcl.api.Spec.Message.Builder builderForValue) { - if (messagesBuilder_ == null) { - ensureMessagesIsMutable(); - messages_.set(index, builderForValue.build()); - onChanged(); - } else { - messagesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * List of error messages.
-             * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - public Builder addMessages(com.kcl.api.Spec.Message value) { - if (messagesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMessagesIsMutable(); - messages_.add(value); - onChanged(); - } else { - messagesBuilder_.addMessage(value); - } - return this; - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-             * List of error messages.
-             * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - public Builder addMessages(int index, com.kcl.api.Spec.Message value) { - if (messagesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMessagesIsMutable(); - messages_.add(index, value); - onChanged(); - } else { - messagesBuilder_.addMessage(index, value); - } - return this; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } - /** - *
-             * List of error messages.
-             * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - public Builder addMessages(com.kcl.api.Spec.Message.Builder builderForValue) { - if (messagesBuilder_ == null) { - ensureMessagesIsMutable(); - messages_.add(builderForValue.build()); - onChanged(); - } else { - messagesBuilder_.addMessage(builderForValue.build()); - } - return this; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; - /** - *
-             * List of error messages.
-             * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - public Builder addMessages(int index, com.kcl.api.Spec.Message.Builder builderForValue) { - if (messagesBuilder_ == null) { - ensureMessagesIsMutable(); - messages_.add(index, builderForValue.build()); - onChanged(); - } else { - messagesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-             * List of error messages.
-             * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - public Builder addAllMessages(java.lang.Iterable values) { - if (messagesBuilder_ == null) { - ensureMessagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, messages_); - onChanged(); - } else { - messagesBuilder_.addAllMessages(values); - } - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ListMethodArgs)) { + return super.equals(obj); + } + com.kcl.api.Spec.ListMethodArgs other = (com.kcl.api.Spec.ListMethodArgs) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-             * List of error messages.
-             * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - public Builder clearMessages() { - if (messagesBuilder_ == null) { - messages_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - messagesBuilder_.clear(); - } - return this; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-             * List of error messages.
-             * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - public Builder removeMessages(int index) { - if (messagesBuilder_ == null) { - ensureMessagesIsMutable(); - messages_.remove(index); - onChanged(); - } else { - messagesBuilder_.remove(index); - } - return this; - } + public static com.kcl.api.Spec.ListMethodArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListMethodArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListMethodArgs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListMethodArgs parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListMethodArgs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListMethodArgs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListMethodArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListMethodArgs parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * List of error messages.
-             * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - public com.kcl.api.Spec.Message.Builder getMessagesBuilder(int index) { - return getMessagesFieldBuilder().getBuilder(index); - } + public static com.kcl.api.Spec.ListMethodArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * List of error messages.
-             * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - public com.kcl.api.Spec.MessageOrBuilder getMessagesOrBuilder(int index) { - if (messagesBuilder_ == null) { - return messages_.get(index); - } else { - return messagesBuilder_.getMessageOrBuilder(index); - } - } + public static com.kcl.api.Spec.ListMethodArgs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.ListMethodArgs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListMethodArgs parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * List of error messages.
-             * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - public java.util.List getMessagesOrBuilderList() { - if (messagesBuilder_ != null) { - return messagesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(messages_); - } - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ListMethodArgs prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * List of error messages.
-             * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - public com.kcl.api.Spec.Message.Builder addMessagesBuilder() { - return getMessagesFieldBuilder().addBuilder(com.kcl.api.Spec.Message.getDefaultInstance()); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for list method request arguments. Empty message.
+     * 
+ * + * Protobuf type {@code com.kcl.api.ListMethodArgs} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ListMethodArgs) + com.kcl.api.Spec.ListMethodArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethodArgs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethodArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListMethodArgs.class, com.kcl.api.Spec.ListMethodArgs.Builder.class); + } + + // Construct using com.kcl.api.Spec.ListMethodArgs.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethodArgs_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ListMethodArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.ListMethodArgs.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ListMethodArgs build() { + com.kcl.api.Spec.ListMethodArgs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ListMethodArgs buildPartial() { + com.kcl.api.Spec.ListMethodArgs result = new com.kcl.api.Spec.ListMethodArgs(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ListMethodArgs) { + return mergeFrom((com.kcl.api.Spec.ListMethodArgs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ListMethodArgs other) { + if (other == com.kcl.api.Spec.ListMethodArgs.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ListMethodArgs) + } - /** - *
-             * List of error messages.
-             * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - public com.kcl.api.Spec.Message.Builder addMessagesBuilder(int index) { - return getMessagesFieldBuilder().addBuilder(index, com.kcl.api.Spec.Message.getDefaultInstance()); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ListMethodArgs) + private static final com.kcl.api.Spec.ListMethodArgs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ListMethodArgs(); + } - /** - *
-             * List of error messages.
-             * 
- * - * repeated .com.kcl.api.Message messages = 3; - */ - public java.util.List getMessagesBuilderList() { - return getMessagesFieldBuilder().getBuilderList(); - } + public static com.kcl.api.Spec.ListMethodArgs getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private com.google.protobuf.RepeatedFieldBuilder getMessagesFieldBuilder() { - if (messagesBuilder_ == null) { - messagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - messages_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); - messages_ = null; - } - return messagesBuilder_; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMethodArgs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.Error) - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.Error) - private static final com.kcl.api.Spec.Error DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Error(); - } + @java.lang.Override + public com.kcl.api.Spec.ListMethodArgs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.Error getDefaultInstance() { - return DEFAULT_INSTANCE; - } + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Error parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + public interface ListMethodResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ListMethodResult) + com.google.protobuf.MessageOrBuilder { - public static com.google.protobuf.Parser parser() { - return PARSER; - } + /** + *
+     * List of available method names.
+     * 
+ * + * repeated string method_name_list = 1; + * @return A list containing the methodNameList. + */ + java.util.List + getMethodNameListList(); + /** + *
+     * List of available method names.
+     * 
+ * + * repeated string method_name_list = 1; + * @return The count of methodNameList. + */ + int getMethodNameListCount(); + /** + *
+     * List of available method names.
+     * 
+ * + * repeated string method_name_list = 1; + * @param index The index of the element to return. + * @return The methodNameList at the given index. + */ + java.lang.String getMethodNameList(int index); + /** + *
+     * List of available method names.
+     * 
+ * + * repeated string method_name_list = 1; + * @param index The index of the value to return. + * @return The bytes of the methodNameList at the given index. + */ + com.google.protobuf.ByteString + getMethodNameListBytes(int index); + } + /** + *
+   * Message for list method response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.ListMethodResult} + */ + public static final class ListMethodResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ListMethodResult) + ListMethodResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "ListMethodResult"); + } + // Use ListMethodResult.newBuilder() to construct. + private ListMethodResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ListMethodResult() { + methodNameList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethodResult_descriptor; + } - @java.lang.Override - public com.kcl.api.Spec.Error getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface MessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Message) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * The error message text.
-         * 
- * - * string msg = 1; - * - * @return The msg. - */ - java.lang.String getMsg(); - - /** - *
-         * The error message text.
-         * 
- * - * string msg = 1; - * - * @return The bytes for msg. - */ - com.google.protobuf.ByteString getMsgBytes(); - - /** - *
-         * The position in the source code where the error occurred.
-         * 
- * - * .com.kcl.api.Position pos = 2; - * - * @return Whether the pos field is set. - */ - boolean hasPos(); - - /** - *
-         * The position in the source code where the error occurred.
-         * 
- * - * .com.kcl.api.Position pos = 2; - * - * @return The pos. - */ - com.kcl.api.Spec.Position getPos(); - - /** - *
-         * The position in the source code where the error occurred.
-         * 
- * - * .com.kcl.api.Position pos = 2; - */ - com.kcl.api.Spec.PositionOrBuilder getPosOrBuilder(); + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethodResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListMethodResult.class, com.kcl.api.Spec.ListMethodResult.Builder.class); } + public static final int METHOD_NAME_LIST_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList methodNameList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** *
-     * Message representing a detailed error message with a position.
+     * List of available method names.
      * 
* - * Protobuf type {@code com.kcl.api.Message} + * repeated string method_name_list = 1; + * @return A list containing the methodNameList. */ - public static final class Message extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Message) - MessageOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", Message.class.getName()); - } - - // Use Message.newBuilder() to construct. - private Message(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } + public com.google.protobuf.ProtocolStringList + getMethodNameListList() { + return methodNameList_; + } + /** + *
+     * List of available method names.
+     * 
+ * + * repeated string method_name_list = 1; + * @return The count of methodNameList. + */ + public int getMethodNameListCount() { + return methodNameList_.size(); + } + /** + *
+     * List of available method names.
+     * 
+ * + * repeated string method_name_list = 1; + * @param index The index of the element to return. + * @return The methodNameList at the given index. + */ + public java.lang.String getMethodNameList(int index) { + return methodNameList_.get(index); + } + /** + *
+     * List of available method names.
+     * 
+ * + * repeated string method_name_list = 1; + * @param index The index of the value to return. + * @return The bytes of the methodNameList at the given index. + */ + public com.google.protobuf.ByteString + getMethodNameListBytes(int index) { + return methodNameList_.getByteString(index); + } - private Message() { - msg_ = ""; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Message_descriptor; - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Message_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Message.class, - com.kcl.api.Spec.Message.Builder.class); - } - - private int bitField0_; - public static final int MSG_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object msg_ = ""; - - /** - *
-         * The error message text.
-         * 
- * - * string msg = 1; - * - * @return The msg. - */ - @java.lang.Override - public java.lang.String getMsg() { - java.lang.Object ref = msg_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - msg_ = s; - return s; - } - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < methodNameList_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, methodNameList_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } - /** - *
-         * The error message text.
-         * 
- * - * string msg = 1; - * - * @return The bytes for msg. - */ - @java.lang.Override - public com.google.protobuf.ByteString getMsgBytes() { - java.lang.Object ref = msg_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - msg_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < methodNameList_.size(); i++) { + dataSize += computeStringSizeNoTag(methodNameList_.getRaw(i)); + } + size += dataSize; + size += 1 * getMethodNameListList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static final int POS_FIELD_NUMBER = 2; - private com.kcl.api.Spec.Position pos_; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ListMethodResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.ListMethodResult other = (com.kcl.api.Spec.ListMethodResult) obj; + + if (!getMethodNameListList() + .equals(other.getMethodNameListList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-         * The position in the source code where the error occurred.
-         * 
- * - * .com.kcl.api.Position pos = 2; - * - * @return Whether the pos field is set. - */ - @java.lang.Override - public boolean hasPos() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - *
-         * The position in the source code where the error occurred.
-         * 
- * - * .com.kcl.api.Position pos = 2; - * - * @return The pos. - */ - @java.lang.Override - public com.kcl.api.Spec.Position getPos() { - return pos_ == null ? com.kcl.api.Spec.Position.getDefaultInstance() : pos_; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getMethodNameListCount() > 0) { + hash = (37 * hash) + METHOD_NAME_LIST_FIELD_NUMBER; + hash = (53 * hash) + getMethodNameListList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-         * The position in the source code where the error occurred.
-         * 
- * - * .com.kcl.api.Position pos = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.PositionOrBuilder getPosOrBuilder() { - return pos_ == null ? com.kcl.api.Spec.Position.getDefaultInstance() : pos_; - } + public static com.kcl.api.Spec.ListMethodResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListMethodResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListMethodResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListMethodResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListMethodResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListMethodResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListMethodResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListMethodResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - private byte memoizedIsInitialized = -1; + public static com.kcl.api.Spec.ListMethodResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + public static com.kcl.api.Spec.ListMethodResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.ListMethodResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListMethodResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - memoizedIsInitialized = 1; - return true; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ListMethodResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(msg_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, msg_); - } - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(2, getPos()); - } - getUnknownFields().writeTo(output); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for list method response.
+     * 
+ * + * Protobuf type {@code com.kcl.api.ListMethodResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ListMethodResult) + com.kcl.api.Spec.ListMethodResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethodResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethodResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListMethodResult.class, com.kcl.api.Spec.ListMethodResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.ListMethodResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + methodNameList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethodResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ListMethodResult getDefaultInstanceForType() { + return com.kcl.api.Spec.ListMethodResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ListMethodResult build() { + com.kcl.api.Spec.ListMethodResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ListMethodResult buildPartial() { + com.kcl.api.Spec.ListMethodResult result = new com.kcl.api.Spec.ListMethodResult(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.ListMethodResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + methodNameList_.makeImmutable(); + result.methodNameList_ = methodNameList_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ListMethodResult) { + return mergeFrom((com.kcl.api.Spec.ListMethodResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ListMethodResult other) { + if (other == com.kcl.api.Spec.ListMethodResult.getDefaultInstance()) return this; + if (!other.methodNameList_.isEmpty()) { + if (methodNameList_.isEmpty()) { + methodNameList_ = other.methodNameList_; + bitField0_ |= 0x00000001; + } else { + ensureMethodNameListIsMutable(); + methodNameList_.addAll(other.methodNameList_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureMethodNameListIsMutable(); + methodNameList_.add(s); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList methodNameList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureMethodNameListIsMutable() { + if (!methodNameList_.isModifiable()) { + methodNameList_ = new com.google.protobuf.LazyStringArrayList(methodNameList_); + } + bitField0_ |= 0x00000001; + } + /** + *
+       * List of available method names.
+       * 
+ * + * repeated string method_name_list = 1; + * @return A list containing the methodNameList. + */ + public com.google.protobuf.ProtocolStringList + getMethodNameListList() { + methodNameList_.makeImmutable(); + return methodNameList_; + } + /** + *
+       * List of available method names.
+       * 
+ * + * repeated string method_name_list = 1; + * @return The count of methodNameList. + */ + public int getMethodNameListCount() { + return methodNameList_.size(); + } + /** + *
+       * List of available method names.
+       * 
+ * + * repeated string method_name_list = 1; + * @param index The index of the element to return. + * @return The methodNameList at the given index. + */ + public java.lang.String getMethodNameList(int index) { + return methodNameList_.get(index); + } + /** + *
+       * List of available method names.
+       * 
+ * + * repeated string method_name_list = 1; + * @param index The index of the value to return. + * @return The bytes of the methodNameList at the given index. + */ + public com.google.protobuf.ByteString + getMethodNameListBytes(int index) { + return methodNameList_.getByteString(index); + } + /** + *
+       * List of available method names.
+       * 
+ * + * repeated string method_name_list = 1; + * @param index The index to set the value at. + * @param value The methodNameList to set. + * @return This builder for chaining. + */ + public Builder setMethodNameList( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureMethodNameListIsMutable(); + methodNameList_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * List of available method names.
+       * 
+ * + * repeated string method_name_list = 1; + * @param value The methodNameList to add. + * @return This builder for chaining. + */ + public Builder addMethodNameList( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureMethodNameListIsMutable(); + methodNameList_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * List of available method names.
+       * 
+ * + * repeated string method_name_list = 1; + * @param values The methodNameList to add. + * @return This builder for chaining. + */ + public Builder addAllMethodNameList( + java.lang.Iterable values) { + ensureMethodNameListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, methodNameList_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * List of available method names.
+       * 
+ * + * repeated string method_name_list = 1; + * @return This builder for chaining. + */ + public Builder clearMethodNameList() { + methodNameList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; + onChanged(); + return this; + } + /** + *
+       * List of available method names.
+       * 
+ * + * repeated string method_name_list = 1; + * @param value The bytes of the methodNameList to add. + * @return This builder for chaining. + */ + public Builder addMethodNameListBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureMethodNameListIsMutable(); + methodNameList_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ListMethodResult) + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(msg_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, msg_); - } - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPos()); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ListMethodResult) + private static final com.kcl.api.Spec.ListMethodResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ListMethodResult(); + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Message)) { - return super.equals(obj); - } - com.kcl.api.Spec.Message other = (com.kcl.api.Spec.Message) obj; - - if (!getMsg().equals(other.getMsg())) - return false; - if (hasPos() != other.hasPos()) - return false; - if (hasPos()) { - if (!getPos().equals(other.getPos())) - return false; - } - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + public static com.kcl.api.Spec.ListMethodResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + MSG_FIELD_NUMBER; - hash = (53 * hash) + getMsg().hashCode(); - if (hasPos()) { - hash = (37 * hash) + POS_FIELD_NUMBER; - hash = (53 * hash) + getPos().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMethodResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static com.kcl.api.Spec.Message parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static com.kcl.api.Spec.Message parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public com.kcl.api.Spec.ListMethodResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.Message parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + } - public static com.kcl.api.Spec.Message parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public interface ParseFileArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseFileArgs) + com.google.protobuf.MessageOrBuilder { - public static com.kcl.api.Spec.Message parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + /** + *
+     * Path of the file to be parsed.
+     * 
+ * + * string path = 1; + * @return The path. + */ + java.lang.String getPath(); + /** + *
+     * Path of the file to be parsed.
+     * 
+ * + * string path = 1; + * @return The bytes for path. + */ + com.google.protobuf.ByteString + getPathBytes(); - public static com.kcl.api.Spec.Message parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + /** + *
+     * Source code to be parsed.
+     * 
+ * + * string source = 2; + * @return The source. + */ + java.lang.String getSource(); + /** + *
+     * Source code to be parsed.
+     * 
+ * + * string source = 2; + * @return The bytes for source. + */ + com.google.protobuf.ByteString + getSourceBytes(); - public static com.kcl.api.Spec.Message parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + java.util.List + getExternalPkgsList(); + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index); + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + int getExternalPkgsCount(); + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + java.util.List + getExternalPkgsOrBuilderList(); + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder( + int index); + } + /** + *
+   * Message for parse file request arguments.
+   * 
+ * + * Protobuf type {@code com.kcl.api.ParseFileArgs} + */ + public static final class ParseFileArgs extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ParseFileArgs) + ParseFileArgsOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "ParseFileArgs"); + } + // Use ParseFileArgs.newBuilder() to construct. + private ParseFileArgs(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ParseFileArgs() { + path_ = ""; + source_ = ""; + externalPkgs_ = java.util.Collections.emptyList(); + } - public static com.kcl.api.Spec.Message parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFileArgs_descriptor; + } - public static com.kcl.api.Spec.Message parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFileArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ParseFileArgs.class, com.kcl.api.Spec.ParseFileArgs.Builder.class); + } - public static com.kcl.api.Spec.Message parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } + public static final int PATH_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object path_ = ""; + /** + *
+     * Path of the file to be parsed.
+     * 
+ * + * string path = 1; + * @return The path. + */ + @java.lang.Override + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } + } + /** + *
+     * Path of the file to be parsed.
+     * 
+ * + * string path = 1; + * @return The bytes for path. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static com.kcl.api.Spec.Message parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + public static final int SOURCE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object source_ = ""; + /** + *
+     * Source code to be parsed.
+     * 
+ * + * string source = 2; + * @return The source. + */ + @java.lang.Override + public java.lang.String getSource() { + java.lang.Object ref = source_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + source_ = s; + return s; + } + } + /** + *
+     * Source code to be parsed.
+     * 
+ * + * string source = 2; + * @return The bytes for source. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSourceBytes() { + java.lang.Object ref = source_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + source_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static com.kcl.api.Spec.Message parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + public static final int EXTERNAL_PKGS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List externalPkgs_; + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + @java.lang.Override + public java.util.List getExternalPkgsList() { + return externalPkgs_; + } + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + @java.lang.Override + public java.util.List + getExternalPkgsOrBuilderList() { + return externalPkgs_; + } + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + @java.lang.Override + public int getExternalPkgsCount() { + return externalPkgs_.size(); + } + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index) { + return externalPkgs_.get(index); + } + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder( + int index) { + return externalPkgs_.get(index); + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + memoizedIsInitialized = 1; + return true; + } - public static Builder newBuilder(com.kcl.api.Spec.Message prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, path_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(source_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, source_); + } + for (int i = 0; i < externalPkgs_.size(); i++) { + output.writeMessage(3, externalPkgs_.get(i)); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, path_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(source_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, source_); + } + for (int i = 0; i < externalPkgs_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, externalPkgs_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message representing a detailed error message with a position.
-         * 
- * - * Protobuf type {@code com.kcl.api.Message} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Message) - com.kcl.api.Spec.MessageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Message_descriptor; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ParseFileArgs)) { + return super.equals(obj); + } + com.kcl.api.Spec.ParseFileArgs other = (com.kcl.api.Spec.ParseFileArgs) obj; + + if (!getPath() + .equals(other.getPath())) return false; + if (!getSource() + .equals(other.getSource())) return false; + if (!getExternalPkgsList() + .equals(other.getExternalPkgsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Message_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Message.class, - com.kcl.api.Spec.Message.Builder.class); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPath().hashCode(); + hash = (37 * hash) + SOURCE_FIELD_NUMBER; + hash = (53 * hash) + getSource().hashCode(); + if (getExternalPkgsCount() > 0) { + hash = (37 * hash) + EXTERNAL_PKGS_FIELD_NUMBER; + hash = (53 * hash) + getExternalPkgsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - // Construct using com.kcl.api.Spec.Message.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + public static com.kcl.api.Spec.ParseFileArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseFileArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseFileArgs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseFileArgs parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseFileArgs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseFileArgs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseFileArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ParseFileArgs parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } + public static com.kcl.api.Spec.ParseFileArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - getPosFieldBuilder(); - } - } + public static com.kcl.api.Spec.ParseFileArgs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.ParseFileArgs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ParseFileArgs parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - msg_ = ""; - pos_ = null; - if (posBuilder_ != null) { - posBuilder_.dispose(); - posBuilder_ = null; - } - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ParseFileArgs prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Message_descriptor; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for parse file request arguments.
+     * 
+ * + * Protobuf type {@code com.kcl.api.ParseFileArgs} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseFileArgs) + com.kcl.api.Spec.ParseFileArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFileArgs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFileArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ParseFileArgs.class, com.kcl.api.Spec.ParseFileArgs.Builder.class); + } + + // Construct using com.kcl.api.Spec.ParseFileArgs.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + path_ = ""; + source_ = ""; + if (externalPkgsBuilder_ == null) { + externalPkgs_ = java.util.Collections.emptyList(); + } else { + externalPkgs_ = null; + externalPkgsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFileArgs_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ParseFileArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.ParseFileArgs.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ParseFileArgs build() { + com.kcl.api.Spec.ParseFileArgs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ParseFileArgs buildPartial() { + com.kcl.api.Spec.ParseFileArgs result = new com.kcl.api.Spec.ParseFileArgs(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseFileArgs result) { + if (externalPkgsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + externalPkgs_ = java.util.Collections.unmodifiableList(externalPkgs_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.externalPkgs_ = externalPkgs_; + } else { + result.externalPkgs_ = externalPkgsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.ParseFileArgs result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.path_ = path_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.source_ = source_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ParseFileArgs) { + return mergeFrom((com.kcl.api.Spec.ParseFileArgs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ParseFileArgs other) { + if (other == com.kcl.api.Spec.ParseFileArgs.getDefaultInstance()) return this; + if (!other.getPath().isEmpty()) { + path_ = other.path_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSource().isEmpty()) { + source_ = other.source_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (externalPkgsBuilder_ == null) { + if (!other.externalPkgs_.isEmpty()) { + if (externalPkgs_.isEmpty()) { + externalPkgs_ = other.externalPkgs_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureExternalPkgsIsMutable(); + externalPkgs_.addAll(other.externalPkgs_); + } + onChanged(); + } + } else { + if (!other.externalPkgs_.isEmpty()) { + if (externalPkgsBuilder_.isEmpty()) { + externalPkgsBuilder_.dispose(); + externalPkgsBuilder_ = null; + externalPkgs_ = other.externalPkgs_; + bitField0_ = (bitField0_ & ~0x00000004); + externalPkgsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetExternalPkgsFieldBuilder() : null; + } else { + externalPkgsBuilder_.addAllMessages(other.externalPkgs_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + path_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + source_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + com.kcl.api.Spec.ExternalPkg m = + input.readMessage( + com.kcl.api.Spec.ExternalPkg.parser(), + extensionRegistry); + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(m); + } else { + externalPkgsBuilder_.addMessage(m); + } + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object path_ = ""; + /** + *
+       * Path of the file to be parsed.
+       * 
+ * + * string path = 1; + * @return The path. + */ + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Path of the file to be parsed.
+       * 
+ * + * string path = 1; + * @return The bytes for path. + */ + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Path of the file to be parsed.
+       * 
+ * + * string path = 1; + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + path_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Path of the file to be parsed.
+       * 
+ * + * string path = 1; + * @return This builder for chaining. + */ + public Builder clearPath() { + path_ = getDefaultInstance().getPath(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Path of the file to be parsed.
+       * 
+ * + * string path = 1; + * @param value The bytes for path to set. + * @return This builder for chaining. + */ + public Builder setPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + path_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object source_ = ""; + /** + *
+       * Source code to be parsed.
+       * 
+ * + * string source = 2; + * @return The source. + */ + public java.lang.String getSource() { + java.lang.Object ref = source_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + source_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Source code to be parsed.
+       * 
+ * + * string source = 2; + * @return The bytes for source. + */ + public com.google.protobuf.ByteString + getSourceBytes() { + java.lang.Object ref = source_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + source_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Source code to be parsed.
+       * 
+ * + * string source = 2; + * @param value The source to set. + * @return This builder for chaining. + */ + public Builder setSource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + source_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Source code to be parsed.
+       * 
+ * + * string source = 2; + * @return This builder for chaining. + */ + public Builder clearSource() { + source_ = getDefaultInstance().getSource(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Source code to be parsed.
+       * 
+ * + * string source = 2; + * @param value The bytes for source to set. + * @return This builder for chaining. + */ + public Builder setSourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + source_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.util.List externalPkgs_ = + java.util.Collections.emptyList(); + private void ensureExternalPkgsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + externalPkgs_ = new java.util.ArrayList(externalPkgs_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder> externalPkgsBuilder_; + + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public java.util.List getExternalPkgsList() { + if (externalPkgsBuilder_ == null) { + return java.util.Collections.unmodifiableList(externalPkgs_); + } else { + return externalPkgsBuilder_.getMessageList(); + } + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public int getExternalPkgsCount() { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.size(); + } else { + return externalPkgsBuilder_.getCount(); + } + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index) { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.get(index); + } else { + return externalPkgsBuilder_.getMessage(index); + } + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder setExternalPkgs( + int index, com.kcl.api.Spec.ExternalPkg value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.set(index, value); + onChanged(); + } else { + externalPkgsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder setExternalPkgs( + int index, com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.set(index, builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder addExternalPkgs(com.kcl.api.Spec.ExternalPkg value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.add(value); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder addExternalPkgs( + int index, com.kcl.api.Spec.ExternalPkg value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.add(index, value); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder addExternalPkgs( + com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder addExternalPkgs( + int index, com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(index, builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder addAllExternalPkgs( + java.lang.Iterable values) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, externalPkgs_); + onChanged(); + } else { + externalPkgsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder clearExternalPkgs() { + if (externalPkgsBuilder_ == null) { + externalPkgs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + externalPkgsBuilder_.clear(); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder removeExternalPkgs(int index) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.remove(index); + onChanged(); + } else { + externalPkgsBuilder_.remove(index); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public com.kcl.api.Spec.ExternalPkg.Builder getExternalPkgsBuilder( + int index) { + return internalGetExternalPkgsFieldBuilder().getBuilder(index); + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder( + int index) { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.get(index); } else { + return externalPkgsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public java.util.List + getExternalPkgsOrBuilderList() { + if (externalPkgsBuilder_ != null) { + return externalPkgsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(externalPkgs_); + } + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder() { + return internalGetExternalPkgsFieldBuilder().addBuilder( + com.kcl.api.Spec.ExternalPkg.getDefaultInstance()); + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder( + int index) { + return internalGetExternalPkgsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.ExternalPkg.getDefaultInstance()); + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public java.util.List + getExternalPkgsBuilderList() { + return internalGetExternalPkgsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder> + internalGetExternalPkgsFieldBuilder() { + if (externalPkgsBuilder_ == null) { + externalPkgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder>( + externalPkgs_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + externalPkgs_ = null; + } + return externalPkgsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseFileArgs) + } - @java.lang.Override - public com.kcl.api.Spec.Message getDefaultInstanceForType() { - return com.kcl.api.Spec.Message.getDefaultInstance(); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ParseFileArgs) + private static final com.kcl.api.Spec.ParseFileArgs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseFileArgs(); + } - @java.lang.Override - public com.kcl.api.Spec.Message build() { - com.kcl.api.Spec.Message result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + public static com.kcl.api.Spec.ParseFileArgs getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public com.kcl.api.Spec.Message buildPartial() { - com.kcl.api.Spec.Message result = new com.kcl.api.Spec.Message(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ParseFileArgs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - private void buildPartial0(com.kcl.api.Spec.Message result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.msg_ = msg_; - } - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000002) != 0)) { - result.pos_ = posBuilder_ == null ? pos_ : posBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - result.bitField0_ |= to_bitField0_; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Message) { - return mergeFrom((com.kcl.api.Spec.Message) other); - } else { - super.mergeFrom(other); - return this; - } - } + @java.lang.Override + public com.kcl.api.Spec.ParseFileArgs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public Builder mergeFrom(com.kcl.api.Spec.Message other) { - if (other == com.kcl.api.Spec.Message.getDefaultInstance()) - return this; - if (!other.getMsg().isEmpty()) { - msg_ = other.msg_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (other.hasPos()) { - mergePos(other.getPos()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + public interface ParseFileResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseFileResult) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - msg_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage(getPosFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + /** + *
+     * Abstract Syntax Tree (AST) in JSON format.
+     * 
+ * + * string ast_json = 1; + * @return The astJson. + */ + java.lang.String getAstJson(); + /** + *
+     * Abstract Syntax Tree (AST) in JSON format.
+     * 
+ * + * string ast_json = 1; + * @return The bytes for astJson. + */ + com.google.protobuf.ByteString + getAstJsonBytes(); - private int bitField0_; - - private java.lang.Object msg_ = ""; - - /** - *
-             * The error message text.
-             * 
- * - * string msg = 1; - * - * @return The msg. - */ - public java.lang.String getMsg() { - java.lang.Object ref = msg_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - msg_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + /** + *
+     * File dependency paths.
+     * 
+ * + * repeated string deps = 2; + * @return A list containing the deps. + */ + java.util.List + getDepsList(); + /** + *
+     * File dependency paths.
+     * 
+ * + * repeated string deps = 2; + * @return The count of deps. + */ + int getDepsCount(); + /** + *
+     * File dependency paths.
+     * 
+ * + * repeated string deps = 2; + * @param index The index of the element to return. + * @return The deps at the given index. + */ + java.lang.String getDeps(int index); + /** + *
+     * File dependency paths.
+     * 
+ * + * repeated string deps = 2; + * @param index The index of the value to return. + * @return The bytes of the deps at the given index. + */ + com.google.protobuf.ByteString + getDepsBytes(int index); - /** - *
-             * The error message text.
-             * 
- * - * string msg = 1; - * - * @return The bytes for msg. - */ - public com.google.protobuf.ByteString getMsgBytes() { - java.lang.Object ref = msg_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - msg_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * The error message text.
-             * 
- * - * string msg = 1; - * - * @param value - * The msg to set. - * - * @return This builder for chaining. - */ - public Builder setMsg(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - msg_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * The error message text.
-             * 
- * - * string msg = 1; - * - * @return This builder for chaining. - */ - public Builder clearMsg() { - msg_ = getDefaultInstance().getMsg(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * The error message text.
-             * 
- * - * string msg = 1; - * - * @param value - * The bytes for msg to set. - * - * @return This builder for chaining. - */ - public Builder setMsgBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - msg_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.kcl.api.Spec.Position pos_; - private com.google.protobuf.SingleFieldBuilder posBuilder_; - - /** - *
-             * The position in the source code where the error occurred.
-             * 
- * - * .com.kcl.api.Position pos = 2; - * - * @return Whether the pos field is set. - */ - public boolean hasPos() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - *
-             * The position in the source code where the error occurred.
-             * 
- * - * .com.kcl.api.Position pos = 2; - * - * @return The pos. - */ - public com.kcl.api.Spec.Position getPos() { - if (posBuilder_ == null) { - return pos_ == null ? com.kcl.api.Spec.Position.getDefaultInstance() : pos_; - } else { - return posBuilder_.getMessage(); - } - } - - /** - *
-             * The position in the source code where the error occurred.
-             * 
- * - * .com.kcl.api.Position pos = 2; - */ - public Builder setPos(com.kcl.api.Spec.Position value) { - if (posBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - pos_ = value; - } else { - posBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * The position in the source code where the error occurred.
-             * 
- * - * .com.kcl.api.Position pos = 2; - */ - public Builder setPos(com.kcl.api.Spec.Position.Builder builderForValue) { - if (posBuilder_ == null) { - pos_ = builderForValue.build(); - } else { - posBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * The position in the source code where the error occurred.
-             * 
- * - * .com.kcl.api.Position pos = 2; - */ - public Builder mergePos(com.kcl.api.Spec.Position value) { - if (posBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && pos_ != null - && pos_ != com.kcl.api.Spec.Position.getDefaultInstance()) { - getPosBuilder().mergeFrom(value); - } else { - pos_ = value; - } - } else { - posBuilder_.mergeFrom(value); - } - if (pos_ != null) { - bitField0_ |= 0x00000002; - onChanged(); - } - return this; - } + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + java.util.List + getErrorsList(); + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + com.kcl.api.Spec.Error getErrors(int index); + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + int getErrorsCount(); + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + java.util.List + getErrorsOrBuilderList(); + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder( + int index); + } + /** + *
+   * Message for parse file response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.ParseFileResult} + */ + public static final class ParseFileResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ParseFileResult) + ParseFileResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "ParseFileResult"); + } + // Use ParseFileResult.newBuilder() to construct. + private ParseFileResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ParseFileResult() { + astJson_ = ""; + deps_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + errors_ = java.util.Collections.emptyList(); + } - /** - *
-             * The position in the source code where the error occurred.
-             * 
- * - * .com.kcl.api.Position pos = 2; - */ - public Builder clearPos() { - bitField0_ = (bitField0_ & ~0x00000002); - pos_ = null; - if (posBuilder_ != null) { - posBuilder_.dispose(); - posBuilder_ = null; - } - onChanged(); - return this; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFileResult_descriptor; + } - /** - *
-             * The position in the source code where the error occurred.
-             * 
- * - * .com.kcl.api.Position pos = 2; - */ - public com.kcl.api.Spec.Position.Builder getPosBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getPosFieldBuilder().getBuilder(); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFileResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ParseFileResult.class, com.kcl.api.Spec.ParseFileResult.Builder.class); + } - /** - *
-             * The position in the source code where the error occurred.
-             * 
- * - * .com.kcl.api.Position pos = 2; - */ - public com.kcl.api.Spec.PositionOrBuilder getPosOrBuilder() { - if (posBuilder_ != null) { - return posBuilder_.getMessageOrBuilder(); - } else { - return pos_ == null ? com.kcl.api.Spec.Position.getDefaultInstance() : pos_; - } - } + public static final int AST_JSON_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object astJson_ = ""; + /** + *
+     * Abstract Syntax Tree (AST) in JSON format.
+     * 
+ * + * string ast_json = 1; + * @return The astJson. + */ + @java.lang.Override + public java.lang.String getAstJson() { + java.lang.Object ref = astJson_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + astJson_ = s; + return s; + } + } + /** + *
+     * Abstract Syntax Tree (AST) in JSON format.
+     * 
+ * + * string ast_json = 1; + * @return The bytes for astJson. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAstJsonBytes() { + java.lang.Object ref = astJson_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + astJson_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * The position in the source code where the error occurred.
-             * 
- * - * .com.kcl.api.Position pos = 2; - */ - private com.google.protobuf.SingleFieldBuilder getPosFieldBuilder() { - if (posBuilder_ == null) { - posBuilder_ = new com.google.protobuf.SingleFieldBuilder( - getPos(), getParentForChildren(), isClean()); - pos_ = null; - } - return posBuilder_; - } + public static final int DEPS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList deps_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * File dependency paths.
+     * 
+ * + * repeated string deps = 2; + * @return A list containing the deps. + */ + public com.google.protobuf.ProtocolStringList + getDepsList() { + return deps_; + } + /** + *
+     * File dependency paths.
+     * 
+ * + * repeated string deps = 2; + * @return The count of deps. + */ + public int getDepsCount() { + return deps_.size(); + } + /** + *
+     * File dependency paths.
+     * 
+ * + * repeated string deps = 2; + * @param index The index of the element to return. + * @return The deps at the given index. + */ + public java.lang.String getDeps(int index) { + return deps_.get(index); + } + /** + *
+     * File dependency paths.
+     * 
+ * + * repeated string deps = 2; + * @param index The index of the value to return. + * @return The bytes of the deps at the given index. + */ + public com.google.protobuf.ByteString + getDepsBytes(int index) { + return deps_.getByteString(index); + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.Message) - } + public static final int ERRORS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List errors_; + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + @java.lang.Override + public java.util.List getErrorsList() { + return errors_; + } + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + @java.lang.Override + public java.util.List + getErrorsOrBuilderList() { + return errors_; + } + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + @java.lang.Override + public int getErrorsCount() { + return errors_.size(); + } + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.Error getErrors(int index) { + return errors_.get(index); + } + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder( + int index) { + return errors_.get(index); + } - // @@protoc_insertion_point(class_scope:com.kcl.api.Message) - private static final com.kcl.api.Spec.Message DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Message(); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static com.kcl.api.Spec.Message getDefaultInstance() { - return DEFAULT_INSTANCE; - } + memoizedIsInitialized = 1; + return true; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Message parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(astJson_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, astJson_); + } + for (int i = 0; i < deps_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, deps_.getRaw(i)); + } + for (int i = 0; i < errors_.size(); i++) { + output.writeMessage(3, errors_.get(i)); + } + getUnknownFields().writeTo(output); + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(astJson_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, astJson_); + } + { + int dataSize = 0; + for (int i = 0; i < deps_.size(); i++) { + dataSize += computeStringSizeNoTag(deps_.getRaw(i)); + } + size += dataSize; + size += 1 * getDepsList().size(); + } + for (int i = 0; i < errors_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, errors_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ParseFileResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.ParseFileResult other = (com.kcl.api.Spec.ParseFileResult) obj; + + if (!getAstJson() + .equals(other.getAstJson())) return false; + if (!getDepsList() + .equals(other.getDepsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public com.kcl.api.Spec.Message getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + AST_JSON_FIELD_NUMBER; + hash = (53 * hash) + getAstJson().hashCode(); + if (getDepsCount() > 0) { + hash = (37 * hash) + DEPS_FIELD_NUMBER; + hash = (53 * hash) + getDepsList().hashCode(); + } + if (getErrorsCount() > 0) { + hash = (37 * hash) + ERRORS_FIELD_NUMBER; + hash = (53 * hash) + getErrorsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + public static com.kcl.api.Spec.ParseFileResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseFileResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseFileResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseFileResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseFileResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseFileResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseFileResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ParseFileResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); } - public interface Ping_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Ping_Args) - com.google.protobuf.MessageOrBuilder { + public static com.kcl.api.Spec.ParseFileResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-         * Value to be sent in the ping request.
-         * 
- * - * string value = 1; - * - * @return The value. - */ - java.lang.String getValue(); + public static com.kcl.api.Spec.ParseFileResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.ParseFileResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ParseFileResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-         * Value to be sent in the ping request.
-         * 
- * - * string value = 1; - * - * @return The bytes for value. - */ - com.google.protobuf.ByteString getValueBytes(); + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ParseFileResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** *
-     * Message for ping request arguments.
+     * Message for parse file response.
      * 
* - * Protobuf type {@code com.kcl.api.Ping_Args} + * Protobuf type {@code com.kcl.api.ParseFileResult} */ - public static final class Ping_Args extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Ping_Args) - Ping_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", Ping_Args.class.getName()); - } - - // Use Ping_Args.newBuilder() to construct. - private Ping_Args(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private Ping_Args() { - value_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Ping_Args.class, - com.kcl.api.Spec.Ping_Args.Builder.class); - } - - public static final int VALUE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object value_ = ""; - - /** - *
-         * Value to be sent in the ping request.
-         * 
- * - * string value = 1; - * - * @return The value. - */ - @java.lang.Override - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseFileResult) + com.kcl.api.Spec.ParseFileResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFileResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFileResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ParseFileResult.class, com.kcl.api.Spec.ParseFileResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.ParseFileResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + astJson_ = ""; + deps_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + if (errorsBuilder_ == null) { + errors_ = java.util.Collections.emptyList(); + } else { + errors_ = null; + errorsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFileResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ParseFileResult getDefaultInstanceForType() { + return com.kcl.api.Spec.ParseFileResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ParseFileResult build() { + com.kcl.api.Spec.ParseFileResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ParseFileResult buildPartial() { + com.kcl.api.Spec.ParseFileResult result = new com.kcl.api.Spec.ParseFileResult(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseFileResult result) { + if (errorsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + errors_ = java.util.Collections.unmodifiableList(errors_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.errors_ = errors_; + } else { + result.errors_ = errorsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.ParseFileResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.astJson_ = astJson_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + deps_.makeImmutable(); + result.deps_ = deps_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ParseFileResult) { + return mergeFrom((com.kcl.api.Spec.ParseFileResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ParseFileResult other) { + if (other == com.kcl.api.Spec.ParseFileResult.getDefaultInstance()) return this; + if (!other.getAstJson().isEmpty()) { + astJson_ = other.astJson_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.deps_.isEmpty()) { + if (deps_.isEmpty()) { + deps_ = other.deps_; + bitField0_ |= 0x00000002; + } else { + ensureDepsIsMutable(); + deps_.addAll(other.deps_); + } + onChanged(); + } + if (errorsBuilder_ == null) { + if (!other.errors_.isEmpty()) { + if (errors_.isEmpty()) { + errors_ = other.errors_; + bitField0_ = (bitField0_ & ~0x00000004); } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } - } - - /** - *
-         * Value to be sent in the ping request.
-         * 
- * - * string value = 1; - * - * @return The bytes for value. - */ - @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; + ensureErrorsIsMutable(); + errors_.addAll(other.errors_); + } + onChanged(); + } + } else { + if (!other.errors_.isEmpty()) { + if (errorsBuilder_.isEmpty()) { + errorsBuilder_.dispose(); + errorsBuilder_ = null; + errors_ = other.errors_; + bitField0_ = (bitField0_ & ~0x00000004); + errorsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetErrorsFieldBuilder() : null; } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } + errorsBuilder_.addAllMessages(other.errors_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + astJson_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureDepsIsMutable(); + deps_.add(s); + break; + } // case 18 + case 26: { + com.kcl.api.Spec.Error m = + input.readMessage( + com.kcl.api.Spec.Error.parser(), + extensionRegistry); + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(m); + } else { + errorsBuilder_.addMessage(m); + } + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object astJson_ = ""; + /** + *
+       * Abstract Syntax Tree (AST) in JSON format.
+       * 
+ * + * string ast_json = 1; + * @return The astJson. + */ + public java.lang.String getAstJson() { + java.lang.Object ref = astJson_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + astJson_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Abstract Syntax Tree (AST) in JSON format.
+       * 
+ * + * string ast_json = 1; + * @return The bytes for astJson. + */ + public com.google.protobuf.ByteString + getAstJsonBytes() { + java.lang.Object ref = astJson_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + astJson_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Abstract Syntax Tree (AST) in JSON format.
+       * 
+ * + * string ast_json = 1; + * @param value The astJson to set. + * @return This builder for chaining. + */ + public Builder setAstJson( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + astJson_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Abstract Syntax Tree (AST) in JSON format.
+       * 
+ * + * string ast_json = 1; + * @return This builder for chaining. + */ + public Builder clearAstJson() { + astJson_ = getDefaultInstance().getAstJson(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Abstract Syntax Tree (AST) in JSON format.
+       * 
+ * + * string ast_json = 1; + * @param value The bytes for astJson to set. + * @return This builder for chaining. + */ + public Builder setAstJsonBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + astJson_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList deps_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureDepsIsMutable() { + if (!deps_.isModifiable()) { + deps_ = new com.google.protobuf.LazyStringArrayList(deps_); + } + bitField0_ |= 0x00000002; + } + /** + *
+       * File dependency paths.
+       * 
+ * + * repeated string deps = 2; + * @return A list containing the deps. + */ + public com.google.protobuf.ProtocolStringList + getDepsList() { + deps_.makeImmutable(); + return deps_; + } + /** + *
+       * File dependency paths.
+       * 
+ * + * repeated string deps = 2; + * @return The count of deps. + */ + public int getDepsCount() { + return deps_.size(); + } + /** + *
+       * File dependency paths.
+       * 
+ * + * repeated string deps = 2; + * @param index The index of the element to return. + * @return The deps at the given index. + */ + public java.lang.String getDeps(int index) { + return deps_.get(index); + } + /** + *
+       * File dependency paths.
+       * 
+ * + * repeated string deps = 2; + * @param index The index of the value to return. + * @return The bytes of the deps at the given index. + */ + public com.google.protobuf.ByteString + getDepsBytes(int index) { + return deps_.getByteString(index); + } + /** + *
+       * File dependency paths.
+       * 
+ * + * repeated string deps = 2; + * @param index The index to set the value at. + * @param value The deps to set. + * @return This builder for chaining. + */ + public Builder setDeps( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureDepsIsMutable(); + deps_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * File dependency paths.
+       * 
+ * + * repeated string deps = 2; + * @param value The deps to add. + * @return This builder for chaining. + */ + public Builder addDeps( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureDepsIsMutable(); + deps_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * File dependency paths.
+       * 
+ * + * repeated string deps = 2; + * @param values The deps to add. + * @return This builder for chaining. + */ + public Builder addAllDeps( + java.lang.Iterable values) { + ensureDepsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, deps_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * File dependency paths.
+       * 
+ * + * repeated string deps = 2; + * @return This builder for chaining. + */ + public Builder clearDeps() { + deps_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + *
+       * File dependency paths.
+       * 
+ * + * repeated string deps = 2; + * @param value The bytes of the deps to add. + * @return This builder for chaining. + */ + public Builder addDepsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureDepsIsMutable(); + deps_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.util.List errors_ = + java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + errors_ = new java.util.ArrayList(errors_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> errorsBuilder_; + + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public java.util.List getErrorsList() { + if (errorsBuilder_ == null) { + return java.util.Collections.unmodifiableList(errors_); + } else { + return errorsBuilder_.getMessageList(); + } + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public int getErrorsCount() { + if (errorsBuilder_ == null) { + return errors_.size(); + } else { + return errorsBuilder_.getCount(); + } + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public com.kcl.api.Spec.Error getErrors(int index) { + if (errorsBuilder_ == null) { + return errors_.get(index); + } else { + return errorsBuilder_.getMessage(index); + } + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder setErrors( + int index, com.kcl.api.Spec.Error value) { + if (errorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureErrorsIsMutable(); + errors_.set(index, value); + onChanged(); + } else { + errorsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder setErrors( + int index, com.kcl.api.Spec.Error.Builder builderForValue) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.set(index, builderForValue.build()); + onChanged(); + } else { + errorsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder addErrors(com.kcl.api.Spec.Error value) { + if (errorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureErrorsIsMutable(); + errors_.add(value); + onChanged(); + } else { + errorsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder addErrors( + int index, com.kcl.api.Spec.Error value) { + if (errorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureErrorsIsMutable(); + errors_.add(index, value); + onChanged(); + } else { + errorsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder addErrors( + com.kcl.api.Spec.Error.Builder builderForValue) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(builderForValue.build()); + onChanged(); + } else { + errorsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder addErrors( + int index, com.kcl.api.Spec.Error.Builder builderForValue) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(index, builderForValue.build()); + onChanged(); + } else { + errorsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder addAllErrors( + java.lang.Iterable values) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); + onChanged(); + } else { + errorsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder clearErrors() { + if (errorsBuilder_ == null) { + errors_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + errorsBuilder_.clear(); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder removeErrors(int index) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.remove(index); + onChanged(); + } else { + errorsBuilder_.remove(index); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public com.kcl.api.Spec.Error.Builder getErrorsBuilder( + int index) { + return internalGetErrorsFieldBuilder().getBuilder(index); + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder( + int index) { + if (errorsBuilder_ == null) { + return errors_.get(index); } else { + return errorsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public java.util.List + getErrorsOrBuilderList() { + if (errorsBuilder_ != null) { + return errorsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(errors_); + } + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public com.kcl.api.Spec.Error.Builder addErrorsBuilder() { + return internalGetErrorsFieldBuilder().addBuilder( + com.kcl.api.Spec.Error.getDefaultInstance()); + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public com.kcl.api.Spec.Error.Builder addErrorsBuilder( + int index) { + return internalGetErrorsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.Error.getDefaultInstance()); + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public java.util.List + getErrorsBuilderList() { + return internalGetErrorsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> + internalGetErrorsFieldBuilder() { + if (errorsBuilder_ == null) { + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder>( + errors_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + errors_ = null; + } + return errorsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseFileResult) + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, value_); - } - getUnknownFields().writeTo(output); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ParseFileResult) + private static final com.kcl.api.Spec.ParseFileResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseFileResult(); + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, value_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + public static com.kcl.api.Spec.ParseFileResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Ping_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.Ping_Args other = (com.kcl.api.Spec.Ping_Args) obj; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ParseFileResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - if (!getValue().equals(other.getValue())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + @java.lang.Override + public com.kcl.api.Spec.ParseFileResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.Ping_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + } - public static com.kcl.api.Spec.Ping_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public interface ParseProgramArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseProgramArgs) + com.google.protobuf.MessageOrBuilder { - public static com.kcl.api.Spec.Ping_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + /** + *
+     * Paths of the program files to be parsed.
+     * 
+ * + * repeated string paths = 1; + * @return A list containing the paths. + */ + java.util.List + getPathsList(); + /** + *
+     * Paths of the program files to be parsed.
+     * 
+ * + * repeated string paths = 1; + * @return The count of paths. + */ + int getPathsCount(); + /** + *
+     * Paths of the program files to be parsed.
+     * 
+ * + * repeated string paths = 1; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + java.lang.String getPaths(int index); + /** + *
+     * Paths of the program files to be parsed.
+     * 
+ * + * repeated string paths = 1; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + com.google.protobuf.ByteString + getPathsBytes(int index); - public static com.kcl.api.Spec.Ping_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + /** + *
+     * Source codes to be parsed.
+     * 
+ * + * repeated string sources = 2; + * @return A list containing the sources. + */ + java.util.List + getSourcesList(); + /** + *
+     * Source codes to be parsed.
+     * 
+ * + * repeated string sources = 2; + * @return The count of sources. + */ + int getSourcesCount(); + /** + *
+     * Source codes to be parsed.
+     * 
+ * + * repeated string sources = 2; + * @param index The index of the element to return. + * @return The sources at the given index. + */ + java.lang.String getSources(int index); + /** + *
+     * Source codes to be parsed.
+     * 
+ * + * repeated string sources = 2; + * @param index The index of the value to return. + * @return The bytes of the sources at the given index. + */ + com.google.protobuf.ByteString + getSourcesBytes(int index); - public static com.kcl.api.Spec.Ping_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Ping_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Ping_Args parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Ping_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.Ping_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Ping_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.Ping_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Ping_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.Ping_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for ping request arguments.
-         * 
- * - * Protobuf type {@code com.kcl.api.Ping_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Ping_Args) - com.kcl.api.Spec.Ping_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Ping_Args.class, - com.kcl.api.Spec.Ping_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.Ping_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - value_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.Ping_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.Ping_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.Ping_Args build() { - com.kcl.api.Spec.Ping_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.Ping_Args buildPartial() { - com.kcl.api.Spec.Ping_Args result = new com.kcl.api.Spec.Ping_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.Ping_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.value_ = value_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Ping_Args) { - return mergeFrom((com.kcl.api.Spec.Ping_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.Ping_Args other) { - if (other == com.kcl.api.Spec.Ping_Args.getDefaultInstance()) - return this; - if (!other.getValue().isEmpty()) { - value_ = other.value_; - bitField0_ |= 0x00000001; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - value_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object value_ = ""; - - /** - *
-             * Value to be sent in the ping request.
-             * 
- * - * string value = 1; - * - * @return The value. - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + java.util.List + getExternalPkgsList(); + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index); + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + int getExternalPkgsCount(); + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + java.util.List + getExternalPkgsOrBuilderList(); + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder( + int index); + } + /** + *
+   * Message for parse program request arguments.
+   * 
+ * + * Protobuf type {@code com.kcl.api.ParseProgramArgs} + */ + public static final class ParseProgramArgs extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ParseProgramArgs) + ParseProgramArgsOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "ParseProgramArgs"); + } + // Use ParseProgramArgs.newBuilder() to construct. + private ParseProgramArgs(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ParseProgramArgs() { + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + sources_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + externalPkgs_ = java.util.Collections.emptyList(); + } - /** - *
-             * Value to be sent in the ping request.
-             * 
- * - * string value = 1; - * - * @return The bytes for value. - */ - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgramArgs_descriptor; + } - /** - *
-             * Value to be sent in the ping request.
-             * 
- * - * string value = 1; - * - * @param value - * The value to set. - * - * @return This builder for chaining. - */ - public Builder setValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgramArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ParseProgramArgs.class, com.kcl.api.Spec.ParseProgramArgs.Builder.class); + } - /** - *
-             * Value to be sent in the ping request.
-             * 
- * - * string value = 1; - * - * @return This builder for chaining. - */ - public Builder clearValue() { - value_ = getDefaultInstance().getValue(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + public static final int PATHS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * Paths of the program files to be parsed.
+     * 
+ * + * repeated string paths = 1; + * @return A list containing the paths. + */ + public com.google.protobuf.ProtocolStringList + getPathsList() { + return paths_; + } + /** + *
+     * Paths of the program files to be parsed.
+     * 
+ * + * repeated string paths = 1; + * @return The count of paths. + */ + public int getPathsCount() { + return paths_.size(); + } + /** + *
+     * Paths of the program files to be parsed.
+     * 
+ * + * repeated string paths = 1; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + public java.lang.String getPaths(int index) { + return paths_.get(index); + } + /** + *
+     * Paths of the program files to be parsed.
+     * 
+ * + * repeated string paths = 1; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + public com.google.protobuf.ByteString + getPathsBytes(int index) { + return paths_.getByteString(index); + } - /** - *
-             * Value to be sent in the ping request.
-             * 
- * - * string value = 1; - * - * @param value - * The bytes for value to set. - * - * @return This builder for chaining. - */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - value_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + public static final int SOURCES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList sources_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * Source codes to be parsed.
+     * 
+ * + * repeated string sources = 2; + * @return A list containing the sources. + */ + public com.google.protobuf.ProtocolStringList + getSourcesList() { + return sources_; + } + /** + *
+     * Source codes to be parsed.
+     * 
+ * + * repeated string sources = 2; + * @return The count of sources. + */ + public int getSourcesCount() { + return sources_.size(); + } + /** + *
+     * Source codes to be parsed.
+     * 
+ * + * repeated string sources = 2; + * @param index The index of the element to return. + * @return The sources at the given index. + */ + public java.lang.String getSources(int index) { + return sources_.get(index); + } + /** + *
+     * Source codes to be parsed.
+     * 
+ * + * repeated string sources = 2; + * @param index The index of the value to return. + * @return The bytes of the sources at the given index. + */ + public com.google.protobuf.ByteString + getSourcesBytes(int index) { + return sources_.getByteString(index); + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.Ping_Args) - } + public static final int EXTERNAL_PKGS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List externalPkgs_; + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + @java.lang.Override + public java.util.List getExternalPkgsList() { + return externalPkgs_; + } + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + @java.lang.Override + public java.util.List + getExternalPkgsOrBuilderList() { + return externalPkgs_; + } + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + @java.lang.Override + public int getExternalPkgsCount() { + return externalPkgs_.size(); + } + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index) { + return externalPkgs_.get(index); + } + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder( + int index) { + return externalPkgs_.get(index); + } - // @@protoc_insertion_point(class_scope:com.kcl.api.Ping_Args) - private static final com.kcl.api.Spec.Ping_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Ping_Args(); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static com.kcl.api.Spec.Ping_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } + memoizedIsInitialized = 1; + return true; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Ping_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < paths_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, paths_.getRaw(i)); + } + for (int i = 0; i < sources_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, sources_.getRaw(i)); + } + for (int i = 0; i < externalPkgs_.size(); i++) { + output.writeMessage(3, externalPkgs_.get(i)); + } + getUnknownFields().writeTo(output); + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < paths_.size(); i++) { + dataSize += computeStringSizeNoTag(paths_.getRaw(i)); + } + size += dataSize; + size += 1 * getPathsList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < sources_.size(); i++) { + dataSize += computeStringSizeNoTag(sources_.getRaw(i)); + } + size += dataSize; + size += 1 * getSourcesList().size(); + } + for (int i = 0; i < externalPkgs_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, externalPkgs_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ParseProgramArgs)) { + return super.equals(obj); + } + com.kcl.api.Spec.ParseProgramArgs other = (com.kcl.api.Spec.ParseProgramArgs) obj; + + if (!getPathsList() + .equals(other.getPathsList())) return false; + if (!getSourcesList() + .equals(other.getSourcesList())) return false; + if (!getExternalPkgsList() + .equals(other.getExternalPkgsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public com.kcl.api.Spec.Ping_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getPathsCount() > 0) { + hash = (37 * hash) + PATHS_FIELD_NUMBER; + hash = (53 * hash) + getPathsList().hashCode(); + } + if (getSourcesCount() > 0) { + hash = (37 * hash) + SOURCES_FIELD_NUMBER; + hash = (53 * hash) + getSourcesList().hashCode(); + } + if (getExternalPkgsCount() > 0) { + hash = (37 * hash) + EXTERNAL_PKGS_FIELD_NUMBER; + hash = (53 * hash) + getExternalPkgsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + public static com.kcl.api.Spec.ParseProgramArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseProgramArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseProgramArgs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseProgramArgs parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseProgramArgs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseProgramArgs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseProgramArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ParseProgramArgs parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); } - public interface Ping_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Ping_Result) - com.google.protobuf.MessageOrBuilder { + public static com.kcl.api.Spec.ParseProgramArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-         * Value received in the ping response.
-         * 
- * - * string value = 1; - * - * @return The value. - */ - java.lang.String getValue(); + public static com.kcl.api.Spec.ParseProgramArgs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.ParseProgramArgs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ParseProgramArgs parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-         * Value received in the ping response.
-         * 
- * - * string value = 1; - * - * @return The bytes for value. - */ - com.google.protobuf.ByteString getValueBytes(); + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ParseProgramArgs prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** *
-     * Message for ping response.
+     * Message for parse program request arguments.
      * 
* - * Protobuf type {@code com.kcl.api.Ping_Result} + * Protobuf type {@code com.kcl.api.ParseProgramArgs} */ - public static final class Ping_Result extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Ping_Result) - Ping_ResultOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", Ping_Result.class.getName()); - } - - // Use Ping_Result.newBuilder() to construct. - private Ping_Result(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private Ping_Result() { - value_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Ping_Result.class, - com.kcl.api.Spec.Ping_Result.Builder.class); - } - - public static final int VALUE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object value_ = ""; - - /** - *
-         * Value received in the ping response.
-         * 
- * - * string value = 1; - * - * @return The value. - */ - @java.lang.Override - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseProgramArgs) + com.kcl.api.Spec.ParseProgramArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgramArgs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgramArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ParseProgramArgs.class, com.kcl.api.Spec.ParseProgramArgs.Builder.class); + } + + // Construct using com.kcl.api.Spec.ParseProgramArgs.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + sources_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + if (externalPkgsBuilder_ == null) { + externalPkgs_ = java.util.Collections.emptyList(); + } else { + externalPkgs_ = null; + externalPkgsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgramArgs_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ParseProgramArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.ParseProgramArgs.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ParseProgramArgs build() { + com.kcl.api.Spec.ParseProgramArgs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ParseProgramArgs buildPartial() { + com.kcl.api.Spec.ParseProgramArgs result = new com.kcl.api.Spec.ParseProgramArgs(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseProgramArgs result) { + if (externalPkgsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + externalPkgs_ = java.util.Collections.unmodifiableList(externalPkgs_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.externalPkgs_ = externalPkgs_; + } else { + result.externalPkgs_ = externalPkgsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.ParseProgramArgs result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + paths_.makeImmutable(); + result.paths_ = paths_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + sources_.makeImmutable(); + result.sources_ = sources_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ParseProgramArgs) { + return mergeFrom((com.kcl.api.Spec.ParseProgramArgs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ParseProgramArgs other) { + if (other == com.kcl.api.Spec.ParseProgramArgs.getDefaultInstance()) return this; + if (!other.paths_.isEmpty()) { + if (paths_.isEmpty()) { + paths_ = other.paths_; + bitField0_ |= 0x00000001; + } else { + ensurePathsIsMutable(); + paths_.addAll(other.paths_); + } + onChanged(); + } + if (!other.sources_.isEmpty()) { + if (sources_.isEmpty()) { + sources_ = other.sources_; + bitField0_ |= 0x00000002; + } else { + ensureSourcesIsMutable(); + sources_.addAll(other.sources_); + } + onChanged(); + } + if (externalPkgsBuilder_ == null) { + if (!other.externalPkgs_.isEmpty()) { + if (externalPkgs_.isEmpty()) { + externalPkgs_ = other.externalPkgs_; + bitField0_ = (bitField0_ & ~0x00000004); } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } - } - - /** - *
-         * Value received in the ping response.
-         * 
- * - * string value = 1; - * - * @return The bytes for value. - */ - @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; + ensureExternalPkgsIsMutable(); + externalPkgs_.addAll(other.externalPkgs_); + } + onChanged(); + } + } else { + if (!other.externalPkgs_.isEmpty()) { + if (externalPkgsBuilder_.isEmpty()) { + externalPkgsBuilder_.dispose(); + externalPkgsBuilder_ = null; + externalPkgs_ = other.externalPkgs_; + bitField0_ = (bitField0_ & ~0x00000004); + externalPkgsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetExternalPkgsFieldBuilder() : null; } else { - return (com.google.protobuf.ByteString) ref; - } - } + externalPkgsBuilder_.addAllMessages(other.externalPkgs_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePathsIsMutable(); + paths_.add(s); + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureSourcesIsMutable(); + sources_.add(s); + break; + } // case 18 + case 26: { + com.kcl.api.Spec.ExternalPkg m = + input.readMessage( + com.kcl.api.Spec.ExternalPkg.parser(), + extensionRegistry); + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(m); + } else { + externalPkgsBuilder_.addMessage(m); + } + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePathsIsMutable() { + if (!paths_.isModifiable()) { + paths_ = new com.google.protobuf.LazyStringArrayList(paths_); + } + bitField0_ |= 0x00000001; + } + /** + *
+       * Paths of the program files to be parsed.
+       * 
+ * + * repeated string paths = 1; + * @return A list containing the paths. + */ + public com.google.protobuf.ProtocolStringList + getPathsList() { + paths_.makeImmutable(); + return paths_; + } + /** + *
+       * Paths of the program files to be parsed.
+       * 
+ * + * repeated string paths = 1; + * @return The count of paths. + */ + public int getPathsCount() { + return paths_.size(); + } + /** + *
+       * Paths of the program files to be parsed.
+       * 
+ * + * repeated string paths = 1; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + public java.lang.String getPaths(int index) { + return paths_.get(index); + } + /** + *
+       * Paths of the program files to be parsed.
+       * 
+ * + * repeated string paths = 1; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + public com.google.protobuf.ByteString + getPathsBytes(int index) { + return paths_.getByteString(index); + } + /** + *
+       * Paths of the program files to be parsed.
+       * 
+ * + * repeated string paths = 1; + * @param index The index to set the value at. + * @param value The paths to set. + * @return This builder for chaining. + */ + public Builder setPaths( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathsIsMutable(); + paths_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Paths of the program files to be parsed.
+       * 
+ * + * repeated string paths = 1; + * @param value The paths to add. + * @return This builder for chaining. + */ + public Builder addPaths( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathsIsMutable(); + paths_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Paths of the program files to be parsed.
+       * 
+ * + * repeated string paths = 1; + * @param values The paths to add. + * @return This builder for chaining. + */ + public Builder addAllPaths( + java.lang.Iterable values) { + ensurePathsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, paths_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Paths of the program files to be parsed.
+       * 
+ * + * repeated string paths = 1; + * @return This builder for chaining. + */ + public Builder clearPaths() { + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; + onChanged(); + return this; + } + /** + *
+       * Paths of the program files to be parsed.
+       * 
+ * + * repeated string paths = 1; + * @param value The bytes of the paths to add. + * @return This builder for chaining. + */ + public Builder addPathsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensurePathsIsMutable(); + paths_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList sources_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSourcesIsMutable() { + if (!sources_.isModifiable()) { + sources_ = new com.google.protobuf.LazyStringArrayList(sources_); + } + bitField0_ |= 0x00000002; + } + /** + *
+       * Source codes to be parsed.
+       * 
+ * + * repeated string sources = 2; + * @return A list containing the sources. + */ + public com.google.protobuf.ProtocolStringList + getSourcesList() { + sources_.makeImmutable(); + return sources_; + } + /** + *
+       * Source codes to be parsed.
+       * 
+ * + * repeated string sources = 2; + * @return The count of sources. + */ + public int getSourcesCount() { + return sources_.size(); + } + /** + *
+       * Source codes to be parsed.
+       * 
+ * + * repeated string sources = 2; + * @param index The index of the element to return. + * @return The sources at the given index. + */ + public java.lang.String getSources(int index) { + return sources_.get(index); + } + /** + *
+       * Source codes to be parsed.
+       * 
+ * + * repeated string sources = 2; + * @param index The index of the value to return. + * @return The bytes of the sources at the given index. + */ + public com.google.protobuf.ByteString + getSourcesBytes(int index) { + return sources_.getByteString(index); + } + /** + *
+       * Source codes to be parsed.
+       * 
+ * + * repeated string sources = 2; + * @param index The index to set the value at. + * @param value The sources to set. + * @return This builder for chaining. + */ + public Builder setSources( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureSourcesIsMutable(); + sources_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Source codes to be parsed.
+       * 
+ * + * repeated string sources = 2; + * @param value The sources to add. + * @return This builder for chaining. + */ + public Builder addSources( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureSourcesIsMutable(); + sources_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Source codes to be parsed.
+       * 
+ * + * repeated string sources = 2; + * @param values The sources to add. + * @return This builder for chaining. + */ + public Builder addAllSources( + java.lang.Iterable values) { + ensureSourcesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sources_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Source codes to be parsed.
+       * 
+ * + * repeated string sources = 2; + * @return This builder for chaining. + */ + public Builder clearSources() { + sources_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + *
+       * Source codes to be parsed.
+       * 
+ * + * repeated string sources = 2; + * @param value The bytes of the sources to add. + * @return This builder for chaining. + */ + public Builder addSourcesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureSourcesIsMutable(); + sources_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.util.List externalPkgs_ = + java.util.Collections.emptyList(); + private void ensureExternalPkgsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + externalPkgs_ = new java.util.ArrayList(externalPkgs_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder> externalPkgsBuilder_; + + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public java.util.List getExternalPkgsList() { + if (externalPkgsBuilder_ == null) { + return java.util.Collections.unmodifiableList(externalPkgs_); + } else { + return externalPkgsBuilder_.getMessageList(); + } + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public int getExternalPkgsCount() { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.size(); + } else { + return externalPkgsBuilder_.getCount(); + } + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index) { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.get(index); + } else { + return externalPkgsBuilder_.getMessage(index); + } + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder setExternalPkgs( + int index, com.kcl.api.Spec.ExternalPkg value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.set(index, value); + onChanged(); + } else { + externalPkgsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder setExternalPkgs( + int index, com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.set(index, builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder addExternalPkgs(com.kcl.api.Spec.ExternalPkg value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.add(value); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder addExternalPkgs( + int index, com.kcl.api.Spec.ExternalPkg value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.add(index, value); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder addExternalPkgs( + com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder addExternalPkgs( + int index, com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(index, builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder addAllExternalPkgs( + java.lang.Iterable values) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, externalPkgs_); + onChanged(); + } else { + externalPkgsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder clearExternalPkgs() { + if (externalPkgsBuilder_ == null) { + externalPkgs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + externalPkgsBuilder_.clear(); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder removeExternalPkgs(int index) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.remove(index); + onChanged(); + } else { + externalPkgsBuilder_.remove(index); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public com.kcl.api.Spec.ExternalPkg.Builder getExternalPkgsBuilder( + int index) { + return internalGetExternalPkgsFieldBuilder().getBuilder(index); + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder( + int index) { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.get(index); } else { + return externalPkgsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public java.util.List + getExternalPkgsOrBuilderList() { + if (externalPkgsBuilder_ != null) { + return externalPkgsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(externalPkgs_); + } + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder() { + return internalGetExternalPkgsFieldBuilder().addBuilder( + com.kcl.api.Spec.ExternalPkg.getDefaultInstance()); + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder( + int index) { + return internalGetExternalPkgsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.ExternalPkg.getDefaultInstance()); + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public java.util.List + getExternalPkgsBuilderList() { + return internalGetExternalPkgsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder> + internalGetExternalPkgsFieldBuilder() { + if (externalPkgsBuilder_ == null) { + externalPkgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder>( + externalPkgs_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + externalPkgs_ = null; + } + return externalPkgsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseProgramArgs) + } - private byte memoizedIsInitialized = -1; + // @@protoc_insertion_point(class_scope:com.kcl.api.ParseProgramArgs) + private static final com.kcl.api.Spec.ParseProgramArgs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseProgramArgs(); + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + public static com.kcl.api.Spec.ParseProgramArgs getDefaultInstance() { + return DEFAULT_INSTANCE; + } - memoizedIsInitialized = 1; - return true; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ParseProgramArgs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, value_); - } - getUnknownFields().writeTo(output); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, value_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + public com.kcl.api.Spec.ParseProgramArgs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Ping_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.Ping_Result other = (com.kcl.api.Spec.Ping_Result) obj; + } - if (!getValue().equals(other.getValue())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + public interface ParseProgramResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseProgramResult) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.Ping_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Ping_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Ping_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Ping_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Ping_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Ping_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Ping_Result parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Ping_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.Ping_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Ping_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.Ping_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Ping_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.Ping_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for ping response.
-         * 
- * - * Protobuf type {@code com.kcl.api.Ping_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Ping_Result) - com.kcl.api.Spec.Ping_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Ping_Result.class, - com.kcl.api.Spec.Ping_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.Ping_Result.newBuilder() - private Builder() { + /** + *
+     * Abstract Syntax Tree (AST) in JSON format.
+     * 
+ * + * string ast_json = 1; + * @return The astJson. + */ + java.lang.String getAstJson(); + /** + *
+     * Abstract Syntax Tree (AST) in JSON format.
+     * 
+ * + * string ast_json = 1; + * @return The bytes for astJson. + */ + com.google.protobuf.ByteString + getAstJsonBytes(); - } + /** + *
+     * Returns the files in the order they should be compiled.
+     * 
+ * + * repeated string paths = 2; + * @return A list containing the paths. + */ + java.util.List + getPathsList(); + /** + *
+     * Returns the files in the order they should be compiled.
+     * 
+ * + * repeated string paths = 2; + * @return The count of paths. + */ + int getPathsCount(); + /** + *
+     * Returns the files in the order they should be compiled.
+     * 
+ * + * repeated string paths = 2; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + java.lang.String getPaths(int index); + /** + *
+     * Returns the files in the order they should be compiled.
+     * 
+ * + * repeated string paths = 2; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + com.google.protobuf.ByteString + getPathsBytes(int index); - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + java.util.List + getErrorsList(); + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + com.kcl.api.Spec.Error getErrors(int index); + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + int getErrorsCount(); + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + java.util.List + getErrorsOrBuilderList(); + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder( + int index); + } + /** + *
+   * Message for parse program response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.ParseProgramResult} + */ + public static final class ParseProgramResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ParseProgramResult) + ParseProgramResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "ParseProgramResult"); + } + // Use ParseProgramResult.newBuilder() to construct. + private ParseProgramResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ParseProgramResult() { + astJson_ = ""; + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + errors_ = java.util.Collections.emptyList(); + } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgramResult_descriptor; + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - value_ = ""; - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgramResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ParseProgramResult.class, com.kcl.api.Spec.ParseProgramResult.Builder.class); + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Result_descriptor; - } + public static final int AST_JSON_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object astJson_ = ""; + /** + *
+     * Abstract Syntax Tree (AST) in JSON format.
+     * 
+ * + * string ast_json = 1; + * @return The astJson. + */ + @java.lang.Override + public java.lang.String getAstJson() { + java.lang.Object ref = astJson_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + astJson_ = s; + return s; + } + } + /** + *
+     * Abstract Syntax Tree (AST) in JSON format.
+     * 
+ * + * string ast_json = 1; + * @return The bytes for astJson. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAstJsonBytes() { + java.lang.Object ref = astJson_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + astJson_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public com.kcl.api.Spec.Ping_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.Ping_Result.getDefaultInstance(); - } + public static final int PATHS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * Returns the files in the order they should be compiled.
+     * 
+ * + * repeated string paths = 2; + * @return A list containing the paths. + */ + public com.google.protobuf.ProtocolStringList + getPathsList() { + return paths_; + } + /** + *
+     * Returns the files in the order they should be compiled.
+     * 
+ * + * repeated string paths = 2; + * @return The count of paths. + */ + public int getPathsCount() { + return paths_.size(); + } + /** + *
+     * Returns the files in the order they should be compiled.
+     * 
+ * + * repeated string paths = 2; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + public java.lang.String getPaths(int index) { + return paths_.get(index); + } + /** + *
+     * Returns the files in the order they should be compiled.
+     * 
+ * + * repeated string paths = 2; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + public com.google.protobuf.ByteString + getPathsBytes(int index) { + return paths_.getByteString(index); + } - @java.lang.Override - public com.kcl.api.Spec.Ping_Result build() { - com.kcl.api.Spec.Ping_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + public static final int ERRORS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List errors_; + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + @java.lang.Override + public java.util.List getErrorsList() { + return errors_; + } + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + @java.lang.Override + public java.util.List + getErrorsOrBuilderList() { + return errors_; + } + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + @java.lang.Override + public int getErrorsCount() { + return errors_.size(); + } + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.Error getErrors(int index) { + return errors_.get(index); + } + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder( + int index) { + return errors_.get(index); + } - @java.lang.Override - public com.kcl.api.Spec.Ping_Result buildPartial() { - com.kcl.api.Spec.Ping_Result result = new com.kcl.api.Spec.Ping_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private void buildPartial0(com.kcl.api.Spec.Ping_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.value_ = value_; - } - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Ping_Result) { - return mergeFrom((com.kcl.api.Spec.Ping_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(astJson_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, astJson_); + } + for (int i = 0; i < paths_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, paths_.getRaw(i)); + } + for (int i = 0; i < errors_.size(); i++) { + output.writeMessage(3, errors_.get(i)); + } + getUnknownFields().writeTo(output); + } - public Builder mergeFrom(com.kcl.api.Spec.Ping_Result other) { - if (other == com.kcl.api.Spec.Ping_Result.getDefaultInstance()) - return this; - if (!other.getValue().isEmpty()) { - value_ = other.value_; - bitField0_ |= 0x00000001; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(astJson_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, astJson_); + } + { + int dataSize = 0; + for (int i = 0; i < paths_.size(); i++) { + dataSize += computeStringSizeNoTag(paths_.getRaw(i)); + } + size += dataSize; + size += 1 * getPathsList().size(); + } + for (int i = 0; i < errors_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, errors_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ParseProgramResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.ParseProgramResult other = (com.kcl.api.Spec.ParseProgramResult) obj; + + if (!getAstJson() + .equals(other.getAstJson())) return false; + if (!getPathsList() + .equals(other.getPathsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - value_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + AST_JSON_FIELD_NUMBER; + hash = (53 * hash) + getAstJson().hashCode(); + if (getPathsCount() > 0) { + hash = (37 * hash) + PATHS_FIELD_NUMBER; + hash = (53 * hash) + getPathsList().hashCode(); + } + if (getErrorsCount() > 0) { + hash = (37 * hash) + ERRORS_FIELD_NUMBER; + hash = (53 * hash) + getErrorsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - private int bitField0_; - - private java.lang.Object value_ = ""; - - /** - *
-             * Value received in the ping response.
-             * 
- * - * string value = 1; - * - * @return The value. - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static com.kcl.api.Spec.ParseProgramResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseProgramResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseProgramResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseProgramResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseProgramResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ParseProgramResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ParseProgramResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ParseProgramResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Value received in the ping response.
-             * 
- * - * string value = 1; - * - * @return The bytes for value. - */ - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static com.kcl.api.Spec.ParseProgramResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * Value received in the ping response.
-             * 
- * - * string value = 1; - * - * @param value - * The value to set. - * - * @return This builder for chaining. - */ - public Builder setValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + public static com.kcl.api.Spec.ParseProgramResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.ParseProgramResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ParseProgramResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Value received in the ping response.
-             * 
- * - * string value = 1; - * - * @return This builder for chaining. - */ - public Builder clearValue() { - value_ = getDefaultInstance().getValue(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ParseProgramResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * Value received in the ping response.
-             * 
- * - * string value = 1; - * - * @param value - * The bytes for value to set. - * - * @return This builder for chaining. - */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - value_ = value; + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for parse program response.
+     * 
+ * + * Protobuf type {@code com.kcl.api.ParseProgramResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseProgramResult) + com.kcl.api.Spec.ParseProgramResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgramResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgramResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ParseProgramResult.class, com.kcl.api.Spec.ParseProgramResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.ParseProgramResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + astJson_ = ""; + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + if (errorsBuilder_ == null) { + errors_ = java.util.Collections.emptyList(); + } else { + errors_ = null; + errorsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgramResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ParseProgramResult getDefaultInstanceForType() { + return com.kcl.api.Spec.ParseProgramResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ParseProgramResult build() { + com.kcl.api.Spec.ParseProgramResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ParseProgramResult buildPartial() { + com.kcl.api.Spec.ParseProgramResult result = new com.kcl.api.Spec.ParseProgramResult(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseProgramResult result) { + if (errorsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + errors_ = java.util.Collections.unmodifiableList(errors_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.errors_ = errors_; + } else { + result.errors_ = errorsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.ParseProgramResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.astJson_ = astJson_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + paths_.makeImmutable(); + result.paths_ = paths_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ParseProgramResult) { + return mergeFrom((com.kcl.api.Spec.ParseProgramResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ParseProgramResult other) { + if (other == com.kcl.api.Spec.ParseProgramResult.getDefaultInstance()) return this; + if (!other.getAstJson().isEmpty()) { + astJson_ = other.astJson_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.paths_.isEmpty()) { + if (paths_.isEmpty()) { + paths_ = other.paths_; + bitField0_ |= 0x00000002; + } else { + ensurePathsIsMutable(); + paths_.addAll(other.paths_); + } + onChanged(); + } + if (errorsBuilder_ == null) { + if (!other.errors_.isEmpty()) { + if (errors_.isEmpty()) { + errors_ = other.errors_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureErrorsIsMutable(); + errors_.addAll(other.errors_); + } + onChanged(); + } + } else { + if (!other.errors_.isEmpty()) { + if (errorsBuilder_.isEmpty()) { + errorsBuilder_.dispose(); + errorsBuilder_ = null; + errors_ = other.errors_; + bitField0_ = (bitField0_ & ~0x00000004); + errorsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetErrorsFieldBuilder() : null; + } else { + errorsBuilder_.addAllMessages(other.errors_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + astJson_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.Ping_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.Ping_Result) - private static final com.kcl.api.Spec.Ping_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Ping_Result(); - } - - public static com.kcl.api.Spec.Ping_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Ping_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePathsIsMutable(); + paths_.add(s); + break; + } // case 18 + case 26: { + com.kcl.api.Spec.Error m = + input.readMessage( + com.kcl.api.Spec.Error.parser(), + extensionRegistry); + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(m); + } else { + errorsBuilder_.addMessage(m); + } + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object astJson_ = ""; + /** + *
+       * Abstract Syntax Tree (AST) in JSON format.
+       * 
+ * + * string ast_json = 1; + * @return The astJson. + */ + public java.lang.String getAstJson() { + java.lang.Object ref = astJson_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + astJson_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Abstract Syntax Tree (AST) in JSON format.
+       * 
+ * + * string ast_json = 1; + * @return The bytes for astJson. + */ + public com.google.protobuf.ByteString + getAstJsonBytes() { + java.lang.Object ref = astJson_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + astJson_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Abstract Syntax Tree (AST) in JSON format.
+       * 
+ * + * string ast_json = 1; + * @param value The astJson to set. + * @return This builder for chaining. + */ + public Builder setAstJson( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + astJson_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Abstract Syntax Tree (AST) in JSON format.
+       * 
+ * + * string ast_json = 1; + * @return This builder for chaining. + */ + public Builder clearAstJson() { + astJson_ = getDefaultInstance().getAstJson(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Abstract Syntax Tree (AST) in JSON format.
+       * 
+ * + * string ast_json = 1; + * @param value The bytes for astJson to set. + * @return This builder for chaining. + */ + public Builder setAstJsonBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + astJson_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePathsIsMutable() { + if (!paths_.isModifiable()) { + paths_ = new com.google.protobuf.LazyStringArrayList(paths_); + } + bitField0_ |= 0x00000002; + } + /** + *
+       * Returns the files in the order they should be compiled.
+       * 
+ * + * repeated string paths = 2; + * @return A list containing the paths. + */ + public com.google.protobuf.ProtocolStringList + getPathsList() { + paths_.makeImmutable(); + return paths_; + } + /** + *
+       * Returns the files in the order they should be compiled.
+       * 
+ * + * repeated string paths = 2; + * @return The count of paths. + */ + public int getPathsCount() { + return paths_.size(); + } + /** + *
+       * Returns the files in the order they should be compiled.
+       * 
+ * + * repeated string paths = 2; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + public java.lang.String getPaths(int index) { + return paths_.get(index); + } + /** + *
+       * Returns the files in the order they should be compiled.
+       * 
+ * + * repeated string paths = 2; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + public com.google.protobuf.ByteString + getPathsBytes(int index) { + return paths_.getByteString(index); + } + /** + *
+       * Returns the files in the order they should be compiled.
+       * 
+ * + * repeated string paths = 2; + * @param index The index to set the value at. + * @param value The paths to set. + * @return This builder for chaining. + */ + public Builder setPaths( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathsIsMutable(); + paths_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Returns the files in the order they should be compiled.
+       * 
+ * + * repeated string paths = 2; + * @param value The paths to add. + * @return This builder for chaining. + */ + public Builder addPaths( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathsIsMutable(); + paths_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Returns the files in the order they should be compiled.
+       * 
+ * + * repeated string paths = 2; + * @param values The paths to add. + * @return This builder for chaining. + */ + public Builder addAllPaths( + java.lang.Iterable values) { + ensurePathsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, paths_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Returns the files in the order they should be compiled.
+       * 
+ * + * repeated string paths = 2; + * @return This builder for chaining. + */ + public Builder clearPaths() { + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + *
+       * Returns the files in the order they should be compiled.
+       * 
+ * + * repeated string paths = 2; + * @param value The bytes of the paths to add. + * @return This builder for chaining. + */ + public Builder addPathsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensurePathsIsMutable(); + paths_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.util.List errors_ = + java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + errors_ = new java.util.ArrayList(errors_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> errorsBuilder_; + + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public java.util.List getErrorsList() { + if (errorsBuilder_ == null) { + return java.util.Collections.unmodifiableList(errors_); + } else { + return errorsBuilder_.getMessageList(); + } + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public int getErrorsCount() { + if (errorsBuilder_ == null) { + return errors_.size(); + } else { + return errorsBuilder_.getCount(); + } + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public com.kcl.api.Spec.Error getErrors(int index) { + if (errorsBuilder_ == null) { + return errors_.get(index); + } else { + return errorsBuilder_.getMessage(index); + } + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder setErrors( + int index, com.kcl.api.Spec.Error value) { + if (errorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureErrorsIsMutable(); + errors_.set(index, value); + onChanged(); + } else { + errorsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder setErrors( + int index, com.kcl.api.Spec.Error.Builder builderForValue) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.set(index, builderForValue.build()); + onChanged(); + } else { + errorsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder addErrors(com.kcl.api.Spec.Error value) { + if (errorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureErrorsIsMutable(); + errors_.add(value); + onChanged(); + } else { + errorsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder addErrors( + int index, com.kcl.api.Spec.Error value) { + if (errorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureErrorsIsMutable(); + errors_.add(index, value); + onChanged(); + } else { + errorsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder addErrors( + com.kcl.api.Spec.Error.Builder builderForValue) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(builderForValue.build()); + onChanged(); + } else { + errorsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder addErrors( + int index, com.kcl.api.Spec.Error.Builder builderForValue) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(index, builderForValue.build()); + onChanged(); + } else { + errorsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder addAllErrors( + java.lang.Iterable values) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); + onChanged(); + } else { + errorsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder clearErrors() { + if (errorsBuilder_ == null) { + errors_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + errorsBuilder_.clear(); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public Builder removeErrors(int index) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.remove(index); + onChanged(); + } else { + errorsBuilder_.remove(index); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public com.kcl.api.Spec.Error.Builder getErrorsBuilder( + int index) { + return internalGetErrorsFieldBuilder().getBuilder(index); + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder( + int index) { + if (errorsBuilder_ == null) { + return errors_.get(index); } else { + return errorsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public java.util.List + getErrorsOrBuilderList() { + if (errorsBuilder_ != null) { + return errorsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(errors_); + } + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public com.kcl.api.Spec.Error.Builder addErrorsBuilder() { + return internalGetErrorsFieldBuilder().addBuilder( + com.kcl.api.Spec.Error.getDefaultInstance()); + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public com.kcl.api.Spec.Error.Builder addErrorsBuilder( + int index) { + return internalGetErrorsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.Error.getDefaultInstance()); + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error errors = 3; + */ + public java.util.List + getErrorsBuilderList() { + return internalGetErrorsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> + internalGetErrorsFieldBuilder() { + if (errorsBuilder_ == null) { + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder>( + errors_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + errors_ = null; + } + return errorsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseProgramResult) + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ParseProgramResult) + private static final com.kcl.api.Spec.ParseProgramResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseProgramResult(); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static com.kcl.api.Spec.ParseProgramResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public com.kcl.api.Spec.Ping_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ParseProgramResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - public interface GetVersion_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.GetVersion_Args) - com.google.protobuf.MessageOrBuilder { + @java.lang.Override + public com.kcl.api.Spec.ParseProgramResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } + } + + public interface LoadPackageArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadPackageArgs) + com.google.protobuf.MessageOrBuilder { + /** *
-     * Message for version request arguments. Empty message.
+     * Arguments for parsing the program.
      * 
* - * Protobuf type {@code com.kcl.api.GetVersion_Args} + * .com.kcl.api.ParseProgramArgs parse_args = 1; + * @return Whether the parseArgs field is set. */ - public static final class GetVersion_Args extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.GetVersion_Args) - GetVersion_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", GetVersion_Args.class.getName()); - } - - // Use GetVersion_Args.newBuilder() to construct. - private GetVersion_Args(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private GetVersion_Args() { - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersion_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersion_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.GetVersion_Args.class, - com.kcl.api.Spec.GetVersion_Args.Builder.class); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.GetVersion_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.GetVersion_Args other = (com.kcl.api.Spec.GetVersion_Args) obj; - - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.GetVersion_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetVersion_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetVersion_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetVersion_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetVersion_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetVersion_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetVersion_Args parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetVersion_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.GetVersion_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetVersion_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.GetVersion_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetVersion_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.GetVersion_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for version request arguments. Empty message.
-         * 
- * - * Protobuf type {@code com.kcl.api.GetVersion_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.GetVersion_Args) - com.kcl.api.Spec.GetVersion_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersion_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersion_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.GetVersion_Args.class, - com.kcl.api.Spec.GetVersion_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.GetVersion_Args.newBuilder() - private Builder() { + boolean hasParseArgs(); + /** + *
+     * Arguments for parsing the program.
+     * 
+ * + * .com.kcl.api.ParseProgramArgs parse_args = 1; + * @return The parseArgs. + */ + com.kcl.api.Spec.ParseProgramArgs getParseArgs(); + /** + *
+     * Arguments for parsing the program.
+     * 
+ * + * .com.kcl.api.ParseProgramArgs parse_args = 1; + */ + com.kcl.api.Spec.ParseProgramArgsOrBuilder getParseArgsOrBuilder(); - } + /** + *
+     * Flag indicating whether to resolve AST.
+     * 
+ * + * bool resolve_ast = 2; + * @return The resolveAst. + */ + boolean getResolveAst(); - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); + /** + *
+     * Flag indicating whether to load built-in modules.
+     * 
+ * + * bool load_builtin = 3; + * @return The loadBuiltin. + */ + boolean getLoadBuiltin(); - } + /** + *
+     * Flag indicating whether to include AST index.
+     * 
+ * + * bool with_ast_index = 4; + * @return The withAstIndex. + */ + boolean getWithAstIndex(); + } + /** + *
+   * Message for load package request arguments.
+   * 
+ * + * Protobuf type {@code com.kcl.api.LoadPackageArgs} + */ + public static final class LoadPackageArgs extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.LoadPackageArgs) + LoadPackageArgsOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "LoadPackageArgs"); + } + // Use LoadPackageArgs.newBuilder() to construct. + private LoadPackageArgs(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private LoadPackageArgs() { + } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageArgs_descriptor; + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersion_Args_descriptor; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LoadPackageArgs.class, com.kcl.api.Spec.LoadPackageArgs.Builder.class); + } - @java.lang.Override - public com.kcl.api.Spec.GetVersion_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.GetVersion_Args.getDefaultInstance(); - } + private int bitField0_; + public static final int PARSE_ARGS_FIELD_NUMBER = 1; + private com.kcl.api.Spec.ParseProgramArgs parseArgs_; + /** + *
+     * Arguments for parsing the program.
+     * 
+ * + * .com.kcl.api.ParseProgramArgs parse_args = 1; + * @return Whether the parseArgs field is set. + */ + @java.lang.Override + public boolean hasParseArgs() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * Arguments for parsing the program.
+     * 
+ * + * .com.kcl.api.ParseProgramArgs parse_args = 1; + * @return The parseArgs. + */ + @java.lang.Override + public com.kcl.api.Spec.ParseProgramArgs getParseArgs() { + return parseArgs_ == null ? com.kcl.api.Spec.ParseProgramArgs.getDefaultInstance() : parseArgs_; + } + /** + *
+     * Arguments for parsing the program.
+     * 
+ * + * .com.kcl.api.ParseProgramArgs parse_args = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.ParseProgramArgsOrBuilder getParseArgsOrBuilder() { + return parseArgs_ == null ? com.kcl.api.Spec.ParseProgramArgs.getDefaultInstance() : parseArgs_; + } - @java.lang.Override - public com.kcl.api.Spec.GetVersion_Args build() { - com.kcl.api.Spec.GetVersion_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + public static final int RESOLVE_AST_FIELD_NUMBER = 2; + private boolean resolveAst_ = false; + /** + *
+     * Flag indicating whether to resolve AST.
+     * 
+ * + * bool resolve_ast = 2; + * @return The resolveAst. + */ + @java.lang.Override + public boolean getResolveAst() { + return resolveAst_; + } - @java.lang.Override - public com.kcl.api.Spec.GetVersion_Args buildPartial() { - com.kcl.api.Spec.GetVersion_Args result = new com.kcl.api.Spec.GetVersion_Args(this); - onBuilt(); - return result; - } + public static final int LOAD_BUILTIN_FIELD_NUMBER = 3; + private boolean loadBuiltin_ = false; + /** + *
+     * Flag indicating whether to load built-in modules.
+     * 
+ * + * bool load_builtin = 3; + * @return The loadBuiltin. + */ + @java.lang.Override + public boolean getLoadBuiltin() { + return loadBuiltin_; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.GetVersion_Args) { - return mergeFrom((com.kcl.api.Spec.GetVersion_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } + public static final int WITH_AST_INDEX_FIELD_NUMBER = 4; + private boolean withAstIndex_ = false; + /** + *
+     * Flag indicating whether to include AST index.
+     * 
+ * + * bool with_ast_index = 4; + * @return The withAstIndex. + */ + @java.lang.Override + public boolean getWithAstIndex() { + return withAstIndex_; + } - public Builder mergeFrom(com.kcl.api.Spec.GetVersion_Args other) { - if (other == com.kcl.api.Spec.GetVersion_Args.getDefaultInstance()) - return this; - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public final boolean isInitialized() { - return true; - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getParseArgs()); + } + if (resolveAst_ != false) { + output.writeBool(2, resolveAst_); + } + if (loadBuiltin_ != false) { + output.writeBool(3, loadBuiltin_); + } + if (withAstIndex_ != false) { + output.writeBool(4, withAstIndex_); + } + getUnknownFields().writeTo(output); + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.GetVersion_Args) - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getParseArgs()); + } + if (resolveAst_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, resolveAst_); + } + if (loadBuiltin_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, loadBuiltin_); + } + if (withAstIndex_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, withAstIndex_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.GetVersion_Args) - private static final com.kcl.api.Spec.GetVersion_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.GetVersion_Args(); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.LoadPackageArgs)) { + return super.equals(obj); + } + com.kcl.api.Spec.LoadPackageArgs other = (com.kcl.api.Spec.LoadPackageArgs) obj; + + if (hasParseArgs() != other.hasParseArgs()) return false; + if (hasParseArgs()) { + if (!getParseArgs() + .equals(other.getParseArgs())) return false; + } + if (getResolveAst() + != other.getResolveAst()) return false; + if (getLoadBuiltin() + != other.getLoadBuiltin()) return false; + if (getWithAstIndex() + != other.getWithAstIndex()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static com.kcl.api.Spec.GetVersion_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasParseArgs()) { + hash = (37 * hash) + PARSE_ARGS_FIELD_NUMBER; + hash = (53 * hash) + getParseArgs().hashCode(); + } + hash = (37 * hash) + RESOLVE_AST_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getResolveAst()); + hash = (37 * hash) + LOAD_BUILTIN_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getLoadBuiltin()); + hash = (37 * hash) + WITH_AST_INDEX_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getWithAstIndex()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVersion_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + public static com.kcl.api.Spec.LoadPackageArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadPackageArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadPackageArgs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadPackageArgs parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadPackageArgs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadPackageArgs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadPackageArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LoadPackageArgs parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + public static com.kcl.api.Spec.LoadPackageArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static com.kcl.api.Spec.LoadPackageArgs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.LoadPackageArgs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LoadPackageArgs parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public com.kcl.api.Spec.GetVersion_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetVersion_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.GetVersion_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * KCL version.
-         * 
- * - * string version = 1; - * - * @return The version. - */ - java.lang.String getVersion(); - - /** - *
-         * KCL version.
-         * 
- * - * string version = 1; - * - * @return The bytes for version. - */ - com.google.protobuf.ByteString getVersionBytes(); - - /** - *
-         * Checksum of the KCL version.
-         * 
- * - * string checksum = 2; - * - * @return The checksum. - */ - java.lang.String getChecksum(); - - /** - *
-         * Checksum of the KCL version.
-         * 
- * - * string checksum = 2; - * - * @return The bytes for checksum. - */ - com.google.protobuf.ByteString getChecksumBytes(); - - /** - *
-         * Git Git SHA of the KCL code repo.
-         * 
- * - * string git_sha = 3; - * - * @return The gitSha. - */ - java.lang.String getGitSha(); - - /** - *
-         * Git Git SHA of the KCL code repo.
-         * 
- * - * string git_sha = 3; - * - * @return The bytes for gitSha. - */ - com.google.protobuf.ByteString getGitShaBytes(); - - /** - *
-         * Detailed version information as a string.
-         * 
- * - * string version_info = 4; - * - * @return The versionInfo. - */ - java.lang.String getVersionInfo(); - - /** - *
-         * Detailed version information as a string.
-         * 
- * - * string version_info = 4; - * - * @return The bytes for versionInfo. - */ - com.google.protobuf.ByteString getVersionInfoBytes(); + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.LoadPackageArgs prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** *
-     * Message for version response.
+     * Message for load package request arguments.
      * 
* - * Protobuf type {@code com.kcl.api.GetVersion_Result} + * Protobuf type {@code com.kcl.api.LoadPackageArgs} */ - public static final class GetVersion_Result extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.GetVersion_Result) - GetVersion_ResultOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", GetVersion_Result.class.getName()); - } - - // Use GetVersion_Result.newBuilder() to construct. - private GetVersion_Result(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private GetVersion_Result() { - version_ = ""; - checksum_ = ""; - gitSha_ = ""; - versionInfo_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersion_Result_descriptor; - } + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadPackageArgs) + com.kcl.api.Spec.LoadPackageArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageArgs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LoadPackageArgs.class, com.kcl.api.Spec.LoadPackageArgs.Builder.class); + } + + // Construct using com.kcl.api.Spec.LoadPackageArgs.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + internalGetParseArgsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parseArgs_ = null; + if (parseArgsBuilder_ != null) { + parseArgsBuilder_.dispose(); + parseArgsBuilder_ = null; + } + resolveAst_ = false; + loadBuiltin_ = false; + withAstIndex_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageArgs_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.LoadPackageArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.LoadPackageArgs.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.LoadPackageArgs build() { + com.kcl.api.Spec.LoadPackageArgs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.LoadPackageArgs buildPartial() { + com.kcl.api.Spec.LoadPackageArgs result = new com.kcl.api.Spec.LoadPackageArgs(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.LoadPackageArgs result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parseArgs_ = parseArgsBuilder_ == null + ? parseArgs_ + : parseArgsBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.resolveAst_ = resolveAst_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.loadBuiltin_ = loadBuiltin_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.withAstIndex_ = withAstIndex_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.LoadPackageArgs) { + return mergeFrom((com.kcl.api.Spec.LoadPackageArgs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.LoadPackageArgs other) { + if (other == com.kcl.api.Spec.LoadPackageArgs.getDefaultInstance()) return this; + if (other.hasParseArgs()) { + mergeParseArgs(other.getParseArgs()); + } + if (other.getResolveAst() != false) { + setResolveAst(other.getResolveAst()); + } + if (other.getLoadBuiltin() != false) { + setLoadBuiltin(other.getLoadBuiltin()); + } + if (other.getWithAstIndex() != false) { + setWithAstIndex(other.getWithAstIndex()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + internalGetParseArgsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + resolveAst_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + loadBuiltin_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + withAstIndex_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.kcl.api.Spec.ParseProgramArgs parseArgs_; + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.ParseProgramArgs, com.kcl.api.Spec.ParseProgramArgs.Builder, com.kcl.api.Spec.ParseProgramArgsOrBuilder> parseArgsBuilder_; + /** + *
+       * Arguments for parsing the program.
+       * 
+ * + * .com.kcl.api.ParseProgramArgs parse_args = 1; + * @return Whether the parseArgs field is set. + */ + public boolean hasParseArgs() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+       * Arguments for parsing the program.
+       * 
+ * + * .com.kcl.api.ParseProgramArgs parse_args = 1; + * @return The parseArgs. + */ + public com.kcl.api.Spec.ParseProgramArgs getParseArgs() { + if (parseArgsBuilder_ == null) { + return parseArgs_ == null ? com.kcl.api.Spec.ParseProgramArgs.getDefaultInstance() : parseArgs_; + } else { + return parseArgsBuilder_.getMessage(); + } + } + /** + *
+       * Arguments for parsing the program.
+       * 
+ * + * .com.kcl.api.ParseProgramArgs parse_args = 1; + */ + public Builder setParseArgs(com.kcl.api.Spec.ParseProgramArgs value) { + if (parseArgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + parseArgs_ = value; + } else { + parseArgsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Arguments for parsing the program.
+       * 
+ * + * .com.kcl.api.ParseProgramArgs parse_args = 1; + */ + public Builder setParseArgs( + com.kcl.api.Spec.ParseProgramArgs.Builder builderForValue) { + if (parseArgsBuilder_ == null) { + parseArgs_ = builderForValue.build(); + } else { + parseArgsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Arguments for parsing the program.
+       * 
+ * + * .com.kcl.api.ParseProgramArgs parse_args = 1; + */ + public Builder mergeParseArgs(com.kcl.api.Spec.ParseProgramArgs value) { + if (parseArgsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + parseArgs_ != null && + parseArgs_ != com.kcl.api.Spec.ParseProgramArgs.getDefaultInstance()) { + getParseArgsBuilder().mergeFrom(value); + } else { + parseArgs_ = value; + } + } else { + parseArgsBuilder_.mergeFrom(value); + } + if (parseArgs_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + *
+       * Arguments for parsing the program.
+       * 
+ * + * .com.kcl.api.ParseProgramArgs parse_args = 1; + */ + public Builder clearParseArgs() { + bitField0_ = (bitField0_ & ~0x00000001); + parseArgs_ = null; + if (parseArgsBuilder_ != null) { + parseArgsBuilder_.dispose(); + parseArgsBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * Arguments for parsing the program.
+       * 
+ * + * .com.kcl.api.ParseProgramArgs parse_args = 1; + */ + public com.kcl.api.Spec.ParseProgramArgs.Builder getParseArgsBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetParseArgsFieldBuilder().getBuilder(); + } + /** + *
+       * Arguments for parsing the program.
+       * 
+ * + * .com.kcl.api.ParseProgramArgs parse_args = 1; + */ + public com.kcl.api.Spec.ParseProgramArgsOrBuilder getParseArgsOrBuilder() { + if (parseArgsBuilder_ != null) { + return parseArgsBuilder_.getMessageOrBuilder(); + } else { + return parseArgs_ == null ? + com.kcl.api.Spec.ParseProgramArgs.getDefaultInstance() : parseArgs_; + } + } + /** + *
+       * Arguments for parsing the program.
+       * 
+ * + * .com.kcl.api.ParseProgramArgs parse_args = 1; + */ + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.ParseProgramArgs, com.kcl.api.Spec.ParseProgramArgs.Builder, com.kcl.api.Spec.ParseProgramArgsOrBuilder> + internalGetParseArgsFieldBuilder() { + if (parseArgsBuilder_ == null) { + parseArgsBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.ParseProgramArgs, com.kcl.api.Spec.ParseProgramArgs.Builder, com.kcl.api.Spec.ParseProgramArgsOrBuilder>( + getParseArgs(), + getParentForChildren(), + isClean()); + parseArgs_ = null; + } + return parseArgsBuilder_; + } + + private boolean resolveAst_ ; + /** + *
+       * Flag indicating whether to resolve AST.
+       * 
+ * + * bool resolve_ast = 2; + * @return The resolveAst. + */ + @java.lang.Override + public boolean getResolveAst() { + return resolveAst_; + } + /** + *
+       * Flag indicating whether to resolve AST.
+       * 
+ * + * bool resolve_ast = 2; + * @param value The resolveAst to set. + * @return This builder for chaining. + */ + public Builder setResolveAst(boolean value) { + + resolveAst_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Flag indicating whether to resolve AST.
+       * 
+ * + * bool resolve_ast = 2; + * @return This builder for chaining. + */ + public Builder clearResolveAst() { + bitField0_ = (bitField0_ & ~0x00000002); + resolveAst_ = false; + onChanged(); + return this; + } + + private boolean loadBuiltin_ ; + /** + *
+       * Flag indicating whether to load built-in modules.
+       * 
+ * + * bool load_builtin = 3; + * @return The loadBuiltin. + */ + @java.lang.Override + public boolean getLoadBuiltin() { + return loadBuiltin_; + } + /** + *
+       * Flag indicating whether to load built-in modules.
+       * 
+ * + * bool load_builtin = 3; + * @param value The loadBuiltin to set. + * @return This builder for chaining. + */ + public Builder setLoadBuiltin(boolean value) { + + loadBuiltin_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Flag indicating whether to load built-in modules.
+       * 
+ * + * bool load_builtin = 3; + * @return This builder for chaining. + */ + public Builder clearLoadBuiltin() { + bitField0_ = (bitField0_ & ~0x00000004); + loadBuiltin_ = false; + onChanged(); + return this; + } + + private boolean withAstIndex_ ; + /** + *
+       * Flag indicating whether to include AST index.
+       * 
+ * + * bool with_ast_index = 4; + * @return The withAstIndex. + */ + @java.lang.Override + public boolean getWithAstIndex() { + return withAstIndex_; + } + /** + *
+       * Flag indicating whether to include AST index.
+       * 
+ * + * bool with_ast_index = 4; + * @param value The withAstIndex to set. + * @return This builder for chaining. + */ + public Builder setWithAstIndex(boolean value) { + + withAstIndex_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Flag indicating whether to include AST index.
+       * 
+ * + * bool with_ast_index = 4; + * @return This builder for chaining. + */ + public Builder clearWithAstIndex() { + bitField0_ = (bitField0_ & ~0x00000008); + withAstIndex_ = false; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadPackageArgs) + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersion_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.GetVersion_Result.class, - com.kcl.api.Spec.GetVersion_Result.Builder.class); - } - - public static final int VERSION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object version_ = ""; - - /** - *
-         * KCL version.
-         * 
- * - * string version = 1; - * - * @return The version. - */ - @java.lang.Override - public java.lang.String getVersion() { - java.lang.Object ref = version_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - version_ = s; - return s; - } - } + // @@protoc_insertion_point(class_scope:com.kcl.api.LoadPackageArgs) + private static final com.kcl.api.Spec.LoadPackageArgs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadPackageArgs(); + } - /** - *
-         * KCL version.
-         * 
- * - * string version = 1; - * - * @return The bytes for version. - */ - @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { - java.lang.Object ref = version_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - version_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static com.kcl.api.Spec.LoadPackageArgs getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static final int CHECKSUM_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object checksum_ = ""; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoadPackageArgs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - *
-         * Checksum of the KCL version.
-         * 
- * - * string checksum = 2; - * - * @return The checksum. - */ - @java.lang.Override - public java.lang.String getChecksum() { - java.lang.Object ref = checksum_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - checksum_ = s; - return s; - } - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-         * Checksum of the KCL version.
-         * 
- * - * string checksum = 2; - * - * @return The bytes for checksum. - */ - @java.lang.Override - public com.google.protobuf.ByteString getChecksumBytes() { - java.lang.Object ref = checksum_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - checksum_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public com.kcl.api.Spec.LoadPackageArgs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static final int GIT_SHA_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object gitSha_ = ""; + } - /** - *
-         * Git Git SHA of the KCL code repo.
-         * 
- * - * string git_sha = 3; - * - * @return The gitSha. - */ - @java.lang.Override - public java.lang.String getGitSha() { - java.lang.Object ref = gitSha_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - gitSha_ = s; - return s; - } - } + public interface LoadPackageResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadPackageResult) + com.google.protobuf.MessageOrBuilder { - /** - *
-         * Git Git SHA of the KCL code repo.
-         * 
- * - * string git_sha = 3; - * - * @return The bytes for gitSha. - */ - @java.lang.Override - public com.google.protobuf.ByteString getGitShaBytes() { - java.lang.Object ref = gitSha_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - gitSha_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + *
+     * Program Abstract Syntax Tree (AST) in JSON format.
+     * 
+ * + * string program = 1; + * @return The program. + */ + java.lang.String getProgram(); + /** + *
+     * Program Abstract Syntax Tree (AST) in JSON format.
+     * 
+ * + * string program = 1; + * @return The bytes for program. + */ + com.google.protobuf.ByteString + getProgramBytes(); - public static final int VERSION_INFO_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private volatile java.lang.Object versionInfo_ = ""; - - /** - *
-         * Detailed version information as a string.
-         * 
- * - * string version_info = 4; - * - * @return The versionInfo. - */ - @java.lang.Override - public java.lang.String getVersionInfo() { - java.lang.Object ref = versionInfo_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - versionInfo_ = s; - return s; - } - } - - /** - *
-         * Detailed version information as a string.
-         * 
- * - * string version_info = 4; - * - * @return The bytes for versionInfo. - */ - @java.lang.Override - public com.google.protobuf.ByteString getVersionInfoBytes() { - java.lang.Object ref = versionInfo_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - versionInfo_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(version_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, version_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(checksum_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, checksum_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(gitSha_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, gitSha_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(versionInfo_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 4, versionInfo_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(version_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, version_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(checksum_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, checksum_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(gitSha_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, gitSha_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(versionInfo_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(4, versionInfo_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.GetVersion_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.GetVersion_Result other = (com.kcl.api.Spec.GetVersion_Result) obj; - - if (!getVersion().equals(other.getVersion())) - return false; - if (!getChecksum().equals(other.getChecksum())) - return false; - if (!getGitSha().equals(other.getGitSha())) - return false; - if (!getVersionInfo().equals(other.getVersionInfo())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + VERSION_FIELD_NUMBER; - hash = (53 * hash) + getVersion().hashCode(); - hash = (37 * hash) + CHECKSUM_FIELD_NUMBER; - hash = (53 * hash) + getChecksum().hashCode(); - hash = (37 * hash) + GIT_SHA_FIELD_NUMBER; - hash = (53 * hash) + getGitSha().hashCode(); - hash = (37 * hash) + VERSION_INFO_FIELD_NUMBER; - hash = (53 * hash) + getVersionInfo().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.GetVersion_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetVersion_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetVersion_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetVersion_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetVersion_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetVersion_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetVersion_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetVersion_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.GetVersion_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetVersion_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.GetVersion_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetVersion_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.GetVersion_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for version response.
-         * 
- * - * Protobuf type {@code com.kcl.api.GetVersion_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.GetVersion_Result) - com.kcl.api.Spec.GetVersion_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersion_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersion_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.GetVersion_Result.class, - com.kcl.api.Spec.GetVersion_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.GetVersion_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - version_ = ""; - checksum_ = ""; - gitSha_ = ""; - versionInfo_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersion_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.GetVersion_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.GetVersion_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.GetVersion_Result build() { - com.kcl.api.Spec.GetVersion_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.GetVersion_Result buildPartial() { - com.kcl.api.Spec.GetVersion_Result result = new com.kcl.api.Spec.GetVersion_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.GetVersion_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.version_ = version_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.checksum_ = checksum_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.gitSha_ = gitSha_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.versionInfo_ = versionInfo_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.GetVersion_Result) { - return mergeFrom((com.kcl.api.Spec.GetVersion_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.GetVersion_Result other) { - if (other == com.kcl.api.Spec.GetVersion_Result.getDefaultInstance()) - return this; - if (!other.getVersion().isEmpty()) { - version_ = other.version_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getChecksum().isEmpty()) { - checksum_ = other.checksum_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.getGitSha().isEmpty()) { - gitSha_ = other.gitSha_; - bitField0_ |= 0x00000004; - onChanged(); - } - if (!other.getVersionInfo().isEmpty()) { - versionInfo_ = other.versionInfo_; - bitField0_ |= 0x00000008; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - checksum_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - gitSha_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - versionInfo_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object version_ = ""; - - /** - *
-             * KCL version.
-             * 
- * - * string version = 1; - * - * @return The version. - */ - public java.lang.String getVersion() { - java.lang.Object ref = version_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - version_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * KCL version.
-             * 
- * - * string version = 1; - * - * @return The bytes for version. - */ - public com.google.protobuf.ByteString getVersionBytes() { - java.lang.Object ref = version_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - version_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * KCL version.
-             * 
- * - * string version = 1; - * - * @param value - * The version to set. - * - * @return This builder for chaining. - */ - public Builder setVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - version_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * KCL version.
-             * 
- * - * string version = 1; - * - * @return This builder for chaining. - */ - public Builder clearVersion() { - version_ = getDefaultInstance().getVersion(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * KCL version.
-             * 
- * - * string version = 1; - * - * @param value - * The bytes for version to set. - * - * @return This builder for chaining. - */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - version_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object checksum_ = ""; - - /** - *
-             * Checksum of the KCL version.
-             * 
- * - * string checksum = 2; - * - * @return The checksum. - */ - public java.lang.String getChecksum() { - java.lang.Object ref = checksum_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - checksum_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Checksum of the KCL version.
-             * 
- * - * string checksum = 2; - * - * @return The bytes for checksum. - */ - public com.google.protobuf.ByteString getChecksumBytes() { - java.lang.Object ref = checksum_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - checksum_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Checksum of the KCL version.
-             * 
- * - * string checksum = 2; - * - * @param value - * The checksum to set. - * - * @return This builder for chaining. - */ - public Builder setChecksum(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - checksum_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Checksum of the KCL version.
-             * 
- * - * string checksum = 2; - * - * @return This builder for chaining. - */ - public Builder clearChecksum() { - checksum_ = getDefaultInstance().getChecksum(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - *
-             * Checksum of the KCL version.
-             * 
- * - * string checksum = 2; - * - * @param value - * The bytes for checksum to set. - * - * @return This builder for chaining. - */ - public Builder setChecksumBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - checksum_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.lang.Object gitSha_ = ""; - - /** - *
-             * Git Git SHA of the KCL code repo.
-             * 
- * - * string git_sha = 3; - * - * @return The gitSha. - */ - public java.lang.String getGitSha() { - java.lang.Object ref = gitSha_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - gitSha_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Git Git SHA of the KCL code repo.
-             * 
- * - * string git_sha = 3; - * - * @return The bytes for gitSha. - */ - public com.google.protobuf.ByteString getGitShaBytes() { - java.lang.Object ref = gitSha_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - gitSha_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Git Git SHA of the KCL code repo.
-             * 
- * - * string git_sha = 3; - * - * @param value - * The gitSha to set. - * - * @return This builder for chaining. - */ - public Builder setGitSha(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - gitSha_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * Git Git SHA of the KCL code repo.
-             * 
- * - * string git_sha = 3; - * - * @return This builder for chaining. - */ - public Builder clearGitSha() { - gitSha_ = getDefaultInstance().getGitSha(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - - /** - *
-             * Git Git SHA of the KCL code repo.
-             * 
- * - * string git_sha = 3; - * - * @param value - * The bytes for gitSha to set. - * - * @return This builder for chaining. - */ - public Builder setGitShaBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - gitSha_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - private java.lang.Object versionInfo_ = ""; - - /** - *
-             * Detailed version information as a string.
-             * 
- * - * string version_info = 4; - * - * @return The versionInfo. - */ - public java.lang.String getVersionInfo() { - java.lang.Object ref = versionInfo_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - versionInfo_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Detailed version information as a string.
-             * 
- * - * string version_info = 4; - * - * @return The bytes for versionInfo. - */ - public com.google.protobuf.ByteString getVersionInfoBytes() { - java.lang.Object ref = versionInfo_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - versionInfo_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Detailed version information as a string.
-             * 
- * - * string version_info = 4; - * - * @param value - * The versionInfo to set. - * - * @return This builder for chaining. - */ - public Builder setVersionInfo(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - versionInfo_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - - /** - *
-             * Detailed version information as a string.
-             * 
- * - * string version_info = 4; - * - * @return This builder for chaining. - */ - public Builder clearVersionInfo() { - versionInfo_ = getDefaultInstance().getVersionInfo(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } - - /** - *
-             * Detailed version information as a string.
-             * 
- * - * string version_info = 4; - * - * @param value - * The bytes for versionInfo to set. - * - * @return This builder for chaining. - */ - public Builder setVersionInfoBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - versionInfo_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.GetVersion_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.GetVersion_Result) - private static final com.kcl.api.Spec.GetVersion_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.GetVersion_Result(); - } - - public static com.kcl.api.Spec.GetVersion_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVersion_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.GetVersion_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ListMethod_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ListMethod_Args) - com.google.protobuf.MessageOrBuilder { - } - - /** - *
-     * Message for list method request arguments. Empty message.
-     * 
- * - * Protobuf type {@code com.kcl.api.ListMethod_Args} - */ - public static final class ListMethod_Args extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ListMethod_Args) - ListMethod_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", ListMethod_Args.class.getName()); - } - - // Use ListMethod_Args.newBuilder() to construct. - private ListMethod_Args(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ListMethod_Args() { - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListMethod_Args.class, - com.kcl.api.Spec.ListMethod_Args.Builder.class); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ListMethod_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.ListMethod_Args other = (com.kcl.api.Spec.ListMethod_Args) obj; - - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ListMethod_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListMethod_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListMethod_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListMethod_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListMethod_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListMethod_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListMethod_Args parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListMethod_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ListMethod_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListMethod_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ListMethod_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListMethod_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ListMethod_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for list method request arguments. Empty message.
-         * 
- * - * Protobuf type {@code com.kcl.api.ListMethod_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ListMethod_Args) - com.kcl.api.Spec.ListMethod_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListMethod_Args.class, - com.kcl.api.Spec.ListMethod_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.ListMethod_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ListMethod_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ListMethod_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ListMethod_Args build() { - com.kcl.api.Spec.ListMethod_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ListMethod_Args buildPartial() { - com.kcl.api.Spec.ListMethod_Args result = new com.kcl.api.Spec.ListMethod_Args(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ListMethod_Args) { - return mergeFrom((com.kcl.api.Spec.ListMethod_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ListMethod_Args other) { - if (other == com.kcl.api.Spec.ListMethod_Args.getDefaultInstance()) - return this; - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ListMethod_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ListMethod_Args) - private static final com.kcl.api.Spec.ListMethod_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ListMethod_Args(); - } - - public static com.kcl.api.Spec.ListMethod_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMethod_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ListMethod_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ListMethod_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ListMethod_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * List of available method names.
-         * 
- * - * repeated string method_name_list = 1; - * - * @return A list containing the methodNameList. - */ - java.util.List getMethodNameListList(); - - /** - *
-         * List of available method names.
-         * 
- * - * repeated string method_name_list = 1; - * - * @return The count of methodNameList. - */ - int getMethodNameListCount(); - - /** - *
-         * List of available method names.
-         * 
- * - * repeated string method_name_list = 1; - * - * @param index - * The index of the element to return. - * - * @return The methodNameList at the given index. - */ - java.lang.String getMethodNameList(int index); - - /** - *
-         * List of available method names.
-         * 
- * - * repeated string method_name_list = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the methodNameList at the given index. - */ - com.google.protobuf.ByteString getMethodNameListBytes(int index); - } - - /** - *
-     * Message for list method response.
-     * 
- * - * Protobuf type {@code com.kcl.api.ListMethod_Result} - */ - public static final class ListMethod_Result extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ListMethod_Result) - ListMethod_ResultOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", ListMethod_Result.class.getName()); - } - - // Use ListMethod_Result.newBuilder() to construct. - private ListMethod_Result(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ListMethod_Result() { - methodNameList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListMethod_Result.class, - com.kcl.api.Spec.ListMethod_Result.Builder.class); - } - - public static final int METHOD_NAME_LIST_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList methodNameList_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - *
-         * List of available method names.
-         * 
- * - * repeated string method_name_list = 1; - * - * @return A list containing the methodNameList. - */ - public com.google.protobuf.ProtocolStringList getMethodNameListList() { - return methodNameList_; - } - - /** - *
-         * List of available method names.
-         * 
- * - * repeated string method_name_list = 1; - * - * @return The count of methodNameList. - */ - public int getMethodNameListCount() { - return methodNameList_.size(); - } - - /** - *
-         * List of available method names.
-         * 
- * - * repeated string method_name_list = 1; - * - * @param index - * The index of the element to return. - * - * @return The methodNameList at the given index. - */ - public java.lang.String getMethodNameList(int index) { - return methodNameList_.get(index); - } - - /** - *
-         * List of available method names.
-         * 
- * - * repeated string method_name_list = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the methodNameList at the given index. - */ - public com.google.protobuf.ByteString getMethodNameListBytes(int index) { - return methodNameList_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < methodNameList_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, methodNameList_.getRaw(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < methodNameList_.size(); i++) { - dataSize += computeStringSizeNoTag(methodNameList_.getRaw(i)); - } - size += dataSize; - size += 1 * getMethodNameListList().size(); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ListMethod_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.ListMethod_Result other = (com.kcl.api.Spec.ListMethod_Result) obj; - - if (!getMethodNameListList().equals(other.getMethodNameListList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getMethodNameListCount() > 0) { - hash = (37 * hash) + METHOD_NAME_LIST_FIELD_NUMBER; - hash = (53 * hash) + getMethodNameListList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ListMethod_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListMethod_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListMethod_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListMethod_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListMethod_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListMethod_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListMethod_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListMethod_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ListMethod_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListMethod_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ListMethod_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListMethod_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ListMethod_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for list method response.
-         * 
- * - * Protobuf type {@code com.kcl.api.ListMethod_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ListMethod_Result) - com.kcl.api.Spec.ListMethod_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListMethod_Result.class, - com.kcl.api.Spec.ListMethod_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.ListMethod_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - methodNameList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ListMethod_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ListMethod_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ListMethod_Result build() { - com.kcl.api.Spec.ListMethod_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ListMethod_Result buildPartial() { - com.kcl.api.Spec.ListMethod_Result result = new com.kcl.api.Spec.ListMethod_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.ListMethod_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - methodNameList_.makeImmutable(); - result.methodNameList_ = methodNameList_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ListMethod_Result) { - return mergeFrom((com.kcl.api.Spec.ListMethod_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ListMethod_Result other) { - if (other == com.kcl.api.Spec.ListMethod_Result.getDefaultInstance()) - return this; - if (!other.methodNameList_.isEmpty()) { - if (methodNameList_.isEmpty()) { - methodNameList_ = other.methodNameList_; - bitField0_ |= 0x00000001; - } else { - ensureMethodNameListIsMutable(); - methodNameList_.addAll(other.methodNameList_); - } - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureMethodNameListIsMutable(); - methodNameList_.add(s); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.google.protobuf.LazyStringArrayList methodNameList_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureMethodNameListIsMutable() { - if (!methodNameList_.isModifiable()) { - methodNameList_ = new com.google.protobuf.LazyStringArrayList(methodNameList_); - } - bitField0_ |= 0x00000001; - } - - /** - *
-             * List of available method names.
-             * 
- * - * repeated string method_name_list = 1; - * - * @return A list containing the methodNameList. - */ - public com.google.protobuf.ProtocolStringList getMethodNameListList() { - methodNameList_.makeImmutable(); - return methodNameList_; - } - - /** - *
-             * List of available method names.
-             * 
- * - * repeated string method_name_list = 1; - * - * @return The count of methodNameList. - */ - public int getMethodNameListCount() { - return methodNameList_.size(); - } - - /** - *
-             * List of available method names.
-             * 
- * - * repeated string method_name_list = 1; - * - * @param index - * The index of the element to return. - * - * @return The methodNameList at the given index. - */ - public java.lang.String getMethodNameList(int index) { - return methodNameList_.get(index); - } - - /** - *
-             * List of available method names.
-             * 
- * - * repeated string method_name_list = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the methodNameList at the given index. - */ - public com.google.protobuf.ByteString getMethodNameListBytes(int index) { - return methodNameList_.getByteString(index); - } - - /** - *
-             * List of available method names.
-             * 
- * - * repeated string method_name_list = 1; - * - * @param index - * The index to set the value at. - * @param value - * The methodNameList to set. - * - * @return This builder for chaining. - */ - public Builder setMethodNameList(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureMethodNameListIsMutable(); - methodNameList_.set(index, value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * List of available method names.
-             * 
- * - * repeated string method_name_list = 1; - * - * @param value - * The methodNameList to add. - * - * @return This builder for chaining. - */ - public Builder addMethodNameList(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureMethodNameListIsMutable(); - methodNameList_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * List of available method names.
-             * 
- * - * repeated string method_name_list = 1; - * - * @param values - * The methodNameList to add. - * - * @return This builder for chaining. - */ - public Builder addAllMethodNameList(java.lang.Iterable values) { - ensureMethodNameListIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, methodNameList_); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * List of available method names.
-             * 
- * - * repeated string method_name_list = 1; - * - * @return This builder for chaining. - */ - public Builder clearMethodNameList() { - methodNameList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; - onChanged(); - return this; - } - - /** - *
-             * List of available method names.
-             * 
- * - * repeated string method_name_list = 1; - * - * @param value - * The bytes of the methodNameList to add. - * - * @return This builder for chaining. - */ - public Builder addMethodNameListBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureMethodNameListIsMutable(); - methodNameList_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ListMethod_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ListMethod_Result) - private static final com.kcl.api.Spec.ListMethod_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ListMethod_Result(); - } - - public static com.kcl.api.Spec.ListMethod_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMethod_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ListMethod_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ParseFile_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseFile_Args) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Path of the file to be parsed.
-         * 
- * - * string path = 1; - * - * @return The path. - */ - java.lang.String getPath(); - - /** - *
-         * Path of the file to be parsed.
-         * 
- * - * string path = 1; - * - * @return The bytes for path. - */ - com.google.protobuf.ByteString getPathBytes(); - - /** - *
-         * Source code to be parsed.
-         * 
- * - * string source = 2; - * - * @return The source. - */ - java.lang.String getSource(); - - /** - *
-         * Source code to be parsed.
-         * 
- * - * string source = 2; - * - * @return The bytes for source. - */ - com.google.protobuf.ByteString getSourceBytes(); - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - java.util.List getExternalPkgsList(); - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index); - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - int getExternalPkgsCount(); - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - java.util.List getExternalPkgsOrBuilderList(); - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder(int index); - } - - /** - *
-     * Message for parse file request arguments.
-     * 
- * - * Protobuf type {@code com.kcl.api.ParseFile_Args} - */ - public static final class ParseFile_Args extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ParseFile_Args) - ParseFile_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", ParseFile_Args.class.getName()); - } - - // Use ParseFile_Args.newBuilder() to construct. - private ParseFile_Args(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ParseFile_Args() { - path_ = ""; - source_ = ""; - externalPkgs_ = java.util.Collections.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ParseFile_Args.class, - com.kcl.api.Spec.ParseFile_Args.Builder.class); - } - - public static final int PATH_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object path_ = ""; - - /** - *
-         * Path of the file to be parsed.
-         * 
- * - * string path = 1; - * - * @return The path. - */ - @java.lang.Override - public java.lang.String getPath() { - java.lang.Object ref = path_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - path_ = s; - return s; - } - } - - /** - *
-         * Path of the file to be parsed.
-         * 
- * - * string path = 1; - * - * @return The bytes for path. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { - java.lang.Object ref = path_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - path_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SOURCE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object source_ = ""; - - /** - *
-         * Source code to be parsed.
-         * 
- * - * string source = 2; - * - * @return The source. - */ - @java.lang.Override - public java.lang.String getSource() { - java.lang.Object ref = source_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - source_ = s; - return s; - } - } - - /** - *
-         * Source code to be parsed.
-         * 
- * - * string source = 2; - * - * @return The bytes for source. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSourceBytes() { - java.lang.Object ref = source_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - source_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int EXTERNAL_PKGS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private java.util.List externalPkgs_; - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - @java.lang.Override - public java.util.List getExternalPkgsList() { - return externalPkgs_; - } - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - @java.lang.Override - public java.util.List getExternalPkgsOrBuilderList() { - return externalPkgs_; - } - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - @java.lang.Override - public int getExternalPkgsCount() { - return externalPkgs_.size(); - } - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index) { - return externalPkgs_.get(index); - } - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder(int index) { - return externalPkgs_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(path_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, path_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(source_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, source_); - } - for (int i = 0; i < externalPkgs_.size(); i++) { - output.writeMessage(3, externalPkgs_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(path_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, path_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(source_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, source_); - } - for (int i = 0; i < externalPkgs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, externalPkgs_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ParseFile_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.ParseFile_Args other = (com.kcl.api.Spec.ParseFile_Args) obj; - - if (!getPath().equals(other.getPath())) - return false; - if (!getSource().equals(other.getSource())) - return false; - if (!getExternalPkgsList().equals(other.getExternalPkgsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PATH_FIELD_NUMBER; - hash = (53 * hash) + getPath().hashCode(); - hash = (37 * hash) + SOURCE_FIELD_NUMBER; - hash = (53 * hash) + getSource().hashCode(); - if (getExternalPkgsCount() > 0) { - hash = (37 * hash) + EXTERNAL_PKGS_FIELD_NUMBER; - hash = (53 * hash) + getExternalPkgsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ParseFile_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseFile_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseFile_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseFile_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseFile_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseFile_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseFile_Args parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseFile_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseFile_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseFile_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseFile_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseFile_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ParseFile_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for parse file request arguments.
-         * 
- * - * Protobuf type {@code com.kcl.api.ParseFile_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseFile_Args) - com.kcl.api.Spec.ParseFile_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ParseFile_Args.class, - com.kcl.api.Spec.ParseFile_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.ParseFile_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - path_ = ""; - source_ = ""; - if (externalPkgsBuilder_ == null) { - externalPkgs_ = java.util.Collections.emptyList(); - } else { - externalPkgs_ = null; - externalPkgsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseFile_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ParseFile_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ParseFile_Args build() { - com.kcl.api.Spec.ParseFile_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseFile_Args buildPartial() { - com.kcl.api.Spec.ParseFile_Args result = new com.kcl.api.Spec.ParseFile_Args(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseFile_Args result) { - if (externalPkgsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - externalPkgs_ = java.util.Collections.unmodifiableList(externalPkgs_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.externalPkgs_ = externalPkgs_; - } else { - result.externalPkgs_ = externalPkgsBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.ParseFile_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.path_ = path_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.source_ = source_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ParseFile_Args) { - return mergeFrom((com.kcl.api.Spec.ParseFile_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ParseFile_Args other) { - if (other == com.kcl.api.Spec.ParseFile_Args.getDefaultInstance()) - return this; - if (!other.getPath().isEmpty()) { - path_ = other.path_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getSource().isEmpty()) { - source_ = other.source_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (externalPkgsBuilder_ == null) { - if (!other.externalPkgs_.isEmpty()) { - if (externalPkgs_.isEmpty()) { - externalPkgs_ = other.externalPkgs_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureExternalPkgsIsMutable(); - externalPkgs_.addAll(other.externalPkgs_); - } - onChanged(); - } - } else { - if (!other.externalPkgs_.isEmpty()) { - if (externalPkgsBuilder_.isEmpty()) { - externalPkgsBuilder_.dispose(); - externalPkgsBuilder_ = null; - externalPkgs_ = other.externalPkgs_; - bitField0_ = (bitField0_ & ~0x00000004); - externalPkgsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getExternalPkgsFieldBuilder() : null; - } else { - externalPkgsBuilder_.addAllMessages(other.externalPkgs_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - path_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - source_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - com.kcl.api.Spec.ExternalPkg m = input.readMessage(com.kcl.api.Spec.ExternalPkg.parser(), - extensionRegistry); - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(m); - } else { - externalPkgsBuilder_.addMessage(m); - } - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object path_ = ""; - - /** - *
-             * Path of the file to be parsed.
-             * 
- * - * string path = 1; - * - * @return The path. - */ - public java.lang.String getPath() { - java.lang.Object ref = path_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - path_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Path of the file to be parsed.
-             * 
- * - * string path = 1; - * - * @return The bytes for path. - */ - public com.google.protobuf.ByteString getPathBytes() { - java.lang.Object ref = path_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - path_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Path of the file to be parsed.
-             * 
- * - * string path = 1; - * - * @param value - * The path to set. - * - * @return This builder for chaining. - */ - public Builder setPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - path_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Path of the file to be parsed.
-             * 
- * - * string path = 1; - * - * @return This builder for chaining. - */ - public Builder clearPath() { - path_ = getDefaultInstance().getPath(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * Path of the file to be parsed.
-             * 
- * - * string path = 1; - * - * @param value - * The bytes for path to set. - * - * @return This builder for chaining. - */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - path_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object source_ = ""; - - /** - *
-             * Source code to be parsed.
-             * 
- * - * string source = 2; - * - * @return The source. - */ - public java.lang.String getSource() { - java.lang.Object ref = source_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - source_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Source code to be parsed.
-             * 
- * - * string source = 2; - * - * @return The bytes for source. - */ - public com.google.protobuf.ByteString getSourceBytes() { - java.lang.Object ref = source_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - source_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Source code to be parsed.
-             * 
- * - * string source = 2; - * - * @param value - * The source to set. - * - * @return This builder for chaining. - */ - public Builder setSource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - source_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Source code to be parsed.
-             * 
- * - * string source = 2; - * - * @return This builder for chaining. - */ - public Builder clearSource() { - source_ = getDefaultInstance().getSource(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - *
-             * Source code to be parsed.
-             * 
- * - * string source = 2; - * - * @param value - * The bytes for source to set. - * - * @return This builder for chaining. - */ - public Builder setSourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - source_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.util.List externalPkgs_ = java.util.Collections.emptyList(); - - private void ensureExternalPkgsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - externalPkgs_ = new java.util.ArrayList(externalPkgs_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilder externalPkgsBuilder_; - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public java.util.List getExternalPkgsList() { - if (externalPkgsBuilder_ == null) { - return java.util.Collections.unmodifiableList(externalPkgs_); - } else { - return externalPkgsBuilder_.getMessageList(); - } - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public int getExternalPkgsCount() { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.size(); - } else { - return externalPkgsBuilder_.getCount(); - } - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index) { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.get(index); - } else { - return externalPkgsBuilder_.getMessage(index); - } - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder setExternalPkgs(int index, com.kcl.api.Spec.ExternalPkg value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.set(index, value); - onChanged(); - } else { - externalPkgsBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder setExternalPkgs(int index, com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.set(index, builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder addExternalPkgs(com.kcl.api.Spec.ExternalPkg value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.add(value); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder addExternalPkgs(int index, com.kcl.api.Spec.ExternalPkg value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.add(index, value); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder addExternalPkgs(com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder addExternalPkgs(int index, com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(index, builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder addAllExternalPkgs(java.lang.Iterable values) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, externalPkgs_); - onChanged(); - } else { - externalPkgsBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder clearExternalPkgs() { - if (externalPkgsBuilder_ == null) { - externalPkgs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - externalPkgsBuilder_.clear(); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder removeExternalPkgs(int index) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.remove(index); - onChanged(); - } else { - externalPkgsBuilder_.remove(index); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public com.kcl.api.Spec.ExternalPkg.Builder getExternalPkgsBuilder(int index) { - return getExternalPkgsFieldBuilder().getBuilder(index); - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder(int index) { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.get(index); - } else { - return externalPkgsBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public java.util.List getExternalPkgsOrBuilderList() { - if (externalPkgsBuilder_ != null) { - return externalPkgsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(externalPkgs_); - } - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder() { - return getExternalPkgsFieldBuilder().addBuilder(com.kcl.api.Spec.ExternalPkg.getDefaultInstance()); - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder(int index) { - return getExternalPkgsFieldBuilder().addBuilder(index, - com.kcl.api.Spec.ExternalPkg.getDefaultInstance()); - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public java.util.List getExternalPkgsBuilderList() { - return getExternalPkgsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder getExternalPkgsFieldBuilder() { - if (externalPkgsBuilder_ == null) { - externalPkgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - externalPkgs_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); - externalPkgs_ = null; - } - return externalPkgsBuilder_; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseFile_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ParseFile_Args) - private static final com.kcl.api.Spec.ParseFile_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseFile_Args(); - } - - public static com.kcl.api.Spec.ParseFile_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ParseFile_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseFile_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ParseFile_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseFile_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Abstract Syntax Tree (AST) in JSON format.
-         * 
- * - * string ast_json = 1; - * - * @return The astJson. - */ - java.lang.String getAstJson(); - - /** - *
-         * Abstract Syntax Tree (AST) in JSON format.
-         * 
- * - * string ast_json = 1; - * - * @return The bytes for astJson. - */ - com.google.protobuf.ByteString getAstJsonBytes(); - - /** - *
-         * File dependency paths.
-         * 
- * - * repeated string deps = 2; - * - * @return A list containing the deps. - */ - java.util.List getDepsList(); - - /** - *
-         * File dependency paths.
-         * 
- * - * repeated string deps = 2; - * - * @return The count of deps. - */ - int getDepsCount(); - - /** - *
-         * File dependency paths.
-         * 
- * - * repeated string deps = 2; - * - * @param index - * The index of the element to return. - * - * @return The deps at the given index. - */ - java.lang.String getDeps(int index); - - /** - *
-         * File dependency paths.
-         * 
- * - * repeated string deps = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the deps at the given index. - */ - com.google.protobuf.ByteString getDepsBytes(int index); - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - java.util.List getErrorsList(); - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - com.kcl.api.Spec.Error getErrors(int index); - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - int getErrorsCount(); - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - java.util.List getErrorsOrBuilderList(); - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder(int index); - } - - /** - *
-     * Message for parse file response.
-     * 
- * - * Protobuf type {@code com.kcl.api.ParseFile_Result} - */ - public static final class ParseFile_Result extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ParseFile_Result) - ParseFile_ResultOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", ParseFile_Result.class.getName()); - } - - // Use ParseFile_Result.newBuilder() to construct. - private ParseFile_Result(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ParseFile_Result() { - astJson_ = ""; - deps_ = com.google.protobuf.LazyStringArrayList.emptyList(); - errors_ = java.util.Collections.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ParseFile_Result.class, - com.kcl.api.Spec.ParseFile_Result.Builder.class); - } - - public static final int AST_JSON_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object astJson_ = ""; - - /** - *
-         * Abstract Syntax Tree (AST) in JSON format.
-         * 
- * - * string ast_json = 1; - * - * @return The astJson. - */ - @java.lang.Override - public java.lang.String getAstJson() { - java.lang.Object ref = astJson_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - astJson_ = s; - return s; - } - } - - /** - *
-         * Abstract Syntax Tree (AST) in JSON format.
-         * 
- * - * string ast_json = 1; - * - * @return The bytes for astJson. - */ - @java.lang.Override - public com.google.protobuf.ByteString getAstJsonBytes() { - java.lang.Object ref = astJson_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - astJson_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DEPS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList deps_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - *
-         * File dependency paths.
-         * 
- * - * repeated string deps = 2; - * - * @return A list containing the deps. - */ - public com.google.protobuf.ProtocolStringList getDepsList() { - return deps_; - } - - /** - *
-         * File dependency paths.
-         * 
- * - * repeated string deps = 2; - * - * @return The count of deps. - */ - public int getDepsCount() { - return deps_.size(); - } - - /** - *
-         * File dependency paths.
-         * 
- * - * repeated string deps = 2; - * - * @param index - * The index of the element to return. - * - * @return The deps at the given index. - */ - public java.lang.String getDeps(int index) { - return deps_.get(index); - } - - /** - *
-         * File dependency paths.
-         * 
- * - * repeated string deps = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the deps at the given index. - */ - public com.google.protobuf.ByteString getDepsBytes(int index) { - return deps_.getByteString(index); - } - - public static final int ERRORS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private java.util.List errors_; - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - @java.lang.Override - public java.util.List getErrorsList() { - return errors_; - } - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - @java.lang.Override - public java.util.List getErrorsOrBuilderList() { - return errors_; - } - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - @java.lang.Override - public int getErrorsCount() { - return errors_.size(); - } - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.Error getErrors(int index) { - return errors_.get(index); - } - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder(int index) { - return errors_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(astJson_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, astJson_); - } - for (int i = 0; i < deps_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, deps_.getRaw(i)); - } - for (int i = 0; i < errors_.size(); i++) { - output.writeMessage(3, errors_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(astJson_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, astJson_); - } - { - int dataSize = 0; - for (int i = 0; i < deps_.size(); i++) { - dataSize += computeStringSizeNoTag(deps_.getRaw(i)); - } - size += dataSize; - size += 1 * getDepsList().size(); - } - for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, errors_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ParseFile_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.ParseFile_Result other = (com.kcl.api.Spec.ParseFile_Result) obj; - - if (!getAstJson().equals(other.getAstJson())) - return false; - if (!getDepsList().equals(other.getDepsList())) - return false; - if (!getErrorsList().equals(other.getErrorsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + AST_JSON_FIELD_NUMBER; - hash = (53 * hash) + getAstJson().hashCode(); - if (getDepsCount() > 0) { - hash = (37 * hash) + DEPS_FIELD_NUMBER; - hash = (53 * hash) + getDepsList().hashCode(); - } - if (getErrorsCount() > 0) { - hash = (37 * hash) + ERRORS_FIELD_NUMBER; - hash = (53 * hash) + getErrorsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ParseFile_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseFile_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseFile_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseFile_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseFile_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseFile_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseFile_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseFile_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseFile_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseFile_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseFile_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseFile_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ParseFile_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for parse file response.
-         * 
- * - * Protobuf type {@code com.kcl.api.ParseFile_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseFile_Result) - com.kcl.api.Spec.ParseFile_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ParseFile_Result.class, - com.kcl.api.Spec.ParseFile_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.ParseFile_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - astJson_ = ""; - deps_ = com.google.protobuf.LazyStringArrayList.emptyList(); - if (errorsBuilder_ == null) { - errors_ = java.util.Collections.emptyList(); - } else { - errors_ = null; - errorsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseFile_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ParseFile_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ParseFile_Result build() { - com.kcl.api.Spec.ParseFile_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseFile_Result buildPartial() { - com.kcl.api.Spec.ParseFile_Result result = new com.kcl.api.Spec.ParseFile_Result(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseFile_Result result) { - if (errorsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - errors_ = java.util.Collections.unmodifiableList(errors_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.errors_ = errors_; - } else { - result.errors_ = errorsBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.ParseFile_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.astJson_ = astJson_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - deps_.makeImmutable(); - result.deps_ = deps_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ParseFile_Result) { - return mergeFrom((com.kcl.api.Spec.ParseFile_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ParseFile_Result other) { - if (other == com.kcl.api.Spec.ParseFile_Result.getDefaultInstance()) - return this; - if (!other.getAstJson().isEmpty()) { - astJson_ = other.astJson_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.deps_.isEmpty()) { - if (deps_.isEmpty()) { - deps_ = other.deps_; - bitField0_ |= 0x00000002; - } else { - ensureDepsIsMutable(); - deps_.addAll(other.deps_); - } - onChanged(); - } - if (errorsBuilder_ == null) { - if (!other.errors_.isEmpty()) { - if (errors_.isEmpty()) { - errors_ = other.errors_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureErrorsIsMutable(); - errors_.addAll(other.errors_); - } - onChanged(); - } - } else { - if (!other.errors_.isEmpty()) { - if (errorsBuilder_.isEmpty()) { - errorsBuilder_.dispose(); - errorsBuilder_ = null; - errors_ = other.errors_; - bitField0_ = (bitField0_ & ~0x00000004); - errorsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() : null; - } else { - errorsBuilder_.addAllMessages(other.errors_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - astJson_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureDepsIsMutable(); - deps_.add(s); - break; - } // case 18 - case 26: { - com.kcl.api.Spec.Error m = input.readMessage(com.kcl.api.Spec.Error.parser(), - extensionRegistry); - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(m); - } else { - errorsBuilder_.addMessage(m); - } - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object astJson_ = ""; - - /** - *
-             * Abstract Syntax Tree (AST) in JSON format.
-             * 
- * - * string ast_json = 1; - * - * @return The astJson. - */ - public java.lang.String getAstJson() { - java.lang.Object ref = astJson_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - astJson_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Abstract Syntax Tree (AST) in JSON format.
-             * 
- * - * string ast_json = 1; - * - * @return The bytes for astJson. - */ - public com.google.protobuf.ByteString getAstJsonBytes() { - java.lang.Object ref = astJson_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - astJson_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Abstract Syntax Tree (AST) in JSON format.
-             * 
- * - * string ast_json = 1; - * - * @param value - * The astJson to set. - * - * @return This builder for chaining. - */ - public Builder setAstJson(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - astJson_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Abstract Syntax Tree (AST) in JSON format.
-             * 
- * - * string ast_json = 1; - * - * @return This builder for chaining. - */ - public Builder clearAstJson() { - astJson_ = getDefaultInstance().getAstJson(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * Abstract Syntax Tree (AST) in JSON format.
-             * 
- * - * string ast_json = 1; - * - * @param value - * The bytes for astJson to set. - * - * @return This builder for chaining. - */ - public Builder setAstJsonBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - astJson_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList deps_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - private void ensureDepsIsMutable() { - if (!deps_.isModifiable()) { - deps_ = new com.google.protobuf.LazyStringArrayList(deps_); - } - bitField0_ |= 0x00000002; - } - - /** - *
-             * File dependency paths.
-             * 
- * - * repeated string deps = 2; - * - * @return A list containing the deps. - */ - public com.google.protobuf.ProtocolStringList getDepsList() { - deps_.makeImmutable(); - return deps_; - } - - /** - *
-             * File dependency paths.
-             * 
- * - * repeated string deps = 2; - * - * @return The count of deps. - */ - public int getDepsCount() { - return deps_.size(); - } - - /** - *
-             * File dependency paths.
-             * 
- * - * repeated string deps = 2; - * - * @param index - * The index of the element to return. - * - * @return The deps at the given index. - */ - public java.lang.String getDeps(int index) { - return deps_.get(index); - } - - /** - *
-             * File dependency paths.
-             * 
- * - * repeated string deps = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the deps at the given index. - */ - public com.google.protobuf.ByteString getDepsBytes(int index) { - return deps_.getByteString(index); - } - - /** - *
-             * File dependency paths.
-             * 
- * - * repeated string deps = 2; - * - * @param index - * The index to set the value at. - * @param value - * The deps to set. - * - * @return This builder for chaining. - */ - public Builder setDeps(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDepsIsMutable(); - deps_.set(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * File dependency paths.
-             * 
- * - * repeated string deps = 2; - * - * @param value - * The deps to add. - * - * @return This builder for chaining. - */ - public Builder addDeps(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDepsIsMutable(); - deps_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * File dependency paths.
-             * 
- * - * repeated string deps = 2; - * - * @param values - * The deps to add. - * - * @return This builder for chaining. - */ - public Builder addAllDeps(java.lang.Iterable values) { - ensureDepsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deps_); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * File dependency paths.
-             * 
- * - * repeated string deps = 2; - * - * @return This builder for chaining. - */ - public Builder clearDeps() { - deps_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; - onChanged(); - return this; - } - - /** - *
-             * File dependency paths.
-             * 
- * - * repeated string deps = 2; - * - * @param value - * The bytes of the deps to add. - * - * @return This builder for chaining. - */ - public Builder addDepsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureDepsIsMutable(); - deps_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.util.List errors_ = java.util.Collections.emptyList(); - - private void ensureErrorsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - errors_ = new java.util.ArrayList(errors_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilder errorsBuilder_; - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public java.util.List getErrorsList() { - if (errorsBuilder_ == null) { - return java.util.Collections.unmodifiableList(errors_); - } else { - return errorsBuilder_.getMessageList(); - } - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public int getErrorsCount() { - if (errorsBuilder_ == null) { - return errors_.size(); - } else { - return errorsBuilder_.getCount(); - } - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public com.kcl.api.Spec.Error getErrors(int index) { - if (errorsBuilder_ == null) { - return errors_.get(index); - } else { - return errorsBuilder_.getMessage(index); - } - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder setErrors(int index, com.kcl.api.Spec.Error value) { - if (errorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureErrorsIsMutable(); - errors_.set(index, value); - onChanged(); - } else { - errorsBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder setErrors(int index, com.kcl.api.Spec.Error.Builder builderForValue) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.set(index, builderForValue.build()); - onChanged(); - } else { - errorsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder addErrors(com.kcl.api.Spec.Error value) { - if (errorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureErrorsIsMutable(); - errors_.add(value); - onChanged(); - } else { - errorsBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder addErrors(int index, com.kcl.api.Spec.Error value) { - if (errorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureErrorsIsMutable(); - errors_.add(index, value); - onChanged(); - } else { - errorsBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder addErrors(com.kcl.api.Spec.Error.Builder builderForValue) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(builderForValue.build()); - onChanged(); - } else { - errorsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder addErrors(int index, com.kcl.api.Spec.Error.Builder builderForValue) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(index, builderForValue.build()); - onChanged(); - } else { - errorsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder addAllErrors(java.lang.Iterable values) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); - onChanged(); - } else { - errorsBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder clearErrors() { - if (errorsBuilder_ == null) { - errors_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - errorsBuilder_.clear(); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder removeErrors(int index) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.remove(index); - onChanged(); - } else { - errorsBuilder_.remove(index); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public com.kcl.api.Spec.Error.Builder getErrorsBuilder(int index) { - return getErrorsFieldBuilder().getBuilder(index); - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder(int index) { - if (errorsBuilder_ == null) { - return errors_.get(index); - } else { - return errorsBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public java.util.List getErrorsOrBuilderList() { - if (errorsBuilder_ != null) { - return errorsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(errors_); - } - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public com.kcl.api.Spec.Error.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder(com.kcl.api.Spec.Error.getDefaultInstance()); - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public com.kcl.api.Spec.Error.Builder addErrorsBuilder(int index) { - return getErrorsFieldBuilder().addBuilder(index, com.kcl.api.Spec.Error.getDefaultInstance()); - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public java.util.List getErrorsBuilderList() { - return getErrorsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder getErrorsFieldBuilder() { - if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - errors_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); - errors_ = null; - } - return errorsBuilder_; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseFile_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ParseFile_Result) - private static final com.kcl.api.Spec.ParseFile_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseFile_Result(); - } - - public static com.kcl.api.Spec.ParseFile_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ParseFile_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseFile_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ParseProgram_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseProgram_Args) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Paths of the program files to be parsed.
-         * 
- * - * repeated string paths = 1; - * - * @return A list containing the paths. - */ - java.util.List getPathsList(); - - /** - *
-         * Paths of the program files to be parsed.
-         * 
- * - * repeated string paths = 1; - * - * @return The count of paths. - */ - int getPathsCount(); - - /** - *
-         * Paths of the program files to be parsed.
-         * 
- * - * repeated string paths = 1; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - java.lang.String getPaths(int index); - - /** - *
-         * Paths of the program files to be parsed.
-         * 
- * - * repeated string paths = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - com.google.protobuf.ByteString getPathsBytes(int index); - - /** - *
-         * Source codes to be parsed.
-         * 
- * - * repeated string sources = 2; - * - * @return A list containing the sources. - */ - java.util.List getSourcesList(); - - /** - *
-         * Source codes to be parsed.
-         * 
- * - * repeated string sources = 2; - * - * @return The count of sources. - */ - int getSourcesCount(); - - /** - *
-         * Source codes to be parsed.
-         * 
- * - * repeated string sources = 2; - * - * @param index - * The index of the element to return. - * - * @return The sources at the given index. - */ - java.lang.String getSources(int index); - - /** - *
-         * Source codes to be parsed.
-         * 
- * - * repeated string sources = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the sources at the given index. - */ - com.google.protobuf.ByteString getSourcesBytes(int index); - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - java.util.List getExternalPkgsList(); - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index); - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - int getExternalPkgsCount(); - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - java.util.List getExternalPkgsOrBuilderList(); - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder(int index); - } - - /** - *
-     * Message for parse program request arguments.
-     * 
- * - * Protobuf type {@code com.kcl.api.ParseProgram_Args} - */ - public static final class ParseProgram_Args extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ParseProgram_Args) - ParseProgram_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", ParseProgram_Args.class.getName()); - } - - // Use ParseProgram_Args.newBuilder() to construct. - private ParseProgram_Args(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ParseProgram_Args() { - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - sources_ = com.google.protobuf.LazyStringArrayList.emptyList(); - externalPkgs_ = java.util.Collections.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ParseProgram_Args.class, - com.kcl.api.Spec.ParseProgram_Args.Builder.class); - } - - public static final int PATHS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - *
-         * Paths of the program files to be parsed.
-         * 
- * - * repeated string paths = 1; - * - * @return A list containing the paths. - */ - public com.google.protobuf.ProtocolStringList getPathsList() { - return paths_; - } - - /** - *
-         * Paths of the program files to be parsed.
-         * 
- * - * repeated string paths = 1; - * - * @return The count of paths. - */ - public int getPathsCount() { - return paths_.size(); - } - - /** - *
-         * Paths of the program files to be parsed.
-         * 
- * - * repeated string paths = 1; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - public java.lang.String getPaths(int index) { - return paths_.get(index); - } - - /** - *
-         * Paths of the program files to be parsed.
-         * 
- * - * repeated string paths = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - public com.google.protobuf.ByteString getPathsBytes(int index) { - return paths_.getByteString(index); - } - - public static final int SOURCES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList sources_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - *
-         * Source codes to be parsed.
-         * 
- * - * repeated string sources = 2; - * - * @return A list containing the sources. - */ - public com.google.protobuf.ProtocolStringList getSourcesList() { - return sources_; - } - - /** - *
-         * Source codes to be parsed.
-         * 
- * - * repeated string sources = 2; - * - * @return The count of sources. - */ - public int getSourcesCount() { - return sources_.size(); - } - - /** - *
-         * Source codes to be parsed.
-         * 
- * - * repeated string sources = 2; - * - * @param index - * The index of the element to return. - * - * @return The sources at the given index. - */ - public java.lang.String getSources(int index) { - return sources_.get(index); - } - - /** - *
-         * Source codes to be parsed.
-         * 
- * - * repeated string sources = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the sources at the given index. - */ - public com.google.protobuf.ByteString getSourcesBytes(int index) { - return sources_.getByteString(index); - } - - public static final int EXTERNAL_PKGS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private java.util.List externalPkgs_; - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - @java.lang.Override - public java.util.List getExternalPkgsList() { - return externalPkgs_; - } - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - @java.lang.Override - public java.util.List getExternalPkgsOrBuilderList() { - return externalPkgs_; - } - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - @java.lang.Override - public int getExternalPkgsCount() { - return externalPkgs_.size(); - } - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index) { - return externalPkgs_.get(index); - } - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder(int index) { - return externalPkgs_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < paths_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, paths_.getRaw(i)); - } - for (int i = 0; i < sources_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, sources_.getRaw(i)); - } - for (int i = 0; i < externalPkgs_.size(); i++) { - output.writeMessage(3, externalPkgs_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < paths_.size(); i++) { - dataSize += computeStringSizeNoTag(paths_.getRaw(i)); - } - size += dataSize; - size += 1 * getPathsList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < sources_.size(); i++) { - dataSize += computeStringSizeNoTag(sources_.getRaw(i)); - } - size += dataSize; - size += 1 * getSourcesList().size(); - } - for (int i = 0; i < externalPkgs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, externalPkgs_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ParseProgram_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.ParseProgram_Args other = (com.kcl.api.Spec.ParseProgram_Args) obj; - - if (!getPathsList().equals(other.getPathsList())) - return false; - if (!getSourcesList().equals(other.getSourcesList())) - return false; - if (!getExternalPkgsList().equals(other.getExternalPkgsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getPathsCount() > 0) { - hash = (37 * hash) + PATHS_FIELD_NUMBER; - hash = (53 * hash) + getPathsList().hashCode(); - } - if (getSourcesCount() > 0) { - hash = (37 * hash) + SOURCES_FIELD_NUMBER; - hash = (53 * hash) + getSourcesList().hashCode(); - } - if (getExternalPkgsCount() > 0) { - hash = (37 * hash) + EXTERNAL_PKGS_FIELD_NUMBER; - hash = (53 * hash) + getExternalPkgsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ParseProgram_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseProgram_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseProgram_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseProgram_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseProgram_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseProgram_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseProgram_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseProgram_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseProgram_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseProgram_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseProgram_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseProgram_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ParseProgram_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for parse program request arguments.
-         * 
- * - * Protobuf type {@code com.kcl.api.ParseProgram_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseProgram_Args) - com.kcl.api.Spec.ParseProgram_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ParseProgram_Args.class, - com.kcl.api.Spec.ParseProgram_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.ParseProgram_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - sources_ = com.google.protobuf.LazyStringArrayList.emptyList(); - if (externalPkgsBuilder_ == null) { - externalPkgs_ = java.util.Collections.emptyList(); - } else { - externalPkgs_ = null; - externalPkgsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Args build() { - com.kcl.api.Spec.ParseProgram_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Args buildPartial() { - com.kcl.api.Spec.ParseProgram_Args result = new com.kcl.api.Spec.ParseProgram_Args(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseProgram_Args result) { - if (externalPkgsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - externalPkgs_ = java.util.Collections.unmodifiableList(externalPkgs_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.externalPkgs_ = externalPkgs_; - } else { - result.externalPkgs_ = externalPkgsBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.ParseProgram_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - paths_.makeImmutable(); - result.paths_ = paths_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - sources_.makeImmutable(); - result.sources_ = sources_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ParseProgram_Args) { - return mergeFrom((com.kcl.api.Spec.ParseProgram_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ParseProgram_Args other) { - if (other == com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance()) - return this; - if (!other.paths_.isEmpty()) { - if (paths_.isEmpty()) { - paths_ = other.paths_; - bitField0_ |= 0x00000001; - } else { - ensurePathsIsMutable(); - paths_.addAll(other.paths_); - } - onChanged(); - } - if (!other.sources_.isEmpty()) { - if (sources_.isEmpty()) { - sources_ = other.sources_; - bitField0_ |= 0x00000002; - } else { - ensureSourcesIsMutable(); - sources_.addAll(other.sources_); - } - onChanged(); - } - if (externalPkgsBuilder_ == null) { - if (!other.externalPkgs_.isEmpty()) { - if (externalPkgs_.isEmpty()) { - externalPkgs_ = other.externalPkgs_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureExternalPkgsIsMutable(); - externalPkgs_.addAll(other.externalPkgs_); - } - onChanged(); - } - } else { - if (!other.externalPkgs_.isEmpty()) { - if (externalPkgsBuilder_.isEmpty()) { - externalPkgsBuilder_.dispose(); - externalPkgsBuilder_ = null; - externalPkgs_ = other.externalPkgs_; - bitField0_ = (bitField0_ & ~0x00000004); - externalPkgsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getExternalPkgsFieldBuilder() : null; - } else { - externalPkgsBuilder_.addAllMessages(other.externalPkgs_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePathsIsMutable(); - paths_.add(s); - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureSourcesIsMutable(); - sources_.add(s); - break; - } // case 18 - case 26: { - com.kcl.api.Spec.ExternalPkg m = input.readMessage(com.kcl.api.Spec.ExternalPkg.parser(), - extensionRegistry); - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(m); - } else { - externalPkgsBuilder_.addMessage(m); - } - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.google.protobuf.LazyStringArrayList paths_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensurePathsIsMutable() { - if (!paths_.isModifiable()) { - paths_ = new com.google.protobuf.LazyStringArrayList(paths_); - } - bitField0_ |= 0x00000001; - } - - /** - *
-             * Paths of the program files to be parsed.
-             * 
- * - * repeated string paths = 1; - * - * @return A list containing the paths. - */ - public com.google.protobuf.ProtocolStringList getPathsList() { - paths_.makeImmutable(); - return paths_; - } - - /** - *
-             * Paths of the program files to be parsed.
-             * 
- * - * repeated string paths = 1; - * - * @return The count of paths. - */ - public int getPathsCount() { - return paths_.size(); - } - - /** - *
-             * Paths of the program files to be parsed.
-             * 
- * - * repeated string paths = 1; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - public java.lang.String getPaths(int index) { - return paths_.get(index); - } - - /** - *
-             * Paths of the program files to be parsed.
-             * 
- * - * repeated string paths = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - public com.google.protobuf.ByteString getPathsBytes(int index) { - return paths_.getByteString(index); - } - - /** - *
-             * Paths of the program files to be parsed.
-             * 
- * - * repeated string paths = 1; - * - * @param index - * The index to set the value at. - * @param value - * The paths to set. - * - * @return This builder for chaining. - */ - public Builder setPaths(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); - paths_.set(index, value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Paths of the program files to be parsed.
-             * 
- * - * repeated string paths = 1; - * - * @param value - * The paths to add. - * - * @return This builder for chaining. - */ - public Builder addPaths(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); - paths_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Paths of the program files to be parsed.
-             * 
- * - * repeated string paths = 1; - * - * @param values - * The paths to add. - * - * @return This builder for chaining. - */ - public Builder addAllPaths(java.lang.Iterable values) { - ensurePathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, paths_); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Paths of the program files to be parsed.
-             * 
- * - * repeated string paths = 1; - * - * @return This builder for chaining. - */ - public Builder clearPaths() { - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; - onChanged(); - return this; - } - - /** - *
-             * Paths of the program files to be parsed.
-             * 
- * - * repeated string paths = 1; - * - * @param value - * The bytes of the paths to add. - * - * @return This builder for chaining. - */ - public Builder addPathsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensurePathsIsMutable(); - paths_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList sources_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureSourcesIsMutable() { - if (!sources_.isModifiable()) { - sources_ = new com.google.protobuf.LazyStringArrayList(sources_); - } - bitField0_ |= 0x00000002; - } - - /** - *
-             * Source codes to be parsed.
-             * 
- * - * repeated string sources = 2; - * - * @return A list containing the sources. - */ - public com.google.protobuf.ProtocolStringList getSourcesList() { - sources_.makeImmutable(); - return sources_; - } - - /** - *
-             * Source codes to be parsed.
-             * 
- * - * repeated string sources = 2; - * - * @return The count of sources. - */ - public int getSourcesCount() { - return sources_.size(); - } - - /** - *
-             * Source codes to be parsed.
-             * 
- * - * repeated string sources = 2; - * - * @param index - * The index of the element to return. - * - * @return The sources at the given index. - */ - public java.lang.String getSources(int index) { - return sources_.get(index); - } - - /** - *
-             * Source codes to be parsed.
-             * 
- * - * repeated string sources = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the sources at the given index. - */ - public com.google.protobuf.ByteString getSourcesBytes(int index) { - return sources_.getByteString(index); - } - - /** - *
-             * Source codes to be parsed.
-             * 
- * - * repeated string sources = 2; - * - * @param index - * The index to set the value at. - * @param value - * The sources to set. - * - * @return This builder for chaining. - */ - public Builder setSources(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureSourcesIsMutable(); - sources_.set(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Source codes to be parsed.
-             * 
- * - * repeated string sources = 2; - * - * @param value - * The sources to add. - * - * @return This builder for chaining. - */ - public Builder addSources(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureSourcesIsMutable(); - sources_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Source codes to be parsed.
-             * 
- * - * repeated string sources = 2; - * - * @param values - * The sources to add. - * - * @return This builder for chaining. - */ - public Builder addAllSources(java.lang.Iterable values) { - ensureSourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sources_); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Source codes to be parsed.
-             * 
- * - * repeated string sources = 2; - * - * @return This builder for chaining. - */ - public Builder clearSources() { - sources_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; - onChanged(); - return this; - } - - /** - *
-             * Source codes to be parsed.
-             * 
- * - * repeated string sources = 2; - * - * @param value - * The bytes of the sources to add. - * - * @return This builder for chaining. - */ - public Builder addSourcesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureSourcesIsMutable(); - sources_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.util.List externalPkgs_ = java.util.Collections.emptyList(); - - private void ensureExternalPkgsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - externalPkgs_ = new java.util.ArrayList(externalPkgs_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilder externalPkgsBuilder_; - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public java.util.List getExternalPkgsList() { - if (externalPkgsBuilder_ == null) { - return java.util.Collections.unmodifiableList(externalPkgs_); - } else { - return externalPkgsBuilder_.getMessageList(); - } - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public int getExternalPkgsCount() { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.size(); - } else { - return externalPkgsBuilder_.getCount(); - } - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index) { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.get(index); - } else { - return externalPkgsBuilder_.getMessage(index); - } - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder setExternalPkgs(int index, com.kcl.api.Spec.ExternalPkg value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.set(index, value); - onChanged(); - } else { - externalPkgsBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder setExternalPkgs(int index, com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.set(index, builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder addExternalPkgs(com.kcl.api.Spec.ExternalPkg value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.add(value); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder addExternalPkgs(int index, com.kcl.api.Spec.ExternalPkg value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.add(index, value); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder addExternalPkgs(com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder addExternalPkgs(int index, com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(index, builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder addAllExternalPkgs(java.lang.Iterable values) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, externalPkgs_); - onChanged(); - } else { - externalPkgsBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder clearExternalPkgs() { - if (externalPkgsBuilder_ == null) { - externalPkgs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - externalPkgsBuilder_.clear(); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder removeExternalPkgs(int index) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.remove(index); - onChanged(); - } else { - externalPkgsBuilder_.remove(index); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public com.kcl.api.Spec.ExternalPkg.Builder getExternalPkgsBuilder(int index) { - return getExternalPkgsFieldBuilder().getBuilder(index); - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder(int index) { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.get(index); - } else { - return externalPkgsBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public java.util.List getExternalPkgsOrBuilderList() { - if (externalPkgsBuilder_ != null) { - return externalPkgsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(externalPkgs_); - } - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder() { - return getExternalPkgsFieldBuilder().addBuilder(com.kcl.api.Spec.ExternalPkg.getDefaultInstance()); - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder(int index) { - return getExternalPkgsFieldBuilder().addBuilder(index, - com.kcl.api.Spec.ExternalPkg.getDefaultInstance()); - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public java.util.List getExternalPkgsBuilderList() { - return getExternalPkgsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder getExternalPkgsFieldBuilder() { - if (externalPkgsBuilder_ == null) { - externalPkgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - externalPkgs_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); - externalPkgs_ = null; - } - return externalPkgsBuilder_; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseProgram_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ParseProgram_Args) - private static final com.kcl.api.Spec.ParseProgram_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseProgram_Args(); - } - - public static com.kcl.api.Spec.ParseProgram_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ParseProgram_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ParseProgram_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseProgram_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Abstract Syntax Tree (AST) in JSON format.
-         * 
- * - * string ast_json = 1; - * - * @return The astJson. - */ - java.lang.String getAstJson(); - - /** - *
-         * Abstract Syntax Tree (AST) in JSON format.
-         * 
- * - * string ast_json = 1; - * - * @return The bytes for astJson. - */ - com.google.protobuf.ByteString getAstJsonBytes(); - - /** - *
-         * Returns the files in the order they should be compiled.
-         * 
- * - * repeated string paths = 2; - * - * @return A list containing the paths. - */ - java.util.List getPathsList(); - - /** - *
-         * Returns the files in the order they should be compiled.
-         * 
- * - * repeated string paths = 2; - * - * @return The count of paths. - */ - int getPathsCount(); - - /** - *
-         * Returns the files in the order they should be compiled.
-         * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - java.lang.String getPaths(int index); - - /** - *
-         * Returns the files in the order they should be compiled.
-         * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - com.google.protobuf.ByteString getPathsBytes(int index); - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - java.util.List getErrorsList(); - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - com.kcl.api.Spec.Error getErrors(int index); - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - int getErrorsCount(); - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - java.util.List getErrorsOrBuilderList(); - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder(int index); - } - - /** - *
-     * Message for parse program response.
-     * 
- * - * Protobuf type {@code com.kcl.api.ParseProgram_Result} - */ - public static final class ParseProgram_Result extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ParseProgram_Result) - ParseProgram_ResultOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", ParseProgram_Result.class.getName()); - } - - // Use ParseProgram_Result.newBuilder() to construct. - private ParseProgram_Result(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ParseProgram_Result() { - astJson_ = ""; - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - errors_ = java.util.Collections.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ParseProgram_Result.class, - com.kcl.api.Spec.ParseProgram_Result.Builder.class); - } - - public static final int AST_JSON_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object astJson_ = ""; - - /** - *
-         * Abstract Syntax Tree (AST) in JSON format.
-         * 
- * - * string ast_json = 1; - * - * @return The astJson. - */ - @java.lang.Override - public java.lang.String getAstJson() { - java.lang.Object ref = astJson_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - astJson_ = s; - return s; - } - } - - /** - *
-         * Abstract Syntax Tree (AST) in JSON format.
-         * 
- * - * string ast_json = 1; - * - * @return The bytes for astJson. - */ - @java.lang.Override - public com.google.protobuf.ByteString getAstJsonBytes() { - java.lang.Object ref = astJson_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - astJson_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PATHS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - *
-         * Returns the files in the order they should be compiled.
-         * 
- * - * repeated string paths = 2; - * - * @return A list containing the paths. - */ - public com.google.protobuf.ProtocolStringList getPathsList() { - return paths_; - } - - /** - *
-         * Returns the files in the order they should be compiled.
-         * 
- * - * repeated string paths = 2; - * - * @return The count of paths. - */ - public int getPathsCount() { - return paths_.size(); - } - - /** - *
-         * Returns the files in the order they should be compiled.
-         * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - public java.lang.String getPaths(int index) { - return paths_.get(index); - } - - /** - *
-         * Returns the files in the order they should be compiled.
-         * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - public com.google.protobuf.ByteString getPathsBytes(int index) { - return paths_.getByteString(index); - } - - public static final int ERRORS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private java.util.List errors_; - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - @java.lang.Override - public java.util.List getErrorsList() { - return errors_; - } - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - @java.lang.Override - public java.util.List getErrorsOrBuilderList() { - return errors_; - } - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - @java.lang.Override - public int getErrorsCount() { - return errors_.size(); - } - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.Error getErrors(int index) { - return errors_.get(index); - } - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder(int index) { - return errors_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(astJson_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, astJson_); - } - for (int i = 0; i < paths_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, paths_.getRaw(i)); - } - for (int i = 0; i < errors_.size(); i++) { - output.writeMessage(3, errors_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(astJson_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, astJson_); - } - { - int dataSize = 0; - for (int i = 0; i < paths_.size(); i++) { - dataSize += computeStringSizeNoTag(paths_.getRaw(i)); - } - size += dataSize; - size += 1 * getPathsList().size(); - } - for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, errors_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ParseProgram_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.ParseProgram_Result other = (com.kcl.api.Spec.ParseProgram_Result) obj; - - if (!getAstJson().equals(other.getAstJson())) - return false; - if (!getPathsList().equals(other.getPathsList())) - return false; - if (!getErrorsList().equals(other.getErrorsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + AST_JSON_FIELD_NUMBER; - hash = (53 * hash) + getAstJson().hashCode(); - if (getPathsCount() > 0) { - hash = (37 * hash) + PATHS_FIELD_NUMBER; - hash = (53 * hash) + getPathsList().hashCode(); - } - if (getErrorsCount() > 0) { - hash = (37 * hash) + ERRORS_FIELD_NUMBER; - hash = (53 * hash) + getErrorsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ParseProgram_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseProgram_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseProgram_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseProgram_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseProgram_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ParseProgram_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseProgram_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseProgram_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseProgram_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseProgram_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ParseProgram_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ParseProgram_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ParseProgram_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for parse program response.
-         * 
- * - * Protobuf type {@code com.kcl.api.ParseProgram_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseProgram_Result) - com.kcl.api.Spec.ParseProgram_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ParseProgram_Result.class, - com.kcl.api.Spec.ParseProgram_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.ParseProgram_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - astJson_ = ""; - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - if (errorsBuilder_ == null) { - errors_ = java.util.Collections.emptyList(); - } else { - errors_ = null; - errorsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ParseProgram_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Result build() { - com.kcl.api.Spec.ParseProgram_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Result buildPartial() { - com.kcl.api.Spec.ParseProgram_Result result = new com.kcl.api.Spec.ParseProgram_Result(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseProgram_Result result) { - if (errorsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - errors_ = java.util.Collections.unmodifiableList(errors_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.errors_ = errors_; - } else { - result.errors_ = errorsBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.ParseProgram_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.astJson_ = astJson_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - paths_.makeImmutable(); - result.paths_ = paths_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ParseProgram_Result) { - return mergeFrom((com.kcl.api.Spec.ParseProgram_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ParseProgram_Result other) { - if (other == com.kcl.api.Spec.ParseProgram_Result.getDefaultInstance()) - return this; - if (!other.getAstJson().isEmpty()) { - astJson_ = other.astJson_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.paths_.isEmpty()) { - if (paths_.isEmpty()) { - paths_ = other.paths_; - bitField0_ |= 0x00000002; - } else { - ensurePathsIsMutable(); - paths_.addAll(other.paths_); - } - onChanged(); - } - if (errorsBuilder_ == null) { - if (!other.errors_.isEmpty()) { - if (errors_.isEmpty()) { - errors_ = other.errors_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureErrorsIsMutable(); - errors_.addAll(other.errors_); - } - onChanged(); - } - } else { - if (!other.errors_.isEmpty()) { - if (errorsBuilder_.isEmpty()) { - errorsBuilder_.dispose(); - errorsBuilder_ = null; - errors_ = other.errors_; - bitField0_ = (bitField0_ & ~0x00000004); - errorsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() : null; - } else { - errorsBuilder_.addAllMessages(other.errors_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - astJson_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePathsIsMutable(); - paths_.add(s); - break; - } // case 18 - case 26: { - com.kcl.api.Spec.Error m = input.readMessage(com.kcl.api.Spec.Error.parser(), - extensionRegistry); - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(m); - } else { - errorsBuilder_.addMessage(m); - } - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object astJson_ = ""; - - /** - *
-             * Abstract Syntax Tree (AST) in JSON format.
-             * 
- * - * string ast_json = 1; - * - * @return The astJson. - */ - public java.lang.String getAstJson() { - java.lang.Object ref = astJson_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - astJson_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Abstract Syntax Tree (AST) in JSON format.
-             * 
- * - * string ast_json = 1; - * - * @return The bytes for astJson. - */ - public com.google.protobuf.ByteString getAstJsonBytes() { - java.lang.Object ref = astJson_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - astJson_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Abstract Syntax Tree (AST) in JSON format.
-             * 
- * - * string ast_json = 1; - * - * @param value - * The astJson to set. - * - * @return This builder for chaining. - */ - public Builder setAstJson(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - astJson_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Abstract Syntax Tree (AST) in JSON format.
-             * 
- * - * string ast_json = 1; - * - * @return This builder for chaining. - */ - public Builder clearAstJson() { - astJson_ = getDefaultInstance().getAstJson(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * Abstract Syntax Tree (AST) in JSON format.
-             * 
- * - * string ast_json = 1; - * - * @param value - * The bytes for astJson to set. - * - * @return This builder for chaining. - */ - public Builder setAstJsonBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - astJson_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList paths_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensurePathsIsMutable() { - if (!paths_.isModifiable()) { - paths_ = new com.google.protobuf.LazyStringArrayList(paths_); - } - bitField0_ |= 0x00000002; - } - - /** - *
-             * Returns the files in the order they should be compiled.
-             * 
- * - * repeated string paths = 2; - * - * @return A list containing the paths. - */ - public com.google.protobuf.ProtocolStringList getPathsList() { - paths_.makeImmutable(); - return paths_; - } - - /** - *
-             * Returns the files in the order they should be compiled.
-             * 
- * - * repeated string paths = 2; - * - * @return The count of paths. - */ - public int getPathsCount() { - return paths_.size(); - } - - /** - *
-             * Returns the files in the order they should be compiled.
-             * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - public java.lang.String getPaths(int index) { - return paths_.get(index); - } - - /** - *
-             * Returns the files in the order they should be compiled.
-             * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - public com.google.protobuf.ByteString getPathsBytes(int index) { - return paths_.getByteString(index); - } - - /** - *
-             * Returns the files in the order they should be compiled.
-             * 
- * - * repeated string paths = 2; - * - * @param index - * The index to set the value at. - * @param value - * The paths to set. - * - * @return This builder for chaining. - */ - public Builder setPaths(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); - paths_.set(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled.
-             * 
- * - * repeated string paths = 2; - * - * @param value - * The paths to add. - * - * @return This builder for chaining. - */ - public Builder addPaths(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); - paths_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled.
-             * 
- * - * repeated string paths = 2; - * - * @param values - * The paths to add. - * - * @return This builder for chaining. - */ - public Builder addAllPaths(java.lang.Iterable values) { - ensurePathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, paths_); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled.
-             * 
- * - * repeated string paths = 2; - * - * @return This builder for chaining. - */ - public Builder clearPaths() { - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; - onChanged(); - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled.
-             * 
- * - * repeated string paths = 2; - * - * @param value - * The bytes of the paths to add. - * - * @return This builder for chaining. - */ - public Builder addPathsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensurePathsIsMutable(); - paths_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.util.List errors_ = java.util.Collections.emptyList(); - - private void ensureErrorsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - errors_ = new java.util.ArrayList(errors_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilder errorsBuilder_; - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public java.util.List getErrorsList() { - if (errorsBuilder_ == null) { - return java.util.Collections.unmodifiableList(errors_); - } else { - return errorsBuilder_.getMessageList(); - } - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public int getErrorsCount() { - if (errorsBuilder_ == null) { - return errors_.size(); - } else { - return errorsBuilder_.getCount(); - } - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public com.kcl.api.Spec.Error getErrors(int index) { - if (errorsBuilder_ == null) { - return errors_.get(index); - } else { - return errorsBuilder_.getMessage(index); - } - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder setErrors(int index, com.kcl.api.Spec.Error value) { - if (errorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureErrorsIsMutable(); - errors_.set(index, value); - onChanged(); - } else { - errorsBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder setErrors(int index, com.kcl.api.Spec.Error.Builder builderForValue) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.set(index, builderForValue.build()); - onChanged(); - } else { - errorsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder addErrors(com.kcl.api.Spec.Error value) { - if (errorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureErrorsIsMutable(); - errors_.add(value); - onChanged(); - } else { - errorsBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder addErrors(int index, com.kcl.api.Spec.Error value) { - if (errorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureErrorsIsMutable(); - errors_.add(index, value); - onChanged(); - } else { - errorsBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder addErrors(com.kcl.api.Spec.Error.Builder builderForValue) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(builderForValue.build()); - onChanged(); - } else { - errorsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder addErrors(int index, com.kcl.api.Spec.Error.Builder builderForValue) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(index, builderForValue.build()); - onChanged(); - } else { - errorsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder addAllErrors(java.lang.Iterable values) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); - onChanged(); - } else { - errorsBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder clearErrors() { - if (errorsBuilder_ == null) { - errors_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - errorsBuilder_.clear(); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public Builder removeErrors(int index) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.remove(index); - onChanged(); - } else { - errorsBuilder_.remove(index); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public com.kcl.api.Spec.Error.Builder getErrorsBuilder(int index) { - return getErrorsFieldBuilder().getBuilder(index); - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder(int index) { - if (errorsBuilder_ == null) { - return errors_.get(index); - } else { - return errorsBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public java.util.List getErrorsOrBuilderList() { - if (errorsBuilder_ != null) { - return errorsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(errors_); - } - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public com.kcl.api.Spec.Error.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder(com.kcl.api.Spec.Error.getDefaultInstance()); - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public com.kcl.api.Spec.Error.Builder addErrorsBuilder(int index) { - return getErrorsFieldBuilder().addBuilder(index, com.kcl.api.Spec.Error.getDefaultInstance()); - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error errors = 3; - */ - public java.util.List getErrorsBuilderList() { - return getErrorsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder getErrorsFieldBuilder() { - if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - errors_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); - errors_ = null; - } - return errorsBuilder_; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseProgram_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ParseProgram_Result) - private static final com.kcl.api.Spec.ParseProgram_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseProgram_Result(); - } - - public static com.kcl.api.Spec.ParseProgram_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ParseProgram_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LoadPackage_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadPackage_Args) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Arguments for parsing the program.
-         * 
- * - * .com.kcl.api.ParseProgram_Args parse_args = 1; - * - * @return Whether the parseArgs field is set. - */ - boolean hasParseArgs(); - - /** - *
-         * Arguments for parsing the program.
-         * 
- * - * .com.kcl.api.ParseProgram_Args parse_args = 1; - * - * @return The parseArgs. - */ - com.kcl.api.Spec.ParseProgram_Args getParseArgs(); - - /** - *
-         * Arguments for parsing the program.
-         * 
- * - * .com.kcl.api.ParseProgram_Args parse_args = 1; - */ - com.kcl.api.Spec.ParseProgram_ArgsOrBuilder getParseArgsOrBuilder(); - - /** - *
-         * Flag indicating whether to resolve AST.
-         * 
- * - * bool resolve_ast = 2; - * - * @return The resolveAst. - */ - boolean getResolveAst(); - - /** - *
-         * Flag indicating whether to load built-in modules.
-         * 
- * - * bool load_builtin = 3; - * - * @return The loadBuiltin. - */ - boolean getLoadBuiltin(); - - /** - *
-         * Flag indicating whether to include AST index.
-         * 
- * - * bool with_ast_index = 4; - * - * @return The withAstIndex. - */ - boolean getWithAstIndex(); - } - - /** - *
-     * Message for load package request arguments.
-     * 
- * - * Protobuf type {@code com.kcl.api.LoadPackage_Args} - */ - public static final class LoadPackage_Args extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.LoadPackage_Args) - LoadPackage_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", LoadPackage_Args.class.getName()); - } - - // Use LoadPackage_Args.newBuilder() to construct. - private LoadPackage_Args(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private LoadPackage_Args() { - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LoadPackage_Args.class, - com.kcl.api.Spec.LoadPackage_Args.Builder.class); - } - - private int bitField0_; - public static final int PARSE_ARGS_FIELD_NUMBER = 1; - private com.kcl.api.Spec.ParseProgram_Args parseArgs_; - - /** - *
-         * Arguments for parsing the program.
-         * 
- * - * .com.kcl.api.ParseProgram_Args parse_args = 1; - * - * @return Whether the parseArgs field is set. - */ - @java.lang.Override - public boolean hasParseArgs() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - *
-         * Arguments for parsing the program.
-         * 
- * - * .com.kcl.api.ParseProgram_Args parse_args = 1; - * - * @return The parseArgs. - */ - @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Args getParseArgs() { - return parseArgs_ == null ? com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance() : parseArgs_; - } - - /** - *
-         * Arguments for parsing the program.
-         * 
- * - * .com.kcl.api.ParseProgram_Args parse_args = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.ParseProgram_ArgsOrBuilder getParseArgsOrBuilder() { - return parseArgs_ == null ? com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance() : parseArgs_; - } - - public static final int RESOLVE_AST_FIELD_NUMBER = 2; - private boolean resolveAst_ = false; - - /** - *
-         * Flag indicating whether to resolve AST.
-         * 
- * - * bool resolve_ast = 2; - * - * @return The resolveAst. - */ - @java.lang.Override - public boolean getResolveAst() { - return resolveAst_; - } - - public static final int LOAD_BUILTIN_FIELD_NUMBER = 3; - private boolean loadBuiltin_ = false; - - /** - *
-         * Flag indicating whether to load built-in modules.
-         * 
- * - * bool load_builtin = 3; - * - * @return The loadBuiltin. - */ - @java.lang.Override - public boolean getLoadBuiltin() { - return loadBuiltin_; - } - - public static final int WITH_AST_INDEX_FIELD_NUMBER = 4; - private boolean withAstIndex_ = false; - - /** - *
-         * Flag indicating whether to include AST index.
-         * 
- * - * bool with_ast_index = 4; - * - * @return The withAstIndex. - */ - @java.lang.Override - public boolean getWithAstIndex() { - return withAstIndex_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(1, getParseArgs()); - } - if (resolveAst_ != false) { - output.writeBool(2, resolveAst_); - } - if (loadBuiltin_ != false) { - output.writeBool(3, loadBuiltin_); - } - if (withAstIndex_ != false) { - output.writeBool(4, withAstIndex_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getParseArgs()); - } - if (resolveAst_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, resolveAst_); - } - if (loadBuiltin_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, loadBuiltin_); - } - if (withAstIndex_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, withAstIndex_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.LoadPackage_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.LoadPackage_Args other = (com.kcl.api.Spec.LoadPackage_Args) obj; - - if (hasParseArgs() != other.hasParseArgs()) - return false; - if (hasParseArgs()) { - if (!getParseArgs().equals(other.getParseArgs())) - return false; - } - if (getResolveAst() != other.getResolveAst()) - return false; - if (getLoadBuiltin() != other.getLoadBuiltin()) - return false; - if (getWithAstIndex() != other.getWithAstIndex()) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasParseArgs()) { - hash = (37 * hash) + PARSE_ARGS_FIELD_NUMBER; - hash = (53 * hash) + getParseArgs().hashCode(); - } - hash = (37 * hash) + RESOLVE_AST_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getResolveAst()); - hash = (37 * hash) + LOAD_BUILTIN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getLoadBuiltin()); - hash = (37 * hash) + WITH_AST_INDEX_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getWithAstIndex()); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.LoadPackage_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LoadPackage_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadPackage_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LoadPackage_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadPackage_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LoadPackage_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadPackage_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LoadPackage_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadPackage_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LoadPackage_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadPackage_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LoadPackage_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.LoadPackage_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for load package request arguments.
-         * 
- * - * Protobuf type {@code com.kcl.api.LoadPackage_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadPackage_Args) - com.kcl.api.Spec.LoadPackage_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LoadPackage_Args.class, - com.kcl.api.Spec.LoadPackage_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.LoadPackage_Args.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - getParseArgsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - parseArgs_ = null; - if (parseArgsBuilder_ != null) { - parseArgsBuilder_.dispose(); - parseArgsBuilder_ = null; - } - resolveAst_ = false; - loadBuiltin_ = false; - withAstIndex_ = false; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.LoadPackage_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.LoadPackage_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.LoadPackage_Args build() { - com.kcl.api.Spec.LoadPackage_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.LoadPackage_Args buildPartial() { - com.kcl.api.Spec.LoadPackage_Args result = new com.kcl.api.Spec.LoadPackage_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.LoadPackage_Args result) { - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.parseArgs_ = parseArgsBuilder_ == null ? parseArgs_ : parseArgsBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.resolveAst_ = resolveAst_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.loadBuiltin_ = loadBuiltin_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.withAstIndex_ = withAstIndex_; - } - result.bitField0_ |= to_bitField0_; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.LoadPackage_Args) { - return mergeFrom((com.kcl.api.Spec.LoadPackage_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.LoadPackage_Args other) { - if (other == com.kcl.api.Spec.LoadPackage_Args.getDefaultInstance()) - return this; - if (other.hasParseArgs()) { - mergeParseArgs(other.getParseArgs()); - } - if (other.getResolveAst() != false) { - setResolveAst(other.getResolveAst()); - } - if (other.getLoadBuiltin() != false) { - setLoadBuiltin(other.getLoadBuiltin()); - } - if (other.getWithAstIndex() != false) { - setWithAstIndex(other.getWithAstIndex()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - input.readMessage(getParseArgsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - resolveAst_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - loadBuiltin_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - withAstIndex_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.kcl.api.Spec.ParseProgram_Args parseArgs_; - private com.google.protobuf.SingleFieldBuilder parseArgsBuilder_; - - /** - *
-             * Arguments for parsing the program.
-             * 
- * - * .com.kcl.api.ParseProgram_Args parse_args = 1; - * - * @return Whether the parseArgs field is set. - */ - public boolean hasParseArgs() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - *
-             * Arguments for parsing the program.
-             * 
- * - * .com.kcl.api.ParseProgram_Args parse_args = 1; - * - * @return The parseArgs. - */ - public com.kcl.api.Spec.ParseProgram_Args getParseArgs() { - if (parseArgsBuilder_ == null) { - return parseArgs_ == null ? com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance() : parseArgs_; - } else { - return parseArgsBuilder_.getMessage(); - } - } - - /** - *
-             * Arguments for parsing the program.
-             * 
- * - * .com.kcl.api.ParseProgram_Args parse_args = 1; - */ - public Builder setParseArgs(com.kcl.api.Spec.ParseProgram_Args value) { - if (parseArgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - parseArgs_ = value; - } else { - parseArgsBuilder_.setMessage(value); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Arguments for parsing the program.
-             * 
- * - * .com.kcl.api.ParseProgram_Args parse_args = 1; - */ - public Builder setParseArgs(com.kcl.api.Spec.ParseProgram_Args.Builder builderForValue) { - if (parseArgsBuilder_ == null) { - parseArgs_ = builderForValue.build(); - } else { - parseArgsBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Arguments for parsing the program.
-             * 
- * - * .com.kcl.api.ParseProgram_Args parse_args = 1; - */ - public Builder mergeParseArgs(com.kcl.api.Spec.ParseProgram_Args value) { - if (parseArgsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && parseArgs_ != null - && parseArgs_ != com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance()) { - getParseArgsBuilder().mergeFrom(value); - } else { - parseArgs_ = value; - } - } else { - parseArgsBuilder_.mergeFrom(value); - } - if (parseArgs_ != null) { - bitField0_ |= 0x00000001; - onChanged(); - } - return this; - } - - /** - *
-             * Arguments for parsing the program.
-             * 
- * - * .com.kcl.api.ParseProgram_Args parse_args = 1; - */ - public Builder clearParseArgs() { - bitField0_ = (bitField0_ & ~0x00000001); - parseArgs_ = null; - if (parseArgsBuilder_ != null) { - parseArgsBuilder_.dispose(); - parseArgsBuilder_ = null; - } - onChanged(); - return this; - } - - /** - *
-             * Arguments for parsing the program.
-             * 
- * - * .com.kcl.api.ParseProgram_Args parse_args = 1; - */ - public com.kcl.api.Spec.ParseProgram_Args.Builder getParseArgsBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getParseArgsFieldBuilder().getBuilder(); - } - - /** - *
-             * Arguments for parsing the program.
-             * 
- * - * .com.kcl.api.ParseProgram_Args parse_args = 1; - */ - public com.kcl.api.Spec.ParseProgram_ArgsOrBuilder getParseArgsOrBuilder() { - if (parseArgsBuilder_ != null) { - return parseArgsBuilder_.getMessageOrBuilder(); - } else { - return parseArgs_ == null ? com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance() : parseArgs_; - } - } - - /** - *
-             * Arguments for parsing the program.
-             * 
- * - * .com.kcl.api.ParseProgram_Args parse_args = 1; - */ - private com.google.protobuf.SingleFieldBuilder getParseArgsFieldBuilder() { - if (parseArgsBuilder_ == null) { - parseArgsBuilder_ = new com.google.protobuf.SingleFieldBuilder( - getParseArgs(), getParentForChildren(), isClean()); - parseArgs_ = null; - } - return parseArgsBuilder_; - } - - private boolean resolveAst_; - - /** - *
-             * Flag indicating whether to resolve AST.
-             * 
- * - * bool resolve_ast = 2; - * - * @return The resolveAst. - */ - @java.lang.Override - public boolean getResolveAst() { - return resolveAst_; - } - - /** - *
-             * Flag indicating whether to resolve AST.
-             * 
- * - * bool resolve_ast = 2; - * - * @param value - * The resolveAst to set. - * - * @return This builder for chaining. - */ - public Builder setResolveAst(boolean value) { - - resolveAst_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Flag indicating whether to resolve AST.
-             * 
- * - * bool resolve_ast = 2; - * - * @return This builder for chaining. - */ - public Builder clearResolveAst() { - bitField0_ = (bitField0_ & ~0x00000002); - resolveAst_ = false; - onChanged(); - return this; - } - - private boolean loadBuiltin_; - - /** - *
-             * Flag indicating whether to load built-in modules.
-             * 
- * - * bool load_builtin = 3; - * - * @return The loadBuiltin. - */ - @java.lang.Override - public boolean getLoadBuiltin() { - return loadBuiltin_; - } - - /** - *
-             * Flag indicating whether to load built-in modules.
-             * 
- * - * bool load_builtin = 3; - * - * @param value - * The loadBuiltin to set. - * - * @return This builder for chaining. - */ - public Builder setLoadBuiltin(boolean value) { - - loadBuiltin_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * Flag indicating whether to load built-in modules.
-             * 
- * - * bool load_builtin = 3; - * - * @return This builder for chaining. - */ - public Builder clearLoadBuiltin() { - bitField0_ = (bitField0_ & ~0x00000004); - loadBuiltin_ = false; - onChanged(); - return this; - } - - private boolean withAstIndex_; - - /** - *
-             * Flag indicating whether to include AST index.
-             * 
- * - * bool with_ast_index = 4; - * - * @return The withAstIndex. - */ - @java.lang.Override - public boolean getWithAstIndex() { - return withAstIndex_; - } - - /** - *
-             * Flag indicating whether to include AST index.
-             * 
- * - * bool with_ast_index = 4; - * - * @param value - * The withAstIndex to set. - * - * @return This builder for chaining. - */ - public Builder setWithAstIndex(boolean value) { - - withAstIndex_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - - /** - *
-             * Flag indicating whether to include AST index.
-             * 
- * - * bool with_ast_index = 4; - * - * @return This builder for chaining. - */ - public Builder clearWithAstIndex() { - bitField0_ = (bitField0_ & ~0x00000008); - withAstIndex_ = false; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadPackage_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.LoadPackage_Args) - private static final com.kcl.api.Spec.LoadPackage_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadPackage_Args(); - } - - public static com.kcl.api.Spec.LoadPackage_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoadPackage_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.LoadPackage_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LoadPackage_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadPackage_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Program Abstract Syntax Tree (AST) in JSON format.
-         * 
- * - * string program = 1; - * - * @return The program. - */ - java.lang.String getProgram(); - - /** - *
-         * Program Abstract Syntax Tree (AST) in JSON format.
-         * 
- * - * string program = 1; - * - * @return The bytes for program. - */ - com.google.protobuf.ByteString getProgramBytes(); - - /** - *
-         * Returns the files in the order they should be compiled.
-         * 
- * - * repeated string paths = 2; - * - * @return A list containing the paths. - */ - java.util.List getPathsList(); - - /** - *
-         * Returns the files in the order they should be compiled.
-         * 
- * - * repeated string paths = 2; - * - * @return The count of paths. - */ - int getPathsCount(); - - /** - *
-         * Returns the files in the order they should be compiled.
-         * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - java.lang.String getPaths(int index); - - /** - *
-         * Returns the files in the order they should be compiled.
-         * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - com.google.protobuf.ByteString getPathsBytes(int index); - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - java.util.List getParseErrorsList(); - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - com.kcl.api.Spec.Error getParseErrors(int index); - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - int getParseErrorsCount(); - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - java.util.List getParseErrorsOrBuilderList(); - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder(int index); - - /** - *
-         * List of type errors.
-         * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - java.util.List getTypeErrorsList(); - - /** - *
-         * List of type errors.
-         * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - com.kcl.api.Spec.Error getTypeErrors(int index); - - /** - *
-         * List of type errors.
-         * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - int getTypeErrorsCount(); - - /** - *
-         * List of type errors.
-         * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - java.util.List getTypeErrorsOrBuilderList(); - - /** - *
-         * List of type errors.
-         * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - com.kcl.api.Spec.ErrorOrBuilder getTypeErrorsOrBuilder(int index); - - /** - *
-         * Map of scopes with scope index as key.
-         * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - int getScopesCount(); - - /** - *
-         * Map of scopes with scope index as key.
-         * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - boolean containsScopes(java.lang.String key); - - /** - * Use {@link #getScopesMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getScopes(); - - /** - *
-         * Map of scopes with scope index as key.
-         * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - java.util.Map getScopesMap(); - - /** - *
-         * Map of scopes with scope index as key.
-         * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - /* nullable */ - com.kcl.api.Spec.Scope getScopesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.Scope defaultValue); - - /** - *
-         * Map of scopes with scope index as key.
-         * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - com.kcl.api.Spec.Scope getScopesOrThrow(java.lang.String key); - - /** - *
-         * Map of symbols with symbol index as key.
-         * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - int getSymbolsCount(); - - /** - *
-         * Map of symbols with symbol index as key.
-         * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - boolean containsSymbols(java.lang.String key); - - /** - * Use {@link #getSymbolsMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getSymbols(); - - /** - *
-         * Map of symbols with symbol index as key.
-         * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - java.util.Map getSymbolsMap(); - - /** - *
-         * Map of symbols with symbol index as key.
-         * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - /* nullable */ - com.kcl.api.Spec.Symbol getSymbolsOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.Symbol defaultValue); - - /** - *
-         * Map of symbols with symbol index as key.
-         * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - com.kcl.api.Spec.Symbol getSymbolsOrThrow(java.lang.String key); - - /** - *
-         * Map of node-symbol associations with AST index UUID as key.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - int getNodeSymbolMapCount(); - - /** - *
-         * Map of node-symbol associations with AST index UUID as key.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - boolean containsNodeSymbolMap(java.lang.String key); - - /** - * Use {@link #getNodeSymbolMapMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getNodeSymbolMap(); - - /** - *
-         * Map of node-symbol associations with AST index UUID as key.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - java.util.Map getNodeSymbolMapMap(); - - /** - *
-         * Map of node-symbol associations with AST index UUID as key.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - /* nullable */ - com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.SymbolIndex defaultValue); - - /** - *
-         * Map of node-symbol associations with AST index UUID as key.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrThrow(java.lang.String key); - - /** - *
-         * Map of symbol-node associations with symbol index as key.
-         * 
- * - * map<string, string> symbol_node_map = 8; - */ - int getSymbolNodeMapCount(); - - /** - *
-         * Map of symbol-node associations with symbol index as key.
-         * 
- * - * map<string, string> symbol_node_map = 8; - */ - boolean containsSymbolNodeMap(java.lang.String key); - - /** - * Use {@link #getSymbolNodeMapMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getSymbolNodeMap(); - - /** - *
-         * Map of symbol-node associations with symbol index as key.
-         * 
- * - * map<string, string> symbol_node_map = 8; - */ - java.util.Map getSymbolNodeMapMap(); - - /** - *
-         * Map of symbol-node associations with symbol index as key.
-         * 
- * - * map<string, string> symbol_node_map = 8; - */ - /* nullable */ - java.lang.String getSymbolNodeMapOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue); - - /** - *
-         * Map of symbol-node associations with symbol index as key.
-         * 
- * - * map<string, string> symbol_node_map = 8; - */ - java.lang.String getSymbolNodeMapOrThrow(java.lang.String key); - - /** - *
-         * Map of fully qualified names with symbol index as key.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - int getFullyQualifiedNameMapCount(); - - /** - *
-         * Map of fully qualified names with symbol index as key.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - boolean containsFullyQualifiedNameMap(java.lang.String key); - - /** - * Use {@link #getFullyQualifiedNameMapMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getFullyQualifiedNameMap(); - - /** - *
-         * Map of fully qualified names with symbol index as key.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - java.util.Map getFullyQualifiedNameMapMap(); - - /** - *
-         * Map of fully qualified names with symbol index as key.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - /* nullable */ - com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.SymbolIndex defaultValue); - - /** - *
-         * Map of fully qualified names with symbol index as key.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrThrow(java.lang.String key); - - /** - *
-         * Map of package scope with package path as key.
-         * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - int getPkgScopeMapCount(); - - /** - *
-         * Map of package scope with package path as key.
-         * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - boolean containsPkgScopeMap(java.lang.String key); - - /** - * Use {@link #getPkgScopeMapMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getPkgScopeMap(); - - /** - *
-         * Map of package scope with package path as key.
-         * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - java.util.Map getPkgScopeMapMap(); - - /** - *
-         * Map of package scope with package path as key.
-         * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - /* nullable */ - com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.ScopeIndex defaultValue); - - /** - *
-         * Map of package scope with package path as key.
-         * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrThrow(java.lang.String key); - } - - /** - *
-     * Message for load package response.
-     * 
- * - * Protobuf type {@code com.kcl.api.LoadPackage_Result} - */ - public static final class LoadPackage_Result extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.LoadPackage_Result) - LoadPackage_ResultOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", LoadPackage_Result.class.getName()); - } - - // Use LoadPackage_Result.newBuilder() to construct. - private LoadPackage_Result(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private LoadPackage_Result() { - program_ = ""; - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - parseErrors_ = java.util.Collections.emptyList(); - typeErrors_ = java.util.Collections.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_descriptor; - } - - @SuppressWarnings({ "rawtypes" }) - @java.lang.Override - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 5: - return internalGetScopes(); - case 6: - return internalGetSymbols(); - case 7: - return internalGetNodeSymbolMap(); - case 8: - return internalGetSymbolNodeMap(); - case 9: - return internalGetFullyQualifiedNameMap(); - case 10: - return internalGetPkgScopeMap(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LoadPackage_Result.class, - com.kcl.api.Spec.LoadPackage_Result.Builder.class); - } - - public static final int PROGRAM_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object program_ = ""; - - /** - *
-         * Program Abstract Syntax Tree (AST) in JSON format.
-         * 
- * - * string program = 1; - * - * @return The program. - */ - @java.lang.Override - public java.lang.String getProgram() { - java.lang.Object ref = program_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - program_ = s; - return s; - } - } - - /** - *
-         * Program Abstract Syntax Tree (AST) in JSON format.
-         * 
- * - * string program = 1; - * - * @return The bytes for program. - */ - @java.lang.Override - public com.google.protobuf.ByteString getProgramBytes() { - java.lang.Object ref = program_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - program_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PATHS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - *
-         * Returns the files in the order they should be compiled.
-         * 
- * - * repeated string paths = 2; - * - * @return A list containing the paths. - */ - public com.google.protobuf.ProtocolStringList getPathsList() { - return paths_; - } - - /** - *
-         * Returns the files in the order they should be compiled.
-         * 
- * - * repeated string paths = 2; - * - * @return The count of paths. - */ - public int getPathsCount() { - return paths_.size(); - } - - /** - *
-         * Returns the files in the order they should be compiled.
-         * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - public java.lang.String getPaths(int index) { - return paths_.get(index); - } - - /** - *
-         * Returns the files in the order they should be compiled.
-         * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - public com.google.protobuf.ByteString getPathsBytes(int index) { - return paths_.getByteString(index); - } - - public static final int PARSE_ERRORS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private java.util.List parseErrors_; - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - @java.lang.Override - public java.util.List getParseErrorsList() { - return parseErrors_; - } - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - @java.lang.Override - public java.util.List getParseErrorsOrBuilderList() { - return parseErrors_; - } - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - @java.lang.Override - public int getParseErrorsCount() { - return parseErrors_.size(); - } - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.Error getParseErrors(int index) { - return parseErrors_.get(index); - } - - /** - *
-         * List of parse errors.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder(int index) { - return parseErrors_.get(index); - } - - public static final int TYPE_ERRORS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private java.util.List typeErrors_; - - /** - *
-         * List of type errors.
-         * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - @java.lang.Override - public java.util.List getTypeErrorsList() { - return typeErrors_; - } - - /** - *
-         * List of type errors.
-         * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - @java.lang.Override - public java.util.List getTypeErrorsOrBuilderList() { - return typeErrors_; - } - - /** - *
-         * List of type errors.
-         * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - @java.lang.Override - public int getTypeErrorsCount() { - return typeErrors_.size(); - } - - /** - *
-         * List of type errors.
-         * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - @java.lang.Override - public com.kcl.api.Spec.Error getTypeErrors(int index) { - return typeErrors_.get(index); - } - - /** - *
-         * List of type errors.
-         * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - @java.lang.Override - public com.kcl.api.Spec.ErrorOrBuilder getTypeErrorsOrBuilder(int index) { - return typeErrors_.get(index); - } - - public static final int SCOPES_FIELD_NUMBER = 5; - - private static final class ScopesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, com.kcl.api.Spec.Scope.getDefaultInstance()); - } - - @SuppressWarnings("serial") - private com.google.protobuf.MapField scopes_; - - private com.google.protobuf.MapField internalGetScopes() { - if (scopes_ == null) { - return com.google.protobuf.MapField.emptyMapField(ScopesDefaultEntryHolder.defaultEntry); - } - return scopes_; - } - - public int getScopesCount() { - return internalGetScopes().getMap().size(); - } - - /** - *
-         * Map of scopes with scope index as key.
-         * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - @java.lang.Override - public boolean containsScopes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetScopes().getMap().containsKey(key); - } - - /** - * Use {@link #getScopesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getScopes() { - return getScopesMap(); - } - - /** - *
-         * Map of scopes with scope index as key.
-         * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - @java.lang.Override - public java.util.Map getScopesMap() { - return internalGetScopes().getMap(); - } - - /** - *
-         * Map of scopes with scope index as key.
-         * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.Scope getScopesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.Scope defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetScopes().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - - /** - *
-         * Map of scopes with scope index as key.
-         * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - @java.lang.Override - public com.kcl.api.Spec.Scope getScopesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetScopes().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int SYMBOLS_FIELD_NUMBER = 6; - - private static final class SymbolsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, com.kcl.api.Spec.Symbol.getDefaultInstance()); - } - - @SuppressWarnings("serial") - private com.google.protobuf.MapField symbols_; - - private com.google.protobuf.MapField internalGetSymbols() { - if (symbols_ == null) { - return com.google.protobuf.MapField.emptyMapField(SymbolsDefaultEntryHolder.defaultEntry); - } - return symbols_; - } - - public int getSymbolsCount() { - return internalGetSymbols().getMap().size(); - } - - /** - *
-         * Map of symbols with symbol index as key.
-         * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - @java.lang.Override - public boolean containsSymbols(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetSymbols().getMap().containsKey(key); - } - - /** - * Use {@link #getSymbolsMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getSymbols() { - return getSymbolsMap(); - } - - /** - *
-         * Map of symbols with symbol index as key.
-         * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - @java.lang.Override - public java.util.Map getSymbolsMap() { - return internalGetSymbols().getMap(); - } - - /** - *
-         * Map of symbols with symbol index as key.
-         * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.Symbol getSymbolsOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.Symbol defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSymbols().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - - /** - *
-         * Map of symbols with symbol index as key.
-         * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - @java.lang.Override - public com.kcl.api.Spec.Symbol getSymbolsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSymbols().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int NODE_SYMBOL_MAP_FIELD_NUMBER = 7; - - private static final class NodeSymbolMapDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); - } - - @SuppressWarnings("serial") - private com.google.protobuf.MapField nodeSymbolMap_; - - private com.google.protobuf.MapField internalGetNodeSymbolMap() { - if (nodeSymbolMap_ == null) { - return com.google.protobuf.MapField.emptyMapField(NodeSymbolMapDefaultEntryHolder.defaultEntry); - } - return nodeSymbolMap_; - } - - public int getNodeSymbolMapCount() { - return internalGetNodeSymbolMap().getMap().size(); - } - - /** - *
-         * Map of node-symbol associations with AST index UUID as key.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - @java.lang.Override - public boolean containsNodeSymbolMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetNodeSymbolMap().getMap().containsKey(key); - } - - /** - * Use {@link #getNodeSymbolMapMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getNodeSymbolMap() { - return getNodeSymbolMapMap(); - } - - /** - *
-         * Map of node-symbol associations with AST index UUID as key.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - @java.lang.Override - public java.util.Map getNodeSymbolMapMap() { - return internalGetNodeSymbolMap().getMap(); - } - - /** - *
-         * Map of node-symbol associations with AST index UUID as key.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.SymbolIndex defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetNodeSymbolMap().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - - /** - *
-         * Map of node-symbol associations with AST index UUID as key.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetNodeSymbolMap().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int SYMBOL_NODE_MAP_FIELD_NUMBER = 8; - - private static final class SymbolNodeMapDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.STRING, ""); - } - - @SuppressWarnings("serial") - private com.google.protobuf.MapField symbolNodeMap_; - - private com.google.protobuf.MapField internalGetSymbolNodeMap() { - if (symbolNodeMap_ == null) { - return com.google.protobuf.MapField.emptyMapField(SymbolNodeMapDefaultEntryHolder.defaultEntry); - } - return symbolNodeMap_; - } - - public int getSymbolNodeMapCount() { - return internalGetSymbolNodeMap().getMap().size(); - } - - /** - *
-         * Map of symbol-node associations with symbol index as key.
-         * 
- * - * map<string, string> symbol_node_map = 8; - */ - @java.lang.Override - public boolean containsSymbolNodeMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetSymbolNodeMap().getMap().containsKey(key); - } - - /** - * Use {@link #getSymbolNodeMapMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getSymbolNodeMap() { - return getSymbolNodeMapMap(); - } - - /** - *
-         * Map of symbol-node associations with symbol index as key.
-         * 
- * - * map<string, string> symbol_node_map = 8; - */ - @java.lang.Override - public java.util.Map getSymbolNodeMapMap() { - return internalGetSymbolNodeMap().getMap(); - } - - /** - *
-         * Map of symbol-node associations with symbol index as key.
-         * 
- * - * map<string, string> symbol_node_map = 8; - */ - @java.lang.Override - public /* nullable */ - java.lang.String getSymbolNodeMapOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSymbolNodeMap().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - - /** - *
-         * Map of symbol-node associations with symbol index as key.
-         * 
- * - * map<string, string> symbol_node_map = 8; - */ - @java.lang.Override - public java.lang.String getSymbolNodeMapOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSymbolNodeMap().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int FULLY_QUALIFIED_NAME_MAP_FIELD_NUMBER = 9; - - private static final class FullyQualifiedNameMapDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); - } - - @SuppressWarnings("serial") - private com.google.protobuf.MapField fullyQualifiedNameMap_; - - private com.google.protobuf.MapField internalGetFullyQualifiedNameMap() { - if (fullyQualifiedNameMap_ == null) { - return com.google.protobuf.MapField.emptyMapField(FullyQualifiedNameMapDefaultEntryHolder.defaultEntry); - } - return fullyQualifiedNameMap_; - } - - public int getFullyQualifiedNameMapCount() { - return internalGetFullyQualifiedNameMap().getMap().size(); - } - - /** - *
-         * Map of fully qualified names with symbol index as key.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - @java.lang.Override - public boolean containsFullyQualifiedNameMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetFullyQualifiedNameMap().getMap().containsKey(key); - } - - /** - * Use {@link #getFullyQualifiedNameMapMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getFullyQualifiedNameMap() { - return getFullyQualifiedNameMapMap(); - } - - /** - *
-         * Map of fully qualified names with symbol index as key.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - @java.lang.Override - public java.util.Map getFullyQualifiedNameMapMap() { - return internalGetFullyQualifiedNameMap().getMap(); - } - - /** - *
-         * Map of fully qualified names with symbol index as key.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.SymbolIndex defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetFullyQualifiedNameMap() - .getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - - /** - *
-         * Map of fully qualified names with symbol index as key.
-         * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetFullyQualifiedNameMap() - .getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int PKG_SCOPE_MAP_FIELD_NUMBER = 10; - - private static final class PkgScopeMapDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, com.kcl.api.Spec.ScopeIndex.getDefaultInstance()); - } - - @SuppressWarnings("serial") - private com.google.protobuf.MapField pkgScopeMap_; - - private com.google.protobuf.MapField internalGetPkgScopeMap() { - if (pkgScopeMap_ == null) { - return com.google.protobuf.MapField.emptyMapField(PkgScopeMapDefaultEntryHolder.defaultEntry); - } - return pkgScopeMap_; - } - - public int getPkgScopeMapCount() { - return internalGetPkgScopeMap().getMap().size(); - } - - /** - *
-         * Map of package scope with package path as key.
-         * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - @java.lang.Override - public boolean containsPkgScopeMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetPkgScopeMap().getMap().containsKey(key); - } - - /** - * Use {@link #getPkgScopeMapMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getPkgScopeMap() { - return getPkgScopeMapMap(); - } - - /** - *
-         * Map of package scope with package path as key.
-         * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - @java.lang.Override - public java.util.Map getPkgScopeMapMap() { - return internalGetPkgScopeMap().getMap(); - } - - /** - *
-         * Map of package scope with package path as key.
-         * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.ScopeIndex defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetPkgScopeMap().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - - /** - *
-         * Map of package scope with package path as key.
-         * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - @java.lang.Override - public com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetPkgScopeMap().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(program_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, program_); - } - for (int i = 0; i < paths_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, paths_.getRaw(i)); - } - for (int i = 0; i < parseErrors_.size(); i++) { - output.writeMessage(3, parseErrors_.get(i)); - } - for (int i = 0; i < typeErrors_.size(); i++) { - output.writeMessage(4, typeErrors_.get(i)); - } - com.google.protobuf.GeneratedMessage.serializeStringMapTo(output, internalGetScopes(), - ScopesDefaultEntryHolder.defaultEntry, 5); - com.google.protobuf.GeneratedMessage.serializeStringMapTo(output, internalGetSymbols(), - SymbolsDefaultEntryHolder.defaultEntry, 6); - com.google.protobuf.GeneratedMessage.serializeStringMapTo(output, internalGetNodeSymbolMap(), - NodeSymbolMapDefaultEntryHolder.defaultEntry, 7); - com.google.protobuf.GeneratedMessage.serializeStringMapTo(output, internalGetSymbolNodeMap(), - SymbolNodeMapDefaultEntryHolder.defaultEntry, 8); - com.google.protobuf.GeneratedMessage.serializeStringMapTo(output, internalGetFullyQualifiedNameMap(), - FullyQualifiedNameMapDefaultEntryHolder.defaultEntry, 9); - com.google.protobuf.GeneratedMessage.serializeStringMapTo(output, internalGetPkgScopeMap(), - PkgScopeMapDefaultEntryHolder.defaultEntry, 10); - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(program_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, program_); - } - { - int dataSize = 0; - for (int i = 0; i < paths_.size(); i++) { - dataSize += computeStringSizeNoTag(paths_.getRaw(i)); - } - size += dataSize; - size += 1 * getPathsList().size(); - } - for (int i = 0; i < parseErrors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, parseErrors_.get(i)); - } - for (int i = 0; i < typeErrors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, typeErrors_.get(i)); - } - for (java.util.Map.Entry entry : internalGetScopes().getMap() - .entrySet()) { - com.google.protobuf.MapEntry scopes__ = ScopesDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, scopes__); - } - for (java.util.Map.Entry entry : internalGetSymbols().getMap() - .entrySet()) { - com.google.protobuf.MapEntry symbols__ = SymbolsDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, symbols__); - } - for (java.util.Map.Entry entry : internalGetNodeSymbolMap() - .getMap().entrySet()) { - com.google.protobuf.MapEntry nodeSymbolMap__ = NodeSymbolMapDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, nodeSymbolMap__); - } - for (java.util.Map.Entry entry : internalGetSymbolNodeMap().getMap() - .entrySet()) { - com.google.protobuf.MapEntry symbolNodeMap__ = SymbolNodeMapDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, symbolNodeMap__); - } - for (java.util.Map.Entry entry : internalGetFullyQualifiedNameMap() - .getMap().entrySet()) { - com.google.protobuf.MapEntry fullyQualifiedNameMap__ = FullyQualifiedNameMapDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, fullyQualifiedNameMap__); - } - for (java.util.Map.Entry entry : internalGetPkgScopeMap() - .getMap().entrySet()) { - com.google.protobuf.MapEntry pkgScopeMap__ = PkgScopeMapDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, pkgScopeMap__); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.LoadPackage_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.LoadPackage_Result other = (com.kcl.api.Spec.LoadPackage_Result) obj; - - if (!getProgram().equals(other.getProgram())) - return false; - if (!getPathsList().equals(other.getPathsList())) - return false; - if (!getParseErrorsList().equals(other.getParseErrorsList())) - return false; - if (!getTypeErrorsList().equals(other.getTypeErrorsList())) - return false; - if (!internalGetScopes().equals(other.internalGetScopes())) - return false; - if (!internalGetSymbols().equals(other.internalGetSymbols())) - return false; - if (!internalGetNodeSymbolMap().equals(other.internalGetNodeSymbolMap())) - return false; - if (!internalGetSymbolNodeMap().equals(other.internalGetSymbolNodeMap())) - return false; - if (!internalGetFullyQualifiedNameMap().equals(other.internalGetFullyQualifiedNameMap())) - return false; - if (!internalGetPkgScopeMap().equals(other.internalGetPkgScopeMap())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PROGRAM_FIELD_NUMBER; - hash = (53 * hash) + getProgram().hashCode(); - if (getPathsCount() > 0) { - hash = (37 * hash) + PATHS_FIELD_NUMBER; - hash = (53 * hash) + getPathsList().hashCode(); - } - if (getParseErrorsCount() > 0) { - hash = (37 * hash) + PARSE_ERRORS_FIELD_NUMBER; - hash = (53 * hash) + getParseErrorsList().hashCode(); - } - if (getTypeErrorsCount() > 0) { - hash = (37 * hash) + TYPE_ERRORS_FIELD_NUMBER; - hash = (53 * hash) + getTypeErrorsList().hashCode(); - } - if (!internalGetScopes().getMap().isEmpty()) { - hash = (37 * hash) + SCOPES_FIELD_NUMBER; - hash = (53 * hash) + internalGetScopes().hashCode(); - } - if (!internalGetSymbols().getMap().isEmpty()) { - hash = (37 * hash) + SYMBOLS_FIELD_NUMBER; - hash = (53 * hash) + internalGetSymbols().hashCode(); - } - if (!internalGetNodeSymbolMap().getMap().isEmpty()) { - hash = (37 * hash) + NODE_SYMBOL_MAP_FIELD_NUMBER; - hash = (53 * hash) + internalGetNodeSymbolMap().hashCode(); - } - if (!internalGetSymbolNodeMap().getMap().isEmpty()) { - hash = (37 * hash) + SYMBOL_NODE_MAP_FIELD_NUMBER; - hash = (53 * hash) + internalGetSymbolNodeMap().hashCode(); - } - if (!internalGetFullyQualifiedNameMap().getMap().isEmpty()) { - hash = (37 * hash) + FULLY_QUALIFIED_NAME_MAP_FIELD_NUMBER; - hash = (53 * hash) + internalGetFullyQualifiedNameMap().hashCode(); - } - if (!internalGetPkgScopeMap().getMap().isEmpty()) { - hash = (37 * hash) + PKG_SCOPE_MAP_FIELD_NUMBER; - hash = (53 * hash) + internalGetPkgScopeMap().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.LoadPackage_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LoadPackage_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadPackage_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LoadPackage_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadPackage_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LoadPackage_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadPackage_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LoadPackage_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadPackage_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LoadPackage_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadPackage_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LoadPackage_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.LoadPackage_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for load package response.
-         * 
- * - * Protobuf type {@code com.kcl.api.LoadPackage_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadPackage_Result) - com.kcl.api.Spec.LoadPackage_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_descriptor; - } - - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 5: - return internalGetScopes(); - case 6: - return internalGetSymbols(); - case 7: - return internalGetNodeSymbolMap(); - case 8: - return internalGetSymbolNodeMap(); - case 9: - return internalGetFullyQualifiedNameMap(); - case 10: - return internalGetPkgScopeMap(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) { - switch (number) { - case 5: - return internalGetMutableScopes(); - case 6: - return internalGetMutableSymbols(); - case 7: - return internalGetMutableNodeSymbolMap(); - case 8: - return internalGetMutableSymbolNodeMap(); - case 9: - return internalGetMutableFullyQualifiedNameMap(); - case 10: - return internalGetMutablePkgScopeMap(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LoadPackage_Result.class, - com.kcl.api.Spec.LoadPackage_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.LoadPackage_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - program_ = ""; - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - if (parseErrorsBuilder_ == null) { - parseErrors_ = java.util.Collections.emptyList(); - } else { - parseErrors_ = null; - parseErrorsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - if (typeErrorsBuilder_ == null) { - typeErrors_ = java.util.Collections.emptyList(); - } else { - typeErrors_ = null; - typeErrorsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableScopes().clear(); - internalGetMutableSymbols().clear(); - internalGetMutableNodeSymbolMap().clear(); - internalGetMutableSymbolNodeMap().clear(); - internalGetMutableFullyQualifiedNameMap().clear(); - internalGetMutablePkgScopeMap().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.LoadPackage_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.LoadPackage_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.LoadPackage_Result build() { - com.kcl.api.Spec.LoadPackage_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.LoadPackage_Result buildPartial() { - com.kcl.api.Spec.LoadPackage_Result result = new com.kcl.api.Spec.LoadPackage_Result(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.LoadPackage_Result result) { - if (parseErrorsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - parseErrors_ = java.util.Collections.unmodifiableList(parseErrors_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.parseErrors_ = parseErrors_; - } else { - result.parseErrors_ = parseErrorsBuilder_.build(); - } - if (typeErrorsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - typeErrors_ = java.util.Collections.unmodifiableList(typeErrors_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.typeErrors_ = typeErrors_; - } else { - result.typeErrors_ = typeErrorsBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.LoadPackage_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.program_ = program_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - paths_.makeImmutable(); - result.paths_ = paths_; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.scopes_ = internalGetScopes().build(ScopesDefaultEntryHolder.defaultEntry); - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.symbols_ = internalGetSymbols().build(SymbolsDefaultEntryHolder.defaultEntry); - } - if (((from_bitField0_ & 0x00000040) != 0)) { - result.nodeSymbolMap_ = internalGetNodeSymbolMap() - .build(NodeSymbolMapDefaultEntryHolder.defaultEntry); - } - if (((from_bitField0_ & 0x00000080) != 0)) { - result.symbolNodeMap_ = internalGetSymbolNodeMap(); - result.symbolNodeMap_.makeImmutable(); - } - if (((from_bitField0_ & 0x00000100) != 0)) { - result.fullyQualifiedNameMap_ = internalGetFullyQualifiedNameMap() - .build(FullyQualifiedNameMapDefaultEntryHolder.defaultEntry); - } - if (((from_bitField0_ & 0x00000200) != 0)) { - result.pkgScopeMap_ = internalGetPkgScopeMap().build(PkgScopeMapDefaultEntryHolder.defaultEntry); - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.LoadPackage_Result) { - return mergeFrom((com.kcl.api.Spec.LoadPackage_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.LoadPackage_Result other) { - if (other == com.kcl.api.Spec.LoadPackage_Result.getDefaultInstance()) - return this; - if (!other.getProgram().isEmpty()) { - program_ = other.program_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.paths_.isEmpty()) { - if (paths_.isEmpty()) { - paths_ = other.paths_; - bitField0_ |= 0x00000002; - } else { - ensurePathsIsMutable(); - paths_.addAll(other.paths_); - } - onChanged(); - } - if (parseErrorsBuilder_ == null) { - if (!other.parseErrors_.isEmpty()) { - if (parseErrors_.isEmpty()) { - parseErrors_ = other.parseErrors_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureParseErrorsIsMutable(); - parseErrors_.addAll(other.parseErrors_); - } - onChanged(); - } - } else { - if (!other.parseErrors_.isEmpty()) { - if (parseErrorsBuilder_.isEmpty()) { - parseErrorsBuilder_.dispose(); - parseErrorsBuilder_ = null; - parseErrors_ = other.parseErrors_; - bitField0_ = (bitField0_ & ~0x00000004); - parseErrorsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getParseErrorsFieldBuilder() : null; - } else { - parseErrorsBuilder_.addAllMessages(other.parseErrors_); - } - } - } - if (typeErrorsBuilder_ == null) { - if (!other.typeErrors_.isEmpty()) { - if (typeErrors_.isEmpty()) { - typeErrors_ = other.typeErrors_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureTypeErrorsIsMutable(); - typeErrors_.addAll(other.typeErrors_); - } - onChanged(); - } - } else { - if (!other.typeErrors_.isEmpty()) { - if (typeErrorsBuilder_.isEmpty()) { - typeErrorsBuilder_.dispose(); - typeErrorsBuilder_ = null; - typeErrors_ = other.typeErrors_; - bitField0_ = (bitField0_ & ~0x00000008); - typeErrorsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getTypeErrorsFieldBuilder() : null; - } else { - typeErrorsBuilder_.addAllMessages(other.typeErrors_); - } - } - } - internalGetMutableScopes().mergeFrom(other.internalGetScopes()); - bitField0_ |= 0x00000010; - internalGetMutableSymbols().mergeFrom(other.internalGetSymbols()); - bitField0_ |= 0x00000020; - internalGetMutableNodeSymbolMap().mergeFrom(other.internalGetNodeSymbolMap()); - bitField0_ |= 0x00000040; - internalGetMutableSymbolNodeMap().mergeFrom(other.internalGetSymbolNodeMap()); - bitField0_ |= 0x00000080; - internalGetMutableFullyQualifiedNameMap().mergeFrom(other.internalGetFullyQualifiedNameMap()); - bitField0_ |= 0x00000100; - internalGetMutablePkgScopeMap().mergeFrom(other.internalGetPkgScopeMap()); - bitField0_ |= 0x00000200; - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - program_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePathsIsMutable(); - paths_.add(s); - break; - } // case 18 - case 26: { - com.kcl.api.Spec.Error m = input.readMessage(com.kcl.api.Spec.Error.parser(), - extensionRegistry); - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - parseErrors_.add(m); - } else { - parseErrorsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: { - com.kcl.api.Spec.Error m = input.readMessage(com.kcl.api.Spec.Error.parser(), - extensionRegistry); - if (typeErrorsBuilder_ == null) { - ensureTypeErrorsIsMutable(); - typeErrors_.add(m); - } else { - typeErrorsBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: { - com.google.protobuf.MapEntry scopes__ = input - .readMessage(ScopesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableScopes().ensureBuilderMap().put(scopes__.getKey(), scopes__.getValue()); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - com.google.protobuf.MapEntry symbols__ = input - .readMessage(SymbolsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableSymbols().ensureBuilderMap().put(symbols__.getKey(), - symbols__.getValue()); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - com.google.protobuf.MapEntry nodeSymbolMap__ = input - .readMessage(NodeSymbolMapDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableNodeSymbolMap().ensureBuilderMap().put(nodeSymbolMap__.getKey(), - nodeSymbolMap__.getValue()); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - com.google.protobuf.MapEntry symbolNodeMap__ = input - .readMessage(SymbolNodeMapDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableSymbolNodeMap().getMutableMap().put(symbolNodeMap__.getKey(), - symbolNodeMap__.getValue()); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 74: { - com.google.protobuf.MapEntry fullyQualifiedNameMap__ = input - .readMessage( - FullyQualifiedNameMapDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableFullyQualifiedNameMap().ensureBuilderMap() - .put(fullyQualifiedNameMap__.getKey(), fullyQualifiedNameMap__.getValue()); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 82: { - com.google.protobuf.MapEntry pkgScopeMap__ = input - .readMessage(PkgScopeMapDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutablePkgScopeMap().ensureBuilderMap().put(pkgScopeMap__.getKey(), - pkgScopeMap__.getValue()); - bitField0_ |= 0x00000200; - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object program_ = ""; - - /** - *
-             * Program Abstract Syntax Tree (AST) in JSON format.
-             * 
- * - * string program = 1; - * - * @return The program. - */ - public java.lang.String getProgram() { - java.lang.Object ref = program_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - program_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Program Abstract Syntax Tree (AST) in JSON format.
-             * 
- * - * string program = 1; - * - * @return The bytes for program. - */ - public com.google.protobuf.ByteString getProgramBytes() { - java.lang.Object ref = program_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - program_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Program Abstract Syntax Tree (AST) in JSON format.
-             * 
- * - * string program = 1; - * - * @param value - * The program to set. - * - * @return This builder for chaining. - */ - public Builder setProgram(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - program_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Program Abstract Syntax Tree (AST) in JSON format.
-             * 
- * - * string program = 1; - * - * @return This builder for chaining. - */ - public Builder clearProgram() { - program_ = getDefaultInstance().getProgram(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * Program Abstract Syntax Tree (AST) in JSON format.
-             * 
- * - * string program = 1; - * - * @param value - * The bytes for program to set. - * - * @return This builder for chaining. - */ - public Builder setProgramBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - program_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList paths_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensurePathsIsMutable() { - if (!paths_.isModifiable()) { - paths_ = new com.google.protobuf.LazyStringArrayList(paths_); - } - bitField0_ |= 0x00000002; - } - - /** - *
-             * Returns the files in the order they should be compiled.
-             * 
- * - * repeated string paths = 2; - * - * @return A list containing the paths. - */ - public com.google.protobuf.ProtocolStringList getPathsList() { - paths_.makeImmutable(); - return paths_; - } - - /** - *
-             * Returns the files in the order they should be compiled.
-             * 
- * - * repeated string paths = 2; - * - * @return The count of paths. - */ - public int getPathsCount() { - return paths_.size(); - } - - /** - *
-             * Returns the files in the order they should be compiled.
-             * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - public java.lang.String getPaths(int index) { - return paths_.get(index); - } - - /** - *
-             * Returns the files in the order they should be compiled.
-             * 
- * - * repeated string paths = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - public com.google.protobuf.ByteString getPathsBytes(int index) { - return paths_.getByteString(index); - } - - /** - *
-             * Returns the files in the order they should be compiled.
-             * 
- * - * repeated string paths = 2; - * - * @param index - * The index to set the value at. - * @param value - * The paths to set. - * - * @return This builder for chaining. - */ - public Builder setPaths(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); - paths_.set(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled.
-             * 
- * - * repeated string paths = 2; - * - * @param value - * The paths to add. - * - * @return This builder for chaining. - */ - public Builder addPaths(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); - paths_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled.
-             * 
- * - * repeated string paths = 2; - * - * @param values - * The paths to add. - * - * @return This builder for chaining. - */ - public Builder addAllPaths(java.lang.Iterable values) { - ensurePathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, paths_); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled.
-             * 
- * - * repeated string paths = 2; - * - * @return This builder for chaining. - */ - public Builder clearPaths() { - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; - onChanged(); - return this; - } - - /** - *
-             * Returns the files in the order they should be compiled.
-             * 
- * - * repeated string paths = 2; - * - * @param value - * The bytes of the paths to add. - * - * @return This builder for chaining. - */ - public Builder addPathsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensurePathsIsMutable(); - paths_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.util.List parseErrors_ = java.util.Collections.emptyList(); - - private void ensureParseErrorsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - parseErrors_ = new java.util.ArrayList(parseErrors_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilder parseErrorsBuilder_; - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public java.util.List getParseErrorsList() { - if (parseErrorsBuilder_ == null) { - return java.util.Collections.unmodifiableList(parseErrors_); - } else { - return parseErrorsBuilder_.getMessageList(); - } - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public int getParseErrorsCount() { - if (parseErrorsBuilder_ == null) { - return parseErrors_.size(); - } else { - return parseErrorsBuilder_.getCount(); - } - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public com.kcl.api.Spec.Error getParseErrors(int index) { - if (parseErrorsBuilder_ == null) { - return parseErrors_.get(index); - } else { - return parseErrorsBuilder_.getMessage(index); - } - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder setParseErrors(int index, com.kcl.api.Spec.Error value) { - if (parseErrorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureParseErrorsIsMutable(); - parseErrors_.set(index, value); - onChanged(); - } else { - parseErrorsBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder setParseErrors(int index, com.kcl.api.Spec.Error.Builder builderForValue) { - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - parseErrors_.set(index, builderForValue.build()); - onChanged(); - } else { - parseErrorsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder addParseErrors(com.kcl.api.Spec.Error value) { - if (parseErrorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureParseErrorsIsMutable(); - parseErrors_.add(value); - onChanged(); - } else { - parseErrorsBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder addParseErrors(int index, com.kcl.api.Spec.Error value) { - if (parseErrorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureParseErrorsIsMutable(); - parseErrors_.add(index, value); - onChanged(); - } else { - parseErrorsBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder addParseErrors(com.kcl.api.Spec.Error.Builder builderForValue) { - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - parseErrors_.add(builderForValue.build()); - onChanged(); - } else { - parseErrorsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder addParseErrors(int index, com.kcl.api.Spec.Error.Builder builderForValue) { - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - parseErrors_.add(index, builderForValue.build()); - onChanged(); - } else { - parseErrorsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder addAllParseErrors(java.lang.Iterable values) { - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parseErrors_); - onChanged(); - } else { - parseErrorsBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder clearParseErrors() { - if (parseErrorsBuilder_ == null) { - parseErrors_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - parseErrorsBuilder_.clear(); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder removeParseErrors(int index) { - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - parseErrors_.remove(index); - onChanged(); - } else { - parseErrorsBuilder_.remove(index); - } - return this; - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public com.kcl.api.Spec.Error.Builder getParseErrorsBuilder(int index) { - return getParseErrorsFieldBuilder().getBuilder(index); - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder(int index) { - if (parseErrorsBuilder_ == null) { - return parseErrors_.get(index); - } else { - return parseErrorsBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public java.util.List getParseErrorsOrBuilderList() { - if (parseErrorsBuilder_ != null) { - return parseErrorsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(parseErrors_); - } - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder() { - return getParseErrorsFieldBuilder().addBuilder(com.kcl.api.Spec.Error.getDefaultInstance()); - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder(int index) { - return getParseErrorsFieldBuilder().addBuilder(index, com.kcl.api.Spec.Error.getDefaultInstance()); - } - - /** - *
-             * List of parse errors.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public java.util.List getParseErrorsBuilderList() { - return getParseErrorsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder getParseErrorsFieldBuilder() { - if (parseErrorsBuilder_ == null) { - parseErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - parseErrors_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); - parseErrors_ = null; - } - return parseErrorsBuilder_; - } - - private java.util.List typeErrors_ = java.util.Collections.emptyList(); - - private void ensureTypeErrorsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - typeErrors_ = new java.util.ArrayList(typeErrors_); - bitField0_ |= 0x00000008; - } - } - - private com.google.protobuf.RepeatedFieldBuilder typeErrorsBuilder_; - - /** - *
-             * List of type errors.
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public java.util.List getTypeErrorsList() { - if (typeErrorsBuilder_ == null) { - return java.util.Collections.unmodifiableList(typeErrors_); - } else { - return typeErrorsBuilder_.getMessageList(); - } - } - - /** - *
-             * List of type errors.
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public int getTypeErrorsCount() { - if (typeErrorsBuilder_ == null) { - return typeErrors_.size(); - } else { - return typeErrorsBuilder_.getCount(); - } - } - - /** - *
-             * List of type errors.
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public com.kcl.api.Spec.Error getTypeErrors(int index) { - if (typeErrorsBuilder_ == null) { - return typeErrors_.get(index); - } else { - return typeErrorsBuilder_.getMessage(index); - } - } - - /** - *
-             * List of type errors.
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public Builder setTypeErrors(int index, com.kcl.api.Spec.Error value) { - if (typeErrorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTypeErrorsIsMutable(); - typeErrors_.set(index, value); - onChanged(); - } else { - typeErrorsBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * List of type errors.
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public Builder setTypeErrors(int index, com.kcl.api.Spec.Error.Builder builderForValue) { - if (typeErrorsBuilder_ == null) { - ensureTypeErrorsIsMutable(); - typeErrors_.set(index, builderForValue.build()); - onChanged(); - } else { - typeErrorsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * List of type errors.
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public Builder addTypeErrors(com.kcl.api.Spec.Error value) { - if (typeErrorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTypeErrorsIsMutable(); - typeErrors_.add(value); - onChanged(); - } else { - typeErrorsBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * List of type errors.
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public Builder addTypeErrors(int index, com.kcl.api.Spec.Error value) { - if (typeErrorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTypeErrorsIsMutable(); - typeErrors_.add(index, value); - onChanged(); - } else { - typeErrorsBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * List of type errors.
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public Builder addTypeErrors(com.kcl.api.Spec.Error.Builder builderForValue) { - if (typeErrorsBuilder_ == null) { - ensureTypeErrorsIsMutable(); - typeErrors_.add(builderForValue.build()); - onChanged(); - } else { - typeErrorsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * List of type errors.
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public Builder addTypeErrors(int index, com.kcl.api.Spec.Error.Builder builderForValue) { - if (typeErrorsBuilder_ == null) { - ensureTypeErrorsIsMutable(); - typeErrors_.add(index, builderForValue.build()); - onChanged(); - } else { - typeErrorsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * List of type errors.
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public Builder addAllTypeErrors(java.lang.Iterable values) { - if (typeErrorsBuilder_ == null) { - ensureTypeErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, typeErrors_); - onChanged(); - } else { - typeErrorsBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * List of type errors.
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public Builder clearTypeErrors() { - if (typeErrorsBuilder_ == null) { - typeErrors_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - typeErrorsBuilder_.clear(); - } - return this; - } - - /** - *
-             * List of type errors.
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public Builder removeTypeErrors(int index) { - if (typeErrorsBuilder_ == null) { - ensureTypeErrorsIsMutable(); - typeErrors_.remove(index); - onChanged(); - } else { - typeErrorsBuilder_.remove(index); - } - return this; - } - - /** - *
-             * List of type errors.
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public com.kcl.api.Spec.Error.Builder getTypeErrorsBuilder(int index) { - return getTypeErrorsFieldBuilder().getBuilder(index); - } - - /** - *
-             * List of type errors.
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public com.kcl.api.Spec.ErrorOrBuilder getTypeErrorsOrBuilder(int index) { - if (typeErrorsBuilder_ == null) { - return typeErrors_.get(index); - } else { - return typeErrorsBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * List of type errors.
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public java.util.List getTypeErrorsOrBuilderList() { - if (typeErrorsBuilder_ != null) { - return typeErrorsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(typeErrors_); - } - } - - /** - *
-             * List of type errors.
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public com.kcl.api.Spec.Error.Builder addTypeErrorsBuilder() { - return getTypeErrorsFieldBuilder().addBuilder(com.kcl.api.Spec.Error.getDefaultInstance()); - } - - /** - *
-             * List of type errors.
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public com.kcl.api.Spec.Error.Builder addTypeErrorsBuilder(int index) { - return getTypeErrorsFieldBuilder().addBuilder(index, com.kcl.api.Spec.Error.getDefaultInstance()); - } - - /** - *
-             * List of type errors.
-             * 
- * - * repeated .com.kcl.api.Error type_errors = 4; - */ - public java.util.List getTypeErrorsBuilderList() { - return getTypeErrorsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder getTypeErrorsFieldBuilder() { - if (typeErrorsBuilder_ == null) { - typeErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - typeErrors_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); - typeErrors_ = null; - } - return typeErrorsBuilder_; - } - - private static final class ScopesConverter implements - com.google.protobuf.MapFieldBuilder.Converter { - @java.lang.Override - public com.kcl.api.Spec.Scope build(com.kcl.api.Spec.ScopeOrBuilder val) { - if (val instanceof com.kcl.api.Spec.Scope) { - return (com.kcl.api.Spec.Scope) val; - } - return ((com.kcl.api.Spec.Scope.Builder) val).build(); - } - - @java.lang.Override - public com.google.protobuf.MapEntry defaultEntry() { - return ScopesDefaultEntryHolder.defaultEntry; - } - }; - - private static final ScopesConverter scopesConverter = new ScopesConverter(); - - private com.google.protobuf.MapFieldBuilder scopes_; - - private com.google.protobuf.MapFieldBuilder internalGetScopes() { - if (scopes_ == null) { - return new com.google.protobuf.MapFieldBuilder<>(scopesConverter); - } - return scopes_; - } - - private com.google.protobuf.MapFieldBuilder internalGetMutableScopes() { - if (scopes_ == null) { - scopes_ = new com.google.protobuf.MapFieldBuilder<>(scopesConverter); - } - bitField0_ |= 0x00000010; - onChanged(); - return scopes_; - } - - public int getScopesCount() { - return internalGetScopes().ensureBuilderMap().size(); - } - - /** - *
-             * Map of scopes with scope index as key.
-             * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - @java.lang.Override - public boolean containsScopes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetScopes().ensureBuilderMap().containsKey(key); - } - - /** - * Use {@link #getScopesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getScopes() { - return getScopesMap(); - } - - /** - *
-             * Map of scopes with scope index as key.
-             * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - @java.lang.Override - public java.util.Map getScopesMap() { - return internalGetScopes().getImmutableMap(); - } - - /** - *
-             * Map of scopes with scope index as key.
-             * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.Scope getScopesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.Scope defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableScopes() - .ensureBuilderMap(); - return map.containsKey(key) ? scopesConverter.build(map.get(key)) : defaultValue; - } - - /** - *
-             * Map of scopes with scope index as key.
-             * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - @java.lang.Override - public com.kcl.api.Spec.Scope getScopesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableScopes() - .ensureBuilderMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return scopesConverter.build(map.get(key)); - } - - public Builder clearScopes() { - bitField0_ = (bitField0_ & ~0x00000010); - internalGetMutableScopes().clear(); - return this; - } - - /** - *
-             * Map of scopes with scope index as key.
-             * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - public Builder removeScopes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableScopes().ensureBuilderMap().remove(key); - return this; - } - - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableScopes() { - bitField0_ |= 0x00000010; - return internalGetMutableScopes().ensureMessageMap(); - } - - /** - *
-             * Map of scopes with scope index as key.
-             * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - public Builder putScopes(java.lang.String key, com.kcl.api.Spec.Scope value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableScopes().ensureBuilderMap().put(key, value); - bitField0_ |= 0x00000010; - return this; - } - - /** - *
-             * Map of scopes with scope index as key.
-             * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - public Builder putAllScopes(java.util.Map values) { - for (java.util.Map.Entry e : values.entrySet()) { - if (e.getKey() == null || e.getValue() == null) { - throw new NullPointerException(); - } - } - internalGetMutableScopes().ensureBuilderMap().putAll(values); - bitField0_ |= 0x00000010; - return this; - } - - /** - *
-             * Map of scopes with scope index as key.
-             * 
- * - * map<string, .com.kcl.api.Scope> scopes = 5; - */ - public com.kcl.api.Spec.Scope.Builder putScopesBuilderIfAbsent(java.lang.String key) { - java.util.Map builderMap = internalGetMutableScopes() - .ensureBuilderMap(); - com.kcl.api.Spec.ScopeOrBuilder entry = builderMap.get(key); - if (entry == null) { - entry = com.kcl.api.Spec.Scope.newBuilder(); - builderMap.put(key, entry); - } - if (entry instanceof com.kcl.api.Spec.Scope) { - entry = ((com.kcl.api.Spec.Scope) entry).toBuilder(); - builderMap.put(key, entry); - } - return (com.kcl.api.Spec.Scope.Builder) entry; - } - - private static final class SymbolsConverter implements - com.google.protobuf.MapFieldBuilder.Converter { - @java.lang.Override - public com.kcl.api.Spec.Symbol build(com.kcl.api.Spec.SymbolOrBuilder val) { - if (val instanceof com.kcl.api.Spec.Symbol) { - return (com.kcl.api.Spec.Symbol) val; - } - return ((com.kcl.api.Spec.Symbol.Builder) val).build(); - } - - @java.lang.Override - public com.google.protobuf.MapEntry defaultEntry() { - return SymbolsDefaultEntryHolder.defaultEntry; - } - }; - - private static final SymbolsConverter symbolsConverter = new SymbolsConverter(); - - private com.google.protobuf.MapFieldBuilder symbols_; - - private com.google.protobuf.MapFieldBuilder internalGetSymbols() { - if (symbols_ == null) { - return new com.google.protobuf.MapFieldBuilder<>(symbolsConverter); - } - return symbols_; - } - - private com.google.protobuf.MapFieldBuilder internalGetMutableSymbols() { - if (symbols_ == null) { - symbols_ = new com.google.protobuf.MapFieldBuilder<>(symbolsConverter); - } - bitField0_ |= 0x00000020; - onChanged(); - return symbols_; - } - - public int getSymbolsCount() { - return internalGetSymbols().ensureBuilderMap().size(); - } - - /** - *
-             * Map of symbols with symbol index as key.
-             * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - @java.lang.Override - public boolean containsSymbols(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetSymbols().ensureBuilderMap().containsKey(key); - } - - /** - * Use {@link #getSymbolsMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getSymbols() { - return getSymbolsMap(); - } - - /** - *
-             * Map of symbols with symbol index as key.
-             * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - @java.lang.Override - public java.util.Map getSymbolsMap() { - return internalGetSymbols().getImmutableMap(); - } - - /** - *
-             * Map of symbols with symbol index as key.
-             * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.Symbol getSymbolsOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.Symbol defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableSymbols() - .ensureBuilderMap(); - return map.containsKey(key) ? symbolsConverter.build(map.get(key)) : defaultValue; - } - - /** - *
-             * Map of symbols with symbol index as key.
-             * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - @java.lang.Override - public com.kcl.api.Spec.Symbol getSymbolsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableSymbols() - .ensureBuilderMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return symbolsConverter.build(map.get(key)); - } - - public Builder clearSymbols() { - bitField0_ = (bitField0_ & ~0x00000020); - internalGetMutableSymbols().clear(); - return this; - } - - /** - *
-             * Map of symbols with symbol index as key.
-             * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - public Builder removeSymbols(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableSymbols().ensureBuilderMap().remove(key); - return this; - } - - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableSymbols() { - bitField0_ |= 0x00000020; - return internalGetMutableSymbols().ensureMessageMap(); - } - - /** - *
-             * Map of symbols with symbol index as key.
-             * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - public Builder putSymbols(java.lang.String key, com.kcl.api.Spec.Symbol value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableSymbols().ensureBuilderMap().put(key, value); - bitField0_ |= 0x00000020; - return this; - } - - /** - *
-             * Map of symbols with symbol index as key.
-             * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - public Builder putAllSymbols(java.util.Map values) { - for (java.util.Map.Entry e : values.entrySet()) { - if (e.getKey() == null || e.getValue() == null) { - throw new NullPointerException(); - } - } - internalGetMutableSymbols().ensureBuilderMap().putAll(values); - bitField0_ |= 0x00000020; - return this; - } - - /** - *
-             * Map of symbols with symbol index as key.
-             * 
- * - * map<string, .com.kcl.api.Symbol> symbols = 6; - */ - public com.kcl.api.Spec.Symbol.Builder putSymbolsBuilderIfAbsent(java.lang.String key) { - java.util.Map builderMap = internalGetMutableSymbols() - .ensureBuilderMap(); - com.kcl.api.Spec.SymbolOrBuilder entry = builderMap.get(key); - if (entry == null) { - entry = com.kcl.api.Spec.Symbol.newBuilder(); - builderMap.put(key, entry); - } - if (entry instanceof com.kcl.api.Spec.Symbol) { - entry = ((com.kcl.api.Spec.Symbol) entry).toBuilder(); - builderMap.put(key, entry); - } - return (com.kcl.api.Spec.Symbol.Builder) entry; - } - - private static final class NodeSymbolMapConverter implements - com.google.protobuf.MapFieldBuilder.Converter { - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex build(com.kcl.api.Spec.SymbolIndexOrBuilder val) { - if (val instanceof com.kcl.api.Spec.SymbolIndex) { - return (com.kcl.api.Spec.SymbolIndex) val; - } - return ((com.kcl.api.Spec.SymbolIndex.Builder) val).build(); - } - - @java.lang.Override - public com.google.protobuf.MapEntry defaultEntry() { - return NodeSymbolMapDefaultEntryHolder.defaultEntry; - } - }; - - private static final NodeSymbolMapConverter nodeSymbolMapConverter = new NodeSymbolMapConverter(); - - private com.google.protobuf.MapFieldBuilder nodeSymbolMap_; - - private com.google.protobuf.MapFieldBuilder internalGetNodeSymbolMap() { - if (nodeSymbolMap_ == null) { - return new com.google.protobuf.MapFieldBuilder<>(nodeSymbolMapConverter); - } - return nodeSymbolMap_; - } - - private com.google.protobuf.MapFieldBuilder internalGetMutableNodeSymbolMap() { - if (nodeSymbolMap_ == null) { - nodeSymbolMap_ = new com.google.protobuf.MapFieldBuilder<>(nodeSymbolMapConverter); - } - bitField0_ |= 0x00000040; - onChanged(); - return nodeSymbolMap_; - } - - public int getNodeSymbolMapCount() { - return internalGetNodeSymbolMap().ensureBuilderMap().size(); - } - - /** - *
-             * Map of node-symbol associations with AST index UUID as key.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - @java.lang.Override - public boolean containsNodeSymbolMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetNodeSymbolMap().ensureBuilderMap().containsKey(key); - } - - /** - * Use {@link #getNodeSymbolMapMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getNodeSymbolMap() { - return getNodeSymbolMapMap(); - } - - /** - *
-             * Map of node-symbol associations with AST index UUID as key.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - @java.lang.Override - public java.util.Map getNodeSymbolMapMap() { - return internalGetNodeSymbolMap().getImmutableMap(); - } - - /** - *
-             * Map of node-symbol associations with AST index UUID as key.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.SymbolIndex defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableNodeSymbolMap() - .ensureBuilderMap(); - return map.containsKey(key) ? nodeSymbolMapConverter.build(map.get(key)) : defaultValue; - } - - /** - *
-             * Map of node-symbol associations with AST index UUID as key.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableNodeSymbolMap() - .ensureBuilderMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return nodeSymbolMapConverter.build(map.get(key)); - } - - public Builder clearNodeSymbolMap() { - bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableNodeSymbolMap().clear(); - return this; - } - - /** - *
-             * Map of node-symbol associations with AST index UUID as key.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - public Builder removeNodeSymbolMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableNodeSymbolMap().ensureBuilderMap().remove(key); - return this; - } - - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableNodeSymbolMap() { - bitField0_ |= 0x00000040; - return internalGetMutableNodeSymbolMap().ensureMessageMap(); - } - - /** - *
-             * Map of node-symbol associations with AST index UUID as key.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - public Builder putNodeSymbolMap(java.lang.String key, com.kcl.api.Spec.SymbolIndex value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableNodeSymbolMap().ensureBuilderMap().put(key, value); - bitField0_ |= 0x00000040; - return this; - } - - /** - *
-             * Map of node-symbol associations with AST index UUID as key.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - public Builder putAllNodeSymbolMap(java.util.Map values) { - for (java.util.Map.Entry e : values.entrySet()) { - if (e.getKey() == null || e.getValue() == null) { - throw new NullPointerException(); - } - } - internalGetMutableNodeSymbolMap().ensureBuilderMap().putAll(values); - bitField0_ |= 0x00000040; - return this; - } - - /** - *
-             * Map of node-symbol associations with AST index UUID as key.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; - */ - public com.kcl.api.Spec.SymbolIndex.Builder putNodeSymbolMapBuilderIfAbsent(java.lang.String key) { - java.util.Map builderMap = internalGetMutableNodeSymbolMap() - .ensureBuilderMap(); - com.kcl.api.Spec.SymbolIndexOrBuilder entry = builderMap.get(key); - if (entry == null) { - entry = com.kcl.api.Spec.SymbolIndex.newBuilder(); - builderMap.put(key, entry); - } - if (entry instanceof com.kcl.api.Spec.SymbolIndex) { - entry = ((com.kcl.api.Spec.SymbolIndex) entry).toBuilder(); - builderMap.put(key, entry); - } - return (com.kcl.api.Spec.SymbolIndex.Builder) entry; - } - - private com.google.protobuf.MapField symbolNodeMap_; - - private com.google.protobuf.MapField internalGetSymbolNodeMap() { - if (symbolNodeMap_ == null) { - return com.google.protobuf.MapField.emptyMapField(SymbolNodeMapDefaultEntryHolder.defaultEntry); - } - return symbolNodeMap_; - } - - private com.google.protobuf.MapField internalGetMutableSymbolNodeMap() { - if (symbolNodeMap_ == null) { - symbolNodeMap_ = com.google.protobuf.MapField - .newMapField(SymbolNodeMapDefaultEntryHolder.defaultEntry); - } - if (!symbolNodeMap_.isMutable()) { - symbolNodeMap_ = symbolNodeMap_.copy(); - } - bitField0_ |= 0x00000080; - onChanged(); - return symbolNodeMap_; - } - - public int getSymbolNodeMapCount() { - return internalGetSymbolNodeMap().getMap().size(); - } - - /** - *
-             * Map of symbol-node associations with symbol index as key.
-             * 
- * - * map<string, string> symbol_node_map = 8; - */ - @java.lang.Override - public boolean containsSymbolNodeMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetSymbolNodeMap().getMap().containsKey(key); - } - - /** - * Use {@link #getSymbolNodeMapMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getSymbolNodeMap() { - return getSymbolNodeMapMap(); - } - - /** - *
-             * Map of symbol-node associations with symbol index as key.
-             * 
- * - * map<string, string> symbol_node_map = 8; - */ - @java.lang.Override - public java.util.Map getSymbolNodeMapMap() { - return internalGetSymbolNodeMap().getMap(); - } - - /** - *
-             * Map of symbol-node associations with symbol index as key.
-             * 
- * - * map<string, string> symbol_node_map = 8; - */ - @java.lang.Override - public /* nullable */ - java.lang.String getSymbolNodeMapOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSymbolNodeMap().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - - /** - *
-             * Map of symbol-node associations with symbol index as key.
-             * 
- * - * map<string, string> symbol_node_map = 8; - */ - @java.lang.Override - public java.lang.String getSymbolNodeMapOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSymbolNodeMap().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearSymbolNodeMap() { - bitField0_ = (bitField0_ & ~0x00000080); - internalGetMutableSymbolNodeMap().getMutableMap().clear(); - return this; - } - - /** - *
-             * Map of symbol-node associations with symbol index as key.
-             * 
- * - * map<string, string> symbol_node_map = 8; - */ - public Builder removeSymbolNodeMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableSymbolNodeMap().getMutableMap().remove(key); - return this; - } - - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableSymbolNodeMap() { - bitField0_ |= 0x00000080; - return internalGetMutableSymbolNodeMap().getMutableMap(); - } - - /** - *
-             * Map of symbol-node associations with symbol index as key.
-             * 
- * - * map<string, string> symbol_node_map = 8; - */ - public Builder putSymbolNodeMap(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableSymbolNodeMap().getMutableMap().put(key, value); - bitField0_ |= 0x00000080; - return this; - } - - /** - *
-             * Map of symbol-node associations with symbol index as key.
-             * 
- * - * map<string, string> symbol_node_map = 8; - */ - public Builder putAllSymbolNodeMap(java.util.Map values) { - internalGetMutableSymbolNodeMap().getMutableMap().putAll(values); - bitField0_ |= 0x00000080; - return this; - } - - private static final class FullyQualifiedNameMapConverter implements - com.google.protobuf.MapFieldBuilder.Converter { - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex build(com.kcl.api.Spec.SymbolIndexOrBuilder val) { - if (val instanceof com.kcl.api.Spec.SymbolIndex) { - return (com.kcl.api.Spec.SymbolIndex) val; - } - return ((com.kcl.api.Spec.SymbolIndex.Builder) val).build(); - } - - @java.lang.Override - public com.google.protobuf.MapEntry defaultEntry() { - return FullyQualifiedNameMapDefaultEntryHolder.defaultEntry; - } - }; - - private static final FullyQualifiedNameMapConverter fullyQualifiedNameMapConverter = new FullyQualifiedNameMapConverter(); - - private com.google.protobuf.MapFieldBuilder fullyQualifiedNameMap_; - - private com.google.protobuf.MapFieldBuilder internalGetFullyQualifiedNameMap() { - if (fullyQualifiedNameMap_ == null) { - return new com.google.protobuf.MapFieldBuilder<>(fullyQualifiedNameMapConverter); - } - return fullyQualifiedNameMap_; - } - - private com.google.protobuf.MapFieldBuilder internalGetMutableFullyQualifiedNameMap() { - if (fullyQualifiedNameMap_ == null) { - fullyQualifiedNameMap_ = new com.google.protobuf.MapFieldBuilder<>(fullyQualifiedNameMapConverter); - } - bitField0_ |= 0x00000100; - onChanged(); - return fullyQualifiedNameMap_; - } - - public int getFullyQualifiedNameMapCount() { - return internalGetFullyQualifiedNameMap().ensureBuilderMap().size(); - } - - /** - *
-             * Map of fully qualified names with symbol index as key.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - @java.lang.Override - public boolean containsFullyQualifiedNameMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetFullyQualifiedNameMap().ensureBuilderMap().containsKey(key); - } - - /** - * Use {@link #getFullyQualifiedNameMapMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getFullyQualifiedNameMap() { - return getFullyQualifiedNameMapMap(); - } - - /** - *
-             * Map of fully qualified names with symbol index as key.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - @java.lang.Override - public java.util.Map getFullyQualifiedNameMapMap() { - return internalGetFullyQualifiedNameMap().getImmutableMap(); - } - - /** - *
-             * Map of fully qualified names with symbol index as key.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.SymbolIndex defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableFullyQualifiedNameMap() - .ensureBuilderMap(); - return map.containsKey(key) ? fullyQualifiedNameMapConverter.build(map.get(key)) : defaultValue; - } - - /** - *
-             * Map of fully qualified names with symbol index as key.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableFullyQualifiedNameMap() - .ensureBuilderMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return fullyQualifiedNameMapConverter.build(map.get(key)); - } - - public Builder clearFullyQualifiedNameMap() { - bitField0_ = (bitField0_ & ~0x00000100); - internalGetMutableFullyQualifiedNameMap().clear(); - return this; - } - - /** - *
-             * Map of fully qualified names with symbol index as key.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - public Builder removeFullyQualifiedNameMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableFullyQualifiedNameMap().ensureBuilderMap().remove(key); - return this; - } - - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableFullyQualifiedNameMap() { - bitField0_ |= 0x00000100; - return internalGetMutableFullyQualifiedNameMap().ensureMessageMap(); - } - - /** - *
-             * Map of fully qualified names with symbol index as key.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - public Builder putFullyQualifiedNameMap(java.lang.String key, com.kcl.api.Spec.SymbolIndex value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableFullyQualifiedNameMap().ensureBuilderMap().put(key, value); - bitField0_ |= 0x00000100; - return this; - } - - /** - *
-             * Map of fully qualified names with symbol index as key.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - public Builder putAllFullyQualifiedNameMap( - java.util.Map values) { - for (java.util.Map.Entry e : values.entrySet()) { - if (e.getKey() == null || e.getValue() == null) { - throw new NullPointerException(); - } - } - internalGetMutableFullyQualifiedNameMap().ensureBuilderMap().putAll(values); - bitField0_ |= 0x00000100; - return this; - } - - /** - *
-             * Map of fully qualified names with symbol index as key.
-             * 
- * - * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; - */ - public com.kcl.api.Spec.SymbolIndex.Builder putFullyQualifiedNameMapBuilderIfAbsent(java.lang.String key) { - java.util.Map builderMap = internalGetMutableFullyQualifiedNameMap() - .ensureBuilderMap(); - com.kcl.api.Spec.SymbolIndexOrBuilder entry = builderMap.get(key); - if (entry == null) { - entry = com.kcl.api.Spec.SymbolIndex.newBuilder(); - builderMap.put(key, entry); - } - if (entry instanceof com.kcl.api.Spec.SymbolIndex) { - entry = ((com.kcl.api.Spec.SymbolIndex) entry).toBuilder(); - builderMap.put(key, entry); - } - return (com.kcl.api.Spec.SymbolIndex.Builder) entry; - } - - private static final class PkgScopeMapConverter implements - com.google.protobuf.MapFieldBuilder.Converter { - @java.lang.Override - public com.kcl.api.Spec.ScopeIndex build(com.kcl.api.Spec.ScopeIndexOrBuilder val) { - if (val instanceof com.kcl.api.Spec.ScopeIndex) { - return (com.kcl.api.Spec.ScopeIndex) val; - } - return ((com.kcl.api.Spec.ScopeIndex.Builder) val).build(); - } - - @java.lang.Override - public com.google.protobuf.MapEntry defaultEntry() { - return PkgScopeMapDefaultEntryHolder.defaultEntry; - } - }; - - private static final PkgScopeMapConverter pkgScopeMapConverter = new PkgScopeMapConverter(); - - private com.google.protobuf.MapFieldBuilder pkgScopeMap_; - - private com.google.protobuf.MapFieldBuilder internalGetPkgScopeMap() { - if (pkgScopeMap_ == null) { - return new com.google.protobuf.MapFieldBuilder<>(pkgScopeMapConverter); - } - return pkgScopeMap_; - } - - private com.google.protobuf.MapFieldBuilder internalGetMutablePkgScopeMap() { - if (pkgScopeMap_ == null) { - pkgScopeMap_ = new com.google.protobuf.MapFieldBuilder<>(pkgScopeMapConverter); - } - bitField0_ |= 0x00000200; - onChanged(); - return pkgScopeMap_; - } - - public int getPkgScopeMapCount() { - return internalGetPkgScopeMap().ensureBuilderMap().size(); - } - - /** - *
-             * Map of package scope with package path as key.
-             * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - @java.lang.Override - public boolean containsPkgScopeMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetPkgScopeMap().ensureBuilderMap().containsKey(key); - } - - /** - * Use {@link #getPkgScopeMapMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getPkgScopeMap() { - return getPkgScopeMapMap(); - } - - /** - *
-             * Map of package scope with package path as key.
-             * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - @java.lang.Override - public java.util.Map getPkgScopeMapMap() { - return internalGetPkgScopeMap().getImmutableMap(); - } - - /** - *
-             * Map of package scope with package path as key.
-             * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.ScopeIndex defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutablePkgScopeMap() - .ensureBuilderMap(); - return map.containsKey(key) ? pkgScopeMapConverter.build(map.get(key)) : defaultValue; - } - - /** - *
-             * Map of package scope with package path as key.
-             * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - @java.lang.Override - public com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutablePkgScopeMap() - .ensureBuilderMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return pkgScopeMapConverter.build(map.get(key)); - } - - public Builder clearPkgScopeMap() { - bitField0_ = (bitField0_ & ~0x00000200); - internalGetMutablePkgScopeMap().clear(); - return this; - } - - /** - *
-             * Map of package scope with package path as key.
-             * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - public Builder removePkgScopeMap(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutablePkgScopeMap().ensureBuilderMap().remove(key); - return this; - } - - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutablePkgScopeMap() { - bitField0_ |= 0x00000200; - return internalGetMutablePkgScopeMap().ensureMessageMap(); - } - - /** - *
-             * Map of package scope with package path as key.
-             * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - public Builder putPkgScopeMap(java.lang.String key, com.kcl.api.Spec.ScopeIndex value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutablePkgScopeMap().ensureBuilderMap().put(key, value); - bitField0_ |= 0x00000200; - return this; - } - - /** - *
-             * Map of package scope with package path as key.
-             * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - public Builder putAllPkgScopeMap(java.util.Map values) { - for (java.util.Map.Entry e : values.entrySet()) { - if (e.getKey() == null || e.getValue() == null) { - throw new NullPointerException(); - } - } - internalGetMutablePkgScopeMap().ensureBuilderMap().putAll(values); - bitField0_ |= 0x00000200; - return this; - } - - /** - *
-             * Map of package scope with package path as key.
-             * 
- * - * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; - */ - public com.kcl.api.Spec.ScopeIndex.Builder putPkgScopeMapBuilderIfAbsent(java.lang.String key) { - java.util.Map builderMap = internalGetMutablePkgScopeMap() - .ensureBuilderMap(); - com.kcl.api.Spec.ScopeIndexOrBuilder entry = builderMap.get(key); - if (entry == null) { - entry = com.kcl.api.Spec.ScopeIndex.newBuilder(); - builderMap.put(key, entry); - } - if (entry instanceof com.kcl.api.Spec.ScopeIndex) { - entry = ((com.kcl.api.Spec.ScopeIndex) entry).toBuilder(); - builderMap.put(key, entry); - } - return (com.kcl.api.Spec.ScopeIndex.Builder) entry; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadPackage_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.LoadPackage_Result) - private static final com.kcl.api.Spec.LoadPackage_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadPackage_Result(); - } - - public static com.kcl.api.Spec.LoadPackage_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoadPackage_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.LoadPackage_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ListOptions_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ListOptions_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * List of available options.
-         * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - java.util.List getOptionsList(); - - /** - *
-         * List of available options.
-         * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - com.kcl.api.Spec.OptionHelp getOptions(int index); - - /** - *
-         * List of available options.
-         * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - int getOptionsCount(); - - /** - *
-         * List of available options.
-         * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - java.util.List getOptionsOrBuilderList(); - - /** - *
-         * List of available options.
-         * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - com.kcl.api.Spec.OptionHelpOrBuilder getOptionsOrBuilder(int index); - } - - /** - *
-     * Message for list options response.
-     * 
- * - * Protobuf type {@code com.kcl.api.ListOptions_Result} - */ - public static final class ListOptions_Result extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ListOptions_Result) - ListOptions_ResultOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", ListOptions_Result.class.getName()); - } - - // Use ListOptions_Result.newBuilder() to construct. - private ListOptions_Result(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ListOptions_Result() { - options_ = java.util.Collections.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptions_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptions_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListOptions_Result.class, - com.kcl.api.Spec.ListOptions_Result.Builder.class); - } - - public static final int OPTIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private java.util.List options_; - - /** - *
-         * List of available options.
-         * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - @java.lang.Override - public java.util.List getOptionsList() { - return options_; - } - - /** - *
-         * List of available options.
-         * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - @java.lang.Override - public java.util.List getOptionsOrBuilderList() { - return options_; - } - - /** - *
-         * List of available options.
-         * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - @java.lang.Override - public int getOptionsCount() { - return options_.size(); - } - - /** - *
-         * List of available options.
-         * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.OptionHelp getOptions(int index) { - return options_.get(index); - } - - /** - *
-         * List of available options.
-         * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.OptionHelpOrBuilder getOptionsOrBuilder(int index) { - return options_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < options_.size(); i++) { - output.writeMessage(2, options_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - for (int i = 0; i < options_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, options_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ListOptions_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.ListOptions_Result other = (com.kcl.api.Spec.ListOptions_Result) obj; - - if (!getOptionsList().equals(other.getOptionsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getOptionsCount() > 0) { - hash = (37 * hash) + OPTIONS_FIELD_NUMBER; - hash = (53 * hash) + getOptionsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ListOptions_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListOptions_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListOptions_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListOptions_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListOptions_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListOptions_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListOptions_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListOptions_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ListOptions_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListOptions_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ListOptions_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListOptions_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ListOptions_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for list options response.
-         * 
- * - * Protobuf type {@code com.kcl.api.ListOptions_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ListOptions_Result) - com.kcl.api.Spec.ListOptions_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptions_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptions_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListOptions_Result.class, - com.kcl.api.Spec.ListOptions_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.ListOptions_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - if (optionsBuilder_ == null) { - options_ = java.util.Collections.emptyList(); - } else { - options_ = null; - optionsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptions_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ListOptions_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ListOptions_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ListOptions_Result build() { - com.kcl.api.Spec.ListOptions_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ListOptions_Result buildPartial() { - com.kcl.api.Spec.ListOptions_Result result = new com.kcl.api.Spec.ListOptions_Result(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.ListOptions_Result result) { - if (optionsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - options_ = java.util.Collections.unmodifiableList(options_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.options_ = options_; - } else { - result.options_ = optionsBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.ListOptions_Result result) { - int from_bitField0_ = bitField0_; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ListOptions_Result) { - return mergeFrom((com.kcl.api.Spec.ListOptions_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ListOptions_Result other) { - if (other == com.kcl.api.Spec.ListOptions_Result.getDefaultInstance()) - return this; - if (optionsBuilder_ == null) { - if (!other.options_.isEmpty()) { - if (options_.isEmpty()) { - options_ = other.options_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureOptionsIsMutable(); - options_.addAll(other.options_); - } - onChanged(); - } - } else { - if (!other.options_.isEmpty()) { - if (optionsBuilder_.isEmpty()) { - optionsBuilder_.dispose(); - optionsBuilder_ = null; - options_ = other.options_; - bitField0_ = (bitField0_ & ~0x00000001); - optionsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getOptionsFieldBuilder() : null; - } else { - optionsBuilder_.addAllMessages(other.options_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 18: { - com.kcl.api.Spec.OptionHelp m = input.readMessage(com.kcl.api.Spec.OptionHelp.parser(), - extensionRegistry); - if (optionsBuilder_ == null) { - ensureOptionsIsMutable(); - options_.add(m); - } else { - optionsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.util.List options_ = java.util.Collections.emptyList(); - - private void ensureOptionsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - options_ = new java.util.ArrayList(options_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilder optionsBuilder_; - - /** - *
-             * List of available options.
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public java.util.List getOptionsList() { - if (optionsBuilder_ == null) { - return java.util.Collections.unmodifiableList(options_); - } else { - return optionsBuilder_.getMessageList(); - } - } - - /** - *
-             * List of available options.
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public int getOptionsCount() { - if (optionsBuilder_ == null) { - return options_.size(); - } else { - return optionsBuilder_.getCount(); - } - } - - /** - *
-             * List of available options.
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public com.kcl.api.Spec.OptionHelp getOptions(int index) { - if (optionsBuilder_ == null) { - return options_.get(index); - } else { - return optionsBuilder_.getMessage(index); - } - } - - /** - *
-             * List of available options.
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public Builder setOptions(int index, com.kcl.api.Spec.OptionHelp value) { - if (optionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOptionsIsMutable(); - options_.set(index, value); - onChanged(); - } else { - optionsBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * List of available options.
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public Builder setOptions(int index, com.kcl.api.Spec.OptionHelp.Builder builderForValue) { - if (optionsBuilder_ == null) { - ensureOptionsIsMutable(); - options_.set(index, builderForValue.build()); - onChanged(); - } else { - optionsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * List of available options.
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public Builder addOptions(com.kcl.api.Spec.OptionHelp value) { - if (optionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOptionsIsMutable(); - options_.add(value); - onChanged(); - } else { - optionsBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * List of available options.
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public Builder addOptions(int index, com.kcl.api.Spec.OptionHelp value) { - if (optionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOptionsIsMutable(); - options_.add(index, value); - onChanged(); - } else { - optionsBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * List of available options.
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public Builder addOptions(com.kcl.api.Spec.OptionHelp.Builder builderForValue) { - if (optionsBuilder_ == null) { - ensureOptionsIsMutable(); - options_.add(builderForValue.build()); - onChanged(); - } else { - optionsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * List of available options.
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public Builder addOptions(int index, com.kcl.api.Spec.OptionHelp.Builder builderForValue) { - if (optionsBuilder_ == null) { - ensureOptionsIsMutable(); - options_.add(index, builderForValue.build()); - onChanged(); - } else { - optionsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * List of available options.
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public Builder addAllOptions(java.lang.Iterable values) { - if (optionsBuilder_ == null) { - ensureOptionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, options_); - onChanged(); - } else { - optionsBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * List of available options.
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public Builder clearOptions() { - if (optionsBuilder_ == null) { - options_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - optionsBuilder_.clear(); - } - return this; - } - - /** - *
-             * List of available options.
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public Builder removeOptions(int index) { - if (optionsBuilder_ == null) { - ensureOptionsIsMutable(); - options_.remove(index); - onChanged(); - } else { - optionsBuilder_.remove(index); - } - return this; - } - - /** - *
-             * List of available options.
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public com.kcl.api.Spec.OptionHelp.Builder getOptionsBuilder(int index) { - return getOptionsFieldBuilder().getBuilder(index); - } - - /** - *
-             * List of available options.
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public com.kcl.api.Spec.OptionHelpOrBuilder getOptionsOrBuilder(int index) { - if (optionsBuilder_ == null) { - return options_.get(index); - } else { - return optionsBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * List of available options.
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public java.util.List getOptionsOrBuilderList() { - if (optionsBuilder_ != null) { - return optionsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(options_); - } - } - - /** - *
-             * List of available options.
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public com.kcl.api.Spec.OptionHelp.Builder addOptionsBuilder() { - return getOptionsFieldBuilder().addBuilder(com.kcl.api.Spec.OptionHelp.getDefaultInstance()); - } - - /** - *
-             * List of available options.
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public com.kcl.api.Spec.OptionHelp.Builder addOptionsBuilder(int index) { - return getOptionsFieldBuilder().addBuilder(index, com.kcl.api.Spec.OptionHelp.getDefaultInstance()); - } - - /** - *
-             * List of available options.
-             * 
- * - * repeated .com.kcl.api.OptionHelp options = 2; - */ - public java.util.List getOptionsBuilderList() { - return getOptionsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder getOptionsFieldBuilder() { - if (optionsBuilder_ == null) { - optionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - options_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - options_ = null; - } - return optionsBuilder_; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ListOptions_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ListOptions_Result) - private static final com.kcl.api.Spec.ListOptions_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ListOptions_Result(); - } - - public static com.kcl.api.Spec.ListOptions_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOptions_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ListOptions_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface OptionHelpOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.OptionHelp) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Name of the option.
-         * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - - /** - *
-         * Name of the option.
-         * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - *
-         * Type of the option.
-         * 
- * - * string type = 2; - * - * @return The type. - */ - java.lang.String getType(); - - /** - *
-         * Type of the option.
-         * 
- * - * string type = 2; - * - * @return The bytes for type. - */ - com.google.protobuf.ByteString getTypeBytes(); - - /** - *
-         * Flag indicating if the option is required.
-         * 
- * - * bool required = 3; - * - * @return The required. - */ - boolean getRequired(); - - /** - *
-         * Default value of the option.
-         * 
- * - * string default_value = 4; - * - * @return The defaultValue. - */ - java.lang.String getDefaultValue(); - - /** - *
-         * Default value of the option.
-         * 
- * - * string default_value = 4; - * - * @return The bytes for defaultValue. - */ - com.google.protobuf.ByteString getDefaultValueBytes(); - - /** - *
-         * Help text for the option.
-         * 
- * - * string help = 5; - * - * @return The help. - */ - java.lang.String getHelp(); - - /** - *
-         * Help text for the option.
-         * 
- * - * string help = 5; - * - * @return The bytes for help. - */ - com.google.protobuf.ByteString getHelpBytes(); - } - - /** - *
-     * Message representing a help option.
-     * 
- * - * Protobuf type {@code com.kcl.api.OptionHelp} - */ - public static final class OptionHelp extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.OptionHelp) - OptionHelpOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", OptionHelp.class.getName()); - } - - // Use OptionHelp.newBuilder() to construct. - private OptionHelp(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private OptionHelp() { - name_ = ""; - type_ = ""; - defaultValue_ = ""; - help_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OptionHelp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OptionHelp_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.OptionHelp.class, - com.kcl.api.Spec.OptionHelp.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - - /** - *
-         * Name of the option.
-         * 
- * - * string name = 1; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - - /** - *
-         * Name of the option.
-         * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object type_ = ""; - - /** - *
-         * Type of the option.
-         * 
- * - * string type = 2; - * - * @return The type. - */ - @java.lang.Override - public java.lang.String getType() { - java.lang.Object ref = type_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - type_ = s; - return s; - } - } - - /** - *
-         * Type of the option.
-         * 
- * - * string type = 2; - * - * @return The bytes for type. - */ - @java.lang.Override - public com.google.protobuf.ByteString getTypeBytes() { - java.lang.Object ref = type_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - type_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int REQUIRED_FIELD_NUMBER = 3; - private boolean required_ = false; - - /** - *
-         * Flag indicating if the option is required.
-         * 
- * - * bool required = 3; - * - * @return The required. - */ - @java.lang.Override - public boolean getRequired() { - return required_; - } - - public static final int DEFAULT_VALUE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private volatile java.lang.Object defaultValue_ = ""; - - /** - *
-         * Default value of the option.
-         * 
- * - * string default_value = 4; - * - * @return The defaultValue. - */ - @java.lang.Override - public java.lang.String getDefaultValue() { - java.lang.Object ref = defaultValue_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - defaultValue_ = s; - return s; - } - } - - /** - *
-         * Default value of the option.
-         * 
- * - * string default_value = 4; - * - * @return The bytes for defaultValue. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDefaultValueBytes() { - java.lang.Object ref = defaultValue_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - defaultValue_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int HELP_FIELD_NUMBER = 5; - @SuppressWarnings("serial") - private volatile java.lang.Object help_ = ""; - - /** - *
-         * Help text for the option.
-         * 
- * - * string help = 5; - * - * @return The help. - */ - @java.lang.Override - public java.lang.String getHelp() { - java.lang.Object ref = help_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - help_ = s; - return s; - } - } - - /** - *
-         * Help text for the option.
-         * 
- * - * string help = 5; - * - * @return The bytes for help. - */ - @java.lang.Override - public com.google.protobuf.ByteString getHelpBytes() { - java.lang.Object ref = help_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - help_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, type_); - } - if (required_ != false) { - output.writeBool(3, required_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(defaultValue_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 4, defaultValue_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(help_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 5, help_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, type_); - } - if (required_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, required_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(defaultValue_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(4, defaultValue_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(help_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(5, help_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.OptionHelp)) { - return super.equals(obj); - } - com.kcl.api.Spec.OptionHelp other = (com.kcl.api.Spec.OptionHelp) obj; - - if (!getName().equals(other.getName())) - return false; - if (!getType().equals(other.getType())) - return false; - if (getRequired() != other.getRequired()) - return false; - if (!getDefaultValue().equals(other.getDefaultValue())) - return false; - if (!getHelp().equals(other.getHelp())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + getType().hashCode(); - hash = (37 * hash) + REQUIRED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequired()); - hash = (37 * hash) + DEFAULT_VALUE_FIELD_NUMBER; - hash = (53 * hash) + getDefaultValue().hashCode(); - hash = (37 * hash) + HELP_FIELD_NUMBER; - hash = (53 * hash) + getHelp().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.OptionHelp parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.OptionHelp parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.OptionHelp parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.OptionHelp parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.OptionHelp parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.OptionHelp parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.OptionHelp parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.OptionHelp parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.OptionHelp parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.OptionHelp parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.OptionHelp parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.OptionHelp parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.OptionHelp prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message representing a help option.
-         * 
- * - * Protobuf type {@code com.kcl.api.OptionHelp} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.OptionHelp) - com.kcl.api.Spec.OptionHelpOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OptionHelp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OptionHelp_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.OptionHelp.class, - com.kcl.api.Spec.OptionHelp.Builder.class); - } - - // Construct using com.kcl.api.Spec.OptionHelp.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - name_ = ""; - type_ = ""; - required_ = false; - defaultValue_ = ""; - help_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OptionHelp_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.OptionHelp getDefaultInstanceForType() { - return com.kcl.api.Spec.OptionHelp.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.OptionHelp build() { - com.kcl.api.Spec.OptionHelp result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.OptionHelp buildPartial() { - com.kcl.api.Spec.OptionHelp result = new com.kcl.api.Spec.OptionHelp(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.OptionHelp result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.type_ = type_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.required_ = required_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.defaultValue_ = defaultValue_; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.help_ = help_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.OptionHelp) { - return mergeFrom((com.kcl.api.Spec.OptionHelp) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.OptionHelp other) { - if (other == com.kcl.api.Spec.OptionHelp.getDefaultInstance()) - return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getType().isEmpty()) { - type_ = other.type_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (other.getRequired() != false) { - setRequired(other.getRequired()); - } - if (!other.getDefaultValue().isEmpty()) { - defaultValue_ = other.defaultValue_; - bitField0_ |= 0x00000008; - onChanged(); - } - if (!other.getHelp().isEmpty()) { - help_ = other.help_; - bitField0_ |= 0x00000010; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - type_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - required_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - defaultValue_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - help_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object name_ = ""; - - /** - *
-             * Name of the option.
-             * 
- * - * string name = 1; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Name of the option.
-             * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Name of the option.
-             * 
- * - * string name = 1; - * - * @param value - * The name to set. - * - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Name of the option.
-             * 
- * - * string name = 1; - * - * @return This builder for chaining. - */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * Name of the option.
-             * 
- * - * string name = 1; - * - * @param value - * The bytes for name to set. - * - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object type_ = ""; - - /** - *
-             * Type of the option.
-             * 
- * - * string type = 2; - * - * @return The type. - */ - public java.lang.String getType() { - java.lang.Object ref = type_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - type_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Type of the option.
-             * 
- * - * string type = 2; - * - * @return The bytes for type. - */ - public com.google.protobuf.ByteString getTypeBytes() { - java.lang.Object ref = type_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - type_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Type of the option.
-             * 
- * - * string type = 2; - * - * @param value - * The type to set. - * - * @return This builder for chaining. - */ - public Builder setType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - type_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Type of the option.
-             * 
- * - * string type = 2; - * - * @return This builder for chaining. - */ - public Builder clearType() { - type_ = getDefaultInstance().getType(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - *
-             * Type of the option.
-             * 
- * - * string type = 2; - * - * @param value - * The bytes for type to set. - * - * @return This builder for chaining. - */ - public Builder setTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - type_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private boolean required_; - - /** - *
-             * Flag indicating if the option is required.
-             * 
- * - * bool required = 3; - * - * @return The required. - */ - @java.lang.Override - public boolean getRequired() { - return required_; - } - - /** - *
-             * Flag indicating if the option is required.
-             * 
- * - * bool required = 3; - * - * @param value - * The required to set. - * - * @return This builder for chaining. - */ - public Builder setRequired(boolean value) { - - required_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * Flag indicating if the option is required.
-             * 
- * - * bool required = 3; - * - * @return This builder for chaining. - */ - public Builder clearRequired() { - bitField0_ = (bitField0_ & ~0x00000004); - required_ = false; - onChanged(); - return this; - } - - private java.lang.Object defaultValue_ = ""; - - /** - *
-             * Default value of the option.
-             * 
- * - * string default_value = 4; - * - * @return The defaultValue. - */ - public java.lang.String getDefaultValue() { - java.lang.Object ref = defaultValue_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - defaultValue_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Default value of the option.
-             * 
- * - * string default_value = 4; - * - * @return The bytes for defaultValue. - */ - public com.google.protobuf.ByteString getDefaultValueBytes() { - java.lang.Object ref = defaultValue_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - defaultValue_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Default value of the option.
-             * 
- * - * string default_value = 4; - * - * @param value - * The defaultValue to set. - * - * @return This builder for chaining. - */ - public Builder setDefaultValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - defaultValue_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - - /** - *
-             * Default value of the option.
-             * 
- * - * string default_value = 4; - * - * @return This builder for chaining. - */ - public Builder clearDefaultValue() { - defaultValue_ = getDefaultInstance().getDefaultValue(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } - - /** - *
-             * Default value of the option.
-             * 
- * - * string default_value = 4; - * - * @param value - * The bytes for defaultValue to set. - * - * @return This builder for chaining. - */ - public Builder setDefaultValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - defaultValue_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - - private java.lang.Object help_ = ""; - - /** - *
-             * Help text for the option.
-             * 
- * - * string help = 5; - * - * @return The help. - */ - public java.lang.String getHelp() { - java.lang.Object ref = help_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - help_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Help text for the option.
-             * 
- * - * string help = 5; - * - * @return The bytes for help. - */ - public com.google.protobuf.ByteString getHelpBytes() { - java.lang.Object ref = help_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - help_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Help text for the option.
-             * 
- * - * string help = 5; - * - * @param value - * The help to set. - * - * @return This builder for chaining. - */ - public Builder setHelp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - help_ = value; - bitField0_ |= 0x00000010; - onChanged(); - return this; - } - - /** - *
-             * Help text for the option.
-             * 
- * - * string help = 5; - * - * @return This builder for chaining. - */ - public Builder clearHelp() { - help_ = getDefaultInstance().getHelp(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - return this; - } - - /** - *
-             * Help text for the option.
-             * 
- * - * string help = 5; - * - * @param value - * The bytes for help to set. - * - * @return This builder for chaining. - */ - public Builder setHelpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - help_ = value; - bitField0_ |= 0x00000010; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.OptionHelp) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.OptionHelp) - private static final com.kcl.api.Spec.OptionHelp DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.OptionHelp(); - } - - public static com.kcl.api.Spec.OptionHelp getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OptionHelp parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.OptionHelp getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SymbolOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Symbol) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Type of the symbol.
-         * 
- * - * .com.kcl.api.KclType ty = 1; - * - * @return Whether the ty field is set. - */ - boolean hasTy(); - - /** - *
-         * Type of the symbol.
-         * 
- * - * .com.kcl.api.KclType ty = 1; - * - * @return The ty. - */ - com.kcl.api.Spec.KclType getTy(); - - /** - *
-         * Type of the symbol.
-         * 
- * - * .com.kcl.api.KclType ty = 1; - */ - com.kcl.api.Spec.KclTypeOrBuilder getTyOrBuilder(); - - /** - *
-         * Name of the symbol.
-         * 
- * - * string name = 2; - * - * @return The name. - */ - java.lang.String getName(); - - /** - *
-         * Name of the symbol.
-         * 
- * - * string name = 2; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - *
-         * Owner of the symbol.
-         * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return Whether the owner field is set. - */ - boolean hasOwner(); - - /** - *
-         * Owner of the symbol.
-         * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return The owner. - */ - com.kcl.api.Spec.SymbolIndex getOwner(); - - /** - *
-         * Owner of the symbol.
-         * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - */ - com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder(); - - /** - *
-         * Definition of the symbol.
-         * 
- * - * .com.kcl.api.SymbolIndex def = 4; - * - * @return Whether the def field is set. - */ - boolean hasDef(); - - /** - *
-         * Definition of the symbol.
-         * 
- * - * .com.kcl.api.SymbolIndex def = 4; - * - * @return The def. - */ - com.kcl.api.Spec.SymbolIndex getDef(); - - /** - *
-         * Definition of the symbol.
-         * 
- * - * .com.kcl.api.SymbolIndex def = 4; - */ - com.kcl.api.Spec.SymbolIndexOrBuilder getDefOrBuilder(); - - /** - *
-         * Attributes of the symbol.
-         * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - java.util.List getAttrsList(); - - /** - *
-         * Attributes of the symbol.
-         * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - com.kcl.api.Spec.SymbolIndex getAttrs(int index); - - /** - *
-         * Attributes of the symbol.
-         * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - int getAttrsCount(); - - /** - *
-         * Attributes of the symbol.
-         * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - java.util.List getAttrsOrBuilderList(); - - /** - *
-         * Attributes of the symbol.
-         * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - com.kcl.api.Spec.SymbolIndexOrBuilder getAttrsOrBuilder(int index); - - /** - *
-         * Flag indicating if the symbol is global.
-         * 
- * - * bool is_global = 6; - * - * @return The isGlobal. - */ - boolean getIsGlobal(); - } - - /** - *
-     * Message representing a symbol in KCL.
-     * 
- * - * Protobuf type {@code com.kcl.api.Symbol} - */ - public static final class Symbol extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Symbol) - SymbolOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", Symbol.class.getName()); - } - - // Use Symbol.newBuilder() to construct. - private Symbol(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private Symbol() { - name_ = ""; - attrs_ = java.util.Collections.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Symbol_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Symbol_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Symbol.class, - com.kcl.api.Spec.Symbol.Builder.class); - } - - private int bitField0_; - public static final int TY_FIELD_NUMBER = 1; - private com.kcl.api.Spec.KclType ty_; - - /** - *
-         * Type of the symbol.
-         * 
- * - * .com.kcl.api.KclType ty = 1; - * - * @return Whether the ty field is set. - */ - @java.lang.Override - public boolean hasTy() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - *
-         * Type of the symbol.
-         * 
- * - * .com.kcl.api.KclType ty = 1; - * - * @return The ty. - */ - @java.lang.Override - public com.kcl.api.Spec.KclType getTy() { - return ty_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : ty_; - } - - /** - *
-         * Type of the symbol.
-         * 
- * - * .com.kcl.api.KclType ty = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.KclTypeOrBuilder getTyOrBuilder() { - return ty_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : ty_; - } - - public static final int NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - - /** - *
-         * Name of the symbol.
-         * 
- * - * string name = 2; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - - /** - *
-         * Name of the symbol.
-         * 
- * - * string name = 2; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int OWNER_FIELD_NUMBER = 3; - private com.kcl.api.Spec.SymbolIndex owner_; - - /** - *
-         * Owner of the symbol.
-         * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return Whether the owner field is set. - */ - @java.lang.Override - public boolean hasOwner() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - *
-         * Owner of the symbol.
-         * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return The owner. - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex getOwner() { - return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; - } - - /** - *
-         * Owner of the symbol.
-         * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder() { - return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; - } - - public static final int DEF_FIELD_NUMBER = 4; - private com.kcl.api.Spec.SymbolIndex def_; - - /** - *
-         * Definition of the symbol.
-         * 
- * - * .com.kcl.api.SymbolIndex def = 4; - * - * @return Whether the def field is set. - */ - @java.lang.Override - public boolean hasDef() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - *
-         * Definition of the symbol.
-         * 
- * - * .com.kcl.api.SymbolIndex def = 4; - * - * @return The def. - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex getDef() { - return def_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : def_; - } - - /** - *
-         * Definition of the symbol.
-         * 
- * - * .com.kcl.api.SymbolIndex def = 4; - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndexOrBuilder getDefOrBuilder() { - return def_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : def_; - } - - public static final int ATTRS_FIELD_NUMBER = 5; - @SuppressWarnings("serial") - private java.util.List attrs_; - - /** - *
-         * Attributes of the symbol.
-         * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - @java.lang.Override - public java.util.List getAttrsList() { - return attrs_; - } - - /** - *
-         * Attributes of the symbol.
-         * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - @java.lang.Override - public java.util.List getAttrsOrBuilderList() { - return attrs_; - } - - /** - *
-         * Attributes of the symbol.
-         * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - @java.lang.Override - public int getAttrsCount() { - return attrs_.size(); - } - - /** - *
-         * Attributes of the symbol.
-         * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex getAttrs(int index) { - return attrs_.get(index); - } - - /** - *
-         * Attributes of the symbol.
-         * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndexOrBuilder getAttrsOrBuilder(int index) { - return attrs_.get(index); - } - - public static final int IS_GLOBAL_FIELD_NUMBER = 6; - private boolean isGlobal_ = false; - - /** - *
-         * Flag indicating if the symbol is global.
-         * 
- * - * bool is_global = 6; - * - * @return The isGlobal. - */ - @java.lang.Override - public boolean getIsGlobal() { - return isGlobal_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(1, getTy()); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, name_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeMessage(3, getOwner()); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeMessage(4, getDef()); - } - for (int i = 0; i < attrs_.size(); i++) { - output.writeMessage(5, attrs_.get(i)); - } - if (isGlobal_ != false) { - output.writeBool(6, isGlobal_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTy()); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, name_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOwner()); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDef()); - } - for (int i = 0; i < attrs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, attrs_.get(i)); - } - if (isGlobal_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, isGlobal_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Symbol)) { - return super.equals(obj); - } - com.kcl.api.Spec.Symbol other = (com.kcl.api.Spec.Symbol) obj; - - if (hasTy() != other.hasTy()) - return false; - if (hasTy()) { - if (!getTy().equals(other.getTy())) - return false; - } - if (!getName().equals(other.getName())) - return false; - if (hasOwner() != other.hasOwner()) - return false; - if (hasOwner()) { - if (!getOwner().equals(other.getOwner())) - return false; - } - if (hasDef() != other.hasDef()) - return false; - if (hasDef()) { - if (!getDef().equals(other.getDef())) - return false; - } - if (!getAttrsList().equals(other.getAttrsList())) - return false; - if (getIsGlobal() != other.getIsGlobal()) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasTy()) { - hash = (37 * hash) + TY_FIELD_NUMBER; - hash = (53 * hash) + getTy().hashCode(); - } - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - if (hasOwner()) { - hash = (37 * hash) + OWNER_FIELD_NUMBER; - hash = (53 * hash) + getOwner().hashCode(); - } - if (hasDef()) { - hash = (37 * hash) + DEF_FIELD_NUMBER; - hash = (53 * hash) + getDef().hashCode(); - } - if (getAttrsCount() > 0) { - hash = (37 * hash) + ATTRS_FIELD_NUMBER; - hash = (53 * hash) + getAttrsList().hashCode(); - } - hash = (37 * hash) + IS_GLOBAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsGlobal()); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.Symbol parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Symbol parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Symbol parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Symbol parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Symbol parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Symbol parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Symbol parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Symbol parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.Symbol parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Symbol parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.Symbol parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Symbol parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.Symbol prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message representing a symbol in KCL.
-         * 
- * - * Protobuf type {@code com.kcl.api.Symbol} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Symbol) - com.kcl.api.Spec.SymbolOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Symbol_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Symbol_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Symbol.class, - com.kcl.api.Spec.Symbol.Builder.class); - } - - // Construct using com.kcl.api.Spec.Symbol.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - getTyFieldBuilder(); - getOwnerFieldBuilder(); - getDefFieldBuilder(); - getAttrsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - ty_ = null; - if (tyBuilder_ != null) { - tyBuilder_.dispose(); - tyBuilder_ = null; - } - name_ = ""; - owner_ = null; - if (ownerBuilder_ != null) { - ownerBuilder_.dispose(); - ownerBuilder_ = null; - } - def_ = null; - if (defBuilder_ != null) { - defBuilder_.dispose(); - defBuilder_ = null; - } - if (attrsBuilder_ == null) { - attrs_ = java.util.Collections.emptyList(); - } else { - attrs_ = null; - attrsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000010); - isGlobal_ = false; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Symbol_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.Symbol getDefaultInstanceForType() { - return com.kcl.api.Spec.Symbol.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.Symbol build() { - com.kcl.api.Spec.Symbol result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.Symbol buildPartial() { - com.kcl.api.Spec.Symbol result = new com.kcl.api.Spec.Symbol(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.Symbol result) { - if (attrsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - attrs_ = java.util.Collections.unmodifiableList(attrs_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.attrs_ = attrs_; - } else { - result.attrs_ = attrsBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.Symbol result) { - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.ty_ = tyBuilder_ == null ? ty_ : tyBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.name_ = name_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.owner_ = ownerBuilder_ == null ? owner_ : ownerBuilder_.build(); - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.def_ = defBuilder_ == null ? def_ : defBuilder_.build(); - to_bitField0_ |= 0x00000004; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.isGlobal_ = isGlobal_; - } - result.bitField0_ |= to_bitField0_; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Symbol) { - return mergeFrom((com.kcl.api.Spec.Symbol) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.Symbol other) { - if (other == com.kcl.api.Spec.Symbol.getDefaultInstance()) - return this; - if (other.hasTy()) { - mergeTy(other.getTy()); - } - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (other.hasOwner()) { - mergeOwner(other.getOwner()); - } - if (other.hasDef()) { - mergeDef(other.getDef()); - } - if (attrsBuilder_ == null) { - if (!other.attrs_.isEmpty()) { - if (attrs_.isEmpty()) { - attrs_ = other.attrs_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureAttrsIsMutable(); - attrs_.addAll(other.attrs_); - } - onChanged(); - } - } else { - if (!other.attrs_.isEmpty()) { - if (attrsBuilder_.isEmpty()) { - attrsBuilder_.dispose(); - attrsBuilder_ = null; - attrs_ = other.attrs_; - bitField0_ = (bitField0_ & ~0x00000010); - attrsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getAttrsFieldBuilder() : null; - } else { - attrsBuilder_.addAllMessages(other.attrs_); - } - } - } - if (other.getIsGlobal() != false) { - setIsGlobal(other.getIsGlobal()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - input.readMessage(getTyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage(getOwnerFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage(getDefFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - com.kcl.api.Spec.SymbolIndex m = input.readMessage(com.kcl.api.Spec.SymbolIndex.parser(), - extensionRegistry); - if (attrsBuilder_ == null) { - ensureAttrsIsMutable(); - attrs_.add(m); - } else { - attrsBuilder_.addMessage(m); - } - break; - } // case 42 - case 48: { - isGlobal_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.kcl.api.Spec.KclType ty_; - private com.google.protobuf.SingleFieldBuilder tyBuilder_; - - /** - *
-             * Type of the symbol.
-             * 
- * - * .com.kcl.api.KclType ty = 1; - * - * @return Whether the ty field is set. - */ - public boolean hasTy() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - *
-             * Type of the symbol.
-             * 
- * - * .com.kcl.api.KclType ty = 1; - * - * @return The ty. - */ - public com.kcl.api.Spec.KclType getTy() { - if (tyBuilder_ == null) { - return ty_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : ty_; - } else { - return tyBuilder_.getMessage(); - } - } - - /** - *
-             * Type of the symbol.
-             * 
- * - * .com.kcl.api.KclType ty = 1; - */ - public Builder setTy(com.kcl.api.Spec.KclType value) { - if (tyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ty_ = value; - } else { - tyBuilder_.setMessage(value); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Type of the symbol.
-             * 
- * - * .com.kcl.api.KclType ty = 1; - */ - public Builder setTy(com.kcl.api.Spec.KclType.Builder builderForValue) { - if (tyBuilder_ == null) { - ty_ = builderForValue.build(); - } else { - tyBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Type of the symbol.
-             * 
- * - * .com.kcl.api.KclType ty = 1; - */ - public Builder mergeTy(com.kcl.api.Spec.KclType value) { - if (tyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && ty_ != null - && ty_ != com.kcl.api.Spec.KclType.getDefaultInstance()) { - getTyBuilder().mergeFrom(value); - } else { - ty_ = value; - } - } else { - tyBuilder_.mergeFrom(value); - } - if (ty_ != null) { - bitField0_ |= 0x00000001; - onChanged(); - } - return this; - } - - /** - *
-             * Type of the symbol.
-             * 
- * - * .com.kcl.api.KclType ty = 1; - */ - public Builder clearTy() { - bitField0_ = (bitField0_ & ~0x00000001); - ty_ = null; - if (tyBuilder_ != null) { - tyBuilder_.dispose(); - tyBuilder_ = null; - } - onChanged(); - return this; - } - - /** - *
-             * Type of the symbol.
-             * 
- * - * .com.kcl.api.KclType ty = 1; - */ - public com.kcl.api.Spec.KclType.Builder getTyBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getTyFieldBuilder().getBuilder(); - } - - /** - *
-             * Type of the symbol.
-             * 
- * - * .com.kcl.api.KclType ty = 1; - */ - public com.kcl.api.Spec.KclTypeOrBuilder getTyOrBuilder() { - if (tyBuilder_ != null) { - return tyBuilder_.getMessageOrBuilder(); - } else { - return ty_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : ty_; - } - } - - /** - *
-             * Type of the symbol.
-             * 
- * - * .com.kcl.api.KclType ty = 1; - */ - private com.google.protobuf.SingleFieldBuilder getTyFieldBuilder() { - if (tyBuilder_ == null) { - tyBuilder_ = new com.google.protobuf.SingleFieldBuilder( - getTy(), getParentForChildren(), isClean()); - ty_ = null; - } - return tyBuilder_; - } - - private java.lang.Object name_ = ""; - - /** - *
-             * Name of the symbol.
-             * 
- * - * string name = 2; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Name of the symbol.
-             * 
- * - * string name = 2; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Name of the symbol.
-             * 
- * - * string name = 2; - * - * @param value - * The name to set. - * - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - name_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Name of the symbol.
-             * 
- * - * string name = 2; - * - * @return This builder for chaining. - */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - *
-             * Name of the symbol.
-             * 
- * - * string name = 2; - * - * @param value - * The bytes for name to set. - * - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private com.kcl.api.Spec.SymbolIndex owner_; - private com.google.protobuf.SingleFieldBuilder ownerBuilder_; - - /** - *
-             * Owner of the symbol.
-             * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return Whether the owner field is set. - */ - public boolean hasOwner() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - *
-             * Owner of the symbol.
-             * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return The owner. - */ - public com.kcl.api.Spec.SymbolIndex getOwner() { - if (ownerBuilder_ == null) { - return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; - } else { - return ownerBuilder_.getMessage(); - } - } - - /** - *
-             * Owner of the symbol.
-             * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - */ - public Builder setOwner(com.kcl.api.Spec.SymbolIndex value) { - if (ownerBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - owner_ = value; - } else { - ownerBuilder_.setMessage(value); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * Owner of the symbol.
-             * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - */ - public Builder setOwner(com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { - if (ownerBuilder_ == null) { - owner_ = builderForValue.build(); - } else { - ownerBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * Owner of the symbol.
-             * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - */ - public Builder mergeOwner(com.kcl.api.Spec.SymbolIndex value) { - if (ownerBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && owner_ != null - && owner_ != com.kcl.api.Spec.SymbolIndex.getDefaultInstance()) { - getOwnerBuilder().mergeFrom(value); - } else { - owner_ = value; - } - } else { - ownerBuilder_.mergeFrom(value); - } - if (owner_ != null) { - bitField0_ |= 0x00000004; - onChanged(); - } - return this; - } - - /** - *
-             * Owner of the symbol.
-             * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - */ - public Builder clearOwner() { - bitField0_ = (bitField0_ & ~0x00000004); - owner_ = null; - if (ownerBuilder_ != null) { - ownerBuilder_.dispose(); - ownerBuilder_ = null; - } - onChanged(); - return this; - } - - /** - *
-             * Owner of the symbol.
-             * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - */ - public com.kcl.api.Spec.SymbolIndex.Builder getOwnerBuilder() { - bitField0_ |= 0x00000004; - onChanged(); - return getOwnerFieldBuilder().getBuilder(); - } - - /** - *
-             * Owner of the symbol.
-             * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - */ - public com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder() { - if (ownerBuilder_ != null) { - return ownerBuilder_.getMessageOrBuilder(); - } else { - return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; - } - } - - /** - *
-             * Owner of the symbol.
-             * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - */ - private com.google.protobuf.SingleFieldBuilder getOwnerFieldBuilder() { - if (ownerBuilder_ == null) { - ownerBuilder_ = new com.google.protobuf.SingleFieldBuilder( - getOwner(), getParentForChildren(), isClean()); - owner_ = null; - } - return ownerBuilder_; - } - - private com.kcl.api.Spec.SymbolIndex def_; - private com.google.protobuf.SingleFieldBuilder defBuilder_; - - /** - *
-             * Definition of the symbol.
-             * 
- * - * .com.kcl.api.SymbolIndex def = 4; - * - * @return Whether the def field is set. - */ - public boolean hasDef() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - *
-             * Definition of the symbol.
-             * 
- * - * .com.kcl.api.SymbolIndex def = 4; - * - * @return The def. - */ - public com.kcl.api.Spec.SymbolIndex getDef() { - if (defBuilder_ == null) { - return def_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : def_; - } else { - return defBuilder_.getMessage(); - } - } - - /** - *
-             * Definition of the symbol.
-             * 
- * - * .com.kcl.api.SymbolIndex def = 4; - */ - public Builder setDef(com.kcl.api.Spec.SymbolIndex value) { - if (defBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - def_ = value; - } else { - defBuilder_.setMessage(value); - } - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - - /** - *
-             * Definition of the symbol.
-             * 
- * - * .com.kcl.api.SymbolIndex def = 4; - */ - public Builder setDef(com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { - if (defBuilder_ == null) { - def_ = builderForValue.build(); - } else { - defBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - - /** - *
-             * Definition of the symbol.
-             * 
- * - * .com.kcl.api.SymbolIndex def = 4; - */ - public Builder mergeDef(com.kcl.api.Spec.SymbolIndex value) { - if (defBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && def_ != null - && def_ != com.kcl.api.Spec.SymbolIndex.getDefaultInstance()) { - getDefBuilder().mergeFrom(value); - } else { - def_ = value; - } - } else { - defBuilder_.mergeFrom(value); - } - if (def_ != null) { - bitField0_ |= 0x00000008; - onChanged(); - } - return this; - } - - /** - *
-             * Definition of the symbol.
-             * 
- * - * .com.kcl.api.SymbolIndex def = 4; - */ - public Builder clearDef() { - bitField0_ = (bitField0_ & ~0x00000008); - def_ = null; - if (defBuilder_ != null) { - defBuilder_.dispose(); - defBuilder_ = null; - } - onChanged(); - return this; - } - - /** - *
-             * Definition of the symbol.
-             * 
- * - * .com.kcl.api.SymbolIndex def = 4; - */ - public com.kcl.api.Spec.SymbolIndex.Builder getDefBuilder() { - bitField0_ |= 0x00000008; - onChanged(); - return getDefFieldBuilder().getBuilder(); - } - - /** - *
-             * Definition of the symbol.
-             * 
- * - * .com.kcl.api.SymbolIndex def = 4; - */ - public com.kcl.api.Spec.SymbolIndexOrBuilder getDefOrBuilder() { - if (defBuilder_ != null) { - return defBuilder_.getMessageOrBuilder(); - } else { - return def_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : def_; - } - } - - /** - *
-             * Definition of the symbol.
-             * 
- * - * .com.kcl.api.SymbolIndex def = 4; - */ - private com.google.protobuf.SingleFieldBuilder getDefFieldBuilder() { - if (defBuilder_ == null) { - defBuilder_ = new com.google.protobuf.SingleFieldBuilder( - getDef(), getParentForChildren(), isClean()); - def_ = null; - } - return defBuilder_; - } - - private java.util.List attrs_ = java.util.Collections.emptyList(); - - private void ensureAttrsIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - attrs_ = new java.util.ArrayList(attrs_); - bitField0_ |= 0x00000010; - } - } - - private com.google.protobuf.RepeatedFieldBuilder attrsBuilder_; - - /** - *
-             * Attributes of the symbol.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public java.util.List getAttrsList() { - if (attrsBuilder_ == null) { - return java.util.Collections.unmodifiableList(attrs_); - } else { - return attrsBuilder_.getMessageList(); - } - } - - /** - *
-             * Attributes of the symbol.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public int getAttrsCount() { - if (attrsBuilder_ == null) { - return attrs_.size(); - } else { - return attrsBuilder_.getCount(); - } - } - - /** - *
-             * Attributes of the symbol.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public com.kcl.api.Spec.SymbolIndex getAttrs(int index) { - if (attrsBuilder_ == null) { - return attrs_.get(index); - } else { - return attrsBuilder_.getMessage(index); - } - } - - /** - *
-             * Attributes of the symbol.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public Builder setAttrs(int index, com.kcl.api.Spec.SymbolIndex value) { - if (attrsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAttrsIsMutable(); - attrs_.set(index, value); - onChanged(); - } else { - attrsBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * Attributes of the symbol.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public Builder setAttrs(int index, com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { - if (attrsBuilder_ == null) { - ensureAttrsIsMutable(); - attrs_.set(index, builderForValue.build()); - onChanged(); - } else { - attrsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * Attributes of the symbol.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public Builder addAttrs(com.kcl.api.Spec.SymbolIndex value) { - if (attrsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAttrsIsMutable(); - attrs_.add(value); - onChanged(); - } else { - attrsBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * Attributes of the symbol.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public Builder addAttrs(int index, com.kcl.api.Spec.SymbolIndex value) { - if (attrsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAttrsIsMutable(); - attrs_.add(index, value); - onChanged(); - } else { - attrsBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * Attributes of the symbol.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public Builder addAttrs(com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { - if (attrsBuilder_ == null) { - ensureAttrsIsMutable(); - attrs_.add(builderForValue.build()); - onChanged(); - } else { - attrsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * Attributes of the symbol.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public Builder addAttrs(int index, com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { - if (attrsBuilder_ == null) { - ensureAttrsIsMutable(); - attrs_.add(index, builderForValue.build()); - onChanged(); - } else { - attrsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * Attributes of the symbol.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public Builder addAllAttrs(java.lang.Iterable values) { - if (attrsBuilder_ == null) { - ensureAttrsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attrs_); - onChanged(); - } else { - attrsBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * Attributes of the symbol.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public Builder clearAttrs() { - if (attrsBuilder_ == null) { - attrs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - attrsBuilder_.clear(); - } - return this; - } - - /** - *
-             * Attributes of the symbol.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public Builder removeAttrs(int index) { - if (attrsBuilder_ == null) { - ensureAttrsIsMutable(); - attrs_.remove(index); - onChanged(); - } else { - attrsBuilder_.remove(index); - } - return this; - } - - /** - *
-             * Attributes of the symbol.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public com.kcl.api.Spec.SymbolIndex.Builder getAttrsBuilder(int index) { - return getAttrsFieldBuilder().getBuilder(index); - } - - /** - *
-             * Attributes of the symbol.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public com.kcl.api.Spec.SymbolIndexOrBuilder getAttrsOrBuilder(int index) { - if (attrsBuilder_ == null) { - return attrs_.get(index); - } else { - return attrsBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * Attributes of the symbol.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public java.util.List getAttrsOrBuilderList() { - if (attrsBuilder_ != null) { - return attrsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(attrs_); - } - } - - /** - *
-             * Attributes of the symbol.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public com.kcl.api.Spec.SymbolIndex.Builder addAttrsBuilder() { - return getAttrsFieldBuilder().addBuilder(com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); - } - - /** - *
-             * Attributes of the symbol.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public com.kcl.api.Spec.SymbolIndex.Builder addAttrsBuilder(int index) { - return getAttrsFieldBuilder().addBuilder(index, com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); - } - - /** - *
-             * Attributes of the symbol.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex attrs = 5; - */ - public java.util.List getAttrsBuilderList() { - return getAttrsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder getAttrsFieldBuilder() { - if (attrsBuilder_ == null) { - attrsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - attrs_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); - attrs_ = null; - } - return attrsBuilder_; - } - - private boolean isGlobal_; - - /** - *
-             * Flag indicating if the symbol is global.
-             * 
- * - * bool is_global = 6; - * - * @return The isGlobal. - */ - @java.lang.Override - public boolean getIsGlobal() { - return isGlobal_; - } - - /** - *
-             * Flag indicating if the symbol is global.
-             * 
- * - * bool is_global = 6; - * - * @param value - * The isGlobal to set. - * - * @return This builder for chaining. - */ - public Builder setIsGlobal(boolean value) { - - isGlobal_ = value; - bitField0_ |= 0x00000020; - onChanged(); - return this; - } - - /** - *
-             * Flag indicating if the symbol is global.
-             * 
- * - * bool is_global = 6; - * - * @return This builder for chaining. - */ - public Builder clearIsGlobal() { - bitField0_ = (bitField0_ & ~0x00000020); - isGlobal_ = false; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.Symbol) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.Symbol) - private static final com.kcl.api.Spec.Symbol DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Symbol(); - } - - public static com.kcl.api.Spec.Symbol getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Symbol parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.Symbol getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ScopeOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Scope) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Type of the scope.
-         * 
- * - * string kind = 1; - * - * @return The kind. - */ - java.lang.String getKind(); - - /** - *
-         * Type of the scope.
-         * 
- * - * string kind = 1; - * - * @return The bytes for kind. - */ - com.google.protobuf.ByteString getKindBytes(); - - /** - *
-         * Parent scope.
-         * 
- * - * .com.kcl.api.ScopeIndex parent = 2; - * - * @return Whether the parent field is set. - */ - boolean hasParent(); - - /** - *
-         * Parent scope.
-         * 
- * - * .com.kcl.api.ScopeIndex parent = 2; - * - * @return The parent. - */ - com.kcl.api.Spec.ScopeIndex getParent(); - - /** - *
-         * Parent scope.
-         * 
- * - * .com.kcl.api.ScopeIndex parent = 2; - */ - com.kcl.api.Spec.ScopeIndexOrBuilder getParentOrBuilder(); - - /** - *
-         * Owner of the scope.
-         * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return Whether the owner field is set. - */ - boolean hasOwner(); - - /** - *
-         * Owner of the scope.
-         * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return The owner. - */ - com.kcl.api.Spec.SymbolIndex getOwner(); - - /** - *
-         * Owner of the scope.
-         * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - */ - com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder(); - - /** - *
-         * Children of the scope.
-         * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - java.util.List getChildrenList(); - - /** - *
-         * Children of the scope.
-         * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - com.kcl.api.Spec.ScopeIndex getChildren(int index); - - /** - *
-         * Children of the scope.
-         * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - int getChildrenCount(); - - /** - *
-         * Children of the scope.
-         * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - java.util.List getChildrenOrBuilderList(); - - /** - *
-         * Children of the scope.
-         * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - com.kcl.api.Spec.ScopeIndexOrBuilder getChildrenOrBuilder(int index); - - /** - *
-         * Definitions in the scope.
-         * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - java.util.List getDefsList(); - - /** - *
-         * Definitions in the scope.
-         * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - com.kcl.api.Spec.SymbolIndex getDefs(int index); - - /** - *
-         * Definitions in the scope.
-         * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - int getDefsCount(); - - /** - *
-         * Definitions in the scope.
-         * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - java.util.List getDefsOrBuilderList(); - - /** - *
-         * Definitions in the scope.
-         * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - com.kcl.api.Spec.SymbolIndexOrBuilder getDefsOrBuilder(int index); - } - - /** - *
-     * Message representing a scope in KCL.
-     * 
- * - * Protobuf type {@code com.kcl.api.Scope} - */ - public static final class Scope extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Scope) - ScopeOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", Scope.class.getName()); - } - - // Use Scope.newBuilder() to construct. - private Scope(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private Scope() { - kind_ = ""; - children_ = java.util.Collections.emptyList(); - defs_ = java.util.Collections.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Scope_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Scope_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Scope.class, - com.kcl.api.Spec.Scope.Builder.class); - } - - private int bitField0_; - public static final int KIND_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object kind_ = ""; - - /** - *
-         * Type of the scope.
-         * 
- * - * string kind = 1; - * - * @return The kind. - */ - @java.lang.Override - public java.lang.String getKind() { - java.lang.Object ref = kind_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - kind_ = s; - return s; - } - } - - /** - *
-         * Type of the scope.
-         * 
- * - * string kind = 1; - * - * @return The bytes for kind. - */ - @java.lang.Override - public com.google.protobuf.ByteString getKindBytes() { - java.lang.Object ref = kind_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - kind_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PARENT_FIELD_NUMBER = 2; - private com.kcl.api.Spec.ScopeIndex parent_; - - /** - *
-         * Parent scope.
-         * 
- * - * .com.kcl.api.ScopeIndex parent = 2; - * - * @return Whether the parent field is set. - */ - @java.lang.Override - public boolean hasParent() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - *
-         * Parent scope.
-         * 
- * - * .com.kcl.api.ScopeIndex parent = 2; - * - * @return The parent. - */ - @java.lang.Override - public com.kcl.api.Spec.ScopeIndex getParent() { - return parent_ == null ? com.kcl.api.Spec.ScopeIndex.getDefaultInstance() : parent_; - } - - /** - *
-         * Parent scope.
-         * 
- * - * .com.kcl.api.ScopeIndex parent = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.ScopeIndexOrBuilder getParentOrBuilder() { - return parent_ == null ? com.kcl.api.Spec.ScopeIndex.getDefaultInstance() : parent_; - } - - public static final int OWNER_FIELD_NUMBER = 3; - private com.kcl.api.Spec.SymbolIndex owner_; - - /** - *
-         * Owner of the scope.
-         * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return Whether the owner field is set. - */ - @java.lang.Override - public boolean hasOwner() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - *
-         * Owner of the scope.
-         * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return The owner. - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex getOwner() { - return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; - } - - /** - *
-         * Owner of the scope.
-         * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder() { - return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; - } - - public static final int CHILDREN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private java.util.List children_; - - /** - *
-         * Children of the scope.
-         * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - @java.lang.Override - public java.util.List getChildrenList() { - return children_; - } - - /** - *
-         * Children of the scope.
-         * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - @java.lang.Override - public java.util.List getChildrenOrBuilderList() { - return children_; - } - - /** - *
-         * Children of the scope.
-         * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - @java.lang.Override - public int getChildrenCount() { - return children_.size(); - } - - /** - *
-         * Children of the scope.
-         * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - @java.lang.Override - public com.kcl.api.Spec.ScopeIndex getChildren(int index) { - return children_.get(index); - } - - /** - *
-         * Children of the scope.
-         * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - @java.lang.Override - public com.kcl.api.Spec.ScopeIndexOrBuilder getChildrenOrBuilder(int index) { - return children_.get(index); - } - - public static final int DEFS_FIELD_NUMBER = 5; - @SuppressWarnings("serial") - private java.util.List defs_; - - /** - *
-         * Definitions in the scope.
-         * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - @java.lang.Override - public java.util.List getDefsList() { - return defs_; - } - - /** - *
-         * Definitions in the scope.
-         * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - @java.lang.Override - public java.util.List getDefsOrBuilderList() { - return defs_; - } - - /** - *
-         * Definitions in the scope.
-         * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - @java.lang.Override - public int getDefsCount() { - return defs_.size(); - } - - /** - *
-         * Definitions in the scope.
-         * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex getDefs(int index) { - return defs_.get(index); - } - - /** - *
-         * Definitions in the scope.
-         * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - @java.lang.Override - public com.kcl.api.Spec.SymbolIndexOrBuilder getDefsOrBuilder(int index) { - return defs_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kind_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, kind_); - } - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(2, getParent()); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeMessage(3, getOwner()); - } - for (int i = 0; i < children_.size(); i++) { - output.writeMessage(4, children_.get(i)); - } - for (int i = 0; i < defs_.size(); i++) { - output.writeMessage(5, defs_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kind_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, kind_); - } - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getParent()); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOwner()); - } - for (int i = 0; i < children_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, children_.get(i)); - } - for (int i = 0; i < defs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, defs_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Scope)) { - return super.equals(obj); - } - com.kcl.api.Spec.Scope other = (com.kcl.api.Spec.Scope) obj; - - if (!getKind().equals(other.getKind())) - return false; - if (hasParent() != other.hasParent()) - return false; - if (hasParent()) { - if (!getParent().equals(other.getParent())) - return false; - } - if (hasOwner() != other.hasOwner()) - return false; - if (hasOwner()) { - if (!getOwner().equals(other.getOwner())) - return false; - } - if (!getChildrenList().equals(other.getChildrenList())) - return false; - if (!getDefsList().equals(other.getDefsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + KIND_FIELD_NUMBER; - hash = (53 * hash) + getKind().hashCode(); - if (hasParent()) { - hash = (37 * hash) + PARENT_FIELD_NUMBER; - hash = (53 * hash) + getParent().hashCode(); - } - if (hasOwner()) { - hash = (37 * hash) + OWNER_FIELD_NUMBER; - hash = (53 * hash) + getOwner().hashCode(); - } - if (getChildrenCount() > 0) { - hash = (37 * hash) + CHILDREN_FIELD_NUMBER; - hash = (53 * hash) + getChildrenList().hashCode(); - } - if (getDefsCount() > 0) { - hash = (37 * hash) + DEFS_FIELD_NUMBER; - hash = (53 * hash) + getDefsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.Scope parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Scope parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Scope parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Scope parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Scope parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Scope parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Scope parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Scope parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.Scope parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Scope parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.Scope parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Scope parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.Scope prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message representing a scope in KCL.
-         * 
- * - * Protobuf type {@code com.kcl.api.Scope} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Scope) - com.kcl.api.Spec.ScopeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Scope_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Scope_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Scope.class, - com.kcl.api.Spec.Scope.Builder.class); - } - - // Construct using com.kcl.api.Spec.Scope.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - getParentFieldBuilder(); - getOwnerFieldBuilder(); - getChildrenFieldBuilder(); - getDefsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - kind_ = ""; - parent_ = null; - if (parentBuilder_ != null) { - parentBuilder_.dispose(); - parentBuilder_ = null; - } - owner_ = null; - if (ownerBuilder_ != null) { - ownerBuilder_.dispose(); - ownerBuilder_ = null; - } - if (childrenBuilder_ == null) { - children_ = java.util.Collections.emptyList(); - } else { - children_ = null; - childrenBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - if (defsBuilder_ == null) { - defs_ = java.util.Collections.emptyList(); - } else { - defs_ = null; - defsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000010); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Scope_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.Scope getDefaultInstanceForType() { - return com.kcl.api.Spec.Scope.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.Scope build() { - com.kcl.api.Spec.Scope result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.Scope buildPartial() { - com.kcl.api.Spec.Scope result = new com.kcl.api.Spec.Scope(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.Scope result) { - if (childrenBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - children_ = java.util.Collections.unmodifiableList(children_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.children_ = children_; - } else { - result.children_ = childrenBuilder_.build(); - } - if (defsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - defs_ = java.util.Collections.unmodifiableList(defs_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.defs_ = defs_; - } else { - result.defs_ = defsBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.Scope result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.kind_ = kind_; - } - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000002) != 0)) { - result.parent_ = parentBuilder_ == null ? parent_ : parentBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.owner_ = ownerBuilder_ == null ? owner_ : ownerBuilder_.build(); - to_bitField0_ |= 0x00000002; - } - result.bitField0_ |= to_bitField0_; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Scope) { - return mergeFrom((com.kcl.api.Spec.Scope) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.Scope other) { - if (other == com.kcl.api.Spec.Scope.getDefaultInstance()) - return this; - if (!other.getKind().isEmpty()) { - kind_ = other.kind_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (other.hasParent()) { - mergeParent(other.getParent()); - } - if (other.hasOwner()) { - mergeOwner(other.getOwner()); - } - if (childrenBuilder_ == null) { - if (!other.children_.isEmpty()) { - if (children_.isEmpty()) { - children_ = other.children_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureChildrenIsMutable(); - children_.addAll(other.children_); - } - onChanged(); - } - } else { - if (!other.children_.isEmpty()) { - if (childrenBuilder_.isEmpty()) { - childrenBuilder_.dispose(); - childrenBuilder_ = null; - children_ = other.children_; - bitField0_ = (bitField0_ & ~0x00000008); - childrenBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getChildrenFieldBuilder() : null; - } else { - childrenBuilder_.addAllMessages(other.children_); - } - } - } - if (defsBuilder_ == null) { - if (!other.defs_.isEmpty()) { - if (defs_.isEmpty()) { - defs_ = other.defs_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureDefsIsMutable(); - defs_.addAll(other.defs_); - } - onChanged(); - } - } else { - if (!other.defs_.isEmpty()) { - if (defsBuilder_.isEmpty()) { - defsBuilder_.dispose(); - defsBuilder_ = null; - defs_ = other.defs_; - bitField0_ = (bitField0_ & ~0x00000010); - defsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getDefsFieldBuilder() : null; - } else { - defsBuilder_.addAllMessages(other.defs_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - kind_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage(getParentFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage(getOwnerFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - com.kcl.api.Spec.ScopeIndex m = input.readMessage(com.kcl.api.Spec.ScopeIndex.parser(), - extensionRegistry); - if (childrenBuilder_ == null) { - ensureChildrenIsMutable(); - children_.add(m); - } else { - childrenBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: { - com.kcl.api.Spec.SymbolIndex m = input.readMessage(com.kcl.api.Spec.SymbolIndex.parser(), - extensionRegistry); - if (defsBuilder_ == null) { - ensureDefsIsMutable(); - defs_.add(m); - } else { - defsBuilder_.addMessage(m); - } - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object kind_ = ""; - - /** - *
-             * Type of the scope.
-             * 
- * - * string kind = 1; - * - * @return The kind. - */ - public java.lang.String getKind() { - java.lang.Object ref = kind_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - kind_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Type of the scope.
-             * 
- * - * string kind = 1; - * - * @return The bytes for kind. - */ - public com.google.protobuf.ByteString getKindBytes() { - java.lang.Object ref = kind_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - kind_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Type of the scope.
-             * 
- * - * string kind = 1; - * - * @param value - * The kind to set. - * - * @return This builder for chaining. - */ - public Builder setKind(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - kind_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Type of the scope.
-             * 
- * - * string kind = 1; - * - * @return This builder for chaining. - */ - public Builder clearKind() { - kind_ = getDefaultInstance().getKind(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * Type of the scope.
-             * 
- * - * string kind = 1; - * - * @param value - * The bytes for kind to set. - * - * @return This builder for chaining. - */ - public Builder setKindBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - kind_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.kcl.api.Spec.ScopeIndex parent_; - private com.google.protobuf.SingleFieldBuilder parentBuilder_; - - /** - *
-             * Parent scope.
-             * 
- * - * .com.kcl.api.ScopeIndex parent = 2; - * - * @return Whether the parent field is set. - */ - public boolean hasParent() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - *
-             * Parent scope.
-             * 
- * - * .com.kcl.api.ScopeIndex parent = 2; - * - * @return The parent. - */ - public com.kcl.api.Spec.ScopeIndex getParent() { - if (parentBuilder_ == null) { - return parent_ == null ? com.kcl.api.Spec.ScopeIndex.getDefaultInstance() : parent_; - } else { - return parentBuilder_.getMessage(); - } - } - - /** - *
-             * Parent scope.
-             * 
- * - * .com.kcl.api.ScopeIndex parent = 2; - */ - public Builder setParent(com.kcl.api.Spec.ScopeIndex value) { - if (parentBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - parent_ = value; - } else { - parentBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Parent scope.
-             * 
- * - * .com.kcl.api.ScopeIndex parent = 2; - */ - public Builder setParent(com.kcl.api.Spec.ScopeIndex.Builder builderForValue) { - if (parentBuilder_ == null) { - parent_ = builderForValue.build(); - } else { - parentBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Parent scope.
-             * 
- * - * .com.kcl.api.ScopeIndex parent = 2; - */ - public Builder mergeParent(com.kcl.api.Spec.ScopeIndex value) { - if (parentBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && parent_ != null - && parent_ != com.kcl.api.Spec.ScopeIndex.getDefaultInstance()) { - getParentBuilder().mergeFrom(value); - } else { - parent_ = value; - } - } else { - parentBuilder_.mergeFrom(value); - } - if (parent_ != null) { - bitField0_ |= 0x00000002; - onChanged(); - } - return this; - } - - /** - *
-             * Parent scope.
-             * 
- * - * .com.kcl.api.ScopeIndex parent = 2; - */ - public Builder clearParent() { - bitField0_ = (bitField0_ & ~0x00000002); - parent_ = null; - if (parentBuilder_ != null) { - parentBuilder_.dispose(); - parentBuilder_ = null; - } - onChanged(); - return this; - } - - /** - *
-             * Parent scope.
-             * 
- * - * .com.kcl.api.ScopeIndex parent = 2; - */ - public com.kcl.api.Spec.ScopeIndex.Builder getParentBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getParentFieldBuilder().getBuilder(); - } - - /** - *
-             * Parent scope.
-             * 
- * - * .com.kcl.api.ScopeIndex parent = 2; - */ - public com.kcl.api.Spec.ScopeIndexOrBuilder getParentOrBuilder() { - if (parentBuilder_ != null) { - return parentBuilder_.getMessageOrBuilder(); - } else { - return parent_ == null ? com.kcl.api.Spec.ScopeIndex.getDefaultInstance() : parent_; - } - } - - /** - *
-             * Parent scope.
-             * 
- * - * .com.kcl.api.ScopeIndex parent = 2; - */ - private com.google.protobuf.SingleFieldBuilder getParentFieldBuilder() { - if (parentBuilder_ == null) { - parentBuilder_ = new com.google.protobuf.SingleFieldBuilder( - getParent(), getParentForChildren(), isClean()); - parent_ = null; - } - return parentBuilder_; - } - - private com.kcl.api.Spec.SymbolIndex owner_; - private com.google.protobuf.SingleFieldBuilder ownerBuilder_; - - /** - *
-             * Owner of the scope.
-             * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return Whether the owner field is set. - */ - public boolean hasOwner() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - *
-             * Owner of the scope.
-             * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - * - * @return The owner. - */ - public com.kcl.api.Spec.SymbolIndex getOwner() { - if (ownerBuilder_ == null) { - return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; - } else { - return ownerBuilder_.getMessage(); - } - } - - /** - *
-             * Owner of the scope.
-             * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - */ - public Builder setOwner(com.kcl.api.Spec.SymbolIndex value) { - if (ownerBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - owner_ = value; - } else { - ownerBuilder_.setMessage(value); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * Owner of the scope.
-             * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - */ - public Builder setOwner(com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { - if (ownerBuilder_ == null) { - owner_ = builderForValue.build(); - } else { - ownerBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * Owner of the scope.
-             * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - */ - public Builder mergeOwner(com.kcl.api.Spec.SymbolIndex value) { - if (ownerBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && owner_ != null - && owner_ != com.kcl.api.Spec.SymbolIndex.getDefaultInstance()) { - getOwnerBuilder().mergeFrom(value); - } else { - owner_ = value; - } - } else { - ownerBuilder_.mergeFrom(value); - } - if (owner_ != null) { - bitField0_ |= 0x00000004; - onChanged(); - } - return this; - } - - /** - *
-             * Owner of the scope.
-             * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - */ - public Builder clearOwner() { - bitField0_ = (bitField0_ & ~0x00000004); - owner_ = null; - if (ownerBuilder_ != null) { - ownerBuilder_.dispose(); - ownerBuilder_ = null; - } - onChanged(); - return this; - } - - /** - *
-             * Owner of the scope.
-             * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - */ - public com.kcl.api.Spec.SymbolIndex.Builder getOwnerBuilder() { - bitField0_ |= 0x00000004; - onChanged(); - return getOwnerFieldBuilder().getBuilder(); - } - - /** - *
-             * Owner of the scope.
-             * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - */ - public com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder() { - if (ownerBuilder_ != null) { - return ownerBuilder_.getMessageOrBuilder(); - } else { - return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; - } - } - - /** - *
-             * Owner of the scope.
-             * 
- * - * .com.kcl.api.SymbolIndex owner = 3; - */ - private com.google.protobuf.SingleFieldBuilder getOwnerFieldBuilder() { - if (ownerBuilder_ == null) { - ownerBuilder_ = new com.google.protobuf.SingleFieldBuilder( - getOwner(), getParentForChildren(), isClean()); - owner_ = null; - } - return ownerBuilder_; - } - - private java.util.List children_ = java.util.Collections.emptyList(); - - private void ensureChildrenIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - children_ = new java.util.ArrayList(children_); - bitField0_ |= 0x00000008; - } - } - - private com.google.protobuf.RepeatedFieldBuilder childrenBuilder_; - - /** - *
-             * Children of the scope.
-             * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public java.util.List getChildrenList() { - if (childrenBuilder_ == null) { - return java.util.Collections.unmodifiableList(children_); - } else { - return childrenBuilder_.getMessageList(); - } - } - - /** - *
-             * Children of the scope.
-             * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public int getChildrenCount() { - if (childrenBuilder_ == null) { - return children_.size(); - } else { - return childrenBuilder_.getCount(); - } - } - - /** - *
-             * Children of the scope.
-             * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public com.kcl.api.Spec.ScopeIndex getChildren(int index) { - if (childrenBuilder_ == null) { - return children_.get(index); - } else { - return childrenBuilder_.getMessage(index); - } - } - - /** - *
-             * Children of the scope.
-             * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public Builder setChildren(int index, com.kcl.api.Spec.ScopeIndex value) { - if (childrenBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureChildrenIsMutable(); - children_.set(index, value); - onChanged(); - } else { - childrenBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * Children of the scope.
-             * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public Builder setChildren(int index, com.kcl.api.Spec.ScopeIndex.Builder builderForValue) { - if (childrenBuilder_ == null) { - ensureChildrenIsMutable(); - children_.set(index, builderForValue.build()); - onChanged(); - } else { - childrenBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * Children of the scope.
-             * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public Builder addChildren(com.kcl.api.Spec.ScopeIndex value) { - if (childrenBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureChildrenIsMutable(); - children_.add(value); - onChanged(); - } else { - childrenBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * Children of the scope.
-             * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public Builder addChildren(int index, com.kcl.api.Spec.ScopeIndex value) { - if (childrenBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureChildrenIsMutable(); - children_.add(index, value); - onChanged(); - } else { - childrenBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * Children of the scope.
-             * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public Builder addChildren(com.kcl.api.Spec.ScopeIndex.Builder builderForValue) { - if (childrenBuilder_ == null) { - ensureChildrenIsMutable(); - children_.add(builderForValue.build()); - onChanged(); - } else { - childrenBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * Children of the scope.
-             * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public Builder addChildren(int index, com.kcl.api.Spec.ScopeIndex.Builder builderForValue) { - if (childrenBuilder_ == null) { - ensureChildrenIsMutable(); - children_.add(index, builderForValue.build()); - onChanged(); - } else { - childrenBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * Children of the scope.
-             * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public Builder addAllChildren(java.lang.Iterable values) { - if (childrenBuilder_ == null) { - ensureChildrenIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, children_); - onChanged(); - } else { - childrenBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * Children of the scope.
-             * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public Builder clearChildren() { - if (childrenBuilder_ == null) { - children_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - childrenBuilder_.clear(); - } - return this; - } - - /** - *
-             * Children of the scope.
-             * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public Builder removeChildren(int index) { - if (childrenBuilder_ == null) { - ensureChildrenIsMutable(); - children_.remove(index); - onChanged(); - } else { - childrenBuilder_.remove(index); - } - return this; - } - - /** - *
-             * Children of the scope.
-             * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public com.kcl.api.Spec.ScopeIndex.Builder getChildrenBuilder(int index) { - return getChildrenFieldBuilder().getBuilder(index); - } - - /** - *
-             * Children of the scope.
-             * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public com.kcl.api.Spec.ScopeIndexOrBuilder getChildrenOrBuilder(int index) { - if (childrenBuilder_ == null) { - return children_.get(index); - } else { - return childrenBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * Children of the scope.
-             * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public java.util.List getChildrenOrBuilderList() { - if (childrenBuilder_ != null) { - return childrenBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(children_); - } - } - - /** - *
-             * Children of the scope.
-             * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public com.kcl.api.Spec.ScopeIndex.Builder addChildrenBuilder() { - return getChildrenFieldBuilder().addBuilder(com.kcl.api.Spec.ScopeIndex.getDefaultInstance()); - } - - /** - *
-             * Children of the scope.
-             * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public com.kcl.api.Spec.ScopeIndex.Builder addChildrenBuilder(int index) { - return getChildrenFieldBuilder().addBuilder(index, com.kcl.api.Spec.ScopeIndex.getDefaultInstance()); - } - - /** - *
-             * Children of the scope.
-             * 
- * - * repeated .com.kcl.api.ScopeIndex children = 4; - */ - public java.util.List getChildrenBuilderList() { - return getChildrenFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder getChildrenFieldBuilder() { - if (childrenBuilder_ == null) { - childrenBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - children_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); - children_ = null; - } - return childrenBuilder_; - } - - private java.util.List defs_ = java.util.Collections.emptyList(); - - private void ensureDefsIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - defs_ = new java.util.ArrayList(defs_); - bitField0_ |= 0x00000010; - } - } - - private com.google.protobuf.RepeatedFieldBuilder defsBuilder_; - - /** - *
-             * Definitions in the scope.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public java.util.List getDefsList() { - if (defsBuilder_ == null) { - return java.util.Collections.unmodifiableList(defs_); - } else { - return defsBuilder_.getMessageList(); - } - } - - /** - *
-             * Definitions in the scope.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public int getDefsCount() { - if (defsBuilder_ == null) { - return defs_.size(); - } else { - return defsBuilder_.getCount(); - } - } - - /** - *
-             * Definitions in the scope.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public com.kcl.api.Spec.SymbolIndex getDefs(int index) { - if (defsBuilder_ == null) { - return defs_.get(index); - } else { - return defsBuilder_.getMessage(index); - } - } - - /** - *
-             * Definitions in the scope.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public Builder setDefs(int index, com.kcl.api.Spec.SymbolIndex value) { - if (defsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDefsIsMutable(); - defs_.set(index, value); - onChanged(); - } else { - defsBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * Definitions in the scope.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public Builder setDefs(int index, com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { - if (defsBuilder_ == null) { - ensureDefsIsMutable(); - defs_.set(index, builderForValue.build()); - onChanged(); - } else { - defsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * Definitions in the scope.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public Builder addDefs(com.kcl.api.Spec.SymbolIndex value) { - if (defsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDefsIsMutable(); - defs_.add(value); - onChanged(); - } else { - defsBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * Definitions in the scope.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public Builder addDefs(int index, com.kcl.api.Spec.SymbolIndex value) { - if (defsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDefsIsMutable(); - defs_.add(index, value); - onChanged(); - } else { - defsBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * Definitions in the scope.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public Builder addDefs(com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { - if (defsBuilder_ == null) { - ensureDefsIsMutable(); - defs_.add(builderForValue.build()); - onChanged(); - } else { - defsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * Definitions in the scope.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public Builder addDefs(int index, com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { - if (defsBuilder_ == null) { - ensureDefsIsMutable(); - defs_.add(index, builderForValue.build()); - onChanged(); - } else { - defsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * Definitions in the scope.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public Builder addAllDefs(java.lang.Iterable values) { - if (defsBuilder_ == null) { - ensureDefsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, defs_); - onChanged(); - } else { - defsBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * Definitions in the scope.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public Builder clearDefs() { - if (defsBuilder_ == null) { - defs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - defsBuilder_.clear(); - } - return this; - } - - /** - *
-             * Definitions in the scope.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public Builder removeDefs(int index) { - if (defsBuilder_ == null) { - ensureDefsIsMutable(); - defs_.remove(index); - onChanged(); - } else { - defsBuilder_.remove(index); - } - return this; - } - - /** - *
-             * Definitions in the scope.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public com.kcl.api.Spec.SymbolIndex.Builder getDefsBuilder(int index) { - return getDefsFieldBuilder().getBuilder(index); - } - - /** - *
-             * Definitions in the scope.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public com.kcl.api.Spec.SymbolIndexOrBuilder getDefsOrBuilder(int index) { - if (defsBuilder_ == null) { - return defs_.get(index); - } else { - return defsBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * Definitions in the scope.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public java.util.List getDefsOrBuilderList() { - if (defsBuilder_ != null) { - return defsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(defs_); - } - } - - /** - *
-             * Definitions in the scope.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public com.kcl.api.Spec.SymbolIndex.Builder addDefsBuilder() { - return getDefsFieldBuilder().addBuilder(com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); - } - - /** - *
-             * Definitions in the scope.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public com.kcl.api.Spec.SymbolIndex.Builder addDefsBuilder(int index) { - return getDefsFieldBuilder().addBuilder(index, com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); - } - - /** - *
-             * Definitions in the scope.
-             * 
- * - * repeated .com.kcl.api.SymbolIndex defs = 5; - */ - public java.util.List getDefsBuilderList() { - return getDefsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder getDefsFieldBuilder() { - if (defsBuilder_ == null) { - defsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - defs_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); - defs_ = null; - } - return defsBuilder_; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.Scope) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.Scope) - private static final com.kcl.api.Spec.Scope DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Scope(); - } - - public static com.kcl.api.Spec.Scope getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Scope parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.Scope getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SymbolIndexOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.SymbolIndex) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Index identifier.
-         * 
- * - * uint64 i = 1; - * - * @return The i. - */ - long getI(); - - /** - *
-         * Global identifier.
-         * 
- * - * uint64 g = 2; - * - * @return The g. - */ - long getG(); - - /** - *
-         * Type of the symbol or scope.
-         * 
- * - * string kind = 3; - * - * @return The kind. - */ - java.lang.String getKind(); - - /** - *
-         * Type of the symbol or scope.
-         * 
- * - * string kind = 3; - * - * @return The bytes for kind. - */ - com.google.protobuf.ByteString getKindBytes(); - } - - /** - *
-     * Message representing a symbol index.
-     * 
- * - * Protobuf type {@code com.kcl.api.SymbolIndex} - */ - public static final class SymbolIndex extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.SymbolIndex) - SymbolIndexOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", SymbolIndex.class.getName()); - } - - // Use SymbolIndex.newBuilder() to construct. - private SymbolIndex(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private SymbolIndex() { - kind_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_SymbolIndex_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_SymbolIndex_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.SymbolIndex.class, - com.kcl.api.Spec.SymbolIndex.Builder.class); - } - - public static final int I_FIELD_NUMBER = 1; - private long i_ = 0L; - - /** - *
-         * Index identifier.
-         * 
- * - * uint64 i = 1; - * - * @return The i. - */ - @java.lang.Override - public long getI() { - return i_; - } - - public static final int G_FIELD_NUMBER = 2; - private long g_ = 0L; - - /** - *
-         * Global identifier.
-         * 
- * - * uint64 g = 2; - * - * @return The g. - */ - @java.lang.Override - public long getG() { - return g_; - } - - public static final int KIND_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object kind_ = ""; - - /** - *
-         * Type of the symbol or scope.
-         * 
- * - * string kind = 3; - * - * @return The kind. - */ - @java.lang.Override - public java.lang.String getKind() { - java.lang.Object ref = kind_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - kind_ = s; - return s; - } - } - - /** - *
-         * Type of the symbol or scope.
-         * 
- * - * string kind = 3; - * - * @return The bytes for kind. - */ - @java.lang.Override - public com.google.protobuf.ByteString getKindBytes() { - java.lang.Object ref = kind_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - kind_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (i_ != 0L) { - output.writeUInt64(1, i_); - } - if (g_ != 0L) { - output.writeUInt64(2, g_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kind_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, kind_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (i_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeUInt64Size(1, i_); - } - if (g_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeUInt64Size(2, g_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kind_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, kind_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.SymbolIndex)) { - return super.equals(obj); - } - com.kcl.api.Spec.SymbolIndex other = (com.kcl.api.Spec.SymbolIndex) obj; - - if (getI() != other.getI()) - return false; - if (getG() != other.getG()) - return false; - if (!getKind().equals(other.getKind())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + I_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getI()); - hash = (37 * hash) + G_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getG()); - hash = (37 * hash) + KIND_FIELD_NUMBER; - hash = (53 * hash) + getKind().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.SymbolIndex parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.SymbolIndex parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.SymbolIndex parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.SymbolIndex parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.SymbolIndex parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.SymbolIndex parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.SymbolIndex parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.SymbolIndex parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.SymbolIndex parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.SymbolIndex parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.SymbolIndex parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.SymbolIndex parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.SymbolIndex prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message representing a symbol index.
-         * 
- * - * Protobuf type {@code com.kcl.api.SymbolIndex} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.SymbolIndex) - com.kcl.api.Spec.SymbolIndexOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_SymbolIndex_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_SymbolIndex_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.SymbolIndex.class, - com.kcl.api.Spec.SymbolIndex.Builder.class); - } - - // Construct using com.kcl.api.Spec.SymbolIndex.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - i_ = 0L; - g_ = 0L; - kind_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_SymbolIndex_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex getDefaultInstanceForType() { - return com.kcl.api.Spec.SymbolIndex.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex build() { - com.kcl.api.Spec.SymbolIndex result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex buildPartial() { - com.kcl.api.Spec.SymbolIndex result = new com.kcl.api.Spec.SymbolIndex(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.SymbolIndex result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.i_ = i_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.g_ = g_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.kind_ = kind_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.SymbolIndex) { - return mergeFrom((com.kcl.api.Spec.SymbolIndex) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.SymbolIndex other) { - if (other == com.kcl.api.Spec.SymbolIndex.getDefaultInstance()) - return this; - if (other.getI() != 0L) { - setI(other.getI()); - } - if (other.getG() != 0L) { - setG(other.getG()); - } - if (!other.getKind().isEmpty()) { - kind_ = other.kind_; - bitField0_ |= 0x00000004; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - i_ = input.readUInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - g_ = input.readUInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - kind_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private long i_; - - /** - *
-             * Index identifier.
-             * 
- * - * uint64 i = 1; - * - * @return The i. - */ - @java.lang.Override - public long getI() { - return i_; - } - - /** - *
-             * Index identifier.
-             * 
- * - * uint64 i = 1; - * - * @param value - * The i to set. - * - * @return This builder for chaining. - */ - public Builder setI(long value) { - - i_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Index identifier.
-             * 
- * - * uint64 i = 1; - * - * @return This builder for chaining. - */ - public Builder clearI() { - bitField0_ = (bitField0_ & ~0x00000001); - i_ = 0L; - onChanged(); - return this; - } - - private long g_; - - /** - *
-             * Global identifier.
-             * 
- * - * uint64 g = 2; - * - * @return The g. - */ - @java.lang.Override - public long getG() { - return g_; - } - - /** - *
-             * Global identifier.
-             * 
- * - * uint64 g = 2; - * - * @param value - * The g to set. - * - * @return This builder for chaining. - */ - public Builder setG(long value) { - - g_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Global identifier.
-             * 
- * - * uint64 g = 2; - * - * @return This builder for chaining. - */ - public Builder clearG() { - bitField0_ = (bitField0_ & ~0x00000002); - g_ = 0L; - onChanged(); - return this; - } - - private java.lang.Object kind_ = ""; - - /** - *
-             * Type of the symbol or scope.
-             * 
- * - * string kind = 3; - * - * @return The kind. - */ - public java.lang.String getKind() { - java.lang.Object ref = kind_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - kind_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Type of the symbol or scope.
-             * 
- * - * string kind = 3; - * - * @return The bytes for kind. - */ - public com.google.protobuf.ByteString getKindBytes() { - java.lang.Object ref = kind_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - kind_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Type of the symbol or scope.
-             * 
- * - * string kind = 3; - * - * @param value - * The kind to set. - * - * @return This builder for chaining. - */ - public Builder setKind(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - kind_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * Type of the symbol or scope.
-             * 
- * - * string kind = 3; - * - * @return This builder for chaining. - */ - public Builder clearKind() { - kind_ = getDefaultInstance().getKind(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - - /** - *
-             * Type of the symbol or scope.
-             * 
- * - * string kind = 3; - * - * @param value - * The bytes for kind to set. - * - * @return This builder for chaining. - */ - public Builder setKindBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - kind_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.SymbolIndex) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.SymbolIndex) - private static final com.kcl.api.Spec.SymbolIndex DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.SymbolIndex(); - } - - public static com.kcl.api.Spec.SymbolIndex getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SymbolIndex parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.SymbolIndex getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ScopeIndexOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ScopeIndex) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Index identifier.
-         * 
- * - * uint64 i = 1; - * - * @return The i. - */ - long getI(); - - /** - *
-         * Global identifier.
-         * 
- * - * uint64 g = 2; - * - * @return The g. - */ - long getG(); - - /** - *
-         * Type of the scope.
-         * 
- * - * string kind = 3; - * - * @return The kind. - */ - java.lang.String getKind(); - - /** - *
-         * Type of the scope.
-         * 
- * - * string kind = 3; - * - * @return The bytes for kind. - */ - com.google.protobuf.ByteString getKindBytes(); - } - - /** - *
-     * Message representing a scope index.
-     * 
- * - * Protobuf type {@code com.kcl.api.ScopeIndex} - */ - public static final class ScopeIndex extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ScopeIndex) - ScopeIndexOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", ScopeIndex.class.getName()); - } - - // Use ScopeIndex.newBuilder() to construct. - private ScopeIndex(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ScopeIndex() { - kind_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ScopeIndex_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ScopeIndex_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ScopeIndex.class, - com.kcl.api.Spec.ScopeIndex.Builder.class); - } - - public static final int I_FIELD_NUMBER = 1; - private long i_ = 0L; - - /** - *
-         * Index identifier.
-         * 
- * - * uint64 i = 1; - * - * @return The i. - */ - @java.lang.Override - public long getI() { - return i_; - } - - public static final int G_FIELD_NUMBER = 2; - private long g_ = 0L; - - /** - *
-         * Global identifier.
-         * 
- * - * uint64 g = 2; - * - * @return The g. - */ - @java.lang.Override - public long getG() { - return g_; - } - - public static final int KIND_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object kind_ = ""; - - /** - *
-         * Type of the scope.
-         * 
- * - * string kind = 3; - * - * @return The kind. - */ - @java.lang.Override - public java.lang.String getKind() { - java.lang.Object ref = kind_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - kind_ = s; - return s; - } - } - - /** - *
-         * Type of the scope.
-         * 
- * - * string kind = 3; - * - * @return The bytes for kind. - */ - @java.lang.Override - public com.google.protobuf.ByteString getKindBytes() { - java.lang.Object ref = kind_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - kind_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (i_ != 0L) { - output.writeUInt64(1, i_); - } - if (g_ != 0L) { - output.writeUInt64(2, g_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kind_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, kind_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (i_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeUInt64Size(1, i_); - } - if (g_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeUInt64Size(2, g_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kind_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, kind_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ScopeIndex)) { - return super.equals(obj); - } - com.kcl.api.Spec.ScopeIndex other = (com.kcl.api.Spec.ScopeIndex) obj; - - if (getI() != other.getI()) - return false; - if (getG() != other.getG()) - return false; - if (!getKind().equals(other.getKind())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + I_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getI()); - hash = (37 * hash) + G_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getG()); - hash = (37 * hash) + KIND_FIELD_NUMBER; - hash = (53 * hash) + getKind().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ScopeIndex parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ScopeIndex parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ScopeIndex parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ScopeIndex parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ScopeIndex parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ScopeIndex parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ScopeIndex parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ScopeIndex parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ScopeIndex parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ScopeIndex parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ScopeIndex parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ScopeIndex parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ScopeIndex prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message representing a scope index.
-         * 
- * - * Protobuf type {@code com.kcl.api.ScopeIndex} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ScopeIndex) - com.kcl.api.Spec.ScopeIndexOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ScopeIndex_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ScopeIndex_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ScopeIndex.class, - com.kcl.api.Spec.ScopeIndex.Builder.class); - } - - // Construct using com.kcl.api.Spec.ScopeIndex.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - i_ = 0L; - g_ = 0L; - kind_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ScopeIndex_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ScopeIndex getDefaultInstanceForType() { - return com.kcl.api.Spec.ScopeIndex.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ScopeIndex build() { - com.kcl.api.Spec.ScopeIndex result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ScopeIndex buildPartial() { - com.kcl.api.Spec.ScopeIndex result = new com.kcl.api.Spec.ScopeIndex(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.ScopeIndex result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.i_ = i_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.g_ = g_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.kind_ = kind_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ScopeIndex) { - return mergeFrom((com.kcl.api.Spec.ScopeIndex) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ScopeIndex other) { - if (other == com.kcl.api.Spec.ScopeIndex.getDefaultInstance()) - return this; - if (other.getI() != 0L) { - setI(other.getI()); - } - if (other.getG() != 0L) { - setG(other.getG()); - } - if (!other.getKind().isEmpty()) { - kind_ = other.kind_; - bitField0_ |= 0x00000004; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - i_ = input.readUInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - g_ = input.readUInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - kind_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private long i_; - - /** - *
-             * Index identifier.
-             * 
- * - * uint64 i = 1; - * - * @return The i. - */ - @java.lang.Override - public long getI() { - return i_; - } - - /** - *
-             * Index identifier.
-             * 
- * - * uint64 i = 1; - * - * @param value - * The i to set. - * - * @return This builder for chaining. - */ - public Builder setI(long value) { - - i_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Index identifier.
-             * 
- * - * uint64 i = 1; - * - * @return This builder for chaining. - */ - public Builder clearI() { - bitField0_ = (bitField0_ & ~0x00000001); - i_ = 0L; - onChanged(); - return this; - } - - private long g_; - - /** - *
-             * Global identifier.
-             * 
- * - * uint64 g = 2; - * - * @return The g. - */ - @java.lang.Override - public long getG() { - return g_; - } - - /** - *
-             * Global identifier.
-             * 
- * - * uint64 g = 2; - * - * @param value - * The g to set. - * - * @return This builder for chaining. - */ - public Builder setG(long value) { - - g_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Global identifier.
-             * 
- * - * uint64 g = 2; - * - * @return This builder for chaining. - */ - public Builder clearG() { - bitField0_ = (bitField0_ & ~0x00000002); - g_ = 0L; - onChanged(); - return this; - } - - private java.lang.Object kind_ = ""; - - /** - *
-             * Type of the scope.
-             * 
- * - * string kind = 3; - * - * @return The kind. - */ - public java.lang.String getKind() { - java.lang.Object ref = kind_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - kind_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Type of the scope.
-             * 
- * - * string kind = 3; - * - * @return The bytes for kind. - */ - public com.google.protobuf.ByteString getKindBytes() { - java.lang.Object ref = kind_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - kind_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Type of the scope.
-             * 
- * - * string kind = 3; - * - * @param value - * The kind to set. - * - * @return This builder for chaining. - */ - public Builder setKind(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - kind_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * Type of the scope.
-             * 
- * - * string kind = 3; - * - * @return This builder for chaining. - */ - public Builder clearKind() { - kind_ = getDefaultInstance().getKind(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - - /** - *
-             * Type of the scope.
-             * 
- * - * string kind = 3; - * - * @param value - * The bytes for kind to set. - * - * @return This builder for chaining. - */ - public Builder setKindBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - kind_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ScopeIndex) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ScopeIndex) - private static final com.kcl.api.Spec.ScopeIndex DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ScopeIndex(); - } - - public static com.kcl.api.Spec.ScopeIndex getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ScopeIndex parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ScopeIndex getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExecProgram_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ExecProgram_Args) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Working directory.
-         * 
- * - * string work_dir = 1; - * - * @return The workDir. - */ - java.lang.String getWorkDir(); - - /** - *
-         * Working directory.
-         * 
- * - * string work_dir = 1; - * - * @return The bytes for workDir. - */ - com.google.protobuf.ByteString getWorkDirBytes(); - - /** - *
-         * List of KCL filenames.
-         * 
- * - * repeated string k_filename_list = 2; - * - * @return A list containing the kFilenameList. - */ - java.util.List getKFilenameListList(); - - /** - *
-         * List of KCL filenames.
-         * 
- * - * repeated string k_filename_list = 2; - * - * @return The count of kFilenameList. - */ - int getKFilenameListCount(); - - /** - *
-         * List of KCL filenames.
-         * 
- * - * repeated string k_filename_list = 2; - * - * @param index - * The index of the element to return. - * - * @return The kFilenameList at the given index. - */ - java.lang.String getKFilenameList(int index); - - /** - *
-         * List of KCL filenames.
-         * 
- * - * repeated string k_filename_list = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the kFilenameList at the given index. - */ - com.google.protobuf.ByteString getKFilenameListBytes(int index); - - /** - *
-         * List of KCL codes.
-         * 
- * - * repeated string k_code_list = 3; - * - * @return A list containing the kCodeList. - */ - java.util.List getKCodeListList(); - - /** - *
-         * List of KCL codes.
-         * 
- * - * repeated string k_code_list = 3; - * - * @return The count of kCodeList. - */ - int getKCodeListCount(); - - /** - *
-         * List of KCL codes.
-         * 
- * - * repeated string k_code_list = 3; - * - * @param index - * The index of the element to return. - * - * @return The kCodeList at the given index. - */ - java.lang.String getKCodeList(int index); - - /** - *
-         * List of KCL codes.
-         * 
- * - * repeated string k_code_list = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the kCodeList at the given index. - */ - com.google.protobuf.ByteString getKCodeListBytes(int index); - - /** - *
-         * Arguments for the program.
-         * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - java.util.List getArgsList(); - - /** - *
-         * Arguments for the program.
-         * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - com.kcl.api.Spec.Argument getArgs(int index); - - /** - *
-         * Arguments for the program.
-         * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - int getArgsCount(); - - /** - *
-         * Arguments for the program.
-         * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - java.util.List getArgsOrBuilderList(); - - /** - *
-         * Arguments for the program.
-         * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - com.kcl.api.Spec.ArgumentOrBuilder getArgsOrBuilder(int index); - - /** - *
-         * Override configurations.
-         * 
- * - * repeated string overrides = 5; - * - * @return A list containing the overrides. - */ - java.util.List getOverridesList(); - - /** - *
-         * Override configurations.
-         * 
- * - * repeated string overrides = 5; - * - * @return The count of overrides. - */ - int getOverridesCount(); - - /** - *
-         * Override configurations.
-         * 
- * - * repeated string overrides = 5; - * - * @param index - * The index of the element to return. - * - * @return The overrides at the given index. - */ - java.lang.String getOverrides(int index); - - /** - *
-         * Override configurations.
-         * 
- * - * repeated string overrides = 5; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the overrides at the given index. - */ - com.google.protobuf.ByteString getOverridesBytes(int index); - - /** - *
-         * Flag to disable YAML result.
-         * 
- * - * bool disable_yaml_result = 6; - * - * @return The disableYamlResult. - */ - boolean getDisableYamlResult(); - - /** - *
-         * Flag to print override AST.
-         * 
- * - * bool print_override_ast = 7; - * - * @return The printOverrideAst. - */ - boolean getPrintOverrideAst(); - - /** - *
-         * Flag for strict range check.
-         * 
- * - * bool strict_range_check = 8; - * - * @return The strictRangeCheck. - */ - boolean getStrictRangeCheck(); - - /** - *
-         * Flag to disable none values.
-         * 
- * - * bool disable_none = 9; - * - * @return The disableNone. - */ - boolean getDisableNone(); - - /** - *
-         * Verbose level.
-         * 
- * - * int32 verbose = 10; - * - * @return The verbose. - */ - int getVerbose(); - - /** - *
-         * Debug level.
-         * 
- * - * int32 debug = 11; - * - * @return The debug. - */ - int getDebug(); - - /** - *
-         * Flag to sort keys in YAML/JSON results.
-         * 
- * - * bool sort_keys = 12; - * - * @return The sortKeys. - */ - boolean getSortKeys(); - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - java.util.List getExternalPkgsList(); - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index); - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - int getExternalPkgsCount(); - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - java.util.List getExternalPkgsOrBuilderList(); - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder(int index); - - /** - *
-         * Flag to include schema type path in results.
-         * 
- * - * bool include_schema_type_path = 14; - * - * @return The includeSchemaTypePath. - */ - boolean getIncludeSchemaTypePath(); - - /** - *
-         * Flag to compile only without execution.
-         * 
- * - * bool compile_only = 15; - * - * @return The compileOnly. - */ - boolean getCompileOnly(); - - /** - *
-         * Flag to show hidden attributes.
-         * 
- * - * bool show_hidden = 16; - * - * @return The showHidden. - */ - boolean getShowHidden(); - - /** - *
-         * Path selectors for results.
-         * 
- * - * repeated string path_selector = 17; - * - * @return A list containing the pathSelector. - */ - java.util.List getPathSelectorList(); - - /** - *
-         * Path selectors for results.
-         * 
- * - * repeated string path_selector = 17; - * - * @return The count of pathSelector. - */ - int getPathSelectorCount(); - - /** - *
-         * Path selectors for results.
-         * 
- * - * repeated string path_selector = 17; - * - * @param index - * The index of the element to return. - * - * @return The pathSelector at the given index. - */ - java.lang.String getPathSelector(int index); - - /** - *
-         * Path selectors for results.
-         * 
- * - * repeated string path_selector = 17; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the pathSelector at the given index. - */ - com.google.protobuf.ByteString getPathSelectorBytes(int index); - - /** - *
-         * Flag for fast evaluation.
-         * 
- * - * bool fast_eval = 18; - * - * @return The fastEval. - */ - boolean getFastEval(); - } - - /** - *
-     * Message for execute program request arguments.
-     * 
- * - * Protobuf type {@code com.kcl.api.ExecProgram_Args} - */ - public static final class ExecProgram_Args extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ExecProgram_Args) - ExecProgram_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", ExecProgram_Args.class.getName()); - } - - // Use ExecProgram_Args.newBuilder() to construct. - private ExecProgram_Args(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ExecProgram_Args() { - workDir_ = ""; - kFilenameList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - kCodeList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - args_ = java.util.Collections.emptyList(); - overrides_ = com.google.protobuf.LazyStringArrayList.emptyList(); - externalPkgs_ = java.util.Collections.emptyList(); - pathSelector_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ExecProgram_Args.class, - com.kcl.api.Spec.ExecProgram_Args.Builder.class); - } - - public static final int WORK_DIR_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object workDir_ = ""; - - /** - *
-         * Working directory.
-         * 
- * - * string work_dir = 1; - * - * @return The workDir. - */ - @java.lang.Override - public java.lang.String getWorkDir() { - java.lang.Object ref = workDir_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - workDir_ = s; - return s; - } - } - - /** - *
-         * Working directory.
-         * 
- * - * string work_dir = 1; - * - * @return The bytes for workDir. - */ - @java.lang.Override - public com.google.protobuf.ByteString getWorkDirBytes() { - java.lang.Object ref = workDir_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - workDir_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int K_FILENAME_LIST_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList kFilenameList_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - *
-         * List of KCL filenames.
-         * 
- * - * repeated string k_filename_list = 2; - * - * @return A list containing the kFilenameList. - */ - public com.google.protobuf.ProtocolStringList getKFilenameListList() { - return kFilenameList_; - } - - /** - *
-         * List of KCL filenames.
-         * 
- * - * repeated string k_filename_list = 2; - * - * @return The count of kFilenameList. - */ - public int getKFilenameListCount() { - return kFilenameList_.size(); - } - - /** - *
-         * List of KCL filenames.
-         * 
- * - * repeated string k_filename_list = 2; - * - * @param index - * The index of the element to return. - * - * @return The kFilenameList at the given index. - */ - public java.lang.String getKFilenameList(int index) { - return kFilenameList_.get(index); - } - - /** - *
-         * List of KCL filenames.
-         * 
- * - * repeated string k_filename_list = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the kFilenameList at the given index. - */ - public com.google.protobuf.ByteString getKFilenameListBytes(int index) { - return kFilenameList_.getByteString(index); - } - - public static final int K_CODE_LIST_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList kCodeList_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - *
-         * List of KCL codes.
-         * 
- * - * repeated string k_code_list = 3; - * - * @return A list containing the kCodeList. - */ - public com.google.protobuf.ProtocolStringList getKCodeListList() { - return kCodeList_; - } - - /** - *
-         * List of KCL codes.
-         * 
- * - * repeated string k_code_list = 3; - * - * @return The count of kCodeList. - */ - public int getKCodeListCount() { - return kCodeList_.size(); - } - - /** - *
-         * List of KCL codes.
-         * 
- * - * repeated string k_code_list = 3; - * - * @param index - * The index of the element to return. - * - * @return The kCodeList at the given index. - */ - public java.lang.String getKCodeList(int index) { - return kCodeList_.get(index); - } - - /** - *
-         * List of KCL codes.
-         * 
- * - * repeated string k_code_list = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the kCodeList at the given index. - */ - public com.google.protobuf.ByteString getKCodeListBytes(int index) { - return kCodeList_.getByteString(index); - } - - public static final int ARGS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private java.util.List args_; - - /** - *
-         * Arguments for the program.
-         * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - @java.lang.Override - public java.util.List getArgsList() { - return args_; - } - - /** - *
-         * Arguments for the program.
-         * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - @java.lang.Override - public java.util.List getArgsOrBuilderList() { - return args_; - } - - /** - *
-         * Arguments for the program.
-         * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - @java.lang.Override - public int getArgsCount() { - return args_.size(); - } - - /** - *
-         * Arguments for the program.
-         * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - @java.lang.Override - public com.kcl.api.Spec.Argument getArgs(int index) { - return args_.get(index); - } - - /** - *
-         * Arguments for the program.
-         * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - @java.lang.Override - public com.kcl.api.Spec.ArgumentOrBuilder getArgsOrBuilder(int index) { - return args_.get(index); - } - - public static final int OVERRIDES_FIELD_NUMBER = 5; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList overrides_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - *
-         * Override configurations.
-         * 
- * - * repeated string overrides = 5; - * - * @return A list containing the overrides. - */ - public com.google.protobuf.ProtocolStringList getOverridesList() { - return overrides_; - } - - /** - *
-         * Override configurations.
-         * 
- * - * repeated string overrides = 5; - * - * @return The count of overrides. - */ - public int getOverridesCount() { - return overrides_.size(); - } - - /** - *
-         * Override configurations.
-         * 
- * - * repeated string overrides = 5; - * - * @param index - * The index of the element to return. - * - * @return The overrides at the given index. - */ - public java.lang.String getOverrides(int index) { - return overrides_.get(index); - } - - /** - *
-         * Override configurations.
-         * 
- * - * repeated string overrides = 5; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the overrides at the given index. - */ - public com.google.protobuf.ByteString getOverridesBytes(int index) { - return overrides_.getByteString(index); - } - - public static final int DISABLE_YAML_RESULT_FIELD_NUMBER = 6; - private boolean disableYamlResult_ = false; - - /** - *
-         * Flag to disable YAML result.
-         * 
- * - * bool disable_yaml_result = 6; - * - * @return The disableYamlResult. - */ - @java.lang.Override - public boolean getDisableYamlResult() { - return disableYamlResult_; - } - - public static final int PRINT_OVERRIDE_AST_FIELD_NUMBER = 7; - private boolean printOverrideAst_ = false; - - /** - *
-         * Flag to print override AST.
-         * 
- * - * bool print_override_ast = 7; - * - * @return The printOverrideAst. - */ - @java.lang.Override - public boolean getPrintOverrideAst() { - return printOverrideAst_; - } - - public static final int STRICT_RANGE_CHECK_FIELD_NUMBER = 8; - private boolean strictRangeCheck_ = false; - - /** - *
-         * Flag for strict range check.
-         * 
- * - * bool strict_range_check = 8; - * - * @return The strictRangeCheck. - */ - @java.lang.Override - public boolean getStrictRangeCheck() { - return strictRangeCheck_; - } - - public static final int DISABLE_NONE_FIELD_NUMBER = 9; - private boolean disableNone_ = false; - - /** - *
-         * Flag to disable none values.
-         * 
- * - * bool disable_none = 9; - * - * @return The disableNone. - */ - @java.lang.Override - public boolean getDisableNone() { - return disableNone_; - } - - public static final int VERBOSE_FIELD_NUMBER = 10; - private int verbose_ = 0; - - /** - *
-         * Verbose level.
-         * 
- * - * int32 verbose = 10; - * - * @return The verbose. - */ - @java.lang.Override - public int getVerbose() { - return verbose_; - } - - public static final int DEBUG_FIELD_NUMBER = 11; - private int debug_ = 0; - - /** - *
-         * Debug level.
-         * 
- * - * int32 debug = 11; - * - * @return The debug. - */ - @java.lang.Override - public int getDebug() { - return debug_; - } - - public static final int SORT_KEYS_FIELD_NUMBER = 12; - private boolean sortKeys_ = false; - - /** - *
-         * Flag to sort keys in YAML/JSON results.
-         * 
- * - * bool sort_keys = 12; - * - * @return The sortKeys. - */ - @java.lang.Override - public boolean getSortKeys() { - return sortKeys_; - } - - public static final int EXTERNAL_PKGS_FIELD_NUMBER = 13; - @SuppressWarnings("serial") - private java.util.List externalPkgs_; - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - @java.lang.Override - public java.util.List getExternalPkgsList() { - return externalPkgs_; - } - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - @java.lang.Override - public java.util.List getExternalPkgsOrBuilderList() { - return externalPkgs_; - } - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - @java.lang.Override - public int getExternalPkgsCount() { - return externalPkgs_.size(); - } - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - @java.lang.Override - public com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index) { - return externalPkgs_.get(index); - } - - /** - *
-         * External packages path.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - @java.lang.Override - public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder(int index) { - return externalPkgs_.get(index); - } - - public static final int INCLUDE_SCHEMA_TYPE_PATH_FIELD_NUMBER = 14; - private boolean includeSchemaTypePath_ = false; - - /** - *
-         * Flag to include schema type path in results.
-         * 
- * - * bool include_schema_type_path = 14; - * - * @return The includeSchemaTypePath. - */ - @java.lang.Override - public boolean getIncludeSchemaTypePath() { - return includeSchemaTypePath_; - } - - public static final int COMPILE_ONLY_FIELD_NUMBER = 15; - private boolean compileOnly_ = false; - - /** - *
-         * Flag to compile only without execution.
-         * 
- * - * bool compile_only = 15; - * - * @return The compileOnly. - */ - @java.lang.Override - public boolean getCompileOnly() { - return compileOnly_; - } - - public static final int SHOW_HIDDEN_FIELD_NUMBER = 16; - private boolean showHidden_ = false; - - /** - *
-         * Flag to show hidden attributes.
-         * 
- * - * bool show_hidden = 16; - * - * @return The showHidden. - */ - @java.lang.Override - public boolean getShowHidden() { - return showHidden_; - } - - public static final int PATH_SELECTOR_FIELD_NUMBER = 17; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList pathSelector_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - *
-         * Path selectors for results.
-         * 
- * - * repeated string path_selector = 17; - * - * @return A list containing the pathSelector. - */ - public com.google.protobuf.ProtocolStringList getPathSelectorList() { - return pathSelector_; - } - - /** - *
-         * Path selectors for results.
-         * 
- * - * repeated string path_selector = 17; - * - * @return The count of pathSelector. - */ - public int getPathSelectorCount() { - return pathSelector_.size(); - } - - /** - *
-         * Path selectors for results.
-         * 
- * - * repeated string path_selector = 17; - * - * @param index - * The index of the element to return. - * - * @return The pathSelector at the given index. - */ - public java.lang.String getPathSelector(int index) { - return pathSelector_.get(index); - } - - /** - *
-         * Path selectors for results.
-         * 
- * - * repeated string path_selector = 17; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the pathSelector at the given index. - */ - public com.google.protobuf.ByteString getPathSelectorBytes(int index) { - return pathSelector_.getByteString(index); - } - - public static final int FAST_EVAL_FIELD_NUMBER = 18; - private boolean fastEval_ = false; - - /** - *
-         * Flag for fast evaluation.
-         * 
- * - * bool fast_eval = 18; - * - * @return The fastEval. - */ - @java.lang.Override - public boolean getFastEval() { - return fastEval_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workDir_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, workDir_); - } - for (int i = 0; i < kFilenameList_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, kFilenameList_.getRaw(i)); - } - for (int i = 0; i < kCodeList_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, kCodeList_.getRaw(i)); - } - for (int i = 0; i < args_.size(); i++) { - output.writeMessage(4, args_.get(i)); - } - for (int i = 0; i < overrides_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 5, overrides_.getRaw(i)); - } - if (disableYamlResult_ != false) { - output.writeBool(6, disableYamlResult_); - } - if (printOverrideAst_ != false) { - output.writeBool(7, printOverrideAst_); - } - if (strictRangeCheck_ != false) { - output.writeBool(8, strictRangeCheck_); - } - if (disableNone_ != false) { - output.writeBool(9, disableNone_); - } - if (verbose_ != 0) { - output.writeInt32(10, verbose_); - } - if (debug_ != 0) { - output.writeInt32(11, debug_); - } - if (sortKeys_ != false) { - output.writeBool(12, sortKeys_); - } - for (int i = 0; i < externalPkgs_.size(); i++) { - output.writeMessage(13, externalPkgs_.get(i)); - } - if (includeSchemaTypePath_ != false) { - output.writeBool(14, includeSchemaTypePath_); - } - if (compileOnly_ != false) { - output.writeBool(15, compileOnly_); - } - if (showHidden_ != false) { - output.writeBool(16, showHidden_); - } - for (int i = 0; i < pathSelector_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 17, pathSelector_.getRaw(i)); - } - if (fastEval_ != false) { - output.writeBool(18, fastEval_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workDir_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, workDir_); - } - { - int dataSize = 0; - for (int i = 0; i < kFilenameList_.size(); i++) { - dataSize += computeStringSizeNoTag(kFilenameList_.getRaw(i)); - } - size += dataSize; - size += 1 * getKFilenameListList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < kCodeList_.size(); i++) { - dataSize += computeStringSizeNoTag(kCodeList_.getRaw(i)); - } - size += dataSize; - size += 1 * getKCodeListList().size(); - } - for (int i = 0; i < args_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, args_.get(i)); - } - { - int dataSize = 0; - for (int i = 0; i < overrides_.size(); i++) { - dataSize += computeStringSizeNoTag(overrides_.getRaw(i)); - } - size += dataSize; - size += 1 * getOverridesList().size(); - } - if (disableYamlResult_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, disableYamlResult_); - } - if (printOverrideAst_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, printOverrideAst_); - } - if (strictRangeCheck_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, strictRangeCheck_); - } - if (disableNone_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, disableNone_); - } - if (verbose_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, verbose_); - } - if (debug_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(11, debug_); - } - if (sortKeys_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, sortKeys_); - } - for (int i = 0; i < externalPkgs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, externalPkgs_.get(i)); - } - if (includeSchemaTypePath_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, includeSchemaTypePath_); - } - if (compileOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(15, compileOnly_); - } - if (showHidden_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, showHidden_); - } - { - int dataSize = 0; - for (int i = 0; i < pathSelector_.size(); i++) { - dataSize += computeStringSizeNoTag(pathSelector_.getRaw(i)); - } - size += dataSize; - size += 2 * getPathSelectorList().size(); - } - if (fastEval_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(18, fastEval_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ExecProgram_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.ExecProgram_Args other = (com.kcl.api.Spec.ExecProgram_Args) obj; - - if (!getWorkDir().equals(other.getWorkDir())) - return false; - if (!getKFilenameListList().equals(other.getKFilenameListList())) - return false; - if (!getKCodeListList().equals(other.getKCodeListList())) - return false; - if (!getArgsList().equals(other.getArgsList())) - return false; - if (!getOverridesList().equals(other.getOverridesList())) - return false; - if (getDisableYamlResult() != other.getDisableYamlResult()) - return false; - if (getPrintOverrideAst() != other.getPrintOverrideAst()) - return false; - if (getStrictRangeCheck() != other.getStrictRangeCheck()) - return false; - if (getDisableNone() != other.getDisableNone()) - return false; - if (getVerbose() != other.getVerbose()) - return false; - if (getDebug() != other.getDebug()) - return false; - if (getSortKeys() != other.getSortKeys()) - return false; - if (!getExternalPkgsList().equals(other.getExternalPkgsList())) - return false; - if (getIncludeSchemaTypePath() != other.getIncludeSchemaTypePath()) - return false; - if (getCompileOnly() != other.getCompileOnly()) - return false; - if (getShowHidden() != other.getShowHidden()) - return false; - if (!getPathSelectorList().equals(other.getPathSelectorList())) - return false; - if (getFastEval() != other.getFastEval()) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + WORK_DIR_FIELD_NUMBER; - hash = (53 * hash) + getWorkDir().hashCode(); - if (getKFilenameListCount() > 0) { - hash = (37 * hash) + K_FILENAME_LIST_FIELD_NUMBER; - hash = (53 * hash) + getKFilenameListList().hashCode(); - } - if (getKCodeListCount() > 0) { - hash = (37 * hash) + K_CODE_LIST_FIELD_NUMBER; - hash = (53 * hash) + getKCodeListList().hashCode(); - } - if (getArgsCount() > 0) { - hash = (37 * hash) + ARGS_FIELD_NUMBER; - hash = (53 * hash) + getArgsList().hashCode(); - } - if (getOverridesCount() > 0) { - hash = (37 * hash) + OVERRIDES_FIELD_NUMBER; - hash = (53 * hash) + getOverridesList().hashCode(); - } - hash = (37 * hash) + DISABLE_YAML_RESULT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableYamlResult()); - hash = (37 * hash) + PRINT_OVERRIDE_AST_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPrintOverrideAst()); - hash = (37 * hash) + STRICT_RANGE_CHECK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStrictRangeCheck()); - hash = (37 * hash) + DISABLE_NONE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableNone()); - hash = (37 * hash) + VERBOSE_FIELD_NUMBER; - hash = (53 * hash) + getVerbose(); - hash = (37 * hash) + DEBUG_FIELD_NUMBER; - hash = (53 * hash) + getDebug(); - hash = (37 * hash) + SORT_KEYS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSortKeys()); - if (getExternalPkgsCount() > 0) { - hash = (37 * hash) + EXTERNAL_PKGS_FIELD_NUMBER; - hash = (53 * hash) + getExternalPkgsList().hashCode(); - } - hash = (37 * hash) + INCLUDE_SCHEMA_TYPE_PATH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeSchemaTypePath()); - hash = (37 * hash) + COMPILE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCompileOnly()); - hash = (37 * hash) + SHOW_HIDDEN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getShowHidden()); - if (getPathSelectorCount() > 0) { - hash = (37 * hash) + PATH_SELECTOR_FIELD_NUMBER; - hash = (53 * hash) + getPathSelectorList().hashCode(); - } - hash = (37 * hash) + FAST_EVAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFastEval()); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ExecProgram_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ExecProgram_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecProgram_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ExecProgram_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecProgram_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ExecProgram_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecProgram_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ExecProgram_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecProgram_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ExecProgram_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecProgram_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ExecProgram_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ExecProgram_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for execute program request arguments.
-         * 
- * - * Protobuf type {@code com.kcl.api.ExecProgram_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ExecProgram_Args) - com.kcl.api.Spec.ExecProgram_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ExecProgram_Args.class, - com.kcl.api.Spec.ExecProgram_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.ExecProgram_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - workDir_ = ""; - kFilenameList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - kCodeList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - if (argsBuilder_ == null) { - args_ = java.util.Collections.emptyList(); - } else { - args_ = null; - argsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - overrides_ = com.google.protobuf.LazyStringArrayList.emptyList(); - disableYamlResult_ = false; - printOverrideAst_ = false; - strictRangeCheck_ = false; - disableNone_ = false; - verbose_ = 0; - debug_ = 0; - sortKeys_ = false; - if (externalPkgsBuilder_ == null) { - externalPkgs_ = java.util.Collections.emptyList(); - } else { - externalPkgs_ = null; - externalPkgsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00001000); - includeSchemaTypePath_ = false; - compileOnly_ = false; - showHidden_ = false; - pathSelector_ = com.google.protobuf.LazyStringArrayList.emptyList(); - fastEval_ = false; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Args build() { - com.kcl.api.Spec.ExecProgram_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Args buildPartial() { - com.kcl.api.Spec.ExecProgram_Args result = new com.kcl.api.Spec.ExecProgram_Args(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.ExecProgram_Args result) { - if (argsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - args_ = java.util.Collections.unmodifiableList(args_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.args_ = args_; - } else { - result.args_ = argsBuilder_.build(); - } - if (externalPkgsBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0)) { - externalPkgs_ = java.util.Collections.unmodifiableList(externalPkgs_); - bitField0_ = (bitField0_ & ~0x00001000); - } - result.externalPkgs_ = externalPkgs_; - } else { - result.externalPkgs_ = externalPkgsBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.ExecProgram_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.workDir_ = workDir_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - kFilenameList_.makeImmutable(); - result.kFilenameList_ = kFilenameList_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - kCodeList_.makeImmutable(); - result.kCodeList_ = kCodeList_; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - overrides_.makeImmutable(); - result.overrides_ = overrides_; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.disableYamlResult_ = disableYamlResult_; - } - if (((from_bitField0_ & 0x00000040) != 0)) { - result.printOverrideAst_ = printOverrideAst_; - } - if (((from_bitField0_ & 0x00000080) != 0)) { - result.strictRangeCheck_ = strictRangeCheck_; - } - if (((from_bitField0_ & 0x00000100) != 0)) { - result.disableNone_ = disableNone_; - } - if (((from_bitField0_ & 0x00000200) != 0)) { - result.verbose_ = verbose_; - } - if (((from_bitField0_ & 0x00000400) != 0)) { - result.debug_ = debug_; - } - if (((from_bitField0_ & 0x00000800) != 0)) { - result.sortKeys_ = sortKeys_; - } - if (((from_bitField0_ & 0x00002000) != 0)) { - result.includeSchemaTypePath_ = includeSchemaTypePath_; - } - if (((from_bitField0_ & 0x00004000) != 0)) { - result.compileOnly_ = compileOnly_; - } - if (((from_bitField0_ & 0x00008000) != 0)) { - result.showHidden_ = showHidden_; - } - if (((from_bitField0_ & 0x00010000) != 0)) { - pathSelector_.makeImmutable(); - result.pathSelector_ = pathSelector_; - } - if (((from_bitField0_ & 0x00020000) != 0)) { - result.fastEval_ = fastEval_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ExecProgram_Args) { - return mergeFrom((com.kcl.api.Spec.ExecProgram_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ExecProgram_Args other) { - if (other == com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance()) - return this; - if (!other.getWorkDir().isEmpty()) { - workDir_ = other.workDir_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.kFilenameList_.isEmpty()) { - if (kFilenameList_.isEmpty()) { - kFilenameList_ = other.kFilenameList_; - bitField0_ |= 0x00000002; - } else { - ensureKFilenameListIsMutable(); - kFilenameList_.addAll(other.kFilenameList_); - } - onChanged(); - } - if (!other.kCodeList_.isEmpty()) { - if (kCodeList_.isEmpty()) { - kCodeList_ = other.kCodeList_; - bitField0_ |= 0x00000004; - } else { - ensureKCodeListIsMutable(); - kCodeList_.addAll(other.kCodeList_); - } - onChanged(); - } - if (argsBuilder_ == null) { - if (!other.args_.isEmpty()) { - if (args_.isEmpty()) { - args_ = other.args_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureArgsIsMutable(); - args_.addAll(other.args_); - } - onChanged(); - } - } else { - if (!other.args_.isEmpty()) { - if (argsBuilder_.isEmpty()) { - argsBuilder_.dispose(); - argsBuilder_ = null; - args_ = other.args_; - bitField0_ = (bitField0_ & ~0x00000008); - argsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getArgsFieldBuilder() : null; - } else { - argsBuilder_.addAllMessages(other.args_); - } - } - } - if (!other.overrides_.isEmpty()) { - if (overrides_.isEmpty()) { - overrides_ = other.overrides_; - bitField0_ |= 0x00000010; - } else { - ensureOverridesIsMutable(); - overrides_.addAll(other.overrides_); - } - onChanged(); - } - if (other.getDisableYamlResult() != false) { - setDisableYamlResult(other.getDisableYamlResult()); - } - if (other.getPrintOverrideAst() != false) { - setPrintOverrideAst(other.getPrintOverrideAst()); - } - if (other.getStrictRangeCheck() != false) { - setStrictRangeCheck(other.getStrictRangeCheck()); - } - if (other.getDisableNone() != false) { - setDisableNone(other.getDisableNone()); - } - if (other.getVerbose() != 0) { - setVerbose(other.getVerbose()); - } - if (other.getDebug() != 0) { - setDebug(other.getDebug()); - } - if (other.getSortKeys() != false) { - setSortKeys(other.getSortKeys()); - } - if (externalPkgsBuilder_ == null) { - if (!other.externalPkgs_.isEmpty()) { - if (externalPkgs_.isEmpty()) { - externalPkgs_ = other.externalPkgs_; - bitField0_ = (bitField0_ & ~0x00001000); - } else { - ensureExternalPkgsIsMutable(); - externalPkgs_.addAll(other.externalPkgs_); - } - onChanged(); - } - } else { - if (!other.externalPkgs_.isEmpty()) { - if (externalPkgsBuilder_.isEmpty()) { - externalPkgsBuilder_.dispose(); - externalPkgsBuilder_ = null; - externalPkgs_ = other.externalPkgs_; - bitField0_ = (bitField0_ & ~0x00001000); - externalPkgsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getExternalPkgsFieldBuilder() : null; - } else { - externalPkgsBuilder_.addAllMessages(other.externalPkgs_); - } - } - } - if (other.getIncludeSchemaTypePath() != false) { - setIncludeSchemaTypePath(other.getIncludeSchemaTypePath()); - } - if (other.getCompileOnly() != false) { - setCompileOnly(other.getCompileOnly()); - } - if (other.getShowHidden() != false) { - setShowHidden(other.getShowHidden()); - } - if (!other.pathSelector_.isEmpty()) { - if (pathSelector_.isEmpty()) { - pathSelector_ = other.pathSelector_; - bitField0_ |= 0x00010000; - } else { - ensurePathSelectorIsMutable(); - pathSelector_.addAll(other.pathSelector_); - } - onChanged(); - } - if (other.getFastEval() != false) { - setFastEval(other.getFastEval()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - workDir_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureKFilenameListIsMutable(); - kFilenameList_.add(s); - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureKCodeListIsMutable(); - kCodeList_.add(s); - break; - } // case 26 - case 34: { - com.kcl.api.Spec.Argument m = input.readMessage(com.kcl.api.Spec.Argument.parser(), - extensionRegistry); - if (argsBuilder_ == null) { - ensureArgsIsMutable(); - args_.add(m); - } else { - argsBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - ensureOverridesIsMutable(); - overrides_.add(s); - break; - } // case 42 - case 48: { - disableYamlResult_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 56: { - printOverrideAst_ = input.readBool(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 64: { - strictRangeCheck_ = input.readBool(); - bitField0_ |= 0x00000080; - break; - } // case 64 - case 72: { - disableNone_ = input.readBool(); - bitField0_ |= 0x00000100; - break; - } // case 72 - case 80: { - verbose_ = input.readInt32(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 88: { - debug_ = input.readInt32(); - bitField0_ |= 0x00000400; - break; - } // case 88 - case 96: { - sortKeys_ = input.readBool(); - bitField0_ |= 0x00000800; - break; - } // case 96 - case 106: { - com.kcl.api.Spec.ExternalPkg m = input.readMessage(com.kcl.api.Spec.ExternalPkg.parser(), - extensionRegistry); - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(m); - } else { - externalPkgsBuilder_.addMessage(m); - } - break; - } // case 106 - case 112: { - includeSchemaTypePath_ = input.readBool(); - bitField0_ |= 0x00002000; - break; - } // case 112 - case 120: { - compileOnly_ = input.readBool(); - bitField0_ |= 0x00004000; - break; - } // case 120 - case 128: { - showHidden_ = input.readBool(); - bitField0_ |= 0x00008000; - break; - } // case 128 - case 138: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePathSelectorIsMutable(); - pathSelector_.add(s); - break; - } // case 138 - case 144: { - fastEval_ = input.readBool(); - bitField0_ |= 0x00020000; - break; - } // case 144 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object workDir_ = ""; - - /** - *
-             * Working directory.
-             * 
- * - * string work_dir = 1; - * - * @return The workDir. - */ - public java.lang.String getWorkDir() { - java.lang.Object ref = workDir_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - workDir_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Working directory.
-             * 
- * - * string work_dir = 1; - * - * @return The bytes for workDir. - */ - public com.google.protobuf.ByteString getWorkDirBytes() { - java.lang.Object ref = workDir_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - workDir_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Working directory.
-             * 
- * - * string work_dir = 1; - * - * @param value - * The workDir to set. - * - * @return This builder for chaining. - */ - public Builder setWorkDir(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - workDir_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Working directory.
-             * 
- * - * string work_dir = 1; - * - * @return This builder for chaining. - */ - public Builder clearWorkDir() { - workDir_ = getDefaultInstance().getWorkDir(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * Working directory.
-             * 
- * - * string work_dir = 1; - * - * @param value - * The bytes for workDir to set. - * - * @return This builder for chaining. - */ - public Builder setWorkDirBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - workDir_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList kFilenameList_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureKFilenameListIsMutable() { - if (!kFilenameList_.isModifiable()) { - kFilenameList_ = new com.google.protobuf.LazyStringArrayList(kFilenameList_); - } - bitField0_ |= 0x00000002; - } - - /** - *
-             * List of KCL filenames.
-             * 
- * - * repeated string k_filename_list = 2; - * - * @return A list containing the kFilenameList. - */ - public com.google.protobuf.ProtocolStringList getKFilenameListList() { - kFilenameList_.makeImmutable(); - return kFilenameList_; - } - - /** - *
-             * List of KCL filenames.
-             * 
- * - * repeated string k_filename_list = 2; - * - * @return The count of kFilenameList. - */ - public int getKFilenameListCount() { - return kFilenameList_.size(); - } - - /** - *
-             * List of KCL filenames.
-             * 
- * - * repeated string k_filename_list = 2; - * - * @param index - * The index of the element to return. - * - * @return The kFilenameList at the given index. - */ - public java.lang.String getKFilenameList(int index) { - return kFilenameList_.get(index); - } - - /** - *
-             * List of KCL filenames.
-             * 
- * - * repeated string k_filename_list = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the kFilenameList at the given index. - */ - public com.google.protobuf.ByteString getKFilenameListBytes(int index) { - return kFilenameList_.getByteString(index); - } - - /** - *
-             * List of KCL filenames.
-             * 
- * - * repeated string k_filename_list = 2; - * - * @param index - * The index to set the value at. - * @param value - * The kFilenameList to set. - * - * @return This builder for chaining. - */ - public Builder setKFilenameList(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureKFilenameListIsMutable(); - kFilenameList_.set(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * List of KCL filenames.
-             * 
- * - * repeated string k_filename_list = 2; - * - * @param value - * The kFilenameList to add. - * - * @return This builder for chaining. - */ - public Builder addKFilenameList(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureKFilenameListIsMutable(); - kFilenameList_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * List of KCL filenames.
-             * 
- * - * repeated string k_filename_list = 2; - * - * @param values - * The kFilenameList to add. - * - * @return This builder for chaining. - */ - public Builder addAllKFilenameList(java.lang.Iterable values) { - ensureKFilenameListIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kFilenameList_); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * List of KCL filenames.
-             * 
- * - * repeated string k_filename_list = 2; - * - * @return This builder for chaining. - */ - public Builder clearKFilenameList() { - kFilenameList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; - onChanged(); - return this; - } - - /** - *
-             * List of KCL filenames.
-             * 
- * - * repeated string k_filename_list = 2; - * - * @param value - * The bytes of the kFilenameList to add. - * - * @return This builder for chaining. - */ - public Builder addKFilenameListBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureKFilenameListIsMutable(); - kFilenameList_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList kCodeList_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureKCodeListIsMutable() { - if (!kCodeList_.isModifiable()) { - kCodeList_ = new com.google.protobuf.LazyStringArrayList(kCodeList_); - } - bitField0_ |= 0x00000004; - } - - /** - *
-             * List of KCL codes.
-             * 
- * - * repeated string k_code_list = 3; - * - * @return A list containing the kCodeList. - */ - public com.google.protobuf.ProtocolStringList getKCodeListList() { - kCodeList_.makeImmutable(); - return kCodeList_; - } - - /** - *
-             * List of KCL codes.
-             * 
- * - * repeated string k_code_list = 3; - * - * @return The count of kCodeList. - */ - public int getKCodeListCount() { - return kCodeList_.size(); - } - - /** - *
-             * List of KCL codes.
-             * 
- * - * repeated string k_code_list = 3; - * - * @param index - * The index of the element to return. - * - * @return The kCodeList at the given index. - */ - public java.lang.String getKCodeList(int index) { - return kCodeList_.get(index); - } - - /** - *
-             * List of KCL codes.
-             * 
- * - * repeated string k_code_list = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the kCodeList at the given index. - */ - public com.google.protobuf.ByteString getKCodeListBytes(int index) { - return kCodeList_.getByteString(index); - } - - /** - *
-             * List of KCL codes.
-             * 
- * - * repeated string k_code_list = 3; - * - * @param index - * The index to set the value at. - * @param value - * The kCodeList to set. - * - * @return This builder for chaining. - */ - public Builder setKCodeList(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureKCodeListIsMutable(); - kCodeList_.set(index, value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * List of KCL codes.
-             * 
- * - * repeated string k_code_list = 3; - * - * @param value - * The kCodeList to add. - * - * @return This builder for chaining. - */ - public Builder addKCodeList(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureKCodeListIsMutable(); - kCodeList_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * List of KCL codes.
-             * 
- * - * repeated string k_code_list = 3; - * - * @param values - * The kCodeList to add. - * - * @return This builder for chaining. - */ - public Builder addAllKCodeList(java.lang.Iterable values) { - ensureKCodeListIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kCodeList_); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * List of KCL codes.
-             * 
- * - * repeated string k_code_list = 3; - * - * @return This builder for chaining. - */ - public Builder clearKCodeList() { - kCodeList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; - onChanged(); - return this; - } - - /** - *
-             * List of KCL codes.
-             * 
- * - * repeated string k_code_list = 3; - * - * @param value - * The bytes of the kCodeList to add. - * - * @return This builder for chaining. - */ - public Builder addKCodeListBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureKCodeListIsMutable(); - kCodeList_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - private java.util.List args_ = java.util.Collections.emptyList(); - - private void ensureArgsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - args_ = new java.util.ArrayList(args_); - bitField0_ |= 0x00000008; - } - } - - private com.google.protobuf.RepeatedFieldBuilder argsBuilder_; - - /** - *
-             * Arguments for the program.
-             * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - public java.util.List getArgsList() { - if (argsBuilder_ == null) { - return java.util.Collections.unmodifiableList(args_); - } else { - return argsBuilder_.getMessageList(); - } - } - - /** - *
-             * Arguments for the program.
-             * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - public int getArgsCount() { - if (argsBuilder_ == null) { - return args_.size(); - } else { - return argsBuilder_.getCount(); - } - } - - /** - *
-             * Arguments for the program.
-             * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - public com.kcl.api.Spec.Argument getArgs(int index) { - if (argsBuilder_ == null) { - return args_.get(index); - } else { - return argsBuilder_.getMessage(index); - } - } - - /** - *
-             * Arguments for the program.
-             * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - public Builder setArgs(int index, com.kcl.api.Spec.Argument value) { - if (argsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArgsIsMutable(); - args_.set(index, value); - onChanged(); - } else { - argsBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * Arguments for the program.
-             * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - public Builder setArgs(int index, com.kcl.api.Spec.Argument.Builder builderForValue) { - if (argsBuilder_ == null) { - ensureArgsIsMutable(); - args_.set(index, builderForValue.build()); - onChanged(); - } else { - argsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * Arguments for the program.
-             * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - public Builder addArgs(com.kcl.api.Spec.Argument value) { - if (argsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArgsIsMutable(); - args_.add(value); - onChanged(); - } else { - argsBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * Arguments for the program.
-             * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - public Builder addArgs(int index, com.kcl.api.Spec.Argument value) { - if (argsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArgsIsMutable(); - args_.add(index, value); - onChanged(); - } else { - argsBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * Arguments for the program.
-             * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - public Builder addArgs(com.kcl.api.Spec.Argument.Builder builderForValue) { - if (argsBuilder_ == null) { - ensureArgsIsMutable(); - args_.add(builderForValue.build()); - onChanged(); - } else { - argsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * Arguments for the program.
-             * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - public Builder addArgs(int index, com.kcl.api.Spec.Argument.Builder builderForValue) { - if (argsBuilder_ == null) { - ensureArgsIsMutable(); - args_.add(index, builderForValue.build()); - onChanged(); - } else { - argsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * Arguments for the program.
-             * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - public Builder addAllArgs(java.lang.Iterable values) { - if (argsBuilder_ == null) { - ensureArgsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, args_); - onChanged(); - } else { - argsBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * Arguments for the program.
-             * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - public Builder clearArgs() { - if (argsBuilder_ == null) { - args_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - argsBuilder_.clear(); - } - return this; - } - - /** - *
-             * Arguments for the program.
-             * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - public Builder removeArgs(int index) { - if (argsBuilder_ == null) { - ensureArgsIsMutable(); - args_.remove(index); - onChanged(); - } else { - argsBuilder_.remove(index); - } - return this; - } - - /** - *
-             * Arguments for the program.
-             * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - public com.kcl.api.Spec.Argument.Builder getArgsBuilder(int index) { - return getArgsFieldBuilder().getBuilder(index); - } - - /** - *
-             * Arguments for the program.
-             * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - public com.kcl.api.Spec.ArgumentOrBuilder getArgsOrBuilder(int index) { - if (argsBuilder_ == null) { - return args_.get(index); - } else { - return argsBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * Arguments for the program.
-             * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - public java.util.List getArgsOrBuilderList() { - if (argsBuilder_ != null) { - return argsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(args_); - } - } - - /** - *
-             * Arguments for the program.
-             * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - public com.kcl.api.Spec.Argument.Builder addArgsBuilder() { - return getArgsFieldBuilder().addBuilder(com.kcl.api.Spec.Argument.getDefaultInstance()); - } - - /** - *
-             * Arguments for the program.
-             * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - public com.kcl.api.Spec.Argument.Builder addArgsBuilder(int index) { - return getArgsFieldBuilder().addBuilder(index, com.kcl.api.Spec.Argument.getDefaultInstance()); - } - - /** - *
-             * Arguments for the program.
-             * 
- * - * repeated .com.kcl.api.Argument args = 4; - */ - public java.util.List getArgsBuilderList() { - return getArgsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder getArgsFieldBuilder() { - if (argsBuilder_ == null) { - argsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - args_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); - args_ = null; - } - return argsBuilder_; - } - - private com.google.protobuf.LazyStringArrayList overrides_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureOverridesIsMutable() { - if (!overrides_.isModifiable()) { - overrides_ = new com.google.protobuf.LazyStringArrayList(overrides_); - } - bitField0_ |= 0x00000010; - } - - /** - *
-             * Override configurations.
-             * 
- * - * repeated string overrides = 5; - * - * @return A list containing the overrides. - */ - public com.google.protobuf.ProtocolStringList getOverridesList() { - overrides_.makeImmutable(); - return overrides_; - } - - /** - *
-             * Override configurations.
-             * 
- * - * repeated string overrides = 5; - * - * @return The count of overrides. - */ - public int getOverridesCount() { - return overrides_.size(); - } - - /** - *
-             * Override configurations.
-             * 
- * - * repeated string overrides = 5; - * - * @param index - * The index of the element to return. - * - * @return The overrides at the given index. - */ - public java.lang.String getOverrides(int index) { - return overrides_.get(index); - } - - /** - *
-             * Override configurations.
-             * 
- * - * repeated string overrides = 5; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the overrides at the given index. - */ - public com.google.protobuf.ByteString getOverridesBytes(int index) { - return overrides_.getByteString(index); - } - - /** - *
-             * Override configurations.
-             * 
- * - * repeated string overrides = 5; - * - * @param index - * The index to set the value at. - * @param value - * The overrides to set. - * - * @return This builder for chaining. - */ - public Builder setOverrides(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureOverridesIsMutable(); - overrides_.set(index, value); - bitField0_ |= 0x00000010; - onChanged(); - return this; - } - - /** - *
-             * Override configurations.
-             * 
- * - * repeated string overrides = 5; - * - * @param value - * The overrides to add. - * - * @return This builder for chaining. - */ - public Builder addOverrides(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureOverridesIsMutable(); - overrides_.add(value); - bitField0_ |= 0x00000010; - onChanged(); - return this; - } - - /** - *
-             * Override configurations.
-             * 
- * - * repeated string overrides = 5; - * - * @param values - * The overrides to add. - * - * @return This builder for chaining. - */ - public Builder addAllOverrides(java.lang.Iterable values) { - ensureOverridesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, overrides_); - bitField0_ |= 0x00000010; - onChanged(); - return this; - } - - /** - *
-             * Override configurations.
-             * 
- * - * repeated string overrides = 5; - * - * @return This builder for chaining. - */ - public Builder clearOverrides() { - overrides_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - ; - onChanged(); - return this; - } - - /** - *
-             * Override configurations.
-             * 
- * - * repeated string overrides = 5; - * - * @param value - * The bytes of the overrides to add. - * - * @return This builder for chaining. - */ - public Builder addOverridesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureOverridesIsMutable(); - overrides_.add(value); - bitField0_ |= 0x00000010; - onChanged(); - return this; - } - - private boolean disableYamlResult_; - - /** - *
-             * Flag to disable YAML result.
-             * 
- * - * bool disable_yaml_result = 6; - * - * @return The disableYamlResult. - */ - @java.lang.Override - public boolean getDisableYamlResult() { - return disableYamlResult_; - } - - /** - *
-             * Flag to disable YAML result.
-             * 
- * - * bool disable_yaml_result = 6; - * - * @param value - * The disableYamlResult to set. - * - * @return This builder for chaining. - */ - public Builder setDisableYamlResult(boolean value) { - - disableYamlResult_ = value; - bitField0_ |= 0x00000020; - onChanged(); - return this; - } - - /** - *
-             * Flag to disable YAML result.
-             * 
- * - * bool disable_yaml_result = 6; - * - * @return This builder for chaining. - */ - public Builder clearDisableYamlResult() { - bitField0_ = (bitField0_ & ~0x00000020); - disableYamlResult_ = false; - onChanged(); - return this; - } - - private boolean printOverrideAst_; - - /** - *
-             * Flag to print override AST.
-             * 
- * - * bool print_override_ast = 7; - * - * @return The printOverrideAst. - */ - @java.lang.Override - public boolean getPrintOverrideAst() { - return printOverrideAst_; - } - - /** - *
-             * Flag to print override AST.
-             * 
- * - * bool print_override_ast = 7; - * - * @param value - * The printOverrideAst to set. - * - * @return This builder for chaining. - */ - public Builder setPrintOverrideAst(boolean value) { - - printOverrideAst_ = value; - bitField0_ |= 0x00000040; - onChanged(); - return this; - } - - /** - *
-             * Flag to print override AST.
-             * 
- * - * bool print_override_ast = 7; - * - * @return This builder for chaining. - */ - public Builder clearPrintOverrideAst() { - bitField0_ = (bitField0_ & ~0x00000040); - printOverrideAst_ = false; - onChanged(); - return this; - } - - private boolean strictRangeCheck_; - - /** - *
-             * Flag for strict range check.
-             * 
- * - * bool strict_range_check = 8; - * - * @return The strictRangeCheck. - */ - @java.lang.Override - public boolean getStrictRangeCheck() { - return strictRangeCheck_; - } - - /** - *
-             * Flag for strict range check.
-             * 
- * - * bool strict_range_check = 8; - * - * @param value - * The strictRangeCheck to set. - * - * @return This builder for chaining. - */ - public Builder setStrictRangeCheck(boolean value) { - - strictRangeCheck_ = value; - bitField0_ |= 0x00000080; - onChanged(); - return this; - } - - /** - *
-             * Flag for strict range check.
-             * 
- * - * bool strict_range_check = 8; - * - * @return This builder for chaining. - */ - public Builder clearStrictRangeCheck() { - bitField0_ = (bitField0_ & ~0x00000080); - strictRangeCheck_ = false; - onChanged(); - return this; - } - - private boolean disableNone_; - - /** - *
-             * Flag to disable none values.
-             * 
- * - * bool disable_none = 9; - * - * @return The disableNone. - */ - @java.lang.Override - public boolean getDisableNone() { - return disableNone_; - } - - /** - *
-             * Flag to disable none values.
-             * 
- * - * bool disable_none = 9; - * - * @param value - * The disableNone to set. - * - * @return This builder for chaining. - */ - public Builder setDisableNone(boolean value) { - - disableNone_ = value; - bitField0_ |= 0x00000100; - onChanged(); - return this; - } - - /** - *
-             * Flag to disable none values.
-             * 
- * - * bool disable_none = 9; - * - * @return This builder for chaining. - */ - public Builder clearDisableNone() { - bitField0_ = (bitField0_ & ~0x00000100); - disableNone_ = false; - onChanged(); - return this; - } - - private int verbose_; - - /** - *
-             * Verbose level.
-             * 
- * - * int32 verbose = 10; - * - * @return The verbose. - */ - @java.lang.Override - public int getVerbose() { - return verbose_; - } - - /** - *
-             * Verbose level.
-             * 
- * - * int32 verbose = 10; - * - * @param value - * The verbose to set. - * - * @return This builder for chaining. - */ - public Builder setVerbose(int value) { - - verbose_ = value; - bitField0_ |= 0x00000200; - onChanged(); - return this; - } - - /** - *
-             * Verbose level.
-             * 
- * - * int32 verbose = 10; - * - * @return This builder for chaining. - */ - public Builder clearVerbose() { - bitField0_ = (bitField0_ & ~0x00000200); - verbose_ = 0; - onChanged(); - return this; - } - - private int debug_; - - /** - *
-             * Debug level.
-             * 
- * - * int32 debug = 11; - * - * @return The debug. - */ - @java.lang.Override - public int getDebug() { - return debug_; - } - - /** - *
-             * Debug level.
-             * 
- * - * int32 debug = 11; - * - * @param value - * The debug to set. - * - * @return This builder for chaining. - */ - public Builder setDebug(int value) { - - debug_ = value; - bitField0_ |= 0x00000400; - onChanged(); - return this; - } - - /** - *
-             * Debug level.
-             * 
- * - * int32 debug = 11; - * - * @return This builder for chaining. - */ - public Builder clearDebug() { - bitField0_ = (bitField0_ & ~0x00000400); - debug_ = 0; - onChanged(); - return this; - } - - private boolean sortKeys_; - - /** - *
-             * Flag to sort keys in YAML/JSON results.
-             * 
- * - * bool sort_keys = 12; - * - * @return The sortKeys. - */ - @java.lang.Override - public boolean getSortKeys() { - return sortKeys_; - } - - /** - *
-             * Flag to sort keys in YAML/JSON results.
-             * 
- * - * bool sort_keys = 12; - * - * @param value - * The sortKeys to set. - * - * @return This builder for chaining. - */ - public Builder setSortKeys(boolean value) { - - sortKeys_ = value; - bitField0_ |= 0x00000800; - onChanged(); - return this; - } - - /** - *
-             * Flag to sort keys in YAML/JSON results.
-             * 
- * - * bool sort_keys = 12; - * - * @return This builder for chaining. - */ - public Builder clearSortKeys() { - bitField0_ = (bitField0_ & ~0x00000800); - sortKeys_ = false; - onChanged(); - return this; - } - - private java.util.List externalPkgs_ = java.util.Collections.emptyList(); - - private void ensureExternalPkgsIsMutable() { - if (!((bitField0_ & 0x00001000) != 0)) { - externalPkgs_ = new java.util.ArrayList(externalPkgs_); - bitField0_ |= 0x00001000; - } - } - - private com.google.protobuf.RepeatedFieldBuilder externalPkgsBuilder_; - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - public java.util.List getExternalPkgsList() { - if (externalPkgsBuilder_ == null) { - return java.util.Collections.unmodifiableList(externalPkgs_); - } else { - return externalPkgsBuilder_.getMessageList(); - } - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - public int getExternalPkgsCount() { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.size(); - } else { - return externalPkgsBuilder_.getCount(); - } - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - public com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index) { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.get(index); - } else { - return externalPkgsBuilder_.getMessage(index); - } - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - public Builder setExternalPkgs(int index, com.kcl.api.Spec.ExternalPkg value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.set(index, value); - onChanged(); - } else { - externalPkgsBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - public Builder setExternalPkgs(int index, com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.set(index, builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - public Builder addExternalPkgs(com.kcl.api.Spec.ExternalPkg value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.add(value); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - public Builder addExternalPkgs(int index, com.kcl.api.Spec.ExternalPkg value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.add(index, value); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - public Builder addExternalPkgs(com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - public Builder addExternalPkgs(int index, com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(index, builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - public Builder addAllExternalPkgs(java.lang.Iterable values) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, externalPkgs_); - onChanged(); - } else { - externalPkgsBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - public Builder clearExternalPkgs() { - if (externalPkgsBuilder_ == null) { - externalPkgs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00001000); - onChanged(); - } else { - externalPkgsBuilder_.clear(); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - public Builder removeExternalPkgs(int index) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.remove(index); - onChanged(); - } else { - externalPkgsBuilder_.remove(index); - } - return this; - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - public com.kcl.api.Spec.ExternalPkg.Builder getExternalPkgsBuilder(int index) { - return getExternalPkgsFieldBuilder().getBuilder(index); - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder(int index) { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.get(index); - } else { - return externalPkgsBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - public java.util.List getExternalPkgsOrBuilderList() { - if (externalPkgsBuilder_ != null) { - return externalPkgsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(externalPkgs_); - } - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder() { - return getExternalPkgsFieldBuilder().addBuilder(com.kcl.api.Spec.ExternalPkg.getDefaultInstance()); - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder(int index) { - return getExternalPkgsFieldBuilder().addBuilder(index, - com.kcl.api.Spec.ExternalPkg.getDefaultInstance()); - } - - /** - *
-             * External packages path.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; - */ - public java.util.List getExternalPkgsBuilderList() { - return getExternalPkgsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder getExternalPkgsFieldBuilder() { - if (externalPkgsBuilder_ == null) { - externalPkgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - externalPkgs_, ((bitField0_ & 0x00001000) != 0), getParentForChildren(), isClean()); - externalPkgs_ = null; - } - return externalPkgsBuilder_; - } - - private boolean includeSchemaTypePath_; - - /** - *
-             * Flag to include schema type path in results.
-             * 
- * - * bool include_schema_type_path = 14; - * - * @return The includeSchemaTypePath. - */ - @java.lang.Override - public boolean getIncludeSchemaTypePath() { - return includeSchemaTypePath_; - } - - /** - *
-             * Flag to include schema type path in results.
-             * 
- * - * bool include_schema_type_path = 14; - * - * @param value - * The includeSchemaTypePath to set. - * - * @return This builder for chaining. - */ - public Builder setIncludeSchemaTypePath(boolean value) { - - includeSchemaTypePath_ = value; - bitField0_ |= 0x00002000; - onChanged(); - return this; - } - - /** - *
-             * Flag to include schema type path in results.
-             * 
- * - * bool include_schema_type_path = 14; - * - * @return This builder for chaining. - */ - public Builder clearIncludeSchemaTypePath() { - bitField0_ = (bitField0_ & ~0x00002000); - includeSchemaTypePath_ = false; - onChanged(); - return this; - } - - private boolean compileOnly_; - - /** - *
-             * Flag to compile only without execution.
-             * 
- * - * bool compile_only = 15; - * - * @return The compileOnly. - */ - @java.lang.Override - public boolean getCompileOnly() { - return compileOnly_; - } - - /** - *
-             * Flag to compile only without execution.
-             * 
- * - * bool compile_only = 15; - * - * @param value - * The compileOnly to set. - * - * @return This builder for chaining. - */ - public Builder setCompileOnly(boolean value) { - - compileOnly_ = value; - bitField0_ |= 0x00004000; - onChanged(); - return this; - } - - /** - *
-             * Flag to compile only without execution.
-             * 
- * - * bool compile_only = 15; - * - * @return This builder for chaining. - */ - public Builder clearCompileOnly() { - bitField0_ = (bitField0_ & ~0x00004000); - compileOnly_ = false; - onChanged(); - return this; - } - - private boolean showHidden_; - - /** - *
-             * Flag to show hidden attributes.
-             * 
- * - * bool show_hidden = 16; - * - * @return The showHidden. - */ - @java.lang.Override - public boolean getShowHidden() { - return showHidden_; - } - - /** - *
-             * Flag to show hidden attributes.
-             * 
- * - * bool show_hidden = 16; - * - * @param value - * The showHidden to set. - * - * @return This builder for chaining. - */ - public Builder setShowHidden(boolean value) { - - showHidden_ = value; - bitField0_ |= 0x00008000; - onChanged(); - return this; - } - - /** - *
-             * Flag to show hidden attributes.
-             * 
- * - * bool show_hidden = 16; - * - * @return This builder for chaining. - */ - public Builder clearShowHidden() { - bitField0_ = (bitField0_ & ~0x00008000); - showHidden_ = false; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList pathSelector_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensurePathSelectorIsMutable() { - if (!pathSelector_.isModifiable()) { - pathSelector_ = new com.google.protobuf.LazyStringArrayList(pathSelector_); - } - bitField0_ |= 0x00010000; - } - - /** - *
-             * Path selectors for results.
-             * 
- * - * repeated string path_selector = 17; - * - * @return A list containing the pathSelector. - */ - public com.google.protobuf.ProtocolStringList getPathSelectorList() { - pathSelector_.makeImmutable(); - return pathSelector_; - } - - /** - *
-             * Path selectors for results.
-             * 
- * - * repeated string path_selector = 17; - * - * @return The count of pathSelector. - */ - public int getPathSelectorCount() { - return pathSelector_.size(); - } - - /** - *
-             * Path selectors for results.
-             * 
- * - * repeated string path_selector = 17; - * - * @param index - * The index of the element to return. - * - * @return The pathSelector at the given index. - */ - public java.lang.String getPathSelector(int index) { - return pathSelector_.get(index); - } - - /** - *
-             * Path selectors for results.
-             * 
- * - * repeated string path_selector = 17; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the pathSelector at the given index. - */ - public com.google.protobuf.ByteString getPathSelectorBytes(int index) { - return pathSelector_.getByteString(index); - } - - /** - *
-             * Path selectors for results.
-             * 
- * - * repeated string path_selector = 17; - * - * @param index - * The index to set the value at. - * @param value - * The pathSelector to set. - * - * @return This builder for chaining. - */ - public Builder setPathSelector(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathSelectorIsMutable(); - pathSelector_.set(index, value); - bitField0_ |= 0x00010000; - onChanged(); - return this; - } - - /** - *
-             * Path selectors for results.
-             * 
- * - * repeated string path_selector = 17; - * - * @param value - * The pathSelector to add. - * - * @return This builder for chaining. - */ - public Builder addPathSelector(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathSelectorIsMutable(); - pathSelector_.add(value); - bitField0_ |= 0x00010000; - onChanged(); - return this; - } - - /** - *
-             * Path selectors for results.
-             * 
- * - * repeated string path_selector = 17; - * - * @param values - * The pathSelector to add. - * - * @return This builder for chaining. - */ - public Builder addAllPathSelector(java.lang.Iterable values) { - ensurePathSelectorIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pathSelector_); - bitField0_ |= 0x00010000; - onChanged(); - return this; - } - - /** - *
-             * Path selectors for results.
-             * 
- * - * repeated string path_selector = 17; - * - * @return This builder for chaining. - */ - public Builder clearPathSelector() { - pathSelector_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00010000); - ; - onChanged(); - return this; - } - - /** - *
-             * Path selectors for results.
-             * 
- * - * repeated string path_selector = 17; - * - * @param value - * The bytes of the pathSelector to add. - * - * @return This builder for chaining. - */ - public Builder addPathSelectorBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensurePathSelectorIsMutable(); - pathSelector_.add(value); - bitField0_ |= 0x00010000; - onChanged(); - return this; - } - - private boolean fastEval_; - - /** - *
-             * Flag for fast evaluation.
-             * 
- * - * bool fast_eval = 18; - * - * @return The fastEval. - */ - @java.lang.Override - public boolean getFastEval() { - return fastEval_; - } - - /** - *
-             * Flag for fast evaluation.
-             * 
- * - * bool fast_eval = 18; - * - * @param value - * The fastEval to set. - * - * @return This builder for chaining. - */ - public Builder setFastEval(boolean value) { - - fastEval_ = value; - bitField0_ |= 0x00020000; - onChanged(); - return this; - } - - /** - *
-             * Flag for fast evaluation.
-             * 
- * - * bool fast_eval = 18; - * - * @return This builder for chaining. - */ - public Builder clearFastEval() { - bitField0_ = (bitField0_ & ~0x00020000); - fastEval_ = false; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ExecProgram_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ExecProgram_Args) - private static final com.kcl.api.Spec.ExecProgram_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ExecProgram_Args(); - } - - public static com.kcl.api.Spec.ExecProgram_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecProgram_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExecProgram_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ExecProgram_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Result in JSON format.
-         * 
- * - * string json_result = 1; - * - * @return The jsonResult. - */ - java.lang.String getJsonResult(); - - /** - *
-         * Result in JSON format.
-         * 
- * - * string json_result = 1; - * - * @return The bytes for jsonResult. - */ - com.google.protobuf.ByteString getJsonResultBytes(); - - /** - *
-         * Result in YAML format.
-         * 
- * - * string yaml_result = 2; - * - * @return The yamlResult. - */ - java.lang.String getYamlResult(); - - /** - *
-         * Result in YAML format.
-         * 
- * - * string yaml_result = 2; - * - * @return The bytes for yamlResult. - */ - com.google.protobuf.ByteString getYamlResultBytes(); - - /** - *
-         * Log message from execution.
-         * 
- * - * string log_message = 3; - * - * @return The logMessage. - */ - java.lang.String getLogMessage(); - - /** - *
-         * Log message from execution.
-         * 
- * - * string log_message = 3; - * - * @return The bytes for logMessage. - */ - com.google.protobuf.ByteString getLogMessageBytes(); - - /** - *
-         * Error message from execution.
-         * 
- * - * string err_message = 4; - * - * @return The errMessage. - */ - java.lang.String getErrMessage(); - - /** - *
-         * Error message from execution.
-         * 
- * - * string err_message = 4; - * - * @return The bytes for errMessage. - */ - com.google.protobuf.ByteString getErrMessageBytes(); - } - - /** - *
-     * Message for execute program response.
-     * 
- * - * Protobuf type {@code com.kcl.api.ExecProgram_Result} - */ - public static final class ExecProgram_Result extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ExecProgram_Result) - ExecProgram_ResultOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", ExecProgram_Result.class.getName()); - } - - // Use ExecProgram_Result.newBuilder() to construct. - private ExecProgram_Result(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ExecProgram_Result() { - jsonResult_ = ""; - yamlResult_ = ""; - logMessage_ = ""; - errMessage_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ExecProgram_Result.class, - com.kcl.api.Spec.ExecProgram_Result.Builder.class); - } - - public static final int JSON_RESULT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object jsonResult_ = ""; - - /** - *
-         * Result in JSON format.
-         * 
- * - * string json_result = 1; - * - * @return The jsonResult. - */ - @java.lang.Override - public java.lang.String getJsonResult() { - java.lang.Object ref = jsonResult_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - jsonResult_ = s; - return s; - } - } - - /** - *
-         * Result in JSON format.
-         * 
- * - * string json_result = 1; - * - * @return The bytes for jsonResult. - */ - @java.lang.Override - public com.google.protobuf.ByteString getJsonResultBytes() { - java.lang.Object ref = jsonResult_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - jsonResult_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int YAML_RESULT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object yamlResult_ = ""; - - /** - *
-         * Result in YAML format.
-         * 
- * - * string yaml_result = 2; - * - * @return The yamlResult. - */ - @java.lang.Override - public java.lang.String getYamlResult() { - java.lang.Object ref = yamlResult_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - yamlResult_ = s; - return s; - } - } - - /** - *
-         * Result in YAML format.
-         * 
- * - * string yaml_result = 2; - * - * @return The bytes for yamlResult. - */ - @java.lang.Override - public com.google.protobuf.ByteString getYamlResultBytes() { - java.lang.Object ref = yamlResult_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - yamlResult_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int LOG_MESSAGE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object logMessage_ = ""; - - /** - *
-         * Log message from execution.
-         * 
- * - * string log_message = 3; - * - * @return The logMessage. - */ - @java.lang.Override - public java.lang.String getLogMessage() { - java.lang.Object ref = logMessage_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - logMessage_ = s; - return s; - } - } - - /** - *
-         * Log message from execution.
-         * 
- * - * string log_message = 3; - * - * @return The bytes for logMessage. - */ - @java.lang.Override - public com.google.protobuf.ByteString getLogMessageBytes() { - java.lang.Object ref = logMessage_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - logMessage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ERR_MESSAGE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private volatile java.lang.Object errMessage_ = ""; - - /** - *
-         * Error message from execution.
-         * 
- * - * string err_message = 4; - * - * @return The errMessage. - */ - @java.lang.Override - public java.lang.String getErrMessage() { - java.lang.Object ref = errMessage_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - errMessage_ = s; - return s; - } - } - - /** - *
-         * Error message from execution.
-         * 
- * - * string err_message = 4; - * - * @return The bytes for errMessage. - */ - @java.lang.Override - public com.google.protobuf.ByteString getErrMessageBytes() { - java.lang.Object ref = errMessage_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - errMessage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(jsonResult_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, jsonResult_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(yamlResult_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, yamlResult_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logMessage_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, logMessage_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errMessage_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 4, errMessage_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(jsonResult_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, jsonResult_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(yamlResult_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, yamlResult_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logMessage_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, logMessage_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errMessage_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(4, errMessage_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ExecProgram_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.ExecProgram_Result other = (com.kcl.api.Spec.ExecProgram_Result) obj; - - if (!getJsonResult().equals(other.getJsonResult())) - return false; - if (!getYamlResult().equals(other.getYamlResult())) - return false; - if (!getLogMessage().equals(other.getLogMessage())) - return false; - if (!getErrMessage().equals(other.getErrMessage())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + JSON_RESULT_FIELD_NUMBER; - hash = (53 * hash) + getJsonResult().hashCode(); - hash = (37 * hash) + YAML_RESULT_FIELD_NUMBER; - hash = (53 * hash) + getYamlResult().hashCode(); - hash = (37 * hash) + LOG_MESSAGE_FIELD_NUMBER; - hash = (53 * hash) + getLogMessage().hashCode(); - hash = (37 * hash) + ERR_MESSAGE_FIELD_NUMBER; - hash = (53 * hash) + getErrMessage().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ExecProgram_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ExecProgram_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecProgram_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ExecProgram_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecProgram_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ExecProgram_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecProgram_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ExecProgram_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecProgram_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ExecProgram_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecProgram_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ExecProgram_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ExecProgram_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for execute program response.
-         * 
- * - * Protobuf type {@code com.kcl.api.ExecProgram_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ExecProgram_Result) - com.kcl.api.Spec.ExecProgram_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ExecProgram_Result.class, - com.kcl.api.Spec.ExecProgram_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.ExecProgram_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - jsonResult_ = ""; - yamlResult_ = ""; - logMessage_ = ""; - errMessage_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ExecProgram_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Result build() { - com.kcl.api.Spec.ExecProgram_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Result buildPartial() { - com.kcl.api.Spec.ExecProgram_Result result = new com.kcl.api.Spec.ExecProgram_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.ExecProgram_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.jsonResult_ = jsonResult_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.yamlResult_ = yamlResult_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.logMessage_ = logMessage_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.errMessage_ = errMessage_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ExecProgram_Result) { - return mergeFrom((com.kcl.api.Spec.ExecProgram_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ExecProgram_Result other) { - if (other == com.kcl.api.Spec.ExecProgram_Result.getDefaultInstance()) - return this; - if (!other.getJsonResult().isEmpty()) { - jsonResult_ = other.jsonResult_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getYamlResult().isEmpty()) { - yamlResult_ = other.yamlResult_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.getLogMessage().isEmpty()) { - logMessage_ = other.logMessage_; - bitField0_ |= 0x00000004; - onChanged(); - } - if (!other.getErrMessage().isEmpty()) { - errMessage_ = other.errMessage_; - bitField0_ |= 0x00000008; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - jsonResult_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - yamlResult_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - logMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - errMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object jsonResult_ = ""; - - /** - *
-             * Result in JSON format.
-             * 
- * - * string json_result = 1; - * - * @return The jsonResult. - */ - public java.lang.String getJsonResult() { - java.lang.Object ref = jsonResult_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - jsonResult_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Result in JSON format.
-             * 
- * - * string json_result = 1; - * - * @return The bytes for jsonResult. - */ - public com.google.protobuf.ByteString getJsonResultBytes() { - java.lang.Object ref = jsonResult_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - jsonResult_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Result in JSON format.
-             * 
- * - * string json_result = 1; - * - * @param value - * The jsonResult to set. - * - * @return This builder for chaining. - */ - public Builder setJsonResult(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - jsonResult_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Result in JSON format.
-             * 
- * - * string json_result = 1; - * - * @return This builder for chaining. - */ - public Builder clearJsonResult() { - jsonResult_ = getDefaultInstance().getJsonResult(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * Result in JSON format.
-             * 
- * - * string json_result = 1; - * - * @param value - * The bytes for jsonResult to set. - * - * @return This builder for chaining. - */ - public Builder setJsonResultBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - jsonResult_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object yamlResult_ = ""; - - /** - *
-             * Result in YAML format.
-             * 
- * - * string yaml_result = 2; - * - * @return The yamlResult. - */ - public java.lang.String getYamlResult() { - java.lang.Object ref = yamlResult_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - yamlResult_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Result in YAML format.
-             * 
- * - * string yaml_result = 2; - * - * @return The bytes for yamlResult. - */ - public com.google.protobuf.ByteString getYamlResultBytes() { - java.lang.Object ref = yamlResult_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - yamlResult_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Result in YAML format.
-             * 
- * - * string yaml_result = 2; - * - * @param value - * The yamlResult to set. - * - * @return This builder for chaining. - */ - public Builder setYamlResult(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - yamlResult_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Result in YAML format.
-             * 
- * - * string yaml_result = 2; - * - * @return This builder for chaining. - */ - public Builder clearYamlResult() { - yamlResult_ = getDefaultInstance().getYamlResult(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - *
-             * Result in YAML format.
-             * 
- * - * string yaml_result = 2; - * - * @param value - * The bytes for yamlResult to set. - * - * @return This builder for chaining. - */ - public Builder setYamlResultBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - yamlResult_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.lang.Object logMessage_ = ""; - - /** - *
-             * Log message from execution.
-             * 
- * - * string log_message = 3; - * - * @return The logMessage. - */ - public java.lang.String getLogMessage() { - java.lang.Object ref = logMessage_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - logMessage_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Log message from execution.
-             * 
- * - * string log_message = 3; - * - * @return The bytes for logMessage. - */ - public com.google.protobuf.ByteString getLogMessageBytes() { - java.lang.Object ref = logMessage_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - logMessage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Log message from execution.
-             * 
- * - * string log_message = 3; - * - * @param value - * The logMessage to set. - * - * @return This builder for chaining. - */ - public Builder setLogMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - logMessage_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * Log message from execution.
-             * 
- * - * string log_message = 3; - * - * @return This builder for chaining. - */ - public Builder clearLogMessage() { - logMessage_ = getDefaultInstance().getLogMessage(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - - /** - *
-             * Log message from execution.
-             * 
- * - * string log_message = 3; - * - * @param value - * The bytes for logMessage to set. - * - * @return This builder for chaining. - */ - public Builder setLogMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - logMessage_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - private java.lang.Object errMessage_ = ""; - - /** - *
-             * Error message from execution.
-             * 
- * - * string err_message = 4; - * - * @return The errMessage. - */ - public java.lang.String getErrMessage() { - java.lang.Object ref = errMessage_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - errMessage_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Error message from execution.
-             * 
- * - * string err_message = 4; - * - * @return The bytes for errMessage. - */ - public com.google.protobuf.ByteString getErrMessageBytes() { - java.lang.Object ref = errMessage_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - errMessage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Error message from execution.
-             * 
- * - * string err_message = 4; - * - * @param value - * The errMessage to set. - * - * @return This builder for chaining. - */ - public Builder setErrMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - errMessage_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - - /** - *
-             * Error message from execution.
-             * 
- * - * string err_message = 4; - * - * @return This builder for chaining. - */ - public Builder clearErrMessage() { - errMessage_ = getDefaultInstance().getErrMessage(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } - - /** - *
-             * Error message from execution.
-             * 
- * - * string err_message = 4; - * - * @param value - * The bytes for errMessage to set. - * - * @return This builder for chaining. - */ - public Builder setErrMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - errMessage_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ExecProgram_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ExecProgram_Result) - private static final com.kcl.api.Spec.ExecProgram_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ExecProgram_Result(); - } - - public static com.kcl.api.Spec.ExecProgram_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecProgram_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface BuildProgram_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.BuildProgram_Args) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Arguments for executing the program.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return Whether the execArgs field is set. - */ - boolean hasExecArgs(); - - /** - *
-         * Arguments for executing the program.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return The execArgs. - */ - com.kcl.api.Spec.ExecProgram_Args getExecArgs(); - - /** - *
-         * Arguments for executing the program.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder(); - - /** - *
-         * Output path.
-         * 
- * - * string output = 2; - * - * @return The output. - */ - java.lang.String getOutput(); - - /** - *
-         * Output path.
-         * 
- * - * string output = 2; - * - * @return The bytes for output. - */ - com.google.protobuf.ByteString getOutputBytes(); - } - - /** - *
-     * Message for build program request arguments.
-     * 
- * - * Protobuf type {@code com.kcl.api.BuildProgram_Args} - */ - public static final class BuildProgram_Args extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.BuildProgram_Args) - BuildProgram_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", BuildProgram_Args.class.getName()); - } - - // Use BuildProgram_Args.newBuilder() to construct. - private BuildProgram_Args(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private BuildProgram_Args() { - output_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.BuildProgram_Args.class, - com.kcl.api.Spec.BuildProgram_Args.Builder.class); - } - - private int bitField0_; - public static final int EXEC_ARGS_FIELD_NUMBER = 1; - private com.kcl.api.Spec.ExecProgram_Args execArgs_; - - /** - *
-         * Arguments for executing the program.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return Whether the execArgs field is set. - */ - @java.lang.Override - public boolean hasExecArgs() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - *
-         * Arguments for executing the program.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return The execArgs. - */ - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } - - /** - *
-         * Arguments for executing the program.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } - - public static final int OUTPUT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object output_ = ""; - - /** - *
-         * Output path.
-         * 
- * - * string output = 2; - * - * @return The output. - */ - @java.lang.Override - public java.lang.String getOutput() { - java.lang.Object ref = output_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - output_ = s; - return s; - } - } - - /** - *
-         * Output path.
-         * 
- * - * string output = 2; - * - * @return The bytes for output. - */ - @java.lang.Override - public com.google.protobuf.ByteString getOutputBytes() { - java.lang.Object ref = output_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - output_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(1, getExecArgs()); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(output_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, output_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getExecArgs()); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(output_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, output_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.BuildProgram_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.BuildProgram_Args other = (com.kcl.api.Spec.BuildProgram_Args) obj; - - if (hasExecArgs() != other.hasExecArgs()) - return false; - if (hasExecArgs()) { - if (!getExecArgs().equals(other.getExecArgs())) - return false; - } - if (!getOutput().equals(other.getOutput())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasExecArgs()) { - hash = (37 * hash) + EXEC_ARGS_FIELD_NUMBER; - hash = (53 * hash) + getExecArgs().hashCode(); - } - hash = (37 * hash) + OUTPUT_FIELD_NUMBER; - hash = (53 * hash) + getOutput().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.BuildProgram_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.BuildProgram_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.BuildProgram_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.BuildProgram_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.BuildProgram_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.BuildProgram_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.BuildProgram_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.BuildProgram_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.BuildProgram_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.BuildProgram_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.BuildProgram_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.BuildProgram_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.BuildProgram_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for build program request arguments.
-         * 
- * - * Protobuf type {@code com.kcl.api.BuildProgram_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.BuildProgram_Args) - com.kcl.api.Spec.BuildProgram_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.BuildProgram_Args.class, - com.kcl.api.Spec.BuildProgram_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.BuildProgram_Args.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - getExecArgsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - execArgs_ = null; - if (execArgsBuilder_ != null) { - execArgsBuilder_.dispose(); - execArgsBuilder_ = null; - } - output_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.BuildProgram_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Args build() { - com.kcl.api.Spec.BuildProgram_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Args buildPartial() { - com.kcl.api.Spec.BuildProgram_Args result = new com.kcl.api.Spec.BuildProgram_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.BuildProgram_Args result) { - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.execArgs_ = execArgsBuilder_ == null ? execArgs_ : execArgsBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.output_ = output_; - } - result.bitField0_ |= to_bitField0_; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.BuildProgram_Args) { - return mergeFrom((com.kcl.api.Spec.BuildProgram_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.BuildProgram_Args other) { - if (other == com.kcl.api.Spec.BuildProgram_Args.getDefaultInstance()) - return this; - if (other.hasExecArgs()) { - mergeExecArgs(other.getExecArgs()); - } - if (!other.getOutput().isEmpty()) { - output_ = other.output_; - bitField0_ |= 0x00000002; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - input.readMessage(getExecArgsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - output_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.kcl.api.Spec.ExecProgram_Args execArgs_; - private com.google.protobuf.SingleFieldBuilder execArgsBuilder_; - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return Whether the execArgs field is set. - */ - public boolean hasExecArgs() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return The execArgs. - */ - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { - if (execArgsBuilder_ == null) { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } else { - return execArgsBuilder_.getMessage(); - } - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { - if (execArgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - execArgs_ = value; - } else { - execArgsBuilder_.setMessage(value); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args.Builder builderForValue) { - if (execArgsBuilder_ == null) { - execArgs_ = builderForValue.build(); - } else { - execArgsBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { - if (execArgsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && execArgs_ != null - && execArgs_ != com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance()) { - getExecArgsBuilder().mergeFrom(value); - } else { - execArgs_ = value; - } - } else { - execArgsBuilder_.mergeFrom(value); - } - if (execArgs_ != null) { - bitField0_ |= 0x00000001; - onChanged(); - } - return this; - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder clearExecArgs() { - bitField0_ = (bitField0_ & ~0x00000001); - execArgs_ = null; - if (execArgsBuilder_ != null) { - execArgsBuilder_.dispose(); - execArgsBuilder_ = null; - } - onChanged(); - return this; - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public com.kcl.api.Spec.ExecProgram_Args.Builder getExecArgsBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getExecArgsFieldBuilder().getBuilder(); - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { - if (execArgsBuilder_ != null) { - return execArgsBuilder_.getMessageOrBuilder(); - } else { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - private com.google.protobuf.SingleFieldBuilder getExecArgsFieldBuilder() { - if (execArgsBuilder_ == null) { - execArgsBuilder_ = new com.google.protobuf.SingleFieldBuilder( - getExecArgs(), getParentForChildren(), isClean()); - execArgs_ = null; - } - return execArgsBuilder_; - } - - private java.lang.Object output_ = ""; - - /** - *
-             * Output path.
-             * 
- * - * string output = 2; - * - * @return The output. - */ - public java.lang.String getOutput() { - java.lang.Object ref = output_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - output_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Output path.
-             * 
- * - * string output = 2; - * - * @return The bytes for output. - */ - public com.google.protobuf.ByteString getOutputBytes() { - java.lang.Object ref = output_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - output_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Output path.
-             * 
- * - * string output = 2; - * - * @param value - * The output to set. - * - * @return This builder for chaining. - */ - public Builder setOutput(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - output_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Output path.
-             * 
- * - * string output = 2; - * - * @return This builder for chaining. - */ - public Builder clearOutput() { - output_ = getDefaultInstance().getOutput(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - *
-             * Output path.
-             * 
- * - * string output = 2; - * - * @param value - * The bytes for output to set. - * - * @return This builder for chaining. - */ - public Builder setOutputBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - output_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.BuildProgram_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.BuildProgram_Args) - private static final com.kcl.api.Spec.BuildProgram_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.BuildProgram_Args(); - } - - public static com.kcl.api.Spec.BuildProgram_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BuildProgram_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface BuildProgram_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.BuildProgram_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Path of the built program.
-         * 
- * - * string path = 1; - * - * @return The path. - */ - java.lang.String getPath(); - - /** - *
-         * Path of the built program.
-         * 
- * - * string path = 1; - * - * @return The bytes for path. - */ - com.google.protobuf.ByteString getPathBytes(); - } - - /** - *
-     * Message for build program response.
-     * 
- * - * Protobuf type {@code com.kcl.api.BuildProgram_Result} - */ - public static final class BuildProgram_Result extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.BuildProgram_Result) - BuildProgram_ResultOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", BuildProgram_Result.class.getName()); - } - - // Use BuildProgram_Result.newBuilder() to construct. - private BuildProgram_Result(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private BuildProgram_Result() { - path_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.BuildProgram_Result.class, - com.kcl.api.Spec.BuildProgram_Result.Builder.class); - } - - public static final int PATH_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object path_ = ""; - - /** - *
-         * Path of the built program.
-         * 
- * - * string path = 1; - * - * @return The path. - */ - @java.lang.Override - public java.lang.String getPath() { - java.lang.Object ref = path_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - path_ = s; - return s; - } - } - - /** - *
-         * Path of the built program.
-         * 
- * - * string path = 1; - * - * @return The bytes for path. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { - java.lang.Object ref = path_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - path_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(path_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, path_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(path_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, path_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.BuildProgram_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.BuildProgram_Result other = (com.kcl.api.Spec.BuildProgram_Result) obj; - - if (!getPath().equals(other.getPath())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PATH_FIELD_NUMBER; - hash = (53 * hash) + getPath().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.BuildProgram_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.BuildProgram_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.BuildProgram_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.BuildProgram_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.BuildProgram_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.BuildProgram_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.BuildProgram_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.BuildProgram_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.BuildProgram_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.BuildProgram_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.BuildProgram_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.BuildProgram_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.BuildProgram_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for build program response.
-         * 
- * - * Protobuf type {@code com.kcl.api.BuildProgram_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.BuildProgram_Result) - com.kcl.api.Spec.BuildProgram_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.BuildProgram_Result.class, - com.kcl.api.Spec.BuildProgram_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.BuildProgram_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - path_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.BuildProgram_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Result build() { - com.kcl.api.Spec.BuildProgram_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Result buildPartial() { - com.kcl.api.Spec.BuildProgram_Result result = new com.kcl.api.Spec.BuildProgram_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.BuildProgram_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.path_ = path_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.BuildProgram_Result) { - return mergeFrom((com.kcl.api.Spec.BuildProgram_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.BuildProgram_Result other) { - if (other == com.kcl.api.Spec.BuildProgram_Result.getDefaultInstance()) - return this; - if (!other.getPath().isEmpty()) { - path_ = other.path_; - bitField0_ |= 0x00000001; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - path_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object path_ = ""; - - /** - *
-             * Path of the built program.
-             * 
- * - * string path = 1; - * - * @return The path. - */ - public java.lang.String getPath() { - java.lang.Object ref = path_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - path_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Path of the built program.
-             * 
- * - * string path = 1; - * - * @return The bytes for path. - */ - public com.google.protobuf.ByteString getPathBytes() { - java.lang.Object ref = path_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - path_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Path of the built program.
-             * 
- * - * string path = 1; - * - * @param value - * The path to set. - * - * @return This builder for chaining. - */ - public Builder setPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - path_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Path of the built program.
-             * 
- * - * string path = 1; - * - * @return This builder for chaining. - */ - public Builder clearPath() { - path_ = getDefaultInstance().getPath(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * Path of the built program.
-             * 
- * - * string path = 1; - * - * @param value - * The bytes for path to set. - * - * @return This builder for chaining. - */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - path_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.BuildProgram_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.BuildProgram_Result) - private static final com.kcl.api.Spec.BuildProgram_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.BuildProgram_Result(); - } - - public static com.kcl.api.Spec.BuildProgram_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BuildProgram_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExecArtifact_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ExecArtifact_Args) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Path of the artifact.
-         * 
- * - * string path = 1; - * - * @return The path. - */ - java.lang.String getPath(); - - /** - *
-         * Path of the artifact.
-         * 
- * - * string path = 1; - * - * @return The bytes for path. - */ - com.google.protobuf.ByteString getPathBytes(); - - /** - *
-         * Arguments for executing the program.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 2; - * - * @return Whether the execArgs field is set. - */ - boolean hasExecArgs(); - - /** - *
-         * Arguments for executing the program.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 2; - * - * @return The execArgs. - */ - com.kcl.api.Spec.ExecProgram_Args getExecArgs(); - - /** - *
-         * Arguments for executing the program.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 2; - */ - com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder(); - } - - /** - *
-     * Message for execute artifact request arguments.
-     * 
- * - * Protobuf type {@code com.kcl.api.ExecArtifact_Args} - */ - public static final class ExecArtifact_Args extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ExecArtifact_Args) - ExecArtifact_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", ExecArtifact_Args.class.getName()); - } - - // Use ExecArtifact_Args.newBuilder() to construct. - private ExecArtifact_Args(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ExecArtifact_Args() { - path_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifact_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifact_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ExecArtifact_Args.class, - com.kcl.api.Spec.ExecArtifact_Args.Builder.class); - } - - private int bitField0_; - public static final int PATH_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object path_ = ""; - - /** - *
-         * Path of the artifact.
-         * 
- * - * string path = 1; - * - * @return The path. - */ - @java.lang.Override - public java.lang.String getPath() { - java.lang.Object ref = path_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - path_ = s; - return s; - } - } - - /** - *
-         * Path of the artifact.
-         * 
- * - * string path = 1; - * - * @return The bytes for path. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { - java.lang.Object ref = path_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - path_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int EXEC_ARGS_FIELD_NUMBER = 2; - private com.kcl.api.Spec.ExecProgram_Args execArgs_; - - /** - *
-         * Arguments for executing the program.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 2; - * - * @return Whether the execArgs field is set. - */ - @java.lang.Override - public boolean hasExecArgs() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - *
-         * Arguments for executing the program.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 2; - * - * @return The execArgs. - */ - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } - - /** - *
-         * Arguments for executing the program.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(path_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, path_); - } - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(2, getExecArgs()); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(path_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, path_); - } - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExecArgs()); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ExecArtifact_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.ExecArtifact_Args other = (com.kcl.api.Spec.ExecArtifact_Args) obj; - - if (!getPath().equals(other.getPath())) - return false; - if (hasExecArgs() != other.hasExecArgs()) - return false; - if (hasExecArgs()) { - if (!getExecArgs().equals(other.getExecArgs())) - return false; - } - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PATH_FIELD_NUMBER; - hash = (53 * hash) + getPath().hashCode(); - if (hasExecArgs()) { - hash = (37 * hash) + EXEC_ARGS_FIELD_NUMBER; - hash = (53 * hash) + getExecArgs().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecArtifact_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ExecArtifact_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ExecArtifact_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for execute artifact request arguments.
-         * 
- * - * Protobuf type {@code com.kcl.api.ExecArtifact_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ExecArtifact_Args) - com.kcl.api.Spec.ExecArtifact_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifact_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifact_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ExecArtifact_Args.class, - com.kcl.api.Spec.ExecArtifact_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.ExecArtifact_Args.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - getExecArgsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - path_ = ""; - execArgs_ = null; - if (execArgsBuilder_ != null) { - execArgsBuilder_.dispose(); - execArgsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifact_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ExecArtifact_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ExecArtifact_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ExecArtifact_Args build() { - com.kcl.api.Spec.ExecArtifact_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ExecArtifact_Args buildPartial() { - com.kcl.api.Spec.ExecArtifact_Args result = new com.kcl.api.Spec.ExecArtifact_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.ExecArtifact_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.path_ = path_; - } - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000002) != 0)) { - result.execArgs_ = execArgsBuilder_ == null ? execArgs_ : execArgsBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - result.bitField0_ |= to_bitField0_; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ExecArtifact_Args) { - return mergeFrom((com.kcl.api.Spec.ExecArtifact_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ExecArtifact_Args other) { - if (other == com.kcl.api.Spec.ExecArtifact_Args.getDefaultInstance()) - return this; - if (!other.getPath().isEmpty()) { - path_ = other.path_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (other.hasExecArgs()) { - mergeExecArgs(other.getExecArgs()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - path_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage(getExecArgsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object path_ = ""; - - /** - *
-             * Path of the artifact.
-             * 
- * - * string path = 1; - * - * @return The path. - */ - public java.lang.String getPath() { - java.lang.Object ref = path_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - path_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Path of the artifact.
-             * 
- * - * string path = 1; - * - * @return The bytes for path. - */ - public com.google.protobuf.ByteString getPathBytes() { - java.lang.Object ref = path_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - path_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Path of the artifact.
-             * 
- * - * string path = 1; - * - * @param value - * The path to set. - * - * @return This builder for chaining. - */ - public Builder setPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - path_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Path of the artifact.
-             * 
- * - * string path = 1; - * - * @return This builder for chaining. - */ - public Builder clearPath() { - path_ = getDefaultInstance().getPath(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * Path of the artifact.
-             * 
- * - * string path = 1; - * - * @param value - * The bytes for path to set. - * - * @return This builder for chaining. - */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - path_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.kcl.api.Spec.ExecProgram_Args execArgs_; - private com.google.protobuf.SingleFieldBuilder execArgsBuilder_; - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 2; - * - * @return Whether the execArgs field is set. - */ - public boolean hasExecArgs() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 2; - * - * @return The execArgs. - */ - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { - if (execArgsBuilder_ == null) { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } else { - return execArgsBuilder_.getMessage(); - } - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 2; - */ - public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { - if (execArgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - execArgs_ = value; - } else { - execArgsBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 2; - */ - public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args.Builder builderForValue) { - if (execArgsBuilder_ == null) { - execArgs_ = builderForValue.build(); - } else { - execArgsBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 2; - */ - public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { - if (execArgsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && execArgs_ != null - && execArgs_ != com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance()) { - getExecArgsBuilder().mergeFrom(value); - } else { - execArgs_ = value; - } - } else { - execArgsBuilder_.mergeFrom(value); - } - if (execArgs_ != null) { - bitField0_ |= 0x00000002; - onChanged(); - } - return this; - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 2; - */ - public Builder clearExecArgs() { - bitField0_ = (bitField0_ & ~0x00000002); - execArgs_ = null; - if (execArgsBuilder_ != null) { - execArgsBuilder_.dispose(); - execArgsBuilder_ = null; - } - onChanged(); - return this; - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 2; - */ - public com.kcl.api.Spec.ExecProgram_Args.Builder getExecArgsBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getExecArgsFieldBuilder().getBuilder(); - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 2; - */ - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { - if (execArgsBuilder_ != null) { - return execArgsBuilder_.getMessageOrBuilder(); - } else { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 2; - */ - private com.google.protobuf.SingleFieldBuilder getExecArgsFieldBuilder() { - if (execArgsBuilder_ == null) { - execArgsBuilder_ = new com.google.protobuf.SingleFieldBuilder( - getExecArgs(), getParentForChildren(), isClean()); - execArgs_ = null; - } - return execArgsBuilder_; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ExecArtifact_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ExecArtifact_Args) - private static final com.kcl.api.Spec.ExecArtifact_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ExecArtifact_Args(); - } - - public static com.kcl.api.Spec.ExecArtifact_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecArtifact_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ExecArtifact_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface FormatCode_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatCode_Args) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Source code to be formatted.
-         * 
- * - * string source = 1; - * - * @return The source. - */ - java.lang.String getSource(); - - /** - *
-         * Source code to be formatted.
-         * 
- * - * string source = 1; - * - * @return The bytes for source. - */ - com.google.protobuf.ByteString getSourceBytes(); - } - - /** - *
-     * Message for format code request arguments.
-     * 
- * - * Protobuf type {@code com.kcl.api.FormatCode_Args} - */ - public static final class FormatCode_Args extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.FormatCode_Args) - FormatCode_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", FormatCode_Args.class.getName()); - } - - // Use FormatCode_Args.newBuilder() to construct. - private FormatCode_Args(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private FormatCode_Args() { - source_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.FormatCode_Args.class, - com.kcl.api.Spec.FormatCode_Args.Builder.class); - } - - public static final int SOURCE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object source_ = ""; - - /** - *
-         * Source code to be formatted.
-         * 
- * - * string source = 1; - * - * @return The source. - */ - @java.lang.Override - public java.lang.String getSource() { - java.lang.Object ref = source_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - source_ = s; - return s; - } - } - - /** - *
-         * Source code to be formatted.
-         * 
- * - * string source = 1; - * - * @return The bytes for source. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSourceBytes() { - java.lang.Object ref = source_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - source_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(source_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, source_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(source_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, source_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.FormatCode_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.FormatCode_Args other = (com.kcl.api.Spec.FormatCode_Args) obj; - - if (!getSource().equals(other.getSource())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + SOURCE_FIELD_NUMBER; - hash = (53 * hash) + getSource().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.FormatCode_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatCode_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatCode_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatCode_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatCode_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatCode_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatCode_Args parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatCode_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatCode_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatCode_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatCode_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatCode_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.FormatCode_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for format code request arguments.
-         * 
- * - * Protobuf type {@code com.kcl.api.FormatCode_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatCode_Args) - com.kcl.api.Spec.FormatCode_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.FormatCode_Args.class, - com.kcl.api.Spec.FormatCode_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.FormatCode_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - source_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatCode_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.FormatCode_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.FormatCode_Args build() { - com.kcl.api.Spec.FormatCode_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatCode_Args buildPartial() { - com.kcl.api.Spec.FormatCode_Args result = new com.kcl.api.Spec.FormatCode_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.FormatCode_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.source_ = source_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.FormatCode_Args) { - return mergeFrom((com.kcl.api.Spec.FormatCode_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.FormatCode_Args other) { - if (other == com.kcl.api.Spec.FormatCode_Args.getDefaultInstance()) - return this; - if (!other.getSource().isEmpty()) { - source_ = other.source_; - bitField0_ |= 0x00000001; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - source_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object source_ = ""; - - /** - *
-             * Source code to be formatted.
-             * 
- * - * string source = 1; - * - * @return The source. - */ - public java.lang.String getSource() { - java.lang.Object ref = source_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - source_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Source code to be formatted.
-             * 
- * - * string source = 1; - * - * @return The bytes for source. - */ - public com.google.protobuf.ByteString getSourceBytes() { - java.lang.Object ref = source_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - source_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Source code to be formatted.
-             * 
- * - * string source = 1; - * - * @param value - * The source to set. - * - * @return This builder for chaining. - */ - public Builder setSource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - source_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Source code to be formatted.
-             * 
- * - * string source = 1; - * - * @return This builder for chaining. - */ - public Builder clearSource() { - source_ = getDefaultInstance().getSource(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * Source code to be formatted.
-             * 
- * - * string source = 1; - * - * @param value - * The bytes for source to set. - * - * @return This builder for chaining. - */ - public Builder setSourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - source_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatCode_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.FormatCode_Args) - private static final com.kcl.api.Spec.FormatCode_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatCode_Args(); - } - - public static com.kcl.api.Spec.FormatCode_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FormatCode_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatCode_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface FormatCode_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatCode_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Formatted code as bytes.
-         * 
- * - * bytes formatted = 1; - * - * @return The formatted. - */ - com.google.protobuf.ByteString getFormatted(); - } - - /** - *
-     * Message for format code response.
-     * 
- * - * Protobuf type {@code com.kcl.api.FormatCode_Result} - */ - public static final class FormatCode_Result extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.FormatCode_Result) - FormatCode_ResultOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", FormatCode_Result.class.getName()); - } - - // Use FormatCode_Result.newBuilder() to construct. - private FormatCode_Result(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private FormatCode_Result() { - formatted_ = com.google.protobuf.ByteString.EMPTY; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.FormatCode_Result.class, - com.kcl.api.Spec.FormatCode_Result.Builder.class); - } - - public static final int FORMATTED_FIELD_NUMBER = 1; - private com.google.protobuf.ByteString formatted_ = com.google.protobuf.ByteString.EMPTY; - - /** - *
-         * Formatted code as bytes.
-         * 
- * - * bytes formatted = 1; - * - * @return The formatted. - */ - @java.lang.Override - public com.google.protobuf.ByteString getFormatted() { - return formatted_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!formatted_.isEmpty()) { - output.writeBytes(1, formatted_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!formatted_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, formatted_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.FormatCode_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.FormatCode_Result other = (com.kcl.api.Spec.FormatCode_Result) obj; - - if (!getFormatted().equals(other.getFormatted())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + FORMATTED_FIELD_NUMBER; - hash = (53 * hash) + getFormatted().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.FormatCode_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatCode_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatCode_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatCode_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatCode_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatCode_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatCode_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatCode_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatCode_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatCode_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatCode_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatCode_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.FormatCode_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for format code response.
-         * 
- * - * Protobuf type {@code com.kcl.api.FormatCode_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatCode_Result) - com.kcl.api.Spec.FormatCode_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.FormatCode_Result.class, - com.kcl.api.Spec.FormatCode_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.FormatCode_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - formatted_ = com.google.protobuf.ByteString.EMPTY; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatCode_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.FormatCode_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.FormatCode_Result build() { - com.kcl.api.Spec.FormatCode_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatCode_Result buildPartial() { - com.kcl.api.Spec.FormatCode_Result result = new com.kcl.api.Spec.FormatCode_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.FormatCode_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.formatted_ = formatted_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.FormatCode_Result) { - return mergeFrom((com.kcl.api.Spec.FormatCode_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.FormatCode_Result other) { - if (other == com.kcl.api.Spec.FormatCode_Result.getDefaultInstance()) - return this; - if (other.getFormatted() != com.google.protobuf.ByteString.EMPTY) { - setFormatted(other.getFormatted()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - formatted_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.google.protobuf.ByteString formatted_ = com.google.protobuf.ByteString.EMPTY; - - /** - *
-             * Formatted code as bytes.
-             * 
- * - * bytes formatted = 1; - * - * @return The formatted. - */ - @java.lang.Override - public com.google.protobuf.ByteString getFormatted() { - return formatted_; - } - - /** - *
-             * Formatted code as bytes.
-             * 
- * - * bytes formatted = 1; - * - * @param value - * The formatted to set. - * - * @return This builder for chaining. - */ - public Builder setFormatted(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - formatted_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Formatted code as bytes.
-             * 
- * - * bytes formatted = 1; - * - * @return This builder for chaining. - */ - public Builder clearFormatted() { - bitField0_ = (bitField0_ & ~0x00000001); - formatted_ = getDefaultInstance().getFormatted(); - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatCode_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.FormatCode_Result) - private static final com.kcl.api.Spec.FormatCode_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatCode_Result(); - } - - public static com.kcl.api.Spec.FormatCode_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FormatCode_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatCode_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface FormatPath_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatPath_Args) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Path of the file to format.
-         * 
- * - * string path = 1; - * - * @return The path. - */ - java.lang.String getPath(); - - /** - *
-         * Path of the file to format.
-         * 
- * - * string path = 1; - * - * @return The bytes for path. - */ - com.google.protobuf.ByteString getPathBytes(); - } - - /** - *
-     * Message for format file path request arguments.
-     * 
- * - * Protobuf type {@code com.kcl.api.FormatPath_Args} - */ - public static final class FormatPath_Args extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.FormatPath_Args) - FormatPath_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", FormatPath_Args.class.getName()); - } - - // Use FormatPath_Args.newBuilder() to construct. - private FormatPath_Args(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private FormatPath_Args() { - path_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.FormatPath_Args.class, - com.kcl.api.Spec.FormatPath_Args.Builder.class); - } - - public static final int PATH_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object path_ = ""; - - /** - *
-         * Path of the file to format.
-         * 
- * - * string path = 1; - * - * @return The path. - */ - @java.lang.Override - public java.lang.String getPath() { - java.lang.Object ref = path_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - path_ = s; - return s; - } - } - - /** - *
-         * Path of the file to format.
-         * 
- * - * string path = 1; - * - * @return The bytes for path. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { - java.lang.Object ref = path_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - path_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(path_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, path_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(path_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, path_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.FormatPath_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.FormatPath_Args other = (com.kcl.api.Spec.FormatPath_Args) obj; - - if (!getPath().equals(other.getPath())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PATH_FIELD_NUMBER; - hash = (53 * hash) + getPath().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.FormatPath_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatPath_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatPath_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatPath_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatPath_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatPath_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatPath_Args parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatPath_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatPath_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatPath_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatPath_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatPath_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.FormatPath_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for format file path request arguments.
-         * 
- * - * Protobuf type {@code com.kcl.api.FormatPath_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatPath_Args) - com.kcl.api.Spec.FormatPath_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.FormatPath_Args.class, - com.kcl.api.Spec.FormatPath_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.FormatPath_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - path_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatPath_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.FormatPath_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.FormatPath_Args build() { - com.kcl.api.Spec.FormatPath_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatPath_Args buildPartial() { - com.kcl.api.Spec.FormatPath_Args result = new com.kcl.api.Spec.FormatPath_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.FormatPath_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.path_ = path_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.FormatPath_Args) { - return mergeFrom((com.kcl.api.Spec.FormatPath_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.FormatPath_Args other) { - if (other == com.kcl.api.Spec.FormatPath_Args.getDefaultInstance()) - return this; - if (!other.getPath().isEmpty()) { - path_ = other.path_; - bitField0_ |= 0x00000001; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - path_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object path_ = ""; - - /** - *
-             * Path of the file to format.
-             * 
- * - * string path = 1; - * - * @return The path. - */ - public java.lang.String getPath() { - java.lang.Object ref = path_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - path_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Path of the file to format.
-             * 
- * - * string path = 1; - * - * @return The bytes for path. - */ - public com.google.protobuf.ByteString getPathBytes() { - java.lang.Object ref = path_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - path_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Path of the file to format.
-             * 
- * - * string path = 1; - * - * @param value - * The path to set. - * - * @return This builder for chaining. - */ - public Builder setPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - path_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Path of the file to format.
-             * 
- * - * string path = 1; - * - * @return This builder for chaining. - */ - public Builder clearPath() { - path_ = getDefaultInstance().getPath(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * Path of the file to format.
-             * 
- * - * string path = 1; - * - * @param value - * The bytes for path to set. - * - * @return This builder for chaining. - */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - path_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatPath_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.FormatPath_Args) - private static final com.kcl.api.Spec.FormatPath_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatPath_Args(); - } - - public static com.kcl.api.Spec.FormatPath_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FormatPath_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatPath_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface FormatPath_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatPath_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * List of changed file paths.
-         * 
- * - * repeated string changed_paths = 1; - * - * @return A list containing the changedPaths. - */ - java.util.List getChangedPathsList(); - - /** - *
-         * List of changed file paths.
-         * 
- * - * repeated string changed_paths = 1; - * - * @return The count of changedPaths. - */ - int getChangedPathsCount(); - - /** - *
-         * List of changed file paths.
-         * 
- * - * repeated string changed_paths = 1; - * - * @param index - * The index of the element to return. - * - * @return The changedPaths at the given index. - */ - java.lang.String getChangedPaths(int index); - - /** - *
-         * List of changed file paths.
-         * 
- * - * repeated string changed_paths = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the changedPaths at the given index. - */ - com.google.protobuf.ByteString getChangedPathsBytes(int index); - } - - /** - *
-     * Message for format file path response.
-     * 
- * - * Protobuf type {@code com.kcl.api.FormatPath_Result} - */ - public static final class FormatPath_Result extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.FormatPath_Result) - FormatPath_ResultOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", FormatPath_Result.class.getName()); - } - - // Use FormatPath_Result.newBuilder() to construct. - private FormatPath_Result(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private FormatPath_Result() { - changedPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.FormatPath_Result.class, - com.kcl.api.Spec.FormatPath_Result.Builder.class); - } - - public static final int CHANGED_PATHS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList changedPaths_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - *
-         * List of changed file paths.
-         * 
- * - * repeated string changed_paths = 1; - * - * @return A list containing the changedPaths. - */ - public com.google.protobuf.ProtocolStringList getChangedPathsList() { - return changedPaths_; - } - - /** - *
-         * List of changed file paths.
-         * 
- * - * repeated string changed_paths = 1; - * - * @return The count of changedPaths. - */ - public int getChangedPathsCount() { - return changedPaths_.size(); - } - - /** - *
-         * List of changed file paths.
-         * 
- * - * repeated string changed_paths = 1; - * - * @param index - * The index of the element to return. - * - * @return The changedPaths at the given index. - */ - public java.lang.String getChangedPaths(int index) { - return changedPaths_.get(index); - } - - /** - *
-         * List of changed file paths.
-         * 
- * - * repeated string changed_paths = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the changedPaths at the given index. - */ - public com.google.protobuf.ByteString getChangedPathsBytes(int index) { - return changedPaths_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < changedPaths_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, changedPaths_.getRaw(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < changedPaths_.size(); i++) { - dataSize += computeStringSizeNoTag(changedPaths_.getRaw(i)); - } - size += dataSize; - size += 1 * getChangedPathsList().size(); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.FormatPath_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.FormatPath_Result other = (com.kcl.api.Spec.FormatPath_Result) obj; - - if (!getChangedPathsList().equals(other.getChangedPathsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getChangedPathsCount() > 0) { - hash = (37 * hash) + CHANGED_PATHS_FIELD_NUMBER; - hash = (53 * hash) + getChangedPathsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.FormatPath_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatPath_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatPath_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatPath_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatPath_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.FormatPath_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatPath_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatPath_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatPath_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatPath_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.FormatPath_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.FormatPath_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.FormatPath_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for format file path response.
-         * 
- * - * Protobuf type {@code com.kcl.api.FormatPath_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatPath_Result) - com.kcl.api.Spec.FormatPath_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.FormatPath_Result.class, - com.kcl.api.Spec.FormatPath_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.FormatPath_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - changedPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatPath_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.FormatPath_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.FormatPath_Result build() { - com.kcl.api.Spec.FormatPath_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatPath_Result buildPartial() { - com.kcl.api.Spec.FormatPath_Result result = new com.kcl.api.Spec.FormatPath_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.FormatPath_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - changedPaths_.makeImmutable(); - result.changedPaths_ = changedPaths_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.FormatPath_Result) { - return mergeFrom((com.kcl.api.Spec.FormatPath_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.FormatPath_Result other) { - if (other == com.kcl.api.Spec.FormatPath_Result.getDefaultInstance()) - return this; - if (!other.changedPaths_.isEmpty()) { - if (changedPaths_.isEmpty()) { - changedPaths_ = other.changedPaths_; - bitField0_ |= 0x00000001; - } else { - ensureChangedPathsIsMutable(); - changedPaths_.addAll(other.changedPaths_); - } - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureChangedPathsIsMutable(); - changedPaths_.add(s); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.google.protobuf.LazyStringArrayList changedPaths_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureChangedPathsIsMutable() { - if (!changedPaths_.isModifiable()) { - changedPaths_ = new com.google.protobuf.LazyStringArrayList(changedPaths_); - } - bitField0_ |= 0x00000001; - } - - /** - *
-             * List of changed file paths.
-             * 
- * - * repeated string changed_paths = 1; - * - * @return A list containing the changedPaths. - */ - public com.google.protobuf.ProtocolStringList getChangedPathsList() { - changedPaths_.makeImmutable(); - return changedPaths_; - } - - /** - *
-             * List of changed file paths.
-             * 
- * - * repeated string changed_paths = 1; - * - * @return The count of changedPaths. - */ - public int getChangedPathsCount() { - return changedPaths_.size(); - } - - /** - *
-             * List of changed file paths.
-             * 
- * - * repeated string changed_paths = 1; - * - * @param index - * The index of the element to return. - * - * @return The changedPaths at the given index. - */ - public java.lang.String getChangedPaths(int index) { - return changedPaths_.get(index); - } - - /** - *
-             * List of changed file paths.
-             * 
- * - * repeated string changed_paths = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the changedPaths at the given index. - */ - public com.google.protobuf.ByteString getChangedPathsBytes(int index) { - return changedPaths_.getByteString(index); - } - - /** - *
-             * List of changed file paths.
-             * 
- * - * repeated string changed_paths = 1; - * - * @param index - * The index to set the value at. - * @param value - * The changedPaths to set. - * - * @return This builder for chaining. - */ - public Builder setChangedPaths(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureChangedPathsIsMutable(); - changedPaths_.set(index, value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * List of changed file paths.
-             * 
- * - * repeated string changed_paths = 1; - * - * @param value - * The changedPaths to add. - * - * @return This builder for chaining. - */ - public Builder addChangedPaths(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureChangedPathsIsMutable(); - changedPaths_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * List of changed file paths.
-             * 
- * - * repeated string changed_paths = 1; - * - * @param values - * The changedPaths to add. - * - * @return This builder for chaining. - */ - public Builder addAllChangedPaths(java.lang.Iterable values) { - ensureChangedPathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, changedPaths_); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * List of changed file paths.
-             * 
- * - * repeated string changed_paths = 1; - * - * @return This builder for chaining. - */ - public Builder clearChangedPaths() { - changedPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; - onChanged(); - return this; - } - - /** - *
-             * List of changed file paths.
-             * 
- * - * repeated string changed_paths = 1; - * - * @param value - * The bytes of the changedPaths to add. - * - * @return This builder for chaining. - */ - public Builder addChangedPathsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureChangedPathsIsMutable(); - changedPaths_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatPath_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.FormatPath_Result) - private static final com.kcl.api.Spec.FormatPath_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatPath_Result(); - } - - public static com.kcl.api.Spec.FormatPath_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FormatPath_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.FormatPath_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LintPath_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.LintPath_Args) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Paths of the files to lint.
-         * 
- * - * repeated string paths = 1; - * - * @return A list containing the paths. - */ - java.util.List getPathsList(); - - /** - *
-         * Paths of the files to lint.
-         * 
- * - * repeated string paths = 1; - * - * @return The count of paths. - */ - int getPathsCount(); - - /** - *
-         * Paths of the files to lint.
-         * 
- * - * repeated string paths = 1; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - java.lang.String getPaths(int index); - - /** - *
-         * Paths of the files to lint.
-         * 
- * - * repeated string paths = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - com.google.protobuf.ByteString getPathsBytes(int index); - } - - /** - *
-     * Message for lint file path request arguments.
-     * 
- * - * Protobuf type {@code com.kcl.api.LintPath_Args} - */ - public static final class LintPath_Args extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.LintPath_Args) - LintPath_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", LintPath_Args.class.getName()); - } - - // Use LintPath_Args.newBuilder() to construct. - private LintPath_Args(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private LintPath_Args() { - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LintPath_Args.class, - com.kcl.api.Spec.LintPath_Args.Builder.class); - } - - public static final int PATHS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - *
-         * Paths of the files to lint.
-         * 
- * - * repeated string paths = 1; - * - * @return A list containing the paths. - */ - public com.google.protobuf.ProtocolStringList getPathsList() { - return paths_; - } - - /** - *
-         * Paths of the files to lint.
-         * 
- * - * repeated string paths = 1; - * - * @return The count of paths. - */ - public int getPathsCount() { - return paths_.size(); - } - - /** - *
-         * Paths of the files to lint.
-         * 
- * - * repeated string paths = 1; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - public java.lang.String getPaths(int index) { - return paths_.get(index); - } - - /** - *
-         * Paths of the files to lint.
-         * 
- * - * repeated string paths = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - public com.google.protobuf.ByteString getPathsBytes(int index) { - return paths_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < paths_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, paths_.getRaw(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < paths_.size(); i++) { - dataSize += computeStringSizeNoTag(paths_.getRaw(i)); - } - size += dataSize; - size += 1 * getPathsList().size(); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.LintPath_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.LintPath_Args other = (com.kcl.api.Spec.LintPath_Args) obj; - - if (!getPathsList().equals(other.getPathsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getPathsCount() > 0) { - hash = (37 * hash) + PATHS_FIELD_NUMBER; - hash = (53 * hash) + getPathsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.LintPath_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LintPath_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LintPath_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LintPath_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LintPath_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LintPath_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LintPath_Args parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LintPath_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.LintPath_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LintPath_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.LintPath_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LintPath_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.LintPath_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for lint file path request arguments.
-         * 
- * - * Protobuf type {@code com.kcl.api.LintPath_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.LintPath_Args) - com.kcl.api.Spec.LintPath_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LintPath_Args.class, - com.kcl.api.Spec.LintPath_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.LintPath_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.LintPath_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.LintPath_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.LintPath_Args build() { - com.kcl.api.Spec.LintPath_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.LintPath_Args buildPartial() { - com.kcl.api.Spec.LintPath_Args result = new com.kcl.api.Spec.LintPath_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.LintPath_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - paths_.makeImmutable(); - result.paths_ = paths_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.LintPath_Args) { - return mergeFrom((com.kcl.api.Spec.LintPath_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.LintPath_Args other) { - if (other == com.kcl.api.Spec.LintPath_Args.getDefaultInstance()) - return this; - if (!other.paths_.isEmpty()) { - if (paths_.isEmpty()) { - paths_ = other.paths_; - bitField0_ |= 0x00000001; - } else { - ensurePathsIsMutable(); - paths_.addAll(other.paths_); - } - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePathsIsMutable(); - paths_.add(s); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.google.protobuf.LazyStringArrayList paths_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensurePathsIsMutable() { - if (!paths_.isModifiable()) { - paths_ = new com.google.protobuf.LazyStringArrayList(paths_); - } - bitField0_ |= 0x00000001; - } - - /** - *
-             * Paths of the files to lint.
-             * 
- * - * repeated string paths = 1; - * - * @return A list containing the paths. - */ - public com.google.protobuf.ProtocolStringList getPathsList() { - paths_.makeImmutable(); - return paths_; - } - - /** - *
-             * Paths of the files to lint.
-             * 
- * - * repeated string paths = 1; - * - * @return The count of paths. - */ - public int getPathsCount() { - return paths_.size(); - } - - /** - *
-             * Paths of the files to lint.
-             * 
- * - * repeated string paths = 1; - * - * @param index - * The index of the element to return. - * - * @return The paths at the given index. - */ - public java.lang.String getPaths(int index) { - return paths_.get(index); - } - - /** - *
-             * Paths of the files to lint.
-             * 
- * - * repeated string paths = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the paths at the given index. - */ - public com.google.protobuf.ByteString getPathsBytes(int index) { - return paths_.getByteString(index); - } - - /** - *
-             * Paths of the files to lint.
-             * 
- * - * repeated string paths = 1; - * - * @param index - * The index to set the value at. - * @param value - * The paths to set. - * - * @return This builder for chaining. - */ - public Builder setPaths(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); - paths_.set(index, value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Paths of the files to lint.
-             * 
- * - * repeated string paths = 1; - * - * @param value - * The paths to add. - * - * @return This builder for chaining. - */ - public Builder addPaths(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); - paths_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Paths of the files to lint.
-             * 
- * - * repeated string paths = 1; - * - * @param values - * The paths to add. - * - * @return This builder for chaining. - */ - public Builder addAllPaths(java.lang.Iterable values) { - ensurePathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, paths_); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Paths of the files to lint.
-             * 
- * - * repeated string paths = 1; - * - * @return This builder for chaining. - */ - public Builder clearPaths() { - paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; - onChanged(); - return this; - } - - /** - *
-             * Paths of the files to lint.
-             * 
- * - * repeated string paths = 1; - * - * @param value - * The bytes of the paths to add. - * - * @return This builder for chaining. - */ - public Builder addPathsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensurePathsIsMutable(); - paths_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.LintPath_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.LintPath_Args) - private static final com.kcl.api.Spec.LintPath_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.LintPath_Args(); - } - - public static com.kcl.api.Spec.LintPath_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LintPath_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.LintPath_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LintPath_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.LintPath_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * List of lint results.
-         * 
- * - * repeated string results = 1; - * - * @return A list containing the results. - */ - java.util.List getResultsList(); - - /** - *
-         * List of lint results.
-         * 
- * - * repeated string results = 1; - * - * @return The count of results. - */ - int getResultsCount(); - - /** - *
-         * List of lint results.
-         * 
- * - * repeated string results = 1; - * - * @param index - * The index of the element to return. - * - * @return The results at the given index. - */ - java.lang.String getResults(int index); - - /** - *
-         * List of lint results.
-         * 
- * - * repeated string results = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the results at the given index. - */ - com.google.protobuf.ByteString getResultsBytes(int index); - } - - /** - *
-     * Message for lint file path response.
-     * 
- * - * Protobuf type {@code com.kcl.api.LintPath_Result} - */ - public static final class LintPath_Result extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.LintPath_Result) - LintPath_ResultOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", LintPath_Result.class.getName()); - } - - // Use LintPath_Result.newBuilder() to construct. - private LintPath_Result(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private LintPath_Result() { - results_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LintPath_Result.class, - com.kcl.api.Spec.LintPath_Result.Builder.class); - } - - public static final int RESULTS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList results_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - *
-         * List of lint results.
-         * 
- * - * repeated string results = 1; - * - * @return A list containing the results. - */ - public com.google.protobuf.ProtocolStringList getResultsList() { - return results_; - } - - /** - *
-         * List of lint results.
-         * 
- * - * repeated string results = 1; - * - * @return The count of results. - */ - public int getResultsCount() { - return results_.size(); - } - - /** - *
-         * List of lint results.
-         * 
- * - * repeated string results = 1; - * - * @param index - * The index of the element to return. - * - * @return The results at the given index. - */ - public java.lang.String getResults(int index) { - return results_.get(index); - } - - /** - *
-         * List of lint results.
-         * 
- * - * repeated string results = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the results at the given index. - */ - public com.google.protobuf.ByteString getResultsBytes(int index) { - return results_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < results_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, results_.getRaw(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < results_.size(); i++) { - dataSize += computeStringSizeNoTag(results_.getRaw(i)); - } - size += dataSize; - size += 1 * getResultsList().size(); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.LintPath_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.LintPath_Result other = (com.kcl.api.Spec.LintPath_Result) obj; - - if (!getResultsList().equals(other.getResultsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getResultsCount() > 0) { - hash = (37 * hash) + RESULTS_FIELD_NUMBER; - hash = (53 * hash) + getResultsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.LintPath_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LintPath_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LintPath_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LintPath_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LintPath_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LintPath_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LintPath_Result parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LintPath_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.LintPath_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LintPath_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.LintPath_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LintPath_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.LintPath_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for lint file path response.
-         * 
- * - * Protobuf type {@code com.kcl.api.LintPath_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.LintPath_Result) - com.kcl.api.Spec.LintPath_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LintPath_Result.class, - com.kcl.api.Spec.LintPath_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.LintPath_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - results_ = com.google.protobuf.LazyStringArrayList.emptyList(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.LintPath_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.LintPath_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.LintPath_Result build() { - com.kcl.api.Spec.LintPath_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.LintPath_Result buildPartial() { - com.kcl.api.Spec.LintPath_Result result = new com.kcl.api.Spec.LintPath_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.LintPath_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - results_.makeImmutable(); - result.results_ = results_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.LintPath_Result) { - return mergeFrom((com.kcl.api.Spec.LintPath_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.LintPath_Result other) { - if (other == com.kcl.api.Spec.LintPath_Result.getDefaultInstance()) - return this; - if (!other.results_.isEmpty()) { - if (results_.isEmpty()) { - results_ = other.results_; - bitField0_ |= 0x00000001; - } else { - ensureResultsIsMutable(); - results_.addAll(other.results_); - } - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureResultsIsMutable(); - results_.add(s); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.google.protobuf.LazyStringArrayList results_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureResultsIsMutable() { - if (!results_.isModifiable()) { - results_ = new com.google.protobuf.LazyStringArrayList(results_); - } - bitField0_ |= 0x00000001; - } - - /** - *
-             * List of lint results.
-             * 
- * - * repeated string results = 1; - * - * @return A list containing the results. - */ - public com.google.protobuf.ProtocolStringList getResultsList() { - results_.makeImmutable(); - return results_; - } - - /** - *
-             * List of lint results.
-             * 
- * - * repeated string results = 1; - * - * @return The count of results. - */ - public int getResultsCount() { - return results_.size(); - } - - /** - *
-             * List of lint results.
-             * 
- * - * repeated string results = 1; - * - * @param index - * The index of the element to return. - * - * @return The results at the given index. - */ - public java.lang.String getResults(int index) { - return results_.get(index); - } - - /** - *
-             * List of lint results.
-             * 
- * - * repeated string results = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the results at the given index. - */ - public com.google.protobuf.ByteString getResultsBytes(int index) { - return results_.getByteString(index); - } - - /** - *
-             * List of lint results.
-             * 
- * - * repeated string results = 1; - * - * @param index - * The index to set the value at. - * @param value - * The results to set. - * - * @return This builder for chaining. - */ - public Builder setResults(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureResultsIsMutable(); - results_.set(index, value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * List of lint results.
-             * 
- * - * repeated string results = 1; - * - * @param value - * The results to add. - * - * @return This builder for chaining. - */ - public Builder addResults(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureResultsIsMutable(); - results_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * List of lint results.
-             * 
- * - * repeated string results = 1; - * - * @param values - * The results to add. - * - * @return This builder for chaining. - */ - public Builder addAllResults(java.lang.Iterable values) { - ensureResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, results_); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * List of lint results.
-             * 
- * - * repeated string results = 1; - * - * @return This builder for chaining. - */ - public Builder clearResults() { - results_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; - onChanged(); - return this; - } - - /** - *
-             * List of lint results.
-             * 
- * - * repeated string results = 1; - * - * @param value - * The bytes of the results to add. - * - * @return This builder for chaining. - */ - public Builder addResultsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureResultsIsMutable(); - results_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.LintPath_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.LintPath_Result) - private static final com.kcl.api.Spec.LintPath_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.LintPath_Result(); - } - - public static com.kcl.api.Spec.LintPath_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LintPath_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.LintPath_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface OverrideFile_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.OverrideFile_Args) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Path of the file to override.
-         * 
- * - * string file = 1; - * - * @return The file. - */ - java.lang.String getFile(); - - /** - *
-         * Path of the file to override.
-         * 
- * - * string file = 1; - * - * @return The bytes for file. - */ - com.google.protobuf.ByteString getFileBytes(); - - /** - *
-         * List of override specifications.
-         * 
- * - * repeated string specs = 2; - * - * @return A list containing the specs. - */ - java.util.List getSpecsList(); - - /** - *
-         * List of override specifications.
-         * 
- * - * repeated string specs = 2; - * - * @return The count of specs. - */ - int getSpecsCount(); - - /** - *
-         * List of override specifications.
-         * 
- * - * repeated string specs = 2; - * - * @param index - * The index of the element to return. - * - * @return The specs at the given index. - */ - java.lang.String getSpecs(int index); - - /** - *
-         * List of override specifications.
-         * 
- * - * repeated string specs = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the specs at the given index. - */ - com.google.protobuf.ByteString getSpecsBytes(int index); - - /** - *
-         * List of import paths.
-         * 
- * - * repeated string import_paths = 3; - * - * @return A list containing the importPaths. - */ - java.util.List getImportPathsList(); - - /** - *
-         * List of import paths.
-         * 
- * - * repeated string import_paths = 3; - * - * @return The count of importPaths. - */ - int getImportPathsCount(); - - /** - *
-         * List of import paths.
-         * 
- * - * repeated string import_paths = 3; - * - * @param index - * The index of the element to return. - * - * @return The importPaths at the given index. - */ - java.lang.String getImportPaths(int index); - - /** - *
-         * List of import paths.
-         * 
- * - * repeated string import_paths = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the importPaths at the given index. - */ - com.google.protobuf.ByteString getImportPathsBytes(int index); - } - - /** - *
-     * Message for override file request arguments.
-     * 
- * - * Protobuf type {@code com.kcl.api.OverrideFile_Args} - */ - public static final class OverrideFile_Args extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.OverrideFile_Args) - OverrideFile_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", OverrideFile_Args.class.getName()); - } - - // Use OverrideFile_Args.newBuilder() to construct. - private OverrideFile_Args(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private OverrideFile_Args() { - file_ = ""; - specs_ = com.google.protobuf.LazyStringArrayList.emptyList(); - importPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.OverrideFile_Args.class, - com.kcl.api.Spec.OverrideFile_Args.Builder.class); - } - - public static final int FILE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object file_ = ""; - - /** - *
-         * Path of the file to override.
-         * 
- * - * string file = 1; - * - * @return The file. - */ - @java.lang.Override - public java.lang.String getFile() { - java.lang.Object ref = file_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - file_ = s; - return s; - } - } - - /** - *
-         * Path of the file to override.
-         * 
- * - * string file = 1; - * - * @return The bytes for file. - */ - @java.lang.Override - public com.google.protobuf.ByteString getFileBytes() { - java.lang.Object ref = file_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - file_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SPECS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList specs_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - *
-         * List of override specifications.
-         * 
- * - * repeated string specs = 2; - * - * @return A list containing the specs. - */ - public com.google.protobuf.ProtocolStringList getSpecsList() { - return specs_; - } - - /** - *
-         * List of override specifications.
-         * 
- * - * repeated string specs = 2; - * - * @return The count of specs. - */ - public int getSpecsCount() { - return specs_.size(); - } - - /** - *
-         * List of override specifications.
-         * 
- * - * repeated string specs = 2; - * - * @param index - * The index of the element to return. - * - * @return The specs at the given index. - */ - public java.lang.String getSpecs(int index) { - return specs_.get(index); - } - - /** - *
-         * List of override specifications.
-         * 
- * - * repeated string specs = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the specs at the given index. - */ - public com.google.protobuf.ByteString getSpecsBytes(int index) { - return specs_.getByteString(index); - } - - public static final int IMPORT_PATHS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList importPaths_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - *
-         * List of import paths.
-         * 
- * - * repeated string import_paths = 3; - * - * @return A list containing the importPaths. - */ - public com.google.protobuf.ProtocolStringList getImportPathsList() { - return importPaths_; - } - - /** - *
-         * List of import paths.
-         * 
- * - * repeated string import_paths = 3; - * - * @return The count of importPaths. - */ - public int getImportPathsCount() { - return importPaths_.size(); - } - - /** - *
-         * List of import paths.
-         * 
- * - * repeated string import_paths = 3; - * - * @param index - * The index of the element to return. - * - * @return The importPaths at the given index. - */ - public java.lang.String getImportPaths(int index) { - return importPaths_.get(index); - } - - /** - *
-         * List of import paths.
-         * 
- * - * repeated string import_paths = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the importPaths at the given index. - */ - public com.google.protobuf.ByteString getImportPathsBytes(int index) { - return importPaths_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(file_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, file_); - } - for (int i = 0; i < specs_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, specs_.getRaw(i)); - } - for (int i = 0; i < importPaths_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, importPaths_.getRaw(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(file_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, file_); - } - { - int dataSize = 0; - for (int i = 0; i < specs_.size(); i++) { - dataSize += computeStringSizeNoTag(specs_.getRaw(i)); - } - size += dataSize; - size += 1 * getSpecsList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < importPaths_.size(); i++) { - dataSize += computeStringSizeNoTag(importPaths_.getRaw(i)); - } - size += dataSize; - size += 1 * getImportPathsList().size(); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.OverrideFile_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.OverrideFile_Args other = (com.kcl.api.Spec.OverrideFile_Args) obj; - - if (!getFile().equals(other.getFile())) - return false; - if (!getSpecsList().equals(other.getSpecsList())) - return false; - if (!getImportPathsList().equals(other.getImportPathsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + FILE_FIELD_NUMBER; - hash = (53 * hash) + getFile().hashCode(); - if (getSpecsCount() > 0) { - hash = (37 * hash) + SPECS_FIELD_NUMBER; - hash = (53 * hash) + getSpecsList().hashCode(); - } - if (getImportPathsCount() > 0) { - hash = (37 * hash) + IMPORT_PATHS_FIELD_NUMBER; - hash = (53 * hash) + getImportPathsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.OverrideFile_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.OverrideFile_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.OverrideFile_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.OverrideFile_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.OverrideFile_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.OverrideFile_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.OverrideFile_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.OverrideFile_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.OverrideFile_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.OverrideFile_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.OverrideFile_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.OverrideFile_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.OverrideFile_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for override file request arguments.
-         * 
- * - * Protobuf type {@code com.kcl.api.OverrideFile_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.OverrideFile_Args) - com.kcl.api.Spec.OverrideFile_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.OverrideFile_Args.class, - com.kcl.api.Spec.OverrideFile_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.OverrideFile_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - file_ = ""; - specs_ = com.google.protobuf.LazyStringArrayList.emptyList(); - importPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.OverrideFile_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.OverrideFile_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.OverrideFile_Args build() { - com.kcl.api.Spec.OverrideFile_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.OverrideFile_Args buildPartial() { - com.kcl.api.Spec.OverrideFile_Args result = new com.kcl.api.Spec.OverrideFile_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.OverrideFile_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.file_ = file_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - specs_.makeImmutable(); - result.specs_ = specs_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - importPaths_.makeImmutable(); - result.importPaths_ = importPaths_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.OverrideFile_Args) { - return mergeFrom((com.kcl.api.Spec.OverrideFile_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.OverrideFile_Args other) { - if (other == com.kcl.api.Spec.OverrideFile_Args.getDefaultInstance()) - return this; - if (!other.getFile().isEmpty()) { - file_ = other.file_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.specs_.isEmpty()) { - if (specs_.isEmpty()) { - specs_ = other.specs_; - bitField0_ |= 0x00000002; - } else { - ensureSpecsIsMutable(); - specs_.addAll(other.specs_); - } - onChanged(); - } - if (!other.importPaths_.isEmpty()) { - if (importPaths_.isEmpty()) { - importPaths_ = other.importPaths_; - bitField0_ |= 0x00000004; - } else { - ensureImportPathsIsMutable(); - importPaths_.addAll(other.importPaths_); - } - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - file_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureSpecsIsMutable(); - specs_.add(s); - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureImportPathsIsMutable(); - importPaths_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object file_ = ""; - - /** - *
-             * Path of the file to override.
-             * 
- * - * string file = 1; - * - * @return The file. - */ - public java.lang.String getFile() { - java.lang.Object ref = file_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - file_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Path of the file to override.
-             * 
- * - * string file = 1; - * - * @return The bytes for file. - */ - public com.google.protobuf.ByteString getFileBytes() { - java.lang.Object ref = file_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - file_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Path of the file to override.
-             * 
- * - * string file = 1; - * - * @param value - * The file to set. - * - * @return This builder for chaining. - */ - public Builder setFile(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - file_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Path of the file to override.
-             * 
- * - * string file = 1; - * - * @return This builder for chaining. - */ - public Builder clearFile() { - file_ = getDefaultInstance().getFile(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * Path of the file to override.
-             * 
- * - * string file = 1; - * - * @param value - * The bytes for file to set. - * - * @return This builder for chaining. - */ - public Builder setFileBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - file_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList specs_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureSpecsIsMutable() { - if (!specs_.isModifiable()) { - specs_ = new com.google.protobuf.LazyStringArrayList(specs_); - } - bitField0_ |= 0x00000002; - } - - /** - *
-             * List of override specifications.
-             * 
- * - * repeated string specs = 2; - * - * @return A list containing the specs. - */ - public com.google.protobuf.ProtocolStringList getSpecsList() { - specs_.makeImmutable(); - return specs_; - } - - /** - *
-             * List of override specifications.
-             * 
- * - * repeated string specs = 2; - * - * @return The count of specs. - */ - public int getSpecsCount() { - return specs_.size(); - } - - /** - *
-             * List of override specifications.
-             * 
- * - * repeated string specs = 2; - * - * @param index - * The index of the element to return. - * - * @return The specs at the given index. - */ - public java.lang.String getSpecs(int index) { - return specs_.get(index); - } - - /** - *
-             * List of override specifications.
-             * 
- * - * repeated string specs = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the specs at the given index. - */ - public com.google.protobuf.ByteString getSpecsBytes(int index) { - return specs_.getByteString(index); - } - - /** - *
-             * List of override specifications.
-             * 
- * - * repeated string specs = 2; - * - * @param index - * The index to set the value at. - * @param value - * The specs to set. - * - * @return This builder for chaining. - */ - public Builder setSpecs(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureSpecsIsMutable(); - specs_.set(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * List of override specifications.
-             * 
- * - * repeated string specs = 2; - * - * @param value - * The specs to add. - * - * @return This builder for chaining. - */ - public Builder addSpecs(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureSpecsIsMutable(); - specs_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * List of override specifications.
-             * 
- * - * repeated string specs = 2; - * - * @param values - * The specs to add. - * - * @return This builder for chaining. - */ - public Builder addAllSpecs(java.lang.Iterable values) { - ensureSpecsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, specs_); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * List of override specifications.
-             * 
- * - * repeated string specs = 2; - * - * @return This builder for chaining. - */ - public Builder clearSpecs() { - specs_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; - onChanged(); - return this; - } - - /** - *
-             * List of override specifications.
-             * 
- * - * repeated string specs = 2; - * - * @param value - * The bytes of the specs to add. - * - * @return This builder for chaining. - */ - public Builder addSpecsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureSpecsIsMutable(); - specs_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList importPaths_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureImportPathsIsMutable() { - if (!importPaths_.isModifiable()) { - importPaths_ = new com.google.protobuf.LazyStringArrayList(importPaths_); - } - bitField0_ |= 0x00000004; - } - - /** - *
-             * List of import paths.
-             * 
- * - * repeated string import_paths = 3; - * - * @return A list containing the importPaths. - */ - public com.google.protobuf.ProtocolStringList getImportPathsList() { - importPaths_.makeImmutable(); - return importPaths_; - } - - /** - *
-             * List of import paths.
-             * 
- * - * repeated string import_paths = 3; - * - * @return The count of importPaths. - */ - public int getImportPathsCount() { - return importPaths_.size(); - } - - /** - *
-             * List of import paths.
-             * 
- * - * repeated string import_paths = 3; - * - * @param index - * The index of the element to return. - * - * @return The importPaths at the given index. - */ - public java.lang.String getImportPaths(int index) { - return importPaths_.get(index); - } - - /** - *
-             * List of import paths.
-             * 
- * - * repeated string import_paths = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the importPaths at the given index. - */ - public com.google.protobuf.ByteString getImportPathsBytes(int index) { - return importPaths_.getByteString(index); - } - - /** - *
-             * List of import paths.
-             * 
- * - * repeated string import_paths = 3; - * - * @param index - * The index to set the value at. - * @param value - * The importPaths to set. - * - * @return This builder for chaining. - */ - public Builder setImportPaths(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureImportPathsIsMutable(); - importPaths_.set(index, value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * List of import paths.
-             * 
- * - * repeated string import_paths = 3; - * - * @param value - * The importPaths to add. - * - * @return This builder for chaining. - */ - public Builder addImportPaths(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureImportPathsIsMutable(); - importPaths_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * List of import paths.
-             * 
- * - * repeated string import_paths = 3; - * - * @param values - * The importPaths to add. - * - * @return This builder for chaining. - */ - public Builder addAllImportPaths(java.lang.Iterable values) { - ensureImportPathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, importPaths_); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * List of import paths.
-             * 
- * - * repeated string import_paths = 3; - * - * @return This builder for chaining. - */ - public Builder clearImportPaths() { - importPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; - onChanged(); - return this; - } - - /** - *
-             * List of import paths.
-             * 
- * - * repeated string import_paths = 3; - * - * @param value - * The bytes of the importPaths to add. - * - * @return This builder for chaining. - */ - public Builder addImportPathsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureImportPathsIsMutable(); - importPaths_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.OverrideFile_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.OverrideFile_Args) - private static final com.kcl.api.Spec.OverrideFile_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.OverrideFile_Args(); - } - - public static com.kcl.api.Spec.OverrideFile_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OverrideFile_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.OverrideFile_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface OverrideFile_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.OverrideFile_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Result of the override operation.
-         * 
- * - * bool result = 1; - * - * @return The result. - */ - boolean getResult(); - - /** - *
-         * List of parse errors encountered.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - java.util.List getParseErrorsList(); - - /** - *
-         * List of parse errors encountered.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - com.kcl.api.Spec.Error getParseErrors(int index); - - /** - *
-         * List of parse errors encountered.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - int getParseErrorsCount(); - - /** - *
-         * List of parse errors encountered.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - java.util.List getParseErrorsOrBuilderList(); - - /** - *
-         * List of parse errors encountered.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder(int index); - } - - /** - *
-     * Message for override file response.
-     * 
- * - * Protobuf type {@code com.kcl.api.OverrideFile_Result} - */ - public static final class OverrideFile_Result extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.OverrideFile_Result) - OverrideFile_ResultOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", OverrideFile_Result.class.getName()); - } - - // Use OverrideFile_Result.newBuilder() to construct. - private OverrideFile_Result(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private OverrideFile_Result() { - parseErrors_ = java.util.Collections.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.OverrideFile_Result.class, - com.kcl.api.Spec.OverrideFile_Result.Builder.class); - } - - public static final int RESULT_FIELD_NUMBER = 1; - private boolean result_ = false; - - /** - *
-         * Result of the override operation.
-         * 
- * - * bool result = 1; - * - * @return The result. - */ - @java.lang.Override - public boolean getResult() { - return result_; - } - - public static final int PARSE_ERRORS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private java.util.List parseErrors_; - - /** - *
-         * List of parse errors encountered.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - @java.lang.Override - public java.util.List getParseErrorsList() { - return parseErrors_; - } - - /** - *
-         * List of parse errors encountered.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - @java.lang.Override - public java.util.List getParseErrorsOrBuilderList() { - return parseErrors_; - } - - /** - *
-         * List of parse errors encountered.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - @java.lang.Override - public int getParseErrorsCount() { - return parseErrors_.size(); - } - - /** - *
-         * List of parse errors encountered.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.Error getParseErrors(int index) { - return parseErrors_.get(index); - } - - /** - *
-         * List of parse errors encountered.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder(int index) { - return parseErrors_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (result_ != false) { - output.writeBool(1, result_); - } - for (int i = 0; i < parseErrors_.size(); i++) { - output.writeMessage(2, parseErrors_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (result_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, result_); - } - for (int i = 0; i < parseErrors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, parseErrors_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.OverrideFile_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.OverrideFile_Result other = (com.kcl.api.Spec.OverrideFile_Result) obj; - - if (getResult() != other.getResult()) - return false; - if (!getParseErrorsList().equals(other.getParseErrorsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + RESULT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getResult()); - if (getParseErrorsCount() > 0) { - hash = (37 * hash) + PARSE_ERRORS_FIELD_NUMBER; - hash = (53 * hash) + getParseErrorsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.OverrideFile_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.OverrideFile_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.OverrideFile_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.OverrideFile_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.OverrideFile_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.OverrideFile_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.OverrideFile_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.OverrideFile_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.OverrideFile_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.OverrideFile_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.OverrideFile_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.OverrideFile_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.OverrideFile_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for override file response.
-         * 
- * - * Protobuf type {@code com.kcl.api.OverrideFile_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.OverrideFile_Result) - com.kcl.api.Spec.OverrideFile_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.OverrideFile_Result.class, - com.kcl.api.Spec.OverrideFile_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.OverrideFile_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - result_ = false; - if (parseErrorsBuilder_ == null) { - parseErrors_ = java.util.Collections.emptyList(); - } else { - parseErrors_ = null; - parseErrorsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.OverrideFile_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.OverrideFile_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.OverrideFile_Result build() { - com.kcl.api.Spec.OverrideFile_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.OverrideFile_Result buildPartial() { - com.kcl.api.Spec.OverrideFile_Result result = new com.kcl.api.Spec.OverrideFile_Result(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.OverrideFile_Result result) { - if (parseErrorsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - parseErrors_ = java.util.Collections.unmodifiableList(parseErrors_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.parseErrors_ = parseErrors_; - } else { - result.parseErrors_ = parseErrorsBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.OverrideFile_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.result_ = result_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.OverrideFile_Result) { - return mergeFrom((com.kcl.api.Spec.OverrideFile_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.OverrideFile_Result other) { - if (other == com.kcl.api.Spec.OverrideFile_Result.getDefaultInstance()) - return this; - if (other.getResult() != false) { - setResult(other.getResult()); - } - if (parseErrorsBuilder_ == null) { - if (!other.parseErrors_.isEmpty()) { - if (parseErrors_.isEmpty()) { - parseErrors_ = other.parseErrors_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureParseErrorsIsMutable(); - parseErrors_.addAll(other.parseErrors_); - } - onChanged(); - } - } else { - if (!other.parseErrors_.isEmpty()) { - if (parseErrorsBuilder_.isEmpty()) { - parseErrorsBuilder_.dispose(); - parseErrorsBuilder_ = null; - parseErrors_ = other.parseErrors_; - bitField0_ = (bitField0_ & ~0x00000002); - parseErrorsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getParseErrorsFieldBuilder() : null; - } else { - parseErrorsBuilder_.addAllMessages(other.parseErrors_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - result_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - com.kcl.api.Spec.Error m = input.readMessage(com.kcl.api.Spec.Error.parser(), - extensionRegistry); - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - parseErrors_.add(m); - } else { - parseErrorsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private boolean result_; - - /** - *
-             * Result of the override operation.
-             * 
- * - * bool result = 1; - * - * @return The result. - */ - @java.lang.Override - public boolean getResult() { - return result_; - } - - /** - *
-             * Result of the override operation.
-             * 
- * - * bool result = 1; - * - * @param value - * The result to set. - * - * @return This builder for chaining. - */ - public Builder setResult(boolean value) { - - result_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Result of the override operation.
-             * 
- * - * bool result = 1; - * - * @return This builder for chaining. - */ - public Builder clearResult() { - bitField0_ = (bitField0_ & ~0x00000001); - result_ = false; - onChanged(); - return this; - } - - private java.util.List parseErrors_ = java.util.Collections.emptyList(); - - private void ensureParseErrorsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - parseErrors_ = new java.util.ArrayList(parseErrors_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilder parseErrorsBuilder_; - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - public java.util.List getParseErrorsList() { - if (parseErrorsBuilder_ == null) { - return java.util.Collections.unmodifiableList(parseErrors_); - } else { - return parseErrorsBuilder_.getMessageList(); - } - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - public int getParseErrorsCount() { - if (parseErrorsBuilder_ == null) { - return parseErrors_.size(); - } else { - return parseErrorsBuilder_.getCount(); - } - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - public com.kcl.api.Spec.Error getParseErrors(int index) { - if (parseErrorsBuilder_ == null) { - return parseErrors_.get(index); - } else { - return parseErrorsBuilder_.getMessage(index); - } - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - public Builder setParseErrors(int index, com.kcl.api.Spec.Error value) { - if (parseErrorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureParseErrorsIsMutable(); - parseErrors_.set(index, value); - onChanged(); - } else { - parseErrorsBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - public Builder setParseErrors(int index, com.kcl.api.Spec.Error.Builder builderForValue) { - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - parseErrors_.set(index, builderForValue.build()); - onChanged(); - } else { - parseErrorsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - public Builder addParseErrors(com.kcl.api.Spec.Error value) { - if (parseErrorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureParseErrorsIsMutable(); - parseErrors_.add(value); - onChanged(); - } else { - parseErrorsBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - public Builder addParseErrors(int index, com.kcl.api.Spec.Error value) { - if (parseErrorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureParseErrorsIsMutable(); - parseErrors_.add(index, value); - onChanged(); - } else { - parseErrorsBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - public Builder addParseErrors(com.kcl.api.Spec.Error.Builder builderForValue) { - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - parseErrors_.add(builderForValue.build()); - onChanged(); - } else { - parseErrorsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - public Builder addParseErrors(int index, com.kcl.api.Spec.Error.Builder builderForValue) { - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - parseErrors_.add(index, builderForValue.build()); - onChanged(); - } else { - parseErrorsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - public Builder addAllParseErrors(java.lang.Iterable values) { - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parseErrors_); - onChanged(); - } else { - parseErrorsBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - public Builder clearParseErrors() { - if (parseErrorsBuilder_ == null) { - parseErrors_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - parseErrorsBuilder_.clear(); - } - return this; - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - public Builder removeParseErrors(int index) { - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - parseErrors_.remove(index); - onChanged(); - } else { - parseErrorsBuilder_.remove(index); - } - return this; - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - public com.kcl.api.Spec.Error.Builder getParseErrorsBuilder(int index) { - return getParseErrorsFieldBuilder().getBuilder(index); - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - public com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder(int index) { - if (parseErrorsBuilder_ == null) { - return parseErrors_.get(index); - } else { - return parseErrorsBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - public java.util.List getParseErrorsOrBuilderList() { - if (parseErrorsBuilder_ != null) { - return parseErrorsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(parseErrors_); - } - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder() { - return getParseErrorsFieldBuilder().addBuilder(com.kcl.api.Spec.Error.getDefaultInstance()); - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder(int index) { - return getParseErrorsFieldBuilder().addBuilder(index, com.kcl.api.Spec.Error.getDefaultInstance()); - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 2; - */ - public java.util.List getParseErrorsBuilderList() { - return getParseErrorsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder getParseErrorsFieldBuilder() { - if (parseErrorsBuilder_ == null) { - parseErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - parseErrors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); - parseErrors_ = null; - } - return parseErrorsBuilder_; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.OverrideFile_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.OverrideFile_Result) - private static final com.kcl.api.Spec.OverrideFile_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.OverrideFile_Result(); - } - - public static com.kcl.api.Spec.OverrideFile_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OverrideFile_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.OverrideFile_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ListVariables_OptionsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ListVariables_Options) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Flag to merge program configuration.
-         * 
- * - * bool merge_program = 1; - * - * @return The mergeProgram. - */ - boolean getMergeProgram(); - } - - /** - *
-     * Message for list variables options.
-     * 
- * - * Protobuf type {@code com.kcl.api.ListVariables_Options} - */ - public static final class ListVariables_Options extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ListVariables_Options) - ListVariables_OptionsOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", ListVariables_Options.class.getName()); - } - - // Use ListVariables_Options.newBuilder() to construct. - private ListVariables_Options(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ListVariables_Options() { - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Options_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Options_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListVariables_Options.class, - com.kcl.api.Spec.ListVariables_Options.Builder.class); - } - - public static final int MERGE_PROGRAM_FIELD_NUMBER = 1; - private boolean mergeProgram_ = false; - - /** - *
-         * Flag to merge program configuration.
-         * 
- * - * bool merge_program = 1; - * - * @return The mergeProgram. - */ - @java.lang.Override - public boolean getMergeProgram() { - return mergeProgram_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (mergeProgram_ != false) { - output.writeBool(1, mergeProgram_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (mergeProgram_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, mergeProgram_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ListVariables_Options)) { - return super.equals(obj); - } - com.kcl.api.Spec.ListVariables_Options other = (com.kcl.api.Spec.ListVariables_Options) obj; - - if (getMergeProgram() != other.getMergeProgram()) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + MERGE_PROGRAM_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getMergeProgram()); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ListVariables_Options parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListVariables_Options parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListVariables_Options parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListVariables_Options parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListVariables_Options parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListVariables_Options parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListVariables_Options parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListVariables_Options parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ListVariables_Options parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListVariables_Options parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ListVariables_Options parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListVariables_Options parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ListVariables_Options prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for list variables options.
-         * 
- * - * Protobuf type {@code com.kcl.api.ListVariables_Options} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ListVariables_Options) - com.kcl.api.Spec.ListVariables_OptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Options_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Options_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListVariables_Options.class, - com.kcl.api.Spec.ListVariables_Options.Builder.class); - } - - // Construct using com.kcl.api.Spec.ListVariables_Options.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - mergeProgram_ = false; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Options_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ListVariables_Options getDefaultInstanceForType() { - return com.kcl.api.Spec.ListVariables_Options.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ListVariables_Options build() { - com.kcl.api.Spec.ListVariables_Options result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ListVariables_Options buildPartial() { - com.kcl.api.Spec.ListVariables_Options result = new com.kcl.api.Spec.ListVariables_Options(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.ListVariables_Options result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.mergeProgram_ = mergeProgram_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ListVariables_Options) { - return mergeFrom((com.kcl.api.Spec.ListVariables_Options) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ListVariables_Options other) { - if (other == com.kcl.api.Spec.ListVariables_Options.getDefaultInstance()) - return this; - if (other.getMergeProgram() != false) { - setMergeProgram(other.getMergeProgram()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - mergeProgram_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private boolean mergeProgram_; - - /** - *
-             * Flag to merge program configuration.
-             * 
- * - * bool merge_program = 1; - * - * @return The mergeProgram. - */ - @java.lang.Override - public boolean getMergeProgram() { - return mergeProgram_; - } - - /** - *
-             * Flag to merge program configuration.
-             * 
- * - * bool merge_program = 1; - * - * @param value - * The mergeProgram to set. - * - * @return This builder for chaining. - */ - public Builder setMergeProgram(boolean value) { - - mergeProgram_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Flag to merge program configuration.
-             * 
- * - * bool merge_program = 1; - * - * @return This builder for chaining. - */ - public Builder clearMergeProgram() { - bitField0_ = (bitField0_ & ~0x00000001); - mergeProgram_ = false; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ListVariables_Options) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ListVariables_Options) - private static final com.kcl.api.Spec.ListVariables_Options DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ListVariables_Options(); - } - - public static com.kcl.api.Spec.ListVariables_Options getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVariables_Options parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ListVariables_Options getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface VariableListOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.VariableList) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * List of variables.
-         * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - java.util.List getVariablesList(); - - /** - *
-         * List of variables.
-         * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - com.kcl.api.Spec.Variable getVariables(int index); - - /** - *
-         * List of variables.
-         * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - int getVariablesCount(); - - /** - *
-         * List of variables.
-         * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - java.util.List getVariablesOrBuilderList(); - - /** - *
-         * List of variables.
-         * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - com.kcl.api.Spec.VariableOrBuilder getVariablesOrBuilder(int index); - } - - /** - *
-     * Message representing a list of variables.
-     * 
- * - * Protobuf type {@code com.kcl.api.VariableList} - */ - public static final class VariableList extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.VariableList) - VariableListOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", VariableList.class.getName()); - } - - // Use VariableList.newBuilder() to construct. - private VariableList(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private VariableList() { - variables_ = java.util.Collections.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_VariableList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_VariableList_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.VariableList.class, - com.kcl.api.Spec.VariableList.Builder.class); - } - - public static final int VARIABLES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List variables_; - - /** - *
-         * List of variables.
-         * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - @java.lang.Override - public java.util.List getVariablesList() { - return variables_; - } - - /** - *
-         * List of variables.
-         * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - @java.lang.Override - public java.util.List getVariablesOrBuilderList() { - return variables_; - } - - /** - *
-         * List of variables.
-         * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - @java.lang.Override - public int getVariablesCount() { - return variables_.size(); - } - - /** - *
-         * List of variables.
-         * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.Variable getVariables(int index) { - return variables_.get(index); - } - - /** - *
-         * List of variables.
-         * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.VariableOrBuilder getVariablesOrBuilder(int index) { - return variables_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < variables_.size(); i++) { - output.writeMessage(1, variables_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - for (int i = 0; i < variables_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, variables_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.VariableList)) { - return super.equals(obj); - } - com.kcl.api.Spec.VariableList other = (com.kcl.api.Spec.VariableList) obj; - - if (!getVariablesList().equals(other.getVariablesList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getVariablesCount() > 0) { - hash = (37 * hash) + VARIABLES_FIELD_NUMBER; - hash = (53 * hash) + getVariablesList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.VariableList parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.VariableList parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.VariableList parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.VariableList parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.VariableList parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.VariableList parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.VariableList parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.VariableList parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.VariableList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.VariableList parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.VariableList parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.VariableList parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.VariableList prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message representing a list of variables.
-         * 
- * - * Protobuf type {@code com.kcl.api.VariableList} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.VariableList) - com.kcl.api.Spec.VariableListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_VariableList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_VariableList_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.VariableList.class, - com.kcl.api.Spec.VariableList.Builder.class); - } - - // Construct using com.kcl.api.Spec.VariableList.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - if (variablesBuilder_ == null) { - variables_ = java.util.Collections.emptyList(); - } else { - variables_ = null; - variablesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_VariableList_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.VariableList getDefaultInstanceForType() { - return com.kcl.api.Spec.VariableList.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.VariableList build() { - com.kcl.api.Spec.VariableList result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.VariableList buildPartial() { - com.kcl.api.Spec.VariableList result = new com.kcl.api.Spec.VariableList(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.VariableList result) { - if (variablesBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - variables_ = java.util.Collections.unmodifiableList(variables_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.variables_ = variables_; - } else { - result.variables_ = variablesBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.VariableList result) { - int from_bitField0_ = bitField0_; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.VariableList) { - return mergeFrom((com.kcl.api.Spec.VariableList) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.VariableList other) { - if (other == com.kcl.api.Spec.VariableList.getDefaultInstance()) - return this; - if (variablesBuilder_ == null) { - if (!other.variables_.isEmpty()) { - if (variables_.isEmpty()) { - variables_ = other.variables_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureVariablesIsMutable(); - variables_.addAll(other.variables_); - } - onChanged(); - } - } else { - if (!other.variables_.isEmpty()) { - if (variablesBuilder_.isEmpty()) { - variablesBuilder_.dispose(); - variablesBuilder_ = null; - variables_ = other.variables_; - bitField0_ = (bitField0_ & ~0x00000001); - variablesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getVariablesFieldBuilder() : null; - } else { - variablesBuilder_.addAllMessages(other.variables_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.kcl.api.Spec.Variable m = input.readMessage(com.kcl.api.Spec.Variable.parser(), - extensionRegistry); - if (variablesBuilder_ == null) { - ensureVariablesIsMutable(); - variables_.add(m); - } else { - variablesBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.util.List variables_ = java.util.Collections.emptyList(); - - private void ensureVariablesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - variables_ = new java.util.ArrayList(variables_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilder variablesBuilder_; - - /** - *
-             * List of variables.
-             * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - public java.util.List getVariablesList() { - if (variablesBuilder_ == null) { - return java.util.Collections.unmodifiableList(variables_); - } else { - return variablesBuilder_.getMessageList(); - } - } - - /** - *
-             * List of variables.
-             * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - public int getVariablesCount() { - if (variablesBuilder_ == null) { - return variables_.size(); - } else { - return variablesBuilder_.getCount(); - } - } - - /** - *
-             * List of variables.
-             * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - public com.kcl.api.Spec.Variable getVariables(int index) { - if (variablesBuilder_ == null) { - return variables_.get(index); - } else { - return variablesBuilder_.getMessage(index); - } - } - - /** - *
-             * List of variables.
-             * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - public Builder setVariables(int index, com.kcl.api.Spec.Variable value) { - if (variablesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariablesIsMutable(); - variables_.set(index, value); - onChanged(); - } else { - variablesBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * List of variables.
-             * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - public Builder setVariables(int index, com.kcl.api.Spec.Variable.Builder builderForValue) { - if (variablesBuilder_ == null) { - ensureVariablesIsMutable(); - variables_.set(index, builderForValue.build()); - onChanged(); - } else { - variablesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * List of variables.
-             * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - public Builder addVariables(com.kcl.api.Spec.Variable value) { - if (variablesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariablesIsMutable(); - variables_.add(value); - onChanged(); - } else { - variablesBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * List of variables.
-             * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - public Builder addVariables(int index, com.kcl.api.Spec.Variable value) { - if (variablesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariablesIsMutable(); - variables_.add(index, value); - onChanged(); - } else { - variablesBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * List of variables.
-             * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - public Builder addVariables(com.kcl.api.Spec.Variable.Builder builderForValue) { - if (variablesBuilder_ == null) { - ensureVariablesIsMutable(); - variables_.add(builderForValue.build()); - onChanged(); - } else { - variablesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * List of variables.
-             * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - public Builder addVariables(int index, com.kcl.api.Spec.Variable.Builder builderForValue) { - if (variablesBuilder_ == null) { - ensureVariablesIsMutable(); - variables_.add(index, builderForValue.build()); - onChanged(); - } else { - variablesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * List of variables.
-             * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - public Builder addAllVariables(java.lang.Iterable values) { - if (variablesBuilder_ == null) { - ensureVariablesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, variables_); - onChanged(); - } else { - variablesBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * List of variables.
-             * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - public Builder clearVariables() { - if (variablesBuilder_ == null) { - variables_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - variablesBuilder_.clear(); - } - return this; - } - - /** - *
-             * List of variables.
-             * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - public Builder removeVariables(int index) { - if (variablesBuilder_ == null) { - ensureVariablesIsMutable(); - variables_.remove(index); - onChanged(); - } else { - variablesBuilder_.remove(index); - } - return this; - } - - /** - *
-             * List of variables.
-             * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - public com.kcl.api.Spec.Variable.Builder getVariablesBuilder(int index) { - return getVariablesFieldBuilder().getBuilder(index); - } - - /** - *
-             * List of variables.
-             * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - public com.kcl.api.Spec.VariableOrBuilder getVariablesOrBuilder(int index) { - if (variablesBuilder_ == null) { - return variables_.get(index); - } else { - return variablesBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * List of variables.
-             * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - public java.util.List getVariablesOrBuilderList() { - if (variablesBuilder_ != null) { - return variablesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(variables_); - } - } - - /** - *
-             * List of variables.
-             * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - public com.kcl.api.Spec.Variable.Builder addVariablesBuilder() { - return getVariablesFieldBuilder().addBuilder(com.kcl.api.Spec.Variable.getDefaultInstance()); - } - - /** - *
-             * List of variables.
-             * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - public com.kcl.api.Spec.Variable.Builder addVariablesBuilder(int index) { - return getVariablesFieldBuilder().addBuilder(index, com.kcl.api.Spec.Variable.getDefaultInstance()); - } - - /** - *
-             * List of variables.
-             * 
- * - * repeated .com.kcl.api.Variable variables = 1; - */ - public java.util.List getVariablesBuilderList() { - return getVariablesFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder getVariablesFieldBuilder() { - if (variablesBuilder_ == null) { - variablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - variables_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - variables_ = null; - } - return variablesBuilder_; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.VariableList) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.VariableList) - private static final com.kcl.api.Spec.VariableList DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.VariableList(); - } - - public static com.kcl.api.Spec.VariableList getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VariableList parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.VariableList getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ListVariables_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ListVariables_Args) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Files to be processed.
-         * 
- * - * repeated string files = 1; - * - * @return A list containing the files. - */ - java.util.List getFilesList(); - - /** - *
-         * Files to be processed.
-         * 
- * - * repeated string files = 1; - * - * @return The count of files. - */ - int getFilesCount(); - - /** - *
-         * Files to be processed.
-         * 
- * - * repeated string files = 1; - * - * @param index - * The index of the element to return. - * - * @return The files at the given index. - */ - java.lang.String getFiles(int index); - - /** - *
-         * Files to be processed.
-         * 
- * - * repeated string files = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the files at the given index. - */ - com.google.protobuf.ByteString getFilesBytes(int index); - - /** - *
-         * Specifications for variables.
-         * 
- * - * repeated string specs = 2; - * - * @return A list containing the specs. - */ - java.util.List getSpecsList(); - - /** - *
-         * Specifications for variables.
-         * 
- * - * repeated string specs = 2; - * - * @return The count of specs. - */ - int getSpecsCount(); - - /** - *
-         * Specifications for variables.
-         * 
- * - * repeated string specs = 2; - * - * @param index - * The index of the element to return. - * - * @return The specs at the given index. - */ - java.lang.String getSpecs(int index); - - /** - *
-         * Specifications for variables.
-         * 
- * - * repeated string specs = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the specs at the given index. - */ - com.google.protobuf.ByteString getSpecsBytes(int index); - - /** - *
-         * Options for listing variables.
-         * 
- * - * .com.kcl.api.ListVariables_Options options = 3; - * - * @return Whether the options field is set. - */ - boolean hasOptions(); - - /** - *
-         * Options for listing variables.
-         * 
- * - * .com.kcl.api.ListVariables_Options options = 3; - * - * @return The options. - */ - com.kcl.api.Spec.ListVariables_Options getOptions(); - - /** - *
-         * Options for listing variables.
-         * 
- * - * .com.kcl.api.ListVariables_Options options = 3; - */ - com.kcl.api.Spec.ListVariables_OptionsOrBuilder getOptionsOrBuilder(); - } - - /** - *
-     * Message for list variables request arguments.
-     * 
- * - * Protobuf type {@code com.kcl.api.ListVariables_Args} - */ - public static final class ListVariables_Args extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ListVariables_Args) - ListVariables_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", ListVariables_Args.class.getName()); - } - - // Use ListVariables_Args.newBuilder() to construct. - private ListVariables_Args(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ListVariables_Args() { - files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - specs_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListVariables_Args.class, - com.kcl.api.Spec.ListVariables_Args.Builder.class); - } - - private int bitField0_; - public static final int FILES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - *
-         * Files to be processed.
-         * 
- * - * repeated string files = 1; - * - * @return A list containing the files. - */ - public com.google.protobuf.ProtocolStringList getFilesList() { - return files_; - } - - /** - *
-         * Files to be processed.
-         * 
- * - * repeated string files = 1; - * - * @return The count of files. - */ - public int getFilesCount() { - return files_.size(); - } - - /** - *
-         * Files to be processed.
-         * 
- * - * repeated string files = 1; - * - * @param index - * The index of the element to return. - * - * @return The files at the given index. - */ - public java.lang.String getFiles(int index) { - return files_.get(index); - } - - /** - *
-         * Files to be processed.
-         * 
- * - * repeated string files = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the files at the given index. - */ - public com.google.protobuf.ByteString getFilesBytes(int index) { - return files_.getByteString(index); - } - - public static final int SPECS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList specs_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - *
-         * Specifications for variables.
-         * 
- * - * repeated string specs = 2; - * - * @return A list containing the specs. - */ - public com.google.protobuf.ProtocolStringList getSpecsList() { - return specs_; - } - - /** - *
-         * Specifications for variables.
-         * 
- * - * repeated string specs = 2; - * - * @return The count of specs. - */ - public int getSpecsCount() { - return specs_.size(); - } - - /** - *
-         * Specifications for variables.
-         * 
- * - * repeated string specs = 2; - * - * @param index - * The index of the element to return. - * - * @return The specs at the given index. - */ - public java.lang.String getSpecs(int index) { - return specs_.get(index); - } - - /** - *
-         * Specifications for variables.
-         * 
- * - * repeated string specs = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the specs at the given index. - */ - public com.google.protobuf.ByteString getSpecsBytes(int index) { - return specs_.getByteString(index); - } - - public static final int OPTIONS_FIELD_NUMBER = 3; - private com.kcl.api.Spec.ListVariables_Options options_; - - /** - *
-         * Options for listing variables.
-         * 
- * - * .com.kcl.api.ListVariables_Options options = 3; - * - * @return Whether the options field is set. - */ - @java.lang.Override - public boolean hasOptions() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - *
-         * Options for listing variables.
-         * 
- * - * .com.kcl.api.ListVariables_Options options = 3; - * - * @return The options. - */ - @java.lang.Override - public com.kcl.api.Spec.ListVariables_Options getOptions() { - return options_ == null ? com.kcl.api.Spec.ListVariables_Options.getDefaultInstance() : options_; - } - - /** - *
-         * Options for listing variables.
-         * 
- * - * .com.kcl.api.ListVariables_Options options = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.ListVariables_OptionsOrBuilder getOptionsOrBuilder() { - return options_ == null ? com.kcl.api.Spec.ListVariables_Options.getDefaultInstance() : options_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < files_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, files_.getRaw(i)); - } - for (int i = 0; i < specs_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, specs_.getRaw(i)); - } - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(3, getOptions()); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < files_.size(); i++) { - dataSize += computeStringSizeNoTag(files_.getRaw(i)); - } - size += dataSize; - size += 1 * getFilesList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < specs_.size(); i++) { - dataSize += computeStringSizeNoTag(specs_.getRaw(i)); - } - size += dataSize; - size += 1 * getSpecsList().size(); - } - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOptions()); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ListVariables_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.ListVariables_Args other = (com.kcl.api.Spec.ListVariables_Args) obj; - - if (!getFilesList().equals(other.getFilesList())) - return false; - if (!getSpecsList().equals(other.getSpecsList())) - return false; - if (hasOptions() != other.hasOptions()) - return false; - if (hasOptions()) { - if (!getOptions().equals(other.getOptions())) - return false; - } - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getFilesCount() > 0) { - hash = (37 * hash) + FILES_FIELD_NUMBER; - hash = (53 * hash) + getFilesList().hashCode(); - } - if (getSpecsCount() > 0) { - hash = (37 * hash) + SPECS_FIELD_NUMBER; - hash = (53 * hash) + getSpecsList().hashCode(); - } - if (hasOptions()) { - hash = (37 * hash) + OPTIONS_FIELD_NUMBER; - hash = (53 * hash) + getOptions().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ListVariables_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListVariables_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListVariables_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListVariables_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListVariables_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListVariables_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListVariables_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListVariables_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ListVariables_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListVariables_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ListVariables_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListVariables_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ListVariables_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for list variables request arguments.
-         * 
- * - * Protobuf type {@code com.kcl.api.ListVariables_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ListVariables_Args) - com.kcl.api.Spec.ListVariables_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListVariables_Args.class, - com.kcl.api.Spec.ListVariables_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.ListVariables_Args.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - getOptionsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - specs_ = com.google.protobuf.LazyStringArrayList.emptyList(); - options_ = null; - if (optionsBuilder_ != null) { - optionsBuilder_.dispose(); - optionsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ListVariables_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ListVariables_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ListVariables_Args build() { - com.kcl.api.Spec.ListVariables_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ListVariables_Args buildPartial() { - com.kcl.api.Spec.ListVariables_Args result = new com.kcl.api.Spec.ListVariables_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.ListVariables_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - files_.makeImmutable(); - result.files_ = files_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - specs_.makeImmutable(); - result.specs_ = specs_; - } - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000004) != 0)) { - result.options_ = optionsBuilder_ == null ? options_ : optionsBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - result.bitField0_ |= to_bitField0_; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ListVariables_Args) { - return mergeFrom((com.kcl.api.Spec.ListVariables_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ListVariables_Args other) { - if (other == com.kcl.api.Spec.ListVariables_Args.getDefaultInstance()) - return this; - if (!other.files_.isEmpty()) { - if (files_.isEmpty()) { - files_ = other.files_; - bitField0_ |= 0x00000001; - } else { - ensureFilesIsMutable(); - files_.addAll(other.files_); - } - onChanged(); - } - if (!other.specs_.isEmpty()) { - if (specs_.isEmpty()) { - specs_ = other.specs_; - bitField0_ |= 0x00000002; - } else { - ensureSpecsIsMutable(); - specs_.addAll(other.specs_); - } - onChanged(); - } - if (other.hasOptions()) { - mergeOptions(other.getOptions()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureFilesIsMutable(); - files_.add(s); - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureSpecsIsMutable(); - specs_.add(s); - break; - } // case 18 - case 26: { - input.readMessage(getOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.google.protobuf.LazyStringArrayList files_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureFilesIsMutable() { - if (!files_.isModifiable()) { - files_ = new com.google.protobuf.LazyStringArrayList(files_); - } - bitField0_ |= 0x00000001; - } - - /** - *
-             * Files to be processed.
-             * 
- * - * repeated string files = 1; - * - * @return A list containing the files. - */ - public com.google.protobuf.ProtocolStringList getFilesList() { - files_.makeImmutable(); - return files_; - } - - /** - *
-             * Files to be processed.
-             * 
- * - * repeated string files = 1; - * - * @return The count of files. - */ - public int getFilesCount() { - return files_.size(); - } - - /** - *
-             * Files to be processed.
-             * 
- * - * repeated string files = 1; - * - * @param index - * The index of the element to return. - * - * @return The files at the given index. - */ - public java.lang.String getFiles(int index) { - return files_.get(index); - } - - /** - *
-             * Files to be processed.
-             * 
- * - * repeated string files = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the files at the given index. - */ - public com.google.protobuf.ByteString getFilesBytes(int index) { - return files_.getByteString(index); - } - - /** - *
-             * Files to be processed.
-             * 
- * - * repeated string files = 1; - * - * @param index - * The index to set the value at. - * @param value - * The files to set. - * - * @return This builder for chaining. - */ - public Builder setFiles(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureFilesIsMutable(); - files_.set(index, value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Files to be processed.
-             * 
- * - * repeated string files = 1; - * - * @param value - * The files to add. - * - * @return This builder for chaining. - */ - public Builder addFiles(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureFilesIsMutable(); - files_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Files to be processed.
-             * 
- * - * repeated string files = 1; - * - * @param values - * The files to add. - * - * @return This builder for chaining. - */ - public Builder addAllFiles(java.lang.Iterable values) { - ensureFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Files to be processed.
-             * 
- * - * repeated string files = 1; - * - * @return This builder for chaining. - */ - public Builder clearFiles() { - files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; - onChanged(); - return this; - } - - /** - *
-             * Files to be processed.
-             * 
- * - * repeated string files = 1; - * - * @param value - * The bytes of the files to add. - * - * @return This builder for chaining. - */ - public Builder addFilesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureFilesIsMutable(); - files_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList specs_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureSpecsIsMutable() { - if (!specs_.isModifiable()) { - specs_ = new com.google.protobuf.LazyStringArrayList(specs_); - } - bitField0_ |= 0x00000002; - } - - /** - *
-             * Specifications for variables.
-             * 
- * - * repeated string specs = 2; - * - * @return A list containing the specs. - */ - public com.google.protobuf.ProtocolStringList getSpecsList() { - specs_.makeImmutable(); - return specs_; - } - - /** - *
-             * Specifications for variables.
-             * 
- * - * repeated string specs = 2; - * - * @return The count of specs. - */ - public int getSpecsCount() { - return specs_.size(); - } - - /** - *
-             * Specifications for variables.
-             * 
- * - * repeated string specs = 2; - * - * @param index - * The index of the element to return. - * - * @return The specs at the given index. - */ - public java.lang.String getSpecs(int index) { - return specs_.get(index); - } - - /** - *
-             * Specifications for variables.
-             * 
- * - * repeated string specs = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the specs at the given index. - */ - public com.google.protobuf.ByteString getSpecsBytes(int index) { - return specs_.getByteString(index); - } - - /** - *
-             * Specifications for variables.
-             * 
- * - * repeated string specs = 2; - * - * @param index - * The index to set the value at. - * @param value - * The specs to set. - * - * @return This builder for chaining. - */ - public Builder setSpecs(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureSpecsIsMutable(); - specs_.set(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Specifications for variables.
-             * 
- * - * repeated string specs = 2; - * - * @param value - * The specs to add. - * - * @return This builder for chaining. - */ - public Builder addSpecs(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureSpecsIsMutable(); - specs_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Specifications for variables.
-             * 
- * - * repeated string specs = 2; - * - * @param values - * The specs to add. - * - * @return This builder for chaining. - */ - public Builder addAllSpecs(java.lang.Iterable values) { - ensureSpecsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, specs_); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Specifications for variables.
-             * 
- * - * repeated string specs = 2; - * - * @return This builder for chaining. - */ - public Builder clearSpecs() { - specs_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; - onChanged(); - return this; - } - - /** - *
-             * Specifications for variables.
-             * 
- * - * repeated string specs = 2; - * - * @param value - * The bytes of the specs to add. - * - * @return This builder for chaining. - */ - public Builder addSpecsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureSpecsIsMutable(); - specs_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private com.kcl.api.Spec.ListVariables_Options options_; - private com.google.protobuf.SingleFieldBuilder optionsBuilder_; - - /** - *
-             * Options for listing variables.
-             * 
- * - * .com.kcl.api.ListVariables_Options options = 3; - * - * @return Whether the options field is set. - */ - public boolean hasOptions() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - *
-             * Options for listing variables.
-             * 
- * - * .com.kcl.api.ListVariables_Options options = 3; - * - * @return The options. - */ - public com.kcl.api.Spec.ListVariables_Options getOptions() { - if (optionsBuilder_ == null) { - return options_ == null ? com.kcl.api.Spec.ListVariables_Options.getDefaultInstance() : options_; - } else { - return optionsBuilder_.getMessage(); - } - } - - /** - *
-             * Options for listing variables.
-             * 
- * - * .com.kcl.api.ListVariables_Options options = 3; - */ - public Builder setOptions(com.kcl.api.Spec.ListVariables_Options value) { - if (optionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - options_ = value; - } else { - optionsBuilder_.setMessage(value); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * Options for listing variables.
-             * 
- * - * .com.kcl.api.ListVariables_Options options = 3; - */ - public Builder setOptions(com.kcl.api.Spec.ListVariables_Options.Builder builderForValue) { - if (optionsBuilder_ == null) { - options_ = builderForValue.build(); - } else { - optionsBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * Options for listing variables.
-             * 
- * - * .com.kcl.api.ListVariables_Options options = 3; - */ - public Builder mergeOptions(com.kcl.api.Spec.ListVariables_Options value) { - if (optionsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && options_ != null - && options_ != com.kcl.api.Spec.ListVariables_Options.getDefaultInstance()) { - getOptionsBuilder().mergeFrom(value); - } else { - options_ = value; - } - } else { - optionsBuilder_.mergeFrom(value); - } - if (options_ != null) { - bitField0_ |= 0x00000004; - onChanged(); - } - return this; - } - - /** - *
-             * Options for listing variables.
-             * 
- * - * .com.kcl.api.ListVariables_Options options = 3; - */ - public Builder clearOptions() { - bitField0_ = (bitField0_ & ~0x00000004); - options_ = null; - if (optionsBuilder_ != null) { - optionsBuilder_.dispose(); - optionsBuilder_ = null; - } - onChanged(); - return this; - } - - /** - *
-             * Options for listing variables.
-             * 
- * - * .com.kcl.api.ListVariables_Options options = 3; - */ - public com.kcl.api.Spec.ListVariables_Options.Builder getOptionsBuilder() { - bitField0_ |= 0x00000004; - onChanged(); - return getOptionsFieldBuilder().getBuilder(); - } - - /** - *
-             * Options for listing variables.
-             * 
- * - * .com.kcl.api.ListVariables_Options options = 3; - */ - public com.kcl.api.Spec.ListVariables_OptionsOrBuilder getOptionsOrBuilder() { - if (optionsBuilder_ != null) { - return optionsBuilder_.getMessageOrBuilder(); - } else { - return options_ == null ? com.kcl.api.Spec.ListVariables_Options.getDefaultInstance() : options_; - } - } - - /** - *
-             * Options for listing variables.
-             * 
- * - * .com.kcl.api.ListVariables_Options options = 3; - */ - private com.google.protobuf.SingleFieldBuilder getOptionsFieldBuilder() { - if (optionsBuilder_ == null) { - optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder( - getOptions(), getParentForChildren(), isClean()); - options_ = null; - } - return optionsBuilder_; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ListVariables_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ListVariables_Args) - private static final com.kcl.api.Spec.ListVariables_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ListVariables_Args(); - } - - public static com.kcl.api.Spec.ListVariables_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVariables_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ListVariables_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ListVariables_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ListVariables_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Map of variable lists by file.
-         * 
- * - * map<string, .com.kcl.api.VariableList> variables = 1; - */ - int getVariablesCount(); - - /** - *
-         * Map of variable lists by file.
-         * 
- * - * map<string, .com.kcl.api.VariableList> variables = 1; - */ - boolean containsVariables(java.lang.String key); - - /** - * Use {@link #getVariablesMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getVariables(); - - /** - *
-         * Map of variable lists by file.
-         * 
- * - * map<string, .com.kcl.api.VariableList> variables = 1; - */ - java.util.Map getVariablesMap(); - - /** - *
-         * Map of variable lists by file.
-         * 
- * - * map<string, .com.kcl.api.VariableList> variables = 1; - */ - /* nullable */ - com.kcl.api.Spec.VariableList getVariablesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.VariableList defaultValue); - - /** - *
-         * Map of variable lists by file.
-         * 
- * - * map<string, .com.kcl.api.VariableList> variables = 1; - */ - com.kcl.api.Spec.VariableList getVariablesOrThrow(java.lang.String key); - - /** - *
-         * List of unsupported codes.
-         * 
- * - * repeated string unsupported_codes = 2; - * - * @return A list containing the unsupportedCodes. - */ - java.util.List getUnsupportedCodesList(); - - /** - *
-         * List of unsupported codes.
-         * 
- * - * repeated string unsupported_codes = 2; - * - * @return The count of unsupportedCodes. - */ - int getUnsupportedCodesCount(); - - /** - *
-         * List of unsupported codes.
-         * 
- * - * repeated string unsupported_codes = 2; - * - * @param index - * The index of the element to return. - * - * @return The unsupportedCodes at the given index. - */ - java.lang.String getUnsupportedCodes(int index); - - /** - *
-         * List of unsupported codes.
-         * 
- * - * repeated string unsupported_codes = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the unsupportedCodes at the given index. - */ - com.google.protobuf.ByteString getUnsupportedCodesBytes(int index); - - /** - *
-         * List of parse errors encountered.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - java.util.List getParseErrorsList(); - - /** - *
-         * List of parse errors encountered.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - com.kcl.api.Spec.Error getParseErrors(int index); - - /** - *
-         * List of parse errors encountered.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - int getParseErrorsCount(); - - /** - *
-         * List of parse errors encountered.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - java.util.List getParseErrorsOrBuilderList(); - - /** - *
-         * List of parse errors encountered.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder(int index); - } - - /** - *
-     * Message for list variables response.
-     * 
- * - * Protobuf type {@code com.kcl.api.ListVariables_Result} - */ - public static final class ListVariables_Result extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ListVariables_Result) - ListVariables_ResultOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", ListVariables_Result.class.getName()); - } - - // Use ListVariables_Result.newBuilder() to construct. - private ListVariables_Result(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ListVariables_Result() { - unsupportedCodes_ = com.google.protobuf.LazyStringArrayList.emptyList(); - parseErrors_ = java.util.Collections.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_descriptor; - } - - @SuppressWarnings({ "rawtypes" }) - @java.lang.Override - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 1: - return internalGetVariables(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListVariables_Result.class, - com.kcl.api.Spec.ListVariables_Result.Builder.class); - } - - public static final int VARIABLES_FIELD_NUMBER = 1; - - private static final class VariablesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.kcl.api.Spec.VariableList.getDefaultInstance()); - } - - @SuppressWarnings("serial") - private com.google.protobuf.MapField variables_; - - private com.google.protobuf.MapField internalGetVariables() { - if (variables_ == null) { - return com.google.protobuf.MapField.emptyMapField(VariablesDefaultEntryHolder.defaultEntry); - } - return variables_; - } - - public int getVariablesCount() { - return internalGetVariables().getMap().size(); - } - - /** - *
-         * Map of variable lists by file.
-         * 
- * - * map<string, .com.kcl.api.VariableList> variables = 1; - */ - @java.lang.Override - public boolean containsVariables(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetVariables().getMap().containsKey(key); - } - - /** - * Use {@link #getVariablesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getVariables() { - return getVariablesMap(); - } - - /** - *
-         * Map of variable lists by file.
-         * 
- * - * map<string, .com.kcl.api.VariableList> variables = 1; - */ - @java.lang.Override - public java.util.Map getVariablesMap() { - return internalGetVariables().getMap(); - } - - /** - *
-         * Map of variable lists by file.
-         * 
- * - * map<string, .com.kcl.api.VariableList> variables = 1; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.VariableList getVariablesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.VariableList defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetVariables().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - - /** - *
-         * Map of variable lists by file.
-         * 
- * - * map<string, .com.kcl.api.VariableList> variables = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.VariableList getVariablesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetVariables().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int UNSUPPORTED_CODES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList unsupportedCodes_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - *
-         * List of unsupported codes.
-         * 
- * - * repeated string unsupported_codes = 2; - * - * @return A list containing the unsupportedCodes. - */ - public com.google.protobuf.ProtocolStringList getUnsupportedCodesList() { - return unsupportedCodes_; - } - - /** - *
-         * List of unsupported codes.
-         * 
- * - * repeated string unsupported_codes = 2; - * - * @return The count of unsupportedCodes. - */ - public int getUnsupportedCodesCount() { - return unsupportedCodes_.size(); - } - - /** - *
-         * List of unsupported codes.
-         * 
- * - * repeated string unsupported_codes = 2; - * - * @param index - * The index of the element to return. - * - * @return The unsupportedCodes at the given index. - */ - public java.lang.String getUnsupportedCodes(int index) { - return unsupportedCodes_.get(index); - } - - /** - *
-         * List of unsupported codes.
-         * 
- * - * repeated string unsupported_codes = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the unsupportedCodes at the given index. - */ - public com.google.protobuf.ByteString getUnsupportedCodesBytes(int index) { - return unsupportedCodes_.getByteString(index); - } - - public static final int PARSE_ERRORS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private java.util.List parseErrors_; - - /** - *
-         * List of parse errors encountered.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - @java.lang.Override - public java.util.List getParseErrorsList() { - return parseErrors_; - } - - /** - *
-         * List of parse errors encountered.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - @java.lang.Override - public java.util.List getParseErrorsOrBuilderList() { - return parseErrors_; - } - - /** - *
-         * List of parse errors encountered.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - @java.lang.Override - public int getParseErrorsCount() { - return parseErrors_.size(); - } - - /** - *
-         * List of parse errors encountered.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.Error getParseErrors(int index) { - return parseErrors_.get(index); - } - - /** - *
-         * List of parse errors encountered.
-         * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder(int index) { - return parseErrors_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - com.google.protobuf.GeneratedMessage.serializeStringMapTo(output, internalGetVariables(), - VariablesDefaultEntryHolder.defaultEntry, 1); - for (int i = 0; i < unsupportedCodes_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, unsupportedCodes_.getRaw(i)); - } - for (int i = 0; i < parseErrors_.size(); i++) { - output.writeMessage(3, parseErrors_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - for (java.util.Map.Entry entry : internalGetVariables() - .getMap().entrySet()) { - com.google.protobuf.MapEntry variables__ = VariablesDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, variables__); - } - { - int dataSize = 0; - for (int i = 0; i < unsupportedCodes_.size(); i++) { - dataSize += computeStringSizeNoTag(unsupportedCodes_.getRaw(i)); - } - size += dataSize; - size += 1 * getUnsupportedCodesList().size(); - } - for (int i = 0; i < parseErrors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, parseErrors_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ListVariables_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.ListVariables_Result other = (com.kcl.api.Spec.ListVariables_Result) obj; - - if (!internalGetVariables().equals(other.internalGetVariables())) - return false; - if (!getUnsupportedCodesList().equals(other.getUnsupportedCodesList())) - return false; - if (!getParseErrorsList().equals(other.getParseErrorsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (!internalGetVariables().getMap().isEmpty()) { - hash = (37 * hash) + VARIABLES_FIELD_NUMBER; - hash = (53 * hash) + internalGetVariables().hashCode(); - } - if (getUnsupportedCodesCount() > 0) { - hash = (37 * hash) + UNSUPPORTED_CODES_FIELD_NUMBER; - hash = (53 * hash) + getUnsupportedCodesList().hashCode(); - } - if (getParseErrorsCount() > 0) { - hash = (37 * hash) + PARSE_ERRORS_FIELD_NUMBER; - hash = (53 * hash) + getParseErrorsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ListVariables_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListVariables_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListVariables_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListVariables_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListVariables_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListVariables_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListVariables_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListVariables_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ListVariables_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListVariables_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ListVariables_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListVariables_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ListVariables_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for list variables response.
-         * 
- * - * Protobuf type {@code com.kcl.api.ListVariables_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ListVariables_Result) - com.kcl.api.Spec.ListVariables_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_descriptor; - } - - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 1: - return internalGetVariables(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) { - switch (number) { - case 1: - return internalGetMutableVariables(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListVariables_Result.class, - com.kcl.api.Spec.ListVariables_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.ListVariables_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - internalGetMutableVariables().clear(); - unsupportedCodes_ = com.google.protobuf.LazyStringArrayList.emptyList(); - if (parseErrorsBuilder_ == null) { - parseErrors_ = java.util.Collections.emptyList(); - } else { - parseErrors_ = null; - parseErrorsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ListVariables_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ListVariables_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ListVariables_Result build() { - com.kcl.api.Spec.ListVariables_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ListVariables_Result buildPartial() { - com.kcl.api.Spec.ListVariables_Result result = new com.kcl.api.Spec.ListVariables_Result(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.ListVariables_Result result) { - if (parseErrorsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - parseErrors_ = java.util.Collections.unmodifiableList(parseErrors_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.parseErrors_ = parseErrors_; - } else { - result.parseErrors_ = parseErrorsBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.ListVariables_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.variables_ = internalGetVariables().build(VariablesDefaultEntryHolder.defaultEntry); - } - if (((from_bitField0_ & 0x00000002) != 0)) { - unsupportedCodes_.makeImmutable(); - result.unsupportedCodes_ = unsupportedCodes_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ListVariables_Result) { - return mergeFrom((com.kcl.api.Spec.ListVariables_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ListVariables_Result other) { - if (other == com.kcl.api.Spec.ListVariables_Result.getDefaultInstance()) - return this; - internalGetMutableVariables().mergeFrom(other.internalGetVariables()); - bitField0_ |= 0x00000001; - if (!other.unsupportedCodes_.isEmpty()) { - if (unsupportedCodes_.isEmpty()) { - unsupportedCodes_ = other.unsupportedCodes_; - bitField0_ |= 0x00000002; - } else { - ensureUnsupportedCodesIsMutable(); - unsupportedCodes_.addAll(other.unsupportedCodes_); - } - onChanged(); - } - if (parseErrorsBuilder_ == null) { - if (!other.parseErrors_.isEmpty()) { - if (parseErrors_.isEmpty()) { - parseErrors_ = other.parseErrors_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureParseErrorsIsMutable(); - parseErrors_.addAll(other.parseErrors_); - } - onChanged(); - } - } else { - if (!other.parseErrors_.isEmpty()) { - if (parseErrorsBuilder_.isEmpty()) { - parseErrorsBuilder_.dispose(); - parseErrorsBuilder_ = null; - parseErrors_ = other.parseErrors_; - bitField0_ = (bitField0_ & ~0x00000004); - parseErrorsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getParseErrorsFieldBuilder() : null; - } else { - parseErrorsBuilder_.addAllMessages(other.parseErrors_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.MapEntry variables__ = input - .readMessage(VariablesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableVariables().ensureBuilderMap().put(variables__.getKey(), - variables__.getValue()); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnsupportedCodesIsMutable(); - unsupportedCodes_.add(s); - break; - } // case 18 - case 26: { - com.kcl.api.Spec.Error m = input.readMessage(com.kcl.api.Spec.Error.parser(), - extensionRegistry); - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - parseErrors_.add(m); - } else { - parseErrorsBuilder_.addMessage(m); - } - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private static final class VariablesConverter implements - com.google.protobuf.MapFieldBuilder.Converter { - @java.lang.Override - public com.kcl.api.Spec.VariableList build(com.kcl.api.Spec.VariableListOrBuilder val) { - if (val instanceof com.kcl.api.Spec.VariableList) { - return (com.kcl.api.Spec.VariableList) val; - } - return ((com.kcl.api.Spec.VariableList.Builder) val).build(); - } - - @java.lang.Override - public com.google.protobuf.MapEntry defaultEntry() { - return VariablesDefaultEntryHolder.defaultEntry; - } - }; - - private static final VariablesConverter variablesConverter = new VariablesConverter(); - - private com.google.protobuf.MapFieldBuilder variables_; - - private com.google.protobuf.MapFieldBuilder internalGetVariables() { - if (variables_ == null) { - return new com.google.protobuf.MapFieldBuilder<>(variablesConverter); - } - return variables_; - } - - private com.google.protobuf.MapFieldBuilder internalGetMutableVariables() { - if (variables_ == null) { - variables_ = new com.google.protobuf.MapFieldBuilder<>(variablesConverter); - } - bitField0_ |= 0x00000001; - onChanged(); - return variables_; - } - - public int getVariablesCount() { - return internalGetVariables().ensureBuilderMap().size(); - } - - /** - *
-             * Map of variable lists by file.
-             * 
- * - * map<string, .com.kcl.api.VariableList> variables = 1; - */ - @java.lang.Override - public boolean containsVariables(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetVariables().ensureBuilderMap().containsKey(key); - } - - /** - * Use {@link #getVariablesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getVariables() { - return getVariablesMap(); - } - - /** - *
-             * Map of variable lists by file.
-             * 
- * - * map<string, .com.kcl.api.VariableList> variables = 1; - */ - @java.lang.Override - public java.util.Map getVariablesMap() { - return internalGetVariables().getImmutableMap(); - } - - /** - *
-             * Map of variable lists by file.
-             * 
- * - * map<string, .com.kcl.api.VariableList> variables = 1; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.VariableList getVariablesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.VariableList defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableVariables() - .ensureBuilderMap(); - return map.containsKey(key) ? variablesConverter.build(map.get(key)) : defaultValue; - } - - /** - *
-             * Map of variable lists by file.
-             * 
- * - * map<string, .com.kcl.api.VariableList> variables = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.VariableList getVariablesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableVariables() - .ensureBuilderMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return variablesConverter.build(map.get(key)); - } - - public Builder clearVariables() { - bitField0_ = (bitField0_ & ~0x00000001); - internalGetMutableVariables().clear(); - return this; - } - - /** - *
-             * Map of variable lists by file.
-             * 
- * - * map<string, .com.kcl.api.VariableList> variables = 1; - */ - public Builder removeVariables(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableVariables().ensureBuilderMap().remove(key); - return this; - } - - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableVariables() { - bitField0_ |= 0x00000001; - return internalGetMutableVariables().ensureMessageMap(); - } - - /** - *
-             * Map of variable lists by file.
-             * 
- * - * map<string, .com.kcl.api.VariableList> variables = 1; - */ - public Builder putVariables(java.lang.String key, com.kcl.api.Spec.VariableList value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableVariables().ensureBuilderMap().put(key, value); - bitField0_ |= 0x00000001; - return this; - } - - /** - *
-             * Map of variable lists by file.
-             * 
- * - * map<string, .com.kcl.api.VariableList> variables = 1; - */ - public Builder putAllVariables(java.util.Map values) { - for (java.util.Map.Entry e : values.entrySet()) { - if (e.getKey() == null || e.getValue() == null) { - throw new NullPointerException(); - } - } - internalGetMutableVariables().ensureBuilderMap().putAll(values); - bitField0_ |= 0x00000001; - return this; - } - - /** - *
-             * Map of variable lists by file.
-             * 
- * - * map<string, .com.kcl.api.VariableList> variables = 1; - */ - public com.kcl.api.Spec.VariableList.Builder putVariablesBuilderIfAbsent(java.lang.String key) { - java.util.Map builderMap = internalGetMutableVariables() - .ensureBuilderMap(); - com.kcl.api.Spec.VariableListOrBuilder entry = builderMap.get(key); - if (entry == null) { - entry = com.kcl.api.Spec.VariableList.newBuilder(); - builderMap.put(key, entry); - } - if (entry instanceof com.kcl.api.Spec.VariableList) { - entry = ((com.kcl.api.Spec.VariableList) entry).toBuilder(); - builderMap.put(key, entry); - } - return (com.kcl.api.Spec.VariableList.Builder) entry; - } - - private com.google.protobuf.LazyStringArrayList unsupportedCodes_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureUnsupportedCodesIsMutable() { - if (!unsupportedCodes_.isModifiable()) { - unsupportedCodes_ = new com.google.protobuf.LazyStringArrayList(unsupportedCodes_); - } - bitField0_ |= 0x00000002; - } - - /** - *
-             * List of unsupported codes.
-             * 
- * - * repeated string unsupported_codes = 2; - * - * @return A list containing the unsupportedCodes. - */ - public com.google.protobuf.ProtocolStringList getUnsupportedCodesList() { - unsupportedCodes_.makeImmutable(); - return unsupportedCodes_; - } - - /** - *
-             * List of unsupported codes.
-             * 
- * - * repeated string unsupported_codes = 2; - * - * @return The count of unsupportedCodes. - */ - public int getUnsupportedCodesCount() { - return unsupportedCodes_.size(); - } - - /** - *
-             * List of unsupported codes.
-             * 
- * - * repeated string unsupported_codes = 2; - * - * @param index - * The index of the element to return. - * - * @return The unsupportedCodes at the given index. - */ - public java.lang.String getUnsupportedCodes(int index) { - return unsupportedCodes_.get(index); - } - - /** - *
-             * List of unsupported codes.
-             * 
- * - * repeated string unsupported_codes = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the unsupportedCodes at the given index. - */ - public com.google.protobuf.ByteString getUnsupportedCodesBytes(int index) { - return unsupportedCodes_.getByteString(index); - } - - /** - *
-             * List of unsupported codes.
-             * 
- * - * repeated string unsupported_codes = 2; - * - * @param index - * The index to set the value at. - * @param value - * The unsupportedCodes to set. - * - * @return This builder for chaining. - */ - public Builder setUnsupportedCodes(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureUnsupportedCodesIsMutable(); - unsupportedCodes_.set(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * List of unsupported codes.
-             * 
- * - * repeated string unsupported_codes = 2; - * - * @param value - * The unsupportedCodes to add. - * - * @return This builder for chaining. - */ - public Builder addUnsupportedCodes(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureUnsupportedCodesIsMutable(); - unsupportedCodes_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * List of unsupported codes.
-             * 
- * - * repeated string unsupported_codes = 2; - * - * @param values - * The unsupportedCodes to add. - * - * @return This builder for chaining. - */ - public Builder addAllUnsupportedCodes(java.lang.Iterable values) { - ensureUnsupportedCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unsupportedCodes_); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * List of unsupported codes.
-             * 
- * - * repeated string unsupported_codes = 2; - * - * @return This builder for chaining. - */ - public Builder clearUnsupportedCodes() { - unsupportedCodes_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; - onChanged(); - return this; - } - - /** - *
-             * List of unsupported codes.
-             * 
- * - * repeated string unsupported_codes = 2; - * - * @param value - * The bytes of the unsupportedCodes to add. - * - * @return This builder for chaining. - */ - public Builder addUnsupportedCodesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureUnsupportedCodesIsMutable(); - unsupportedCodes_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.util.List parseErrors_ = java.util.Collections.emptyList(); - - private void ensureParseErrorsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - parseErrors_ = new java.util.ArrayList(parseErrors_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilder parseErrorsBuilder_; - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public java.util.List getParseErrorsList() { - if (parseErrorsBuilder_ == null) { - return java.util.Collections.unmodifiableList(parseErrors_); - } else { - return parseErrorsBuilder_.getMessageList(); - } - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public int getParseErrorsCount() { - if (parseErrorsBuilder_ == null) { - return parseErrors_.size(); - } else { - return parseErrorsBuilder_.getCount(); - } - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public com.kcl.api.Spec.Error getParseErrors(int index) { - if (parseErrorsBuilder_ == null) { - return parseErrors_.get(index); - } else { - return parseErrorsBuilder_.getMessage(index); - } - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder setParseErrors(int index, com.kcl.api.Spec.Error value) { - if (parseErrorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureParseErrorsIsMutable(); - parseErrors_.set(index, value); - onChanged(); - } else { - parseErrorsBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder setParseErrors(int index, com.kcl.api.Spec.Error.Builder builderForValue) { - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - parseErrors_.set(index, builderForValue.build()); - onChanged(); - } else { - parseErrorsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder addParseErrors(com.kcl.api.Spec.Error value) { - if (parseErrorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureParseErrorsIsMutable(); - parseErrors_.add(value); - onChanged(); - } else { - parseErrorsBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder addParseErrors(int index, com.kcl.api.Spec.Error value) { - if (parseErrorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureParseErrorsIsMutable(); - parseErrors_.add(index, value); - onChanged(); - } else { - parseErrorsBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder addParseErrors(com.kcl.api.Spec.Error.Builder builderForValue) { - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - parseErrors_.add(builderForValue.build()); - onChanged(); - } else { - parseErrorsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder addParseErrors(int index, com.kcl.api.Spec.Error.Builder builderForValue) { - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - parseErrors_.add(index, builderForValue.build()); - onChanged(); - } else { - parseErrorsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder addAllParseErrors(java.lang.Iterable values) { - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parseErrors_); - onChanged(); - } else { - parseErrorsBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder clearParseErrors() { - if (parseErrorsBuilder_ == null) { - parseErrors_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - parseErrorsBuilder_.clear(); - } - return this; - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public Builder removeParseErrors(int index) { - if (parseErrorsBuilder_ == null) { - ensureParseErrorsIsMutable(); - parseErrors_.remove(index); - onChanged(); - } else { - parseErrorsBuilder_.remove(index); - } - return this; - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public com.kcl.api.Spec.Error.Builder getParseErrorsBuilder(int index) { - return getParseErrorsFieldBuilder().getBuilder(index); - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder(int index) { - if (parseErrorsBuilder_ == null) { - return parseErrors_.get(index); - } else { - return parseErrorsBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public java.util.List getParseErrorsOrBuilderList() { - if (parseErrorsBuilder_ != null) { - return parseErrorsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(parseErrors_); - } - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder() { - return getParseErrorsFieldBuilder().addBuilder(com.kcl.api.Spec.Error.getDefaultInstance()); - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder(int index) { - return getParseErrorsFieldBuilder().addBuilder(index, com.kcl.api.Spec.Error.getDefaultInstance()); - } - - /** - *
-             * List of parse errors encountered.
-             * 
- * - * repeated .com.kcl.api.Error parse_errors = 3; - */ - public java.util.List getParseErrorsBuilderList() { - return getParseErrorsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder getParseErrorsFieldBuilder() { - if (parseErrorsBuilder_ == null) { - parseErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - parseErrors_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); - parseErrors_ = null; - } - return parseErrorsBuilder_; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ListVariables_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ListVariables_Result) - private static final com.kcl.api.Spec.ListVariables_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ListVariables_Result(); - } - - public static com.kcl.api.Spec.ListVariables_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVariables_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ListVariables_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface VariableOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Variable) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Value of the variable.
-         * 
- * - * string value = 1; - * - * @return The value. - */ - java.lang.String getValue(); - - /** - *
-         * Value of the variable.
-         * 
- * - * string value = 1; - * - * @return The bytes for value. - */ - com.google.protobuf.ByteString getValueBytes(); - - /** - *
-         * Type name of the variable.
-         * 
- * - * string type_name = 2; - * - * @return The typeName. - */ - java.lang.String getTypeName(); - - /** - *
-         * Type name of the variable.
-         * 
- * - * string type_name = 2; - * - * @return The bytes for typeName. - */ - com.google.protobuf.ByteString getTypeNameBytes(); - - /** - *
-         * Operation symbol associated with the variable.
-         * 
- * - * string op_sym = 3; - * - * @return The opSym. - */ - java.lang.String getOpSym(); - - /** - *
-         * Operation symbol associated with the variable.
-         * 
- * - * string op_sym = 3; - * - * @return The bytes for opSym. - */ - com.google.protobuf.ByteString getOpSymBytes(); - - /** - *
-         * List items if the variable is a list.
-         * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - java.util.List getListItemsList(); - - /** - *
-         * List items if the variable is a list.
-         * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - com.kcl.api.Spec.Variable getListItems(int index); - - /** - *
-         * List items if the variable is a list.
-         * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - int getListItemsCount(); - - /** - *
-         * List items if the variable is a list.
-         * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - java.util.List getListItemsOrBuilderList(); - - /** - *
-         * List items if the variable is a list.
-         * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - com.kcl.api.Spec.VariableOrBuilder getListItemsOrBuilder(int index); - - /** - *
-         * Dictionary entries if the variable is a dictionary.
-         * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - java.util.List getDictEntriesList(); - - /** - *
-         * Dictionary entries if the variable is a dictionary.
-         * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - com.kcl.api.Spec.MapEntry getDictEntries(int index); - - /** - *
-         * Dictionary entries if the variable is a dictionary.
-         * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - int getDictEntriesCount(); - - /** - *
-         * Dictionary entries if the variable is a dictionary.
-         * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - java.util.List getDictEntriesOrBuilderList(); - - /** - *
-         * Dictionary entries if the variable is a dictionary.
-         * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - com.kcl.api.Spec.MapEntryOrBuilder getDictEntriesOrBuilder(int index); - } - - /** - *
-     * Message representing a variable.
-     * 
- * - * Protobuf type {@code com.kcl.api.Variable} - */ - public static final class Variable extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Variable) - VariableOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", Variable.class.getName()); - } - - // Use Variable.newBuilder() to construct. - private Variable(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private Variable() { - value_ = ""; - typeName_ = ""; - opSym_ = ""; - listItems_ = java.util.Collections.emptyList(); - dictEntries_ = java.util.Collections.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Variable_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Variable_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Variable.class, - com.kcl.api.Spec.Variable.Builder.class); - } - - public static final int VALUE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object value_ = ""; - - /** - *
-         * Value of the variable.
-         * 
- * - * string value = 1; - * - * @return The value. - */ - @java.lang.Override - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } - } - - /** - *
-         * Value of the variable.
-         * 
- * - * string value = 1; - * - * @return The bytes for value. - */ - @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TYPE_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object typeName_ = ""; - - /** - *
-         * Type name of the variable.
-         * 
- * - * string type_name = 2; - * - * @return The typeName. - */ - @java.lang.Override - public java.lang.String getTypeName() { - java.lang.Object ref = typeName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - typeName_ = s; - return s; - } - } - - /** - *
-         * Type name of the variable.
-         * 
- * - * string type_name = 2; - * - * @return The bytes for typeName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getTypeNameBytes() { - java.lang.Object ref = typeName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - typeName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int OP_SYM_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object opSym_ = ""; - - /** - *
-         * Operation symbol associated with the variable.
-         * 
- * - * string op_sym = 3; - * - * @return The opSym. - */ - @java.lang.Override - public java.lang.String getOpSym() { - java.lang.Object ref = opSym_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - opSym_ = s; - return s; - } - } - - /** - *
-         * Operation symbol associated with the variable.
-         * 
- * - * string op_sym = 3; - * - * @return The bytes for opSym. - */ - @java.lang.Override - public com.google.protobuf.ByteString getOpSymBytes() { - java.lang.Object ref = opSym_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - opSym_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int LIST_ITEMS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private java.util.List listItems_; - - /** - *
-         * List items if the variable is a list.
-         * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - @java.lang.Override - public java.util.List getListItemsList() { - return listItems_; - } - - /** - *
-         * List items if the variable is a list.
-         * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - @java.lang.Override - public java.util.List getListItemsOrBuilderList() { - return listItems_; - } - - /** - *
-         * List items if the variable is a list.
-         * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - @java.lang.Override - public int getListItemsCount() { - return listItems_.size(); - } - - /** - *
-         * List items if the variable is a list.
-         * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - @java.lang.Override - public com.kcl.api.Spec.Variable getListItems(int index) { - return listItems_.get(index); - } - - /** - *
-         * List items if the variable is a list.
-         * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - @java.lang.Override - public com.kcl.api.Spec.VariableOrBuilder getListItemsOrBuilder(int index) { - return listItems_.get(index); - } - - public static final int DICT_ENTRIES_FIELD_NUMBER = 5; - @SuppressWarnings("serial") - private java.util.List dictEntries_; - - /** - *
-         * Dictionary entries if the variable is a dictionary.
-         * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - @java.lang.Override - public java.util.List getDictEntriesList() { - return dictEntries_; - } - - /** - *
-         * Dictionary entries if the variable is a dictionary.
-         * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - @java.lang.Override - public java.util.List getDictEntriesOrBuilderList() { - return dictEntries_; - } - - /** - *
-         * Dictionary entries if the variable is a dictionary.
-         * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - @java.lang.Override - public int getDictEntriesCount() { - return dictEntries_.size(); - } - - /** - *
-         * Dictionary entries if the variable is a dictionary.
-         * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - @java.lang.Override - public com.kcl.api.Spec.MapEntry getDictEntries(int index) { - return dictEntries_.get(index); - } - - /** - *
-         * Dictionary entries if the variable is a dictionary.
-         * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - @java.lang.Override - public com.kcl.api.Spec.MapEntryOrBuilder getDictEntriesOrBuilder(int index) { - return dictEntries_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, value_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(typeName_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, typeName_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(opSym_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, opSym_); - } - for (int i = 0; i < listItems_.size(); i++) { - output.writeMessage(4, listItems_.get(i)); - } - for (int i = 0; i < dictEntries_.size(); i++) { - output.writeMessage(5, dictEntries_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, value_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(typeName_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, typeName_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(opSym_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, opSym_); - } - for (int i = 0; i < listItems_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, listItems_.get(i)); - } - for (int i = 0; i < dictEntries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, dictEntries_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Variable)) { - return super.equals(obj); - } - com.kcl.api.Spec.Variable other = (com.kcl.api.Spec.Variable) obj; - - if (!getValue().equals(other.getValue())) - return false; - if (!getTypeName().equals(other.getTypeName())) - return false; - if (!getOpSym().equals(other.getOpSym())) - return false; - if (!getListItemsList().equals(other.getListItemsList())) - return false; - if (!getDictEntriesList().equals(other.getDictEntriesList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - hash = (37 * hash) + TYPE_NAME_FIELD_NUMBER; - hash = (53 * hash) + getTypeName().hashCode(); - hash = (37 * hash) + OP_SYM_FIELD_NUMBER; - hash = (53 * hash) + getOpSym().hashCode(); - if (getListItemsCount() > 0) { - hash = (37 * hash) + LIST_ITEMS_FIELD_NUMBER; - hash = (53 * hash) + getListItemsList().hashCode(); - } - if (getDictEntriesCount() > 0) { - hash = (37 * hash) + DICT_ENTRIES_FIELD_NUMBER; - hash = (53 * hash) + getDictEntriesList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.Variable parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Variable parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Variable parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Variable parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Variable parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Variable parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Variable parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Variable parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.Variable parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Variable parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.Variable parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Variable parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.Variable prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message representing a variable.
-         * 
- * - * Protobuf type {@code com.kcl.api.Variable} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Variable) - com.kcl.api.Spec.VariableOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Variable_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Variable_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Variable.class, - com.kcl.api.Spec.Variable.Builder.class); - } - - // Construct using com.kcl.api.Spec.Variable.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - value_ = ""; - typeName_ = ""; - opSym_ = ""; - if (listItemsBuilder_ == null) { - listItems_ = java.util.Collections.emptyList(); - } else { - listItems_ = null; - listItemsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - if (dictEntriesBuilder_ == null) { - dictEntries_ = java.util.Collections.emptyList(); - } else { - dictEntries_ = null; - dictEntriesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000010); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Variable_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.Variable getDefaultInstanceForType() { - return com.kcl.api.Spec.Variable.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.Variable build() { - com.kcl.api.Spec.Variable result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.Variable buildPartial() { - com.kcl.api.Spec.Variable result = new com.kcl.api.Spec.Variable(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.Variable result) { - if (listItemsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - listItems_ = java.util.Collections.unmodifiableList(listItems_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.listItems_ = listItems_; - } else { - result.listItems_ = listItemsBuilder_.build(); - } - if (dictEntriesBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - dictEntries_ = java.util.Collections.unmodifiableList(dictEntries_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.dictEntries_ = dictEntries_; - } else { - result.dictEntries_ = dictEntriesBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.Variable result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.value_ = value_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.typeName_ = typeName_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.opSym_ = opSym_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Variable) { - return mergeFrom((com.kcl.api.Spec.Variable) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.Variable other) { - if (other == com.kcl.api.Spec.Variable.getDefaultInstance()) - return this; - if (!other.getValue().isEmpty()) { - value_ = other.value_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getTypeName().isEmpty()) { - typeName_ = other.typeName_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.getOpSym().isEmpty()) { - opSym_ = other.opSym_; - bitField0_ |= 0x00000004; - onChanged(); - } - if (listItemsBuilder_ == null) { - if (!other.listItems_.isEmpty()) { - if (listItems_.isEmpty()) { - listItems_ = other.listItems_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureListItemsIsMutable(); - listItems_.addAll(other.listItems_); - } - onChanged(); - } - } else { - if (!other.listItems_.isEmpty()) { - if (listItemsBuilder_.isEmpty()) { - listItemsBuilder_.dispose(); - listItemsBuilder_ = null; - listItems_ = other.listItems_; - bitField0_ = (bitField0_ & ~0x00000008); - listItemsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getListItemsFieldBuilder() : null; - } else { - listItemsBuilder_.addAllMessages(other.listItems_); - } - } - } - if (dictEntriesBuilder_ == null) { - if (!other.dictEntries_.isEmpty()) { - if (dictEntries_.isEmpty()) { - dictEntries_ = other.dictEntries_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureDictEntriesIsMutable(); - dictEntries_.addAll(other.dictEntries_); - } - onChanged(); - } - } else { - if (!other.dictEntries_.isEmpty()) { - if (dictEntriesBuilder_.isEmpty()) { - dictEntriesBuilder_.dispose(); - dictEntriesBuilder_ = null; - dictEntries_ = other.dictEntries_; - bitField0_ = (bitField0_ & ~0x00000010); - dictEntriesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getDictEntriesFieldBuilder() : null; - } else { - dictEntriesBuilder_.addAllMessages(other.dictEntries_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - value_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - typeName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - opSym_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - com.kcl.api.Spec.Variable m = input.readMessage(com.kcl.api.Spec.Variable.parser(), - extensionRegistry); - if (listItemsBuilder_ == null) { - ensureListItemsIsMutable(); - listItems_.add(m); - } else { - listItemsBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: { - com.kcl.api.Spec.MapEntry m = input.readMessage(com.kcl.api.Spec.MapEntry.parser(), - extensionRegistry); - if (dictEntriesBuilder_ == null) { - ensureDictEntriesIsMutable(); - dictEntries_.add(m); - } else { - dictEntriesBuilder_.addMessage(m); - } - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object value_ = ""; - - /** - *
-             * Value of the variable.
-             * 
- * - * string value = 1; - * - * @return The value. - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Value of the variable.
-             * 
- * - * string value = 1; - * - * @return The bytes for value. - */ - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Value of the variable.
-             * 
- * - * string value = 1; - * - * @param value - * The value to set. - * - * @return This builder for chaining. - */ - public Builder setValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Value of the variable.
-             * 
- * - * string value = 1; - * - * @return This builder for chaining. - */ - public Builder clearValue() { - value_ = getDefaultInstance().getValue(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * Value of the variable.
-             * 
- * - * string value = 1; - * - * @param value - * The bytes for value to set. - * - * @return This builder for chaining. - */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - value_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object typeName_ = ""; - - /** - *
-             * Type name of the variable.
-             * 
- * - * string type_name = 2; - * - * @return The typeName. - */ - public java.lang.String getTypeName() { - java.lang.Object ref = typeName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - typeName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Type name of the variable.
-             * 
- * - * string type_name = 2; - * - * @return The bytes for typeName. - */ - public com.google.protobuf.ByteString getTypeNameBytes() { - java.lang.Object ref = typeName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - typeName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Type name of the variable.
-             * 
- * - * string type_name = 2; - * - * @param value - * The typeName to set. - * - * @return This builder for chaining. - */ - public Builder setTypeName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - typeName_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Type name of the variable.
-             * 
- * - * string type_name = 2; - * - * @return This builder for chaining. - */ - public Builder clearTypeName() { - typeName_ = getDefaultInstance().getTypeName(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - *
-             * Type name of the variable.
-             * 
- * - * string type_name = 2; - * - * @param value - * The bytes for typeName to set. - * - * @return This builder for chaining. - */ - public Builder setTypeNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - typeName_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.lang.Object opSym_ = ""; - - /** - *
-             * Operation symbol associated with the variable.
-             * 
- * - * string op_sym = 3; - * - * @return The opSym. - */ - public java.lang.String getOpSym() { - java.lang.Object ref = opSym_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - opSym_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Operation symbol associated with the variable.
-             * 
- * - * string op_sym = 3; - * - * @return The bytes for opSym. - */ - public com.google.protobuf.ByteString getOpSymBytes() { - java.lang.Object ref = opSym_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - opSym_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Operation symbol associated with the variable.
-             * 
- * - * string op_sym = 3; - * - * @param value - * The opSym to set. - * - * @return This builder for chaining. - */ - public Builder setOpSym(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - opSym_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * Operation symbol associated with the variable.
-             * 
- * - * string op_sym = 3; - * - * @return This builder for chaining. - */ - public Builder clearOpSym() { - opSym_ = getDefaultInstance().getOpSym(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - - /** - *
-             * Operation symbol associated with the variable.
-             * 
- * - * string op_sym = 3; - * - * @param value - * The bytes for opSym to set. - * - * @return This builder for chaining. - */ - public Builder setOpSymBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - opSym_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - private java.util.List listItems_ = java.util.Collections.emptyList(); - - private void ensureListItemsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - listItems_ = new java.util.ArrayList(listItems_); - bitField0_ |= 0x00000008; - } - } - - private com.google.protobuf.RepeatedFieldBuilder listItemsBuilder_; - - /** - *
-             * List items if the variable is a list.
-             * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - public java.util.List getListItemsList() { - if (listItemsBuilder_ == null) { - return java.util.Collections.unmodifiableList(listItems_); - } else { - return listItemsBuilder_.getMessageList(); - } - } - - /** - *
-             * List items if the variable is a list.
-             * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - public int getListItemsCount() { - if (listItemsBuilder_ == null) { - return listItems_.size(); - } else { - return listItemsBuilder_.getCount(); - } - } - - /** - *
-             * List items if the variable is a list.
-             * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - public com.kcl.api.Spec.Variable getListItems(int index) { - if (listItemsBuilder_ == null) { - return listItems_.get(index); - } else { - return listItemsBuilder_.getMessage(index); - } - } - - /** - *
-             * List items if the variable is a list.
-             * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - public Builder setListItems(int index, com.kcl.api.Spec.Variable value) { - if (listItemsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureListItemsIsMutable(); - listItems_.set(index, value); - onChanged(); - } else { - listItemsBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * List items if the variable is a list.
-             * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - public Builder setListItems(int index, com.kcl.api.Spec.Variable.Builder builderForValue) { - if (listItemsBuilder_ == null) { - ensureListItemsIsMutable(); - listItems_.set(index, builderForValue.build()); - onChanged(); - } else { - listItemsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * List items if the variable is a list.
-             * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - public Builder addListItems(com.kcl.api.Spec.Variable value) { - if (listItemsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureListItemsIsMutable(); - listItems_.add(value); - onChanged(); - } else { - listItemsBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * List items if the variable is a list.
-             * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - public Builder addListItems(int index, com.kcl.api.Spec.Variable value) { - if (listItemsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureListItemsIsMutable(); - listItems_.add(index, value); - onChanged(); - } else { - listItemsBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * List items if the variable is a list.
-             * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - public Builder addListItems(com.kcl.api.Spec.Variable.Builder builderForValue) { - if (listItemsBuilder_ == null) { - ensureListItemsIsMutable(); - listItems_.add(builderForValue.build()); - onChanged(); - } else { - listItemsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * List items if the variable is a list.
-             * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - public Builder addListItems(int index, com.kcl.api.Spec.Variable.Builder builderForValue) { - if (listItemsBuilder_ == null) { - ensureListItemsIsMutable(); - listItems_.add(index, builderForValue.build()); - onChanged(); - } else { - listItemsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * List items if the variable is a list.
-             * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - public Builder addAllListItems(java.lang.Iterable values) { - if (listItemsBuilder_ == null) { - ensureListItemsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, listItems_); - onChanged(); - } else { - listItemsBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * List items if the variable is a list.
-             * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - public Builder clearListItems() { - if (listItemsBuilder_ == null) { - listItems_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - listItemsBuilder_.clear(); - } - return this; - } - - /** - *
-             * List items if the variable is a list.
-             * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - public Builder removeListItems(int index) { - if (listItemsBuilder_ == null) { - ensureListItemsIsMutable(); - listItems_.remove(index); - onChanged(); - } else { - listItemsBuilder_.remove(index); - } - return this; - } - - /** - *
-             * List items if the variable is a list.
-             * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - public com.kcl.api.Spec.Variable.Builder getListItemsBuilder(int index) { - return getListItemsFieldBuilder().getBuilder(index); - } - - /** - *
-             * List items if the variable is a list.
-             * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - public com.kcl.api.Spec.VariableOrBuilder getListItemsOrBuilder(int index) { - if (listItemsBuilder_ == null) { - return listItems_.get(index); - } else { - return listItemsBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * List items if the variable is a list.
-             * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - public java.util.List getListItemsOrBuilderList() { - if (listItemsBuilder_ != null) { - return listItemsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(listItems_); - } - } - - /** - *
-             * List items if the variable is a list.
-             * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - public com.kcl.api.Spec.Variable.Builder addListItemsBuilder() { - return getListItemsFieldBuilder().addBuilder(com.kcl.api.Spec.Variable.getDefaultInstance()); - } - - /** - *
-             * List items if the variable is a list.
-             * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - public com.kcl.api.Spec.Variable.Builder addListItemsBuilder(int index) { - return getListItemsFieldBuilder().addBuilder(index, com.kcl.api.Spec.Variable.getDefaultInstance()); - } - - /** - *
-             * List items if the variable is a list.
-             * 
- * - * repeated .com.kcl.api.Variable list_items = 4; - */ - public java.util.List getListItemsBuilderList() { - return getListItemsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder getListItemsFieldBuilder() { - if (listItemsBuilder_ == null) { - listItemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - listItems_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); - listItems_ = null; - } - return listItemsBuilder_; - } - - private java.util.List dictEntries_ = java.util.Collections.emptyList(); - - private void ensureDictEntriesIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - dictEntries_ = new java.util.ArrayList(dictEntries_); - bitField0_ |= 0x00000010; - } - } - - private com.google.protobuf.RepeatedFieldBuilder dictEntriesBuilder_; - - /** - *
-             * Dictionary entries if the variable is a dictionary.
-             * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - public java.util.List getDictEntriesList() { - if (dictEntriesBuilder_ == null) { - return java.util.Collections.unmodifiableList(dictEntries_); - } else { - return dictEntriesBuilder_.getMessageList(); - } - } - - /** - *
-             * Dictionary entries if the variable is a dictionary.
-             * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - public int getDictEntriesCount() { - if (dictEntriesBuilder_ == null) { - return dictEntries_.size(); - } else { - return dictEntriesBuilder_.getCount(); - } - } - - /** - *
-             * Dictionary entries if the variable is a dictionary.
-             * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - public com.kcl.api.Spec.MapEntry getDictEntries(int index) { - if (dictEntriesBuilder_ == null) { - return dictEntries_.get(index); - } else { - return dictEntriesBuilder_.getMessage(index); - } - } - - /** - *
-             * Dictionary entries if the variable is a dictionary.
-             * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - public Builder setDictEntries(int index, com.kcl.api.Spec.MapEntry value) { - if (dictEntriesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDictEntriesIsMutable(); - dictEntries_.set(index, value); - onChanged(); - } else { - dictEntriesBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * Dictionary entries if the variable is a dictionary.
-             * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - public Builder setDictEntries(int index, com.kcl.api.Spec.MapEntry.Builder builderForValue) { - if (dictEntriesBuilder_ == null) { - ensureDictEntriesIsMutable(); - dictEntries_.set(index, builderForValue.build()); - onChanged(); - } else { - dictEntriesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * Dictionary entries if the variable is a dictionary.
-             * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - public Builder addDictEntries(com.kcl.api.Spec.MapEntry value) { - if (dictEntriesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDictEntriesIsMutable(); - dictEntries_.add(value); - onChanged(); - } else { - dictEntriesBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * Dictionary entries if the variable is a dictionary.
-             * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - public Builder addDictEntries(int index, com.kcl.api.Spec.MapEntry value) { - if (dictEntriesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDictEntriesIsMutable(); - dictEntries_.add(index, value); - onChanged(); - } else { - dictEntriesBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * Dictionary entries if the variable is a dictionary.
-             * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - public Builder addDictEntries(com.kcl.api.Spec.MapEntry.Builder builderForValue) { - if (dictEntriesBuilder_ == null) { - ensureDictEntriesIsMutable(); - dictEntries_.add(builderForValue.build()); - onChanged(); - } else { - dictEntriesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * Dictionary entries if the variable is a dictionary.
-             * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - public Builder addDictEntries(int index, com.kcl.api.Spec.MapEntry.Builder builderForValue) { - if (dictEntriesBuilder_ == null) { - ensureDictEntriesIsMutable(); - dictEntries_.add(index, builderForValue.build()); - onChanged(); - } else { - dictEntriesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * Dictionary entries if the variable is a dictionary.
-             * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - public Builder addAllDictEntries(java.lang.Iterable values) { - if (dictEntriesBuilder_ == null) { - ensureDictEntriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dictEntries_); - onChanged(); - } else { - dictEntriesBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * Dictionary entries if the variable is a dictionary.
-             * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - public Builder clearDictEntries() { - if (dictEntriesBuilder_ == null) { - dictEntries_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - dictEntriesBuilder_.clear(); - } - return this; - } - - /** - *
-             * Dictionary entries if the variable is a dictionary.
-             * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - public Builder removeDictEntries(int index) { - if (dictEntriesBuilder_ == null) { - ensureDictEntriesIsMutable(); - dictEntries_.remove(index); - onChanged(); - } else { - dictEntriesBuilder_.remove(index); - } - return this; - } - - /** - *
-             * Dictionary entries if the variable is a dictionary.
-             * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - public com.kcl.api.Spec.MapEntry.Builder getDictEntriesBuilder(int index) { - return getDictEntriesFieldBuilder().getBuilder(index); - } - - /** - *
-             * Dictionary entries if the variable is a dictionary.
-             * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - public com.kcl.api.Spec.MapEntryOrBuilder getDictEntriesOrBuilder(int index) { - if (dictEntriesBuilder_ == null) { - return dictEntries_.get(index); - } else { - return dictEntriesBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * Dictionary entries if the variable is a dictionary.
-             * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - public java.util.List getDictEntriesOrBuilderList() { - if (dictEntriesBuilder_ != null) { - return dictEntriesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(dictEntries_); - } - } - - /** - *
-             * Dictionary entries if the variable is a dictionary.
-             * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - public com.kcl.api.Spec.MapEntry.Builder addDictEntriesBuilder() { - return getDictEntriesFieldBuilder().addBuilder(com.kcl.api.Spec.MapEntry.getDefaultInstance()); - } - - /** - *
-             * Dictionary entries if the variable is a dictionary.
-             * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - public com.kcl.api.Spec.MapEntry.Builder addDictEntriesBuilder(int index) { - return getDictEntriesFieldBuilder().addBuilder(index, com.kcl.api.Spec.MapEntry.getDefaultInstance()); - } - - /** - *
-             * Dictionary entries if the variable is a dictionary.
-             * 
- * - * repeated .com.kcl.api.MapEntry dict_entries = 5; - */ - public java.util.List getDictEntriesBuilderList() { - return getDictEntriesFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder getDictEntriesFieldBuilder() { - if (dictEntriesBuilder_ == null) { - dictEntriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - dictEntries_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); - dictEntries_ = null; - } - return dictEntriesBuilder_; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.Variable) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.Variable) - private static final com.kcl.api.Spec.Variable DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Variable(); - } - - public static com.kcl.api.Spec.Variable getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Variable parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.Variable getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface MapEntryOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.MapEntry) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Key of the map entry.
-         * 
- * - * string key = 1; - * - * @return The key. - */ - java.lang.String getKey(); - - /** - *
-         * Key of the map entry.
-         * 
- * - * string key = 1; - * - * @return The bytes for key. - */ - com.google.protobuf.ByteString getKeyBytes(); - - /** - *
-         * Value of the map entry.
-         * 
- * - * .com.kcl.api.Variable value = 2; - * - * @return Whether the value field is set. - */ - boolean hasValue(); - - /** - *
-         * Value of the map entry.
-         * 
- * - * .com.kcl.api.Variable value = 2; - * - * @return The value. - */ - com.kcl.api.Spec.Variable getValue(); - - /** - *
-         * Value of the map entry.
-         * 
- * - * .com.kcl.api.Variable value = 2; - */ - com.kcl.api.Spec.VariableOrBuilder getValueOrBuilder(); - } - - /** - *
-     * Message representing a map entry.
-     * 
- * - * Protobuf type {@code com.kcl.api.MapEntry} - */ - public static final class MapEntry extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.MapEntry) - MapEntryOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", MapEntry.class.getName()); - } - - // Use MapEntry.newBuilder() to construct. - private MapEntry(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private MapEntry() { - key_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_MapEntry_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_MapEntry_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.MapEntry.class, - com.kcl.api.Spec.MapEntry.Builder.class); - } - - private int bitField0_; - public static final int KEY_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object key_ = ""; - - /** - *
-         * Key of the map entry.
-         * 
- * - * string key = 1; - * - * @return The key. - */ - @java.lang.Override - public java.lang.String getKey() { - java.lang.Object ref = key_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - key_ = s; - return s; - } - } - - /** - *
-         * Key of the map entry.
-         * 
- * - * string key = 1; - * - * @return The bytes for key. - */ - @java.lang.Override - public com.google.protobuf.ByteString getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - key_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int VALUE_FIELD_NUMBER = 2; - private com.kcl.api.Spec.Variable value_; - - /** - *
-         * Value of the map entry.
-         * 
- * - * .com.kcl.api.Variable value = 2; - * - * @return Whether the value field is set. - */ - @java.lang.Override - public boolean hasValue() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - *
-         * Value of the map entry.
-         * 
- * - * .com.kcl.api.Variable value = 2; - * - * @return The value. - */ - @java.lang.Override - public com.kcl.api.Spec.Variable getValue() { - return value_ == null ? com.kcl.api.Spec.Variable.getDefaultInstance() : value_; - } - - /** - *
-         * Value of the map entry.
-         * 
- * - * .com.kcl.api.Variable value = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.VariableOrBuilder getValueOrBuilder() { - return value_ == null ? com.kcl.api.Spec.Variable.getDefaultInstance() : value_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(key_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, key_); - } - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(2, getValue()); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(key_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, key_); - } - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getValue()); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.MapEntry)) { - return super.equals(obj); - } - com.kcl.api.Spec.MapEntry other = (com.kcl.api.Spec.MapEntry) obj; - - if (!getKey().equals(other.getKey())) - return false; - if (hasValue() != other.hasValue()) - return false; - if (hasValue()) { - if (!getValue().equals(other.getValue())) - return false; - } - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + KEY_FIELD_NUMBER; - hash = (53 * hash) + getKey().hashCode(); - if (hasValue()) { - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.MapEntry parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.MapEntry parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.MapEntry parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.MapEntry parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.MapEntry parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.MapEntry parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.MapEntry parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.MapEntry parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.MapEntry parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.MapEntry parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.MapEntry parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.MapEntry parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.MapEntry prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message representing a map entry.
-         * 
- * - * Protobuf type {@code com.kcl.api.MapEntry} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.MapEntry) - com.kcl.api.Spec.MapEntryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_MapEntry_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_MapEntry_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.MapEntry.class, - com.kcl.api.Spec.MapEntry.Builder.class); - } - - // Construct using com.kcl.api.Spec.MapEntry.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - getValueFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - key_ = ""; - value_ = null; - if (valueBuilder_ != null) { - valueBuilder_.dispose(); - valueBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_MapEntry_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.MapEntry getDefaultInstanceForType() { - return com.kcl.api.Spec.MapEntry.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.MapEntry build() { - com.kcl.api.Spec.MapEntry result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.MapEntry buildPartial() { - com.kcl.api.Spec.MapEntry result = new com.kcl.api.Spec.MapEntry(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.MapEntry result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.key_ = key_; - } - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000002) != 0)) { - result.value_ = valueBuilder_ == null ? value_ : valueBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - result.bitField0_ |= to_bitField0_; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.MapEntry) { - return mergeFrom((com.kcl.api.Spec.MapEntry) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.MapEntry other) { - if (other == com.kcl.api.Spec.MapEntry.getDefaultInstance()) - return this; - if (!other.getKey().isEmpty()) { - key_ = other.key_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (other.hasValue()) { - mergeValue(other.getValue()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - key_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage(getValueFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object key_ = ""; - - /** - *
-             * Key of the map entry.
-             * 
- * - * string key = 1; - * - * @return The key. - */ - public java.lang.String getKey() { - java.lang.Object ref = key_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - key_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Key of the map entry.
-             * 
- * - * string key = 1; - * - * @return The bytes for key. - */ - public com.google.protobuf.ByteString getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - key_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Key of the map entry.
-             * 
- * - * string key = 1; - * - * @param value - * The key to set. - * - * @return This builder for chaining. - */ - public Builder setKey(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - key_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Key of the map entry.
-             * 
- * - * string key = 1; - * - * @return This builder for chaining. - */ - public Builder clearKey() { - key_ = getDefaultInstance().getKey(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * Key of the map entry.
-             * 
- * - * string key = 1; - * - * @param value - * The bytes for key to set. - * - * @return This builder for chaining. - */ - public Builder setKeyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - key_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.kcl.api.Spec.Variable value_; - private com.google.protobuf.SingleFieldBuilder valueBuilder_; - - /** - *
-             * Value of the map entry.
-             * 
- * - * .com.kcl.api.Variable value = 2; - * - * @return Whether the value field is set. - */ - public boolean hasValue() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - *
-             * Value of the map entry.
-             * 
- * - * .com.kcl.api.Variable value = 2; - * - * @return The value. - */ - public com.kcl.api.Spec.Variable getValue() { - if (valueBuilder_ == null) { - return value_ == null ? com.kcl.api.Spec.Variable.getDefaultInstance() : value_; - } else { - return valueBuilder_.getMessage(); - } - } - - /** - *
-             * Value of the map entry.
-             * 
- * - * .com.kcl.api.Variable value = 2; - */ - public Builder setValue(com.kcl.api.Spec.Variable value) { - if (valueBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - } else { - valueBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Value of the map entry.
-             * 
- * - * .com.kcl.api.Variable value = 2; - */ - public Builder setValue(com.kcl.api.Spec.Variable.Builder builderForValue) { - if (valueBuilder_ == null) { - value_ = builderForValue.build(); - } else { - valueBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Value of the map entry.
-             * 
- * - * .com.kcl.api.Variable value = 2; - */ - public Builder mergeValue(com.kcl.api.Spec.Variable value) { - if (valueBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && value_ != null - && value_ != com.kcl.api.Spec.Variable.getDefaultInstance()) { - getValueBuilder().mergeFrom(value); - } else { - value_ = value; - } - } else { - valueBuilder_.mergeFrom(value); - } - if (value_ != null) { - bitField0_ |= 0x00000002; - onChanged(); - } - return this; - } - - /** - *
-             * Value of the map entry.
-             * 
- * - * .com.kcl.api.Variable value = 2; - */ - public Builder clearValue() { - bitField0_ = (bitField0_ & ~0x00000002); - value_ = null; - if (valueBuilder_ != null) { - valueBuilder_.dispose(); - valueBuilder_ = null; - } - onChanged(); - return this; - } - - /** - *
-             * Value of the map entry.
-             * 
- * - * .com.kcl.api.Variable value = 2; - */ - public com.kcl.api.Spec.Variable.Builder getValueBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getValueFieldBuilder().getBuilder(); - } - - /** - *
-             * Value of the map entry.
-             * 
- * - * .com.kcl.api.Variable value = 2; - */ - public com.kcl.api.Spec.VariableOrBuilder getValueOrBuilder() { - if (valueBuilder_ != null) { - return valueBuilder_.getMessageOrBuilder(); - } else { - return value_ == null ? com.kcl.api.Spec.Variable.getDefaultInstance() : value_; - } - } - - /** - *
-             * Value of the map entry.
-             * 
- * - * .com.kcl.api.Variable value = 2; - */ - private com.google.protobuf.SingleFieldBuilder getValueFieldBuilder() { - if (valueBuilder_ == null) { - valueBuilder_ = new com.google.protobuf.SingleFieldBuilder( - getValue(), getParentForChildren(), isClean()); - value_ = null; - } - return valueBuilder_; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.MapEntry) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.MapEntry) - private static final com.kcl.api.Spec.MapEntry DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.MapEntry(); - } - - public static com.kcl.api.Spec.MapEntry getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MapEntry parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.MapEntry getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetSchemaTypeMapping_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.GetSchemaTypeMapping_Args) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Arguments for executing the program.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return Whether the execArgs field is set. - */ - boolean hasExecArgs(); - - /** - *
-         * Arguments for executing the program.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return The execArgs. - */ - com.kcl.api.Spec.ExecProgram_Args getExecArgs(); - - /** - *
-         * Arguments for executing the program.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder(); - - /** - *
-         * Name of the schema.
-         * 
- * - * string schema_name = 2; - * - * @return The schemaName. - */ - java.lang.String getSchemaName(); - - /** - *
-         * Name of the schema.
-         * 
- * - * string schema_name = 2; - * - * @return The bytes for schemaName. - */ - com.google.protobuf.ByteString getSchemaNameBytes(); - } - - /** - *
-     * Message for get schema type mapping request arguments.
-     * 
- * - * Protobuf type {@code com.kcl.api.GetSchemaTypeMapping_Args} - */ - public static final class GetSchemaTypeMapping_Args extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.GetSchemaTypeMapping_Args) - GetSchemaTypeMapping_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", GetSchemaTypeMapping_Args.class.getName()); - } - - // Use GetSchemaTypeMapping_Args.newBuilder() to construct. - private GetSchemaTypeMapping_Args(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private GetSchemaTypeMapping_Args() { - schemaName_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.GetSchemaTypeMapping_Args.class, - com.kcl.api.Spec.GetSchemaTypeMapping_Args.Builder.class); - } - - private int bitField0_; - public static final int EXEC_ARGS_FIELD_NUMBER = 1; - private com.kcl.api.Spec.ExecProgram_Args execArgs_; - - /** - *
-         * Arguments for executing the program.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return Whether the execArgs field is set. - */ - @java.lang.Override - public boolean hasExecArgs() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - *
-         * Arguments for executing the program.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return The execArgs. - */ - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } - - /** - *
-         * Arguments for executing the program.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } - - public static final int SCHEMA_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object schemaName_ = ""; - - /** - *
-         * Name of the schema.
-         * 
- * - * string schema_name = 2; - * - * @return The schemaName. - */ - @java.lang.Override - public java.lang.String getSchemaName() { - java.lang.Object ref = schemaName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schemaName_ = s; - return s; - } - } - - /** - *
-         * Name of the schema.
-         * 
- * - * string schema_name = 2; - * - * @return The bytes for schemaName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSchemaNameBytes() { - java.lang.Object ref = schemaName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - schemaName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(1, getExecArgs()); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(schemaName_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, schemaName_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getExecArgs()); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(schemaName_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, schemaName_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.GetSchemaTypeMapping_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.GetSchemaTypeMapping_Args other = (com.kcl.api.Spec.GetSchemaTypeMapping_Args) obj; - - if (hasExecArgs() != other.hasExecArgs()) - return false; - if (hasExecArgs()) { - if (!getExecArgs().equals(other.getExecArgs())) - return false; - } - if (!getSchemaName().equals(other.getSchemaName())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasExecArgs()) { - hash = (37 * hash) + EXEC_ARGS_FIELD_NUMBER; - hash = (53 * hash) + getExecArgs().hashCode(); - } - hash = (37 * hash) + SCHEMA_NAME_FIELD_NUMBER; - hash = (53 * hash) + getSchemaName().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.GetSchemaTypeMapping_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for get schema type mapping request arguments.
-         * 
- * - * Protobuf type {@code com.kcl.api.GetSchemaTypeMapping_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.GetSchemaTypeMapping_Args) - com.kcl.api.Spec.GetSchemaTypeMapping_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.GetSchemaTypeMapping_Args.class, - com.kcl.api.Spec.GetSchemaTypeMapping_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.GetSchemaTypeMapping_Args.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - getExecArgsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - execArgs_ = null; - if (execArgsBuilder_ != null) { - execArgsBuilder_.dispose(); - execArgsBuilder_ = null; - } - schemaName_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.GetSchemaTypeMapping_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Args build() { - com.kcl.api.Spec.GetSchemaTypeMapping_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Args buildPartial() { - com.kcl.api.Spec.GetSchemaTypeMapping_Args result = new com.kcl.api.Spec.GetSchemaTypeMapping_Args( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.GetSchemaTypeMapping_Args result) { - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.execArgs_ = execArgsBuilder_ == null ? execArgs_ : execArgsBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.schemaName_ = schemaName_; - } - result.bitField0_ |= to_bitField0_; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.GetSchemaTypeMapping_Args) { - return mergeFrom((com.kcl.api.Spec.GetSchemaTypeMapping_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.GetSchemaTypeMapping_Args other) { - if (other == com.kcl.api.Spec.GetSchemaTypeMapping_Args.getDefaultInstance()) - return this; - if (other.hasExecArgs()) { - mergeExecArgs(other.getExecArgs()); - } - if (!other.getSchemaName().isEmpty()) { - schemaName_ = other.schemaName_; - bitField0_ |= 0x00000002; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - input.readMessage(getExecArgsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - schemaName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.kcl.api.Spec.ExecProgram_Args execArgs_; - private com.google.protobuf.SingleFieldBuilder execArgsBuilder_; - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return Whether the execArgs field is set. - */ - public boolean hasExecArgs() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return The execArgs. - */ - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { - if (execArgsBuilder_ == null) { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } else { - return execArgsBuilder_.getMessage(); - } - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { - if (execArgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - execArgs_ = value; - } else { - execArgsBuilder_.setMessage(value); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args.Builder builderForValue) { - if (execArgsBuilder_ == null) { - execArgs_ = builderForValue.build(); - } else { - execArgsBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { - if (execArgsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && execArgs_ != null - && execArgs_ != com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance()) { - getExecArgsBuilder().mergeFrom(value); - } else { - execArgs_ = value; - } - } else { - execArgsBuilder_.mergeFrom(value); - } - if (execArgs_ != null) { - bitField0_ |= 0x00000001; - onChanged(); - } - return this; - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder clearExecArgs() { - bitField0_ = (bitField0_ & ~0x00000001); - execArgs_ = null; - if (execArgsBuilder_ != null) { - execArgsBuilder_.dispose(); - execArgsBuilder_ = null; - } - onChanged(); - return this; - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public com.kcl.api.Spec.ExecProgram_Args.Builder getExecArgsBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getExecArgsFieldBuilder().getBuilder(); - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { - if (execArgsBuilder_ != null) { - return execArgsBuilder_.getMessageOrBuilder(); - } else { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } - } - - /** - *
-             * Arguments for executing the program.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - private com.google.protobuf.SingleFieldBuilder getExecArgsFieldBuilder() { - if (execArgsBuilder_ == null) { - execArgsBuilder_ = new com.google.protobuf.SingleFieldBuilder( - getExecArgs(), getParentForChildren(), isClean()); - execArgs_ = null; - } - return execArgsBuilder_; - } - - private java.lang.Object schemaName_ = ""; - - /** - *
-             * Name of the schema.
-             * 
- * - * string schema_name = 2; - * - * @return The schemaName. - */ - public java.lang.String getSchemaName() { - java.lang.Object ref = schemaName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schemaName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Name of the schema.
-             * 
- * - * string schema_name = 2; - * - * @return The bytes for schemaName. - */ - public com.google.protobuf.ByteString getSchemaNameBytes() { - java.lang.Object ref = schemaName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - schemaName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Name of the schema.
-             * 
- * - * string schema_name = 2; - * - * @param value - * The schemaName to set. - * - * @return This builder for chaining. - */ - public Builder setSchemaName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - schemaName_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Name of the schema.
-             * 
- * - * string schema_name = 2; - * - * @return This builder for chaining. - */ - public Builder clearSchemaName() { - schemaName_ = getDefaultInstance().getSchemaName(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - *
-             * Name of the schema.
-             * 
- * - * string schema_name = 2; - * - * @param value - * The bytes for schemaName to set. - * - * @return This builder for chaining. - */ - public Builder setSchemaNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - schemaName_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.GetSchemaTypeMapping_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.GetSchemaTypeMapping_Args) - private static final com.kcl.api.Spec.GetSchemaTypeMapping_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.GetSchemaTypeMapping_Args(); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSchemaTypeMapping_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetSchemaTypeMapping_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.GetSchemaTypeMapping_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Map of schema type mappings.
-         * 
- * - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - int getSchemaTypeMappingCount(); - - /** - *
-         * Map of schema type mappings.
-         * 
- * - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - boolean containsSchemaTypeMapping(java.lang.String key); - - /** - * Use {@link #getSchemaTypeMappingMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getSchemaTypeMapping(); - - /** - *
-         * Map of schema type mappings.
-         * 
- * - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - java.util.Map getSchemaTypeMappingMap(); - - /** - *
-         * Map of schema type mappings.
-         * 
- * - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - /* nullable */ - com.kcl.api.Spec.KclType getSchemaTypeMappingOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.KclType defaultValue); - - /** - *
-         * Map of schema type mappings.
-         * 
- * - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - com.kcl.api.Spec.KclType getSchemaTypeMappingOrThrow(java.lang.String key); - } - - /** - *
-     * Message for get schema type mapping response.
-     * 
- * - * Protobuf type {@code com.kcl.api.GetSchemaTypeMapping_Result} - */ - public static final class GetSchemaTypeMapping_Result extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.GetSchemaTypeMapping_Result) - GetSchemaTypeMapping_ResultOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", GetSchemaTypeMapping_Result.class.getName()); - } - - // Use GetSchemaTypeMapping_Result.newBuilder() to construct. - private GetSchemaTypeMapping_Result(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private GetSchemaTypeMapping_Result() { - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor; - } - - @SuppressWarnings({ "rawtypes" }) - @java.lang.Override - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 1: - return internalGetSchemaTypeMapping(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.GetSchemaTypeMapping_Result.class, - com.kcl.api.Spec.GetSchemaTypeMapping_Result.Builder.class); - } - - public static final int SCHEMA_TYPE_MAPPING_FIELD_NUMBER = 1; - - private static final class SchemaTypeMappingDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, com.kcl.api.Spec.KclType.getDefaultInstance()); - } - - @SuppressWarnings("serial") - private com.google.protobuf.MapField schemaTypeMapping_; - - private com.google.protobuf.MapField internalGetSchemaTypeMapping() { - if (schemaTypeMapping_ == null) { - return com.google.protobuf.MapField.emptyMapField(SchemaTypeMappingDefaultEntryHolder.defaultEntry); - } - return schemaTypeMapping_; - } - - public int getSchemaTypeMappingCount() { - return internalGetSchemaTypeMapping().getMap().size(); - } - - /** - *
-         * Map of schema type mappings.
-         * 
- * - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - @java.lang.Override - public boolean containsSchemaTypeMapping(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetSchemaTypeMapping().getMap().containsKey(key); - } - - /** - * Use {@link #getSchemaTypeMappingMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getSchemaTypeMapping() { - return getSchemaTypeMappingMap(); - } - - /** - *
-         * Map of schema type mappings.
-         * 
- * - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - @java.lang.Override - public java.util.Map getSchemaTypeMappingMap() { - return internalGetSchemaTypeMapping().getMap(); - } - - /** - *
-         * Map of schema type mappings.
-         * 
- * - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.KclType getSchemaTypeMappingOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.KclType defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSchemaTypeMapping().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - - /** - *
-         * Map of schema type mappings.
-         * 
- * - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.KclType getSchemaTypeMappingOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSchemaTypeMapping().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - com.google.protobuf.GeneratedMessage.serializeStringMapTo(output, internalGetSchemaTypeMapping(), - SchemaTypeMappingDefaultEntryHolder.defaultEntry, 1); - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - for (java.util.Map.Entry entry : internalGetSchemaTypeMapping() - .getMap().entrySet()) { - com.google.protobuf.MapEntry schemaTypeMapping__ = SchemaTypeMappingDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, schemaTypeMapping__); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.GetSchemaTypeMapping_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.GetSchemaTypeMapping_Result other = (com.kcl.api.Spec.GetSchemaTypeMapping_Result) obj; - - if (!internalGetSchemaTypeMapping().equals(other.internalGetSchemaTypeMapping())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (!internalGetSchemaTypeMapping().getMap().isEmpty()) { - hash = (37 * hash) + SCHEMA_TYPE_MAPPING_FIELD_NUMBER; - hash = (53 * hash) + internalGetSchemaTypeMapping().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.GetSchemaTypeMapping_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for get schema type mapping response.
-         * 
- * - * Protobuf type {@code com.kcl.api.GetSchemaTypeMapping_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.GetSchemaTypeMapping_Result) - com.kcl.api.Spec.GetSchemaTypeMapping_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor; - } - - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 1: - return internalGetSchemaTypeMapping(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) { - switch (number) { - case 1: - return internalGetMutableSchemaTypeMapping(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.GetSchemaTypeMapping_Result.class, - com.kcl.api.Spec.GetSchemaTypeMapping_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.GetSchemaTypeMapping_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - internalGetMutableSchemaTypeMapping().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.GetSchemaTypeMapping_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Result build() { - com.kcl.api.Spec.GetSchemaTypeMapping_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Result buildPartial() { - com.kcl.api.Spec.GetSchemaTypeMapping_Result result = new com.kcl.api.Spec.GetSchemaTypeMapping_Result( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.GetSchemaTypeMapping_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.schemaTypeMapping_ = internalGetSchemaTypeMapping() - .build(SchemaTypeMappingDefaultEntryHolder.defaultEntry); - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.GetSchemaTypeMapping_Result) { - return mergeFrom((com.kcl.api.Spec.GetSchemaTypeMapping_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.GetSchemaTypeMapping_Result other) { - if (other == com.kcl.api.Spec.GetSchemaTypeMapping_Result.getDefaultInstance()) - return this; - internalGetMutableSchemaTypeMapping().mergeFrom(other.internalGetSchemaTypeMapping()); - bitField0_ |= 0x00000001; - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.MapEntry schemaTypeMapping__ = input - .readMessage(SchemaTypeMappingDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableSchemaTypeMapping().ensureBuilderMap().put(schemaTypeMapping__.getKey(), - schemaTypeMapping__.getValue()); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private static final class SchemaTypeMappingConverter implements - com.google.protobuf.MapFieldBuilder.Converter { - @java.lang.Override - public com.kcl.api.Spec.KclType build(com.kcl.api.Spec.KclTypeOrBuilder val) { - if (val instanceof com.kcl.api.Spec.KclType) { - return (com.kcl.api.Spec.KclType) val; - } - return ((com.kcl.api.Spec.KclType.Builder) val).build(); - } - - @java.lang.Override - public com.google.protobuf.MapEntry defaultEntry() { - return SchemaTypeMappingDefaultEntryHolder.defaultEntry; - } - }; - - private static final SchemaTypeMappingConverter schemaTypeMappingConverter = new SchemaTypeMappingConverter(); - - private com.google.protobuf.MapFieldBuilder schemaTypeMapping_; - - private com.google.protobuf.MapFieldBuilder internalGetSchemaTypeMapping() { - if (schemaTypeMapping_ == null) { - return new com.google.protobuf.MapFieldBuilder<>(schemaTypeMappingConverter); - } - return schemaTypeMapping_; - } - - private com.google.protobuf.MapFieldBuilder internalGetMutableSchemaTypeMapping() { - if (schemaTypeMapping_ == null) { - schemaTypeMapping_ = new com.google.protobuf.MapFieldBuilder<>(schemaTypeMappingConverter); - } - bitField0_ |= 0x00000001; - onChanged(); - return schemaTypeMapping_; - } - - public int getSchemaTypeMappingCount() { - return internalGetSchemaTypeMapping().ensureBuilderMap().size(); - } - - /** - *
-             * Map of schema type mappings.
-             * 
- * - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - @java.lang.Override - public boolean containsSchemaTypeMapping(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetSchemaTypeMapping().ensureBuilderMap().containsKey(key); - } - - /** - * Use {@link #getSchemaTypeMappingMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getSchemaTypeMapping() { - return getSchemaTypeMappingMap(); - } - - /** - *
-             * Map of schema type mappings.
-             * 
- * - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - @java.lang.Override - public java.util.Map getSchemaTypeMappingMap() { - return internalGetSchemaTypeMapping().getImmutableMap(); - } - - /** - *
-             * Map of schema type mappings.
-             * 
- * - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.KclType getSchemaTypeMappingOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.KclType defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableSchemaTypeMapping() - .ensureBuilderMap(); - return map.containsKey(key) ? schemaTypeMappingConverter.build(map.get(key)) : defaultValue; - } - - /** - *
-             * Map of schema type mappings.
-             * 
- * - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.KclType getSchemaTypeMappingOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableSchemaTypeMapping() - .ensureBuilderMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return schemaTypeMappingConverter.build(map.get(key)); - } - - public Builder clearSchemaTypeMapping() { - bitField0_ = (bitField0_ & ~0x00000001); - internalGetMutableSchemaTypeMapping().clear(); - return this; - } - - /** - *
-             * Map of schema type mappings.
-             * 
- * - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - public Builder removeSchemaTypeMapping(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableSchemaTypeMapping().ensureBuilderMap().remove(key); - return this; - } - - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableSchemaTypeMapping() { - bitField0_ |= 0x00000001; - return internalGetMutableSchemaTypeMapping().ensureMessageMap(); - } - - /** - *
-             * Map of schema type mappings.
-             * 
- * - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - public Builder putSchemaTypeMapping(java.lang.String key, com.kcl.api.Spec.KclType value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableSchemaTypeMapping().ensureBuilderMap().put(key, value); - bitField0_ |= 0x00000001; - return this; - } - - /** - *
-             * Map of schema type mappings.
-             * 
- * - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - public Builder putAllSchemaTypeMapping(java.util.Map values) { - for (java.util.Map.Entry e : values.entrySet()) { - if (e.getKey() == null || e.getValue() == null) { - throw new NullPointerException(); - } - } - internalGetMutableSchemaTypeMapping().ensureBuilderMap().putAll(values); - bitField0_ |= 0x00000001; - return this; - } - - /** - *
-             * Map of schema type mappings.
-             * 
- * - * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; - */ - public com.kcl.api.Spec.KclType.Builder putSchemaTypeMappingBuilderIfAbsent(java.lang.String key) { - java.util.Map builderMap = internalGetMutableSchemaTypeMapping() - .ensureBuilderMap(); - com.kcl.api.Spec.KclTypeOrBuilder entry = builderMap.get(key); - if (entry == null) { - entry = com.kcl.api.Spec.KclType.newBuilder(); - builderMap.put(key, entry); - } - if (entry instanceof com.kcl.api.Spec.KclType) { - entry = ((com.kcl.api.Spec.KclType) entry).toBuilder(); - builderMap.put(key, entry); - } - return (com.kcl.api.Spec.KclType.Builder) entry; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.GetSchemaTypeMapping_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.GetSchemaTypeMapping_Result) - private static final com.kcl.api.Spec.GetSchemaTypeMapping_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.GetSchemaTypeMapping_Result(); - } - - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSchemaTypeMapping_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ValidateCode_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ValidateCode_Args) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Path to the data file.
-         * 
- * - * string datafile = 1; - * - * @return The datafile. - */ - java.lang.String getDatafile(); - - /** - *
-         * Path to the data file.
-         * 
- * - * string datafile = 1; - * - * @return The bytes for datafile. - */ - com.google.protobuf.ByteString getDatafileBytes(); - - /** - *
-         * Data content.
-         * 
- * - * string data = 2; - * - * @return The data. - */ - java.lang.String getData(); - - /** - *
-         * Data content.
-         * 
- * - * string data = 2; - * - * @return The bytes for data. - */ - com.google.protobuf.ByteString getDataBytes(); - - /** - *
-         * Path to the code file.
-         * 
- * - * string file = 3; - * - * @return The file. - */ - java.lang.String getFile(); - - /** - *
-         * Path to the code file.
-         * 
- * - * string file = 3; - * - * @return The bytes for file. - */ - com.google.protobuf.ByteString getFileBytes(); - - /** - *
-         * Source code content.
-         * 
- * - * string code = 4; - * - * @return The code. - */ - java.lang.String getCode(); - - /** - *
-         * Source code content.
-         * 
- * - * string code = 4; - * - * @return The bytes for code. - */ - com.google.protobuf.ByteString getCodeBytes(); - - /** - *
-         * Name of the schema.
-         * 
- * - * string schema = 5; - * - * @return The schema. - */ - java.lang.String getSchema(); - - /** - *
-         * Name of the schema.
-         * 
- * - * string schema = 5; - * - * @return The bytes for schema. - */ - com.google.protobuf.ByteString getSchemaBytes(); - - /** - *
-         * Name of the attribute.
-         * 
- * - * string attribute_name = 6; - * - * @return The attributeName. - */ - java.lang.String getAttributeName(); - - /** - *
-         * Name of the attribute.
-         * 
- * - * string attribute_name = 6; - * - * @return The bytes for attributeName. - */ - com.google.protobuf.ByteString getAttributeNameBytes(); - - /** - *
-         * Format of the validation (e.g., "json", "yaml").
-         * 
- * - * string format = 7; - * - * @return The format. - */ - java.lang.String getFormat(); - - /** - *
-         * Format of the validation (e.g., "json", "yaml").
-         * 
- * - * string format = 7; - * - * @return The bytes for format. - */ - com.google.protobuf.ByteString getFormatBytes(); - - /** - *
-         * List of external packages updated.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - java.util.List getExternalPkgsList(); - - /** - *
-         * List of external packages updated.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index); - - /** - *
-         * List of external packages updated.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - int getExternalPkgsCount(); - - /** - *
-         * List of external packages updated.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - java.util.List getExternalPkgsOrBuilderList(); - - /** - *
-         * List of external packages updated.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder(int index); - } - - /** - *
-     * Message for validate code request arguments.
-     * 
- * - * Protobuf type {@code com.kcl.api.ValidateCode_Args} - */ - public static final class ValidateCode_Args extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ValidateCode_Args) - ValidateCode_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", ValidateCode_Args.class.getName()); - } - - // Use ValidateCode_Args.newBuilder() to construct. - private ValidateCode_Args(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ValidateCode_Args() { - datafile_ = ""; - data_ = ""; - file_ = ""; - code_ = ""; - schema_ = ""; - attributeName_ = ""; - format_ = ""; - externalPkgs_ = java.util.Collections.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ValidateCode_Args.class, - com.kcl.api.Spec.ValidateCode_Args.Builder.class); - } - - public static final int DATAFILE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object datafile_ = ""; - - /** - *
-         * Path to the data file.
-         * 
- * - * string datafile = 1; - * - * @return The datafile. - */ - @java.lang.Override - public java.lang.String getDatafile() { - java.lang.Object ref = datafile_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - datafile_ = s; - return s; - } - } - - /** - *
-         * Path to the data file.
-         * 
- * - * string datafile = 1; - * - * @return The bytes for datafile. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDatafileBytes() { - java.lang.Object ref = datafile_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - datafile_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DATA_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object data_ = ""; - - /** - *
-         * Data content.
-         * 
- * - * string data = 2; - * - * @return The data. - */ - @java.lang.Override - public java.lang.String getData() { - java.lang.Object ref = data_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - data_ = s; - return s; - } - } - - /** - *
-         * Data content.
-         * 
- * - * string data = 2; - * - * @return The bytes for data. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDataBytes() { - java.lang.Object ref = data_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - data_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FILE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object file_ = ""; - - /** - *
-         * Path to the code file.
-         * 
- * - * string file = 3; - * - * @return The file. - */ - @java.lang.Override - public java.lang.String getFile() { - java.lang.Object ref = file_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - file_ = s; - return s; - } - } - - /** - *
-         * Path to the code file.
-         * 
- * - * string file = 3; - * - * @return The bytes for file. - */ - @java.lang.Override - public com.google.protobuf.ByteString getFileBytes() { - java.lang.Object ref = file_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - file_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int CODE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private volatile java.lang.Object code_ = ""; - - /** - *
-         * Source code content.
-         * 
- * - * string code = 4; - * - * @return The code. - */ - @java.lang.Override - public java.lang.String getCode() { - java.lang.Object ref = code_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - code_ = s; - return s; - } - } - - /** - *
-         * Source code content.
-         * 
- * - * string code = 4; - * - * @return The bytes for code. - */ - @java.lang.Override - public com.google.protobuf.ByteString getCodeBytes() { - java.lang.Object ref = code_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - code_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SCHEMA_FIELD_NUMBER = 5; - @SuppressWarnings("serial") - private volatile java.lang.Object schema_ = ""; - - /** - *
-         * Name of the schema.
-         * 
- * - * string schema = 5; - * - * @return The schema. - */ - @java.lang.Override - public java.lang.String getSchema() { - java.lang.Object ref = schema_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schema_ = s; - return s; - } - } - - /** - *
-         * Name of the schema.
-         * 
- * - * string schema = 5; - * - * @return The bytes for schema. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSchemaBytes() { - java.lang.Object ref = schema_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - schema_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ATTRIBUTE_NAME_FIELD_NUMBER = 6; - @SuppressWarnings("serial") - private volatile java.lang.Object attributeName_ = ""; - - /** - *
-         * Name of the attribute.
-         * 
- * - * string attribute_name = 6; - * - * @return The attributeName. - */ - @java.lang.Override - public java.lang.String getAttributeName() { - java.lang.Object ref = attributeName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - attributeName_ = s; - return s; - } - } - - /** - *
-         * Name of the attribute.
-         * 
- * - * string attribute_name = 6; - * - * @return The bytes for attributeName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getAttributeNameBytes() { - java.lang.Object ref = attributeName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - attributeName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FORMAT_FIELD_NUMBER = 7; - @SuppressWarnings("serial") - private volatile java.lang.Object format_ = ""; - - /** - *
-         * Format of the validation (e.g., "json", "yaml").
-         * 
- * - * string format = 7; - * - * @return The format. - */ - @java.lang.Override - public java.lang.String getFormat() { - java.lang.Object ref = format_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - format_ = s; - return s; - } - } - - /** - *
-         * Format of the validation (e.g., "json", "yaml").
-         * 
- * - * string format = 7; - * - * @return The bytes for format. - */ - @java.lang.Override - public com.google.protobuf.ByteString getFormatBytes() { - java.lang.Object ref = format_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - format_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int EXTERNAL_PKGS_FIELD_NUMBER = 8; - @SuppressWarnings("serial") - private java.util.List externalPkgs_; - - /** - *
-         * List of external packages updated.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - @java.lang.Override - public java.util.List getExternalPkgsList() { - return externalPkgs_; - } - - /** - *
-         * List of external packages updated.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - @java.lang.Override - public java.util.List getExternalPkgsOrBuilderList() { - return externalPkgs_; - } - - /** - *
-         * List of external packages updated.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - @java.lang.Override - public int getExternalPkgsCount() { - return externalPkgs_.size(); - } - - /** - *
-         * List of external packages updated.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - @java.lang.Override - public com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index) { - return externalPkgs_.get(index); - } - - /** - *
-         * List of external packages updated.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - @java.lang.Override - public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder(int index) { - return externalPkgs_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(datafile_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, datafile_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(data_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, data_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(file_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, file_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(code_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 4, code_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(schema_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 5, schema_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(attributeName_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 6, attributeName_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(format_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 7, format_); - } - for (int i = 0; i < externalPkgs_.size(); i++) { - output.writeMessage(8, externalPkgs_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(datafile_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, datafile_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(data_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, data_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(file_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, file_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(code_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(4, code_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(schema_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(5, schema_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(attributeName_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(6, attributeName_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(format_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(7, format_); - } - for (int i = 0; i < externalPkgs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, externalPkgs_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ValidateCode_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.ValidateCode_Args other = (com.kcl.api.Spec.ValidateCode_Args) obj; - - if (!getDatafile().equals(other.getDatafile())) - return false; - if (!getData().equals(other.getData())) - return false; - if (!getFile().equals(other.getFile())) - return false; - if (!getCode().equals(other.getCode())) - return false; - if (!getSchema().equals(other.getSchema())) - return false; - if (!getAttributeName().equals(other.getAttributeName())) - return false; - if (!getFormat().equals(other.getFormat())) - return false; - if (!getExternalPkgsList().equals(other.getExternalPkgsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + DATAFILE_FIELD_NUMBER; - hash = (53 * hash) + getDatafile().hashCode(); - hash = (37 * hash) + DATA_FIELD_NUMBER; - hash = (53 * hash) + getData().hashCode(); - hash = (37 * hash) + FILE_FIELD_NUMBER; - hash = (53 * hash) + getFile().hashCode(); - hash = (37 * hash) + CODE_FIELD_NUMBER; - hash = (53 * hash) + getCode().hashCode(); - hash = (37 * hash) + SCHEMA_FIELD_NUMBER; - hash = (53 * hash) + getSchema().hashCode(); - hash = (37 * hash) + ATTRIBUTE_NAME_FIELD_NUMBER; - hash = (53 * hash) + getAttributeName().hashCode(); - hash = (37 * hash) + FORMAT_FIELD_NUMBER; - hash = (53 * hash) + getFormat().hashCode(); - if (getExternalPkgsCount() > 0) { - hash = (37 * hash) + EXTERNAL_PKGS_FIELD_NUMBER; - hash = (53 * hash) + getExternalPkgsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ValidateCode_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ValidateCode_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ValidateCode_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ValidateCode_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ValidateCode_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ValidateCode_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ValidateCode_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ValidateCode_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ValidateCode_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ValidateCode_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ValidateCode_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ValidateCode_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ValidateCode_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for validate code request arguments.
-         * 
- * - * Protobuf type {@code com.kcl.api.ValidateCode_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ValidateCode_Args) - com.kcl.api.Spec.ValidateCode_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ValidateCode_Args.class, - com.kcl.api.Spec.ValidateCode_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.ValidateCode_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - datafile_ = ""; - data_ = ""; - file_ = ""; - code_ = ""; - schema_ = ""; - attributeName_ = ""; - format_ = ""; - if (externalPkgsBuilder_ == null) { - externalPkgs_ = java.util.Collections.emptyList(); - } else { - externalPkgs_ = null; - externalPkgsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000080); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ValidateCode_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ValidateCode_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ValidateCode_Args build() { - com.kcl.api.Spec.ValidateCode_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ValidateCode_Args buildPartial() { - com.kcl.api.Spec.ValidateCode_Args result = new com.kcl.api.Spec.ValidateCode_Args(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields(com.kcl.api.Spec.ValidateCode_Args result) { - if (externalPkgsBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0)) { - externalPkgs_ = java.util.Collections.unmodifiableList(externalPkgs_); - bitField0_ = (bitField0_ & ~0x00000080); - } - result.externalPkgs_ = externalPkgs_; - } else { - result.externalPkgs_ = externalPkgsBuilder_.build(); - } - } - - private void buildPartial0(com.kcl.api.Spec.ValidateCode_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.datafile_ = datafile_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.data_ = data_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.file_ = file_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.code_ = code_; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.schema_ = schema_; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.attributeName_ = attributeName_; - } - if (((from_bitField0_ & 0x00000040) != 0)) { - result.format_ = format_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ValidateCode_Args) { - return mergeFrom((com.kcl.api.Spec.ValidateCode_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ValidateCode_Args other) { - if (other == com.kcl.api.Spec.ValidateCode_Args.getDefaultInstance()) - return this; - if (!other.getDatafile().isEmpty()) { - datafile_ = other.datafile_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getData().isEmpty()) { - data_ = other.data_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.getFile().isEmpty()) { - file_ = other.file_; - bitField0_ |= 0x00000004; - onChanged(); - } - if (!other.getCode().isEmpty()) { - code_ = other.code_; - bitField0_ |= 0x00000008; - onChanged(); - } - if (!other.getSchema().isEmpty()) { - schema_ = other.schema_; - bitField0_ |= 0x00000010; - onChanged(); - } - if (!other.getAttributeName().isEmpty()) { - attributeName_ = other.attributeName_; - bitField0_ |= 0x00000020; - onChanged(); - } - if (!other.getFormat().isEmpty()) { - format_ = other.format_; - bitField0_ |= 0x00000040; - onChanged(); - } - if (externalPkgsBuilder_ == null) { - if (!other.externalPkgs_.isEmpty()) { - if (externalPkgs_.isEmpty()) { - externalPkgs_ = other.externalPkgs_; - bitField0_ = (bitField0_ & ~0x00000080); - } else { - ensureExternalPkgsIsMutable(); - externalPkgs_.addAll(other.externalPkgs_); - } - onChanged(); - } - } else { - if (!other.externalPkgs_.isEmpty()) { - if (externalPkgsBuilder_.isEmpty()) { - externalPkgsBuilder_.dispose(); - externalPkgsBuilder_ = null; - externalPkgs_ = other.externalPkgs_; - bitField0_ = (bitField0_ & ~0x00000080); - externalPkgsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getExternalPkgsFieldBuilder() : null; - } else { - externalPkgsBuilder_.addAllMessages(other.externalPkgs_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - datafile_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - data_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - file_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - code_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - schema_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - attributeName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - format_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - com.kcl.api.Spec.ExternalPkg m = input.readMessage(com.kcl.api.Spec.ExternalPkg.parser(), - extensionRegistry); - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(m); - } else { - externalPkgsBuilder_.addMessage(m); - } - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object datafile_ = ""; - - /** - *
-             * Path to the data file.
-             * 
- * - * string datafile = 1; - * - * @return The datafile. - */ - public java.lang.String getDatafile() { - java.lang.Object ref = datafile_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - datafile_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Path to the data file.
-             * 
- * - * string datafile = 1; - * - * @return The bytes for datafile. - */ - public com.google.protobuf.ByteString getDatafileBytes() { - java.lang.Object ref = datafile_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - datafile_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Path to the data file.
-             * 
- * - * string datafile = 1; - * - * @param value - * The datafile to set. - * - * @return This builder for chaining. - */ - public Builder setDatafile(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - datafile_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Path to the data file.
-             * 
- * - * string datafile = 1; - * - * @return This builder for chaining. - */ - public Builder clearDatafile() { - datafile_ = getDefaultInstance().getDatafile(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * Path to the data file.
-             * 
- * - * string datafile = 1; - * - * @param value - * The bytes for datafile to set. - * - * @return This builder for chaining. - */ - public Builder setDatafileBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - datafile_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object data_ = ""; - - /** - *
-             * Data content.
-             * 
- * - * string data = 2; - * - * @return The data. - */ - public java.lang.String getData() { - java.lang.Object ref = data_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - data_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Data content.
-             * 
- * - * string data = 2; - * - * @return The bytes for data. - */ - public com.google.protobuf.ByteString getDataBytes() { - java.lang.Object ref = data_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - data_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Data content.
-             * 
- * - * string data = 2; - * - * @param value - * The data to set. - * - * @return This builder for chaining. - */ - public Builder setData(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - data_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Data content.
-             * 
- * - * string data = 2; - * - * @return This builder for chaining. - */ - public Builder clearData() { - data_ = getDefaultInstance().getData(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - *
-             * Data content.
-             * 
- * - * string data = 2; - * - * @param value - * The bytes for data to set. - * - * @return This builder for chaining. - */ - public Builder setDataBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - data_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.lang.Object file_ = ""; - - /** - *
-             * Path to the code file.
-             * 
- * - * string file = 3; - * - * @return The file. - */ - public java.lang.String getFile() { - java.lang.Object ref = file_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - file_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Path to the code file.
-             * 
- * - * string file = 3; - * - * @return The bytes for file. - */ - public com.google.protobuf.ByteString getFileBytes() { - java.lang.Object ref = file_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - file_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Path to the code file.
-             * 
- * - * string file = 3; - * - * @param value - * The file to set. - * - * @return This builder for chaining. - */ - public Builder setFile(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - file_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * Path to the code file.
-             * 
- * - * string file = 3; - * - * @return This builder for chaining. - */ - public Builder clearFile() { - file_ = getDefaultInstance().getFile(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - - /** - *
-             * Path to the code file.
-             * 
- * - * string file = 3; - * - * @param value - * The bytes for file to set. - * - * @return This builder for chaining. - */ - public Builder setFileBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - file_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - private java.lang.Object code_ = ""; - - /** - *
-             * Source code content.
-             * 
- * - * string code = 4; - * - * @return The code. - */ - public java.lang.String getCode() { - java.lang.Object ref = code_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - code_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Source code content.
-             * 
- * - * string code = 4; - * - * @return The bytes for code. - */ - public com.google.protobuf.ByteString getCodeBytes() { - java.lang.Object ref = code_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - code_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Source code content.
-             * 
- * - * string code = 4; - * - * @param value - * The code to set. - * - * @return This builder for chaining. - */ - public Builder setCode(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - code_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - - /** - *
-             * Source code content.
-             * 
- * - * string code = 4; - * - * @return This builder for chaining. - */ - public Builder clearCode() { - code_ = getDefaultInstance().getCode(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } - - /** - *
-             * Source code content.
-             * 
- * - * string code = 4; - * - * @param value - * The bytes for code to set. - * - * @return This builder for chaining. - */ - public Builder setCodeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - code_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - - private java.lang.Object schema_ = ""; - - /** - *
-             * Name of the schema.
-             * 
- * - * string schema = 5; - * - * @return The schema. - */ - public java.lang.String getSchema() { - java.lang.Object ref = schema_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schema_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Name of the schema.
-             * 
- * - * string schema = 5; - * - * @return The bytes for schema. - */ - public com.google.protobuf.ByteString getSchemaBytes() { - java.lang.Object ref = schema_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - schema_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Name of the schema.
-             * 
- * - * string schema = 5; - * - * @param value - * The schema to set. - * - * @return This builder for chaining. - */ - public Builder setSchema(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - schema_ = value; - bitField0_ |= 0x00000010; - onChanged(); - return this; - } - - /** - *
-             * Name of the schema.
-             * 
- * - * string schema = 5; - * - * @return This builder for chaining. - */ - public Builder clearSchema() { - schema_ = getDefaultInstance().getSchema(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - return this; - } - - /** - *
-             * Name of the schema.
-             * 
- * - * string schema = 5; - * - * @param value - * The bytes for schema to set. - * - * @return This builder for chaining. - */ - public Builder setSchemaBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - schema_ = value; - bitField0_ |= 0x00000010; - onChanged(); - return this; - } - - private java.lang.Object attributeName_ = ""; - - /** - *
-             * Name of the attribute.
-             * 
- * - * string attribute_name = 6; - * - * @return The attributeName. - */ - public java.lang.String getAttributeName() { - java.lang.Object ref = attributeName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - attributeName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Name of the attribute.
-             * 
- * - * string attribute_name = 6; - * - * @return The bytes for attributeName. - */ - public com.google.protobuf.ByteString getAttributeNameBytes() { - java.lang.Object ref = attributeName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - attributeName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Name of the attribute.
-             * 
- * - * string attribute_name = 6; - * - * @param value - * The attributeName to set. - * - * @return This builder for chaining. - */ - public Builder setAttributeName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - attributeName_ = value; - bitField0_ |= 0x00000020; - onChanged(); - return this; - } - - /** - *
-             * Name of the attribute.
-             * 
- * - * string attribute_name = 6; - * - * @return This builder for chaining. - */ - public Builder clearAttributeName() { - attributeName_ = getDefaultInstance().getAttributeName(); - bitField0_ = (bitField0_ & ~0x00000020); - onChanged(); - return this; - } - - /** - *
-             * Name of the attribute.
-             * 
- * - * string attribute_name = 6; - * - * @param value - * The bytes for attributeName to set. - * - * @return This builder for chaining. - */ - public Builder setAttributeNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - attributeName_ = value; - bitField0_ |= 0x00000020; - onChanged(); - return this; - } - - private java.lang.Object format_ = ""; - - /** - *
-             * Format of the validation (e.g., "json", "yaml").
-             * 
- * - * string format = 7; - * - * @return The format. - */ - public java.lang.String getFormat() { - java.lang.Object ref = format_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - format_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Format of the validation (e.g., "json", "yaml").
-             * 
- * - * string format = 7; - * - * @return The bytes for format. - */ - public com.google.protobuf.ByteString getFormatBytes() { - java.lang.Object ref = format_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - format_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Format of the validation (e.g., "json", "yaml").
-             * 
- * - * string format = 7; - * - * @param value - * The format to set. - * - * @return This builder for chaining. - */ - public Builder setFormat(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - format_ = value; - bitField0_ |= 0x00000040; - onChanged(); - return this; - } - - /** - *
-             * Format of the validation (e.g., "json", "yaml").
-             * 
- * - * string format = 7; - * - * @return This builder for chaining. - */ - public Builder clearFormat() { - format_ = getDefaultInstance().getFormat(); - bitField0_ = (bitField0_ & ~0x00000040); - onChanged(); - return this; - } - - /** - *
-             * Format of the validation (e.g., "json", "yaml").
-             * 
- * - * string format = 7; - * - * @param value - * The bytes for format to set. - * - * @return This builder for chaining. - */ - public Builder setFormatBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - format_ = value; - bitField0_ |= 0x00000040; - onChanged(); - return this; - } - - private java.util.List externalPkgs_ = java.util.Collections.emptyList(); - - private void ensureExternalPkgsIsMutable() { - if (!((bitField0_ & 0x00000080) != 0)) { - externalPkgs_ = new java.util.ArrayList(externalPkgs_); - bitField0_ |= 0x00000080; - } - } - - private com.google.protobuf.RepeatedFieldBuilder externalPkgsBuilder_; - - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - public java.util.List getExternalPkgsList() { - if (externalPkgsBuilder_ == null) { - return java.util.Collections.unmodifiableList(externalPkgs_); - } else { - return externalPkgsBuilder_.getMessageList(); - } - } - - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - public int getExternalPkgsCount() { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.size(); - } else { - return externalPkgsBuilder_.getCount(); - } - } - - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - public com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index) { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.get(index); - } else { - return externalPkgsBuilder_.getMessage(index); - } - } - - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - public Builder setExternalPkgs(int index, com.kcl.api.Spec.ExternalPkg value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.set(index, value); - onChanged(); - } else { - externalPkgsBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - public Builder setExternalPkgs(int index, com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.set(index, builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - public Builder addExternalPkgs(com.kcl.api.Spec.ExternalPkg value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.add(value); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(value); - } - return this; - } - - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - public Builder addExternalPkgs(int index, com.kcl.api.Spec.ExternalPkg value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.add(index, value); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - public Builder addExternalPkgs(com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - public Builder addExternalPkgs(int index, com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(index, builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - public Builder addAllExternalPkgs(java.lang.Iterable values) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, externalPkgs_); - onChanged(); - } else { - externalPkgsBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - public Builder clearExternalPkgs() { - if (externalPkgsBuilder_ == null) { - externalPkgs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080); - onChanged(); - } else { - externalPkgsBuilder_.clear(); - } - return this; - } - - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - public Builder removeExternalPkgs(int index) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.remove(index); - onChanged(); - } else { - externalPkgsBuilder_.remove(index); - } - return this; - } - - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - public com.kcl.api.Spec.ExternalPkg.Builder getExternalPkgsBuilder(int index) { - return getExternalPkgsFieldBuilder().getBuilder(index); - } - - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder(int index) { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.get(index); - } else { - return externalPkgsBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - public java.util.List getExternalPkgsOrBuilderList() { - if (externalPkgsBuilder_ != null) { - return externalPkgsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(externalPkgs_); - } - } - - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder() { - return getExternalPkgsFieldBuilder().addBuilder(com.kcl.api.Spec.ExternalPkg.getDefaultInstance()); - } - - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder(int index) { - return getExternalPkgsFieldBuilder().addBuilder(index, - com.kcl.api.Spec.ExternalPkg.getDefaultInstance()); - } - - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; - */ - public java.util.List getExternalPkgsBuilderList() { - return getExternalPkgsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilder getExternalPkgsFieldBuilder() { - if (externalPkgsBuilder_ == null) { - externalPkgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - externalPkgs_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); - externalPkgs_ = null; - } - return externalPkgsBuilder_; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ValidateCode_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ValidateCode_Args) - private static final com.kcl.api.Spec.ValidateCode_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ValidateCode_Args(); - } - - public static com.kcl.api.Spec.ValidateCode_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ValidateCode_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ValidateCode_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ValidateCode_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ValidateCode_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Flag indicating if validation was successful.
-         * 
- * - * bool success = 1; - * - * @return The success. - */ - boolean getSuccess(); - - /** - *
-         * Error message from validation.
-         * 
- * - * string err_message = 2; - * - * @return The errMessage. - */ - java.lang.String getErrMessage(); - - /** - *
-         * Error message from validation.
-         * 
- * - * string err_message = 2; - * - * @return The bytes for errMessage. - */ - com.google.protobuf.ByteString getErrMessageBytes(); - } - - /** - *
-     * Message for validate code response.
-     * 
- * - * Protobuf type {@code com.kcl.api.ValidateCode_Result} - */ - public static final class ValidateCode_Result extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ValidateCode_Result) - ValidateCode_ResultOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", ValidateCode_Result.class.getName()); - } - - // Use ValidateCode_Result.newBuilder() to construct. - private ValidateCode_Result(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ValidateCode_Result() { - errMessage_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ValidateCode_Result.class, - com.kcl.api.Spec.ValidateCode_Result.Builder.class); - } - - public static final int SUCCESS_FIELD_NUMBER = 1; - private boolean success_ = false; - - /** - *
-         * Flag indicating if validation was successful.
-         * 
- * - * bool success = 1; - * - * @return The success. - */ - @java.lang.Override - public boolean getSuccess() { - return success_; - } - - public static final int ERR_MESSAGE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object errMessage_ = ""; - - /** - *
-         * Error message from validation.
-         * 
- * - * string err_message = 2; - * - * @return The errMessage. - */ - @java.lang.Override - public java.lang.String getErrMessage() { - java.lang.Object ref = errMessage_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - errMessage_ = s; - return s; - } - } - - /** - *
-         * Error message from validation.
-         * 
- * - * string err_message = 2; - * - * @return The bytes for errMessage. - */ - @java.lang.Override - public com.google.protobuf.ByteString getErrMessageBytes() { - java.lang.Object ref = errMessage_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - errMessage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (success_ != false) { - output.writeBool(1, success_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errMessage_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, errMessage_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (success_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, success_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errMessage_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, errMessage_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ValidateCode_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.ValidateCode_Result other = (com.kcl.api.Spec.ValidateCode_Result) obj; - - if (getSuccess() != other.getSuccess()) - return false; - if (!getErrMessage().equals(other.getErrMessage())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + SUCCESS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSuccess()); - hash = (37 * hash) + ERR_MESSAGE_FIELD_NUMBER; - hash = (53 * hash) + getErrMessage().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ValidateCode_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ValidateCode_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ValidateCode_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ValidateCode_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ValidateCode_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ValidateCode_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ValidateCode_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ValidateCode_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ValidateCode_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ValidateCode_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ValidateCode_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ValidateCode_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ValidateCode_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for validate code response.
-         * 
- * - * Protobuf type {@code com.kcl.api.ValidateCode_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ValidateCode_Result) - com.kcl.api.Spec.ValidateCode_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ValidateCode_Result.class, - com.kcl.api.Spec.ValidateCode_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.ValidateCode_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - success_ = false; - errMessage_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ValidateCode_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ValidateCode_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ValidateCode_Result build() { - com.kcl.api.Spec.ValidateCode_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ValidateCode_Result buildPartial() { - com.kcl.api.Spec.ValidateCode_Result result = new com.kcl.api.Spec.ValidateCode_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.ValidateCode_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.success_ = success_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.errMessage_ = errMessage_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ValidateCode_Result) { - return mergeFrom((com.kcl.api.Spec.ValidateCode_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ValidateCode_Result other) { - if (other == com.kcl.api.Spec.ValidateCode_Result.getDefaultInstance()) - return this; - if (other.getSuccess() != false) { - setSuccess(other.getSuccess()); - } - if (!other.getErrMessage().isEmpty()) { - errMessage_ = other.errMessage_; - bitField0_ |= 0x00000002; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - success_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - errMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private boolean success_; - - /** - *
-             * Flag indicating if validation was successful.
-             * 
- * - * bool success = 1; - * - * @return The success. - */ - @java.lang.Override - public boolean getSuccess() { - return success_; - } - - /** - *
-             * Flag indicating if validation was successful.
-             * 
- * - * bool success = 1; - * - * @param value - * The success to set. - * - * @return This builder for chaining. - */ - public Builder setSuccess(boolean value) { - - success_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Flag indicating if validation was successful.
-             * 
- * - * bool success = 1; - * - * @return This builder for chaining. - */ - public Builder clearSuccess() { - bitField0_ = (bitField0_ & ~0x00000001); - success_ = false; - onChanged(); - return this; - } - - private java.lang.Object errMessage_ = ""; - - /** - *
-             * Error message from validation.
-             * 
- * - * string err_message = 2; - * - * @return The errMessage. - */ - public java.lang.String getErrMessage() { - java.lang.Object ref = errMessage_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - errMessage_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Error message from validation.
-             * 
- * - * string err_message = 2; - * - * @return The bytes for errMessage. - */ - public com.google.protobuf.ByteString getErrMessageBytes() { - java.lang.Object ref = errMessage_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - errMessage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Error message from validation.
-             * 
- * - * string err_message = 2; - * - * @param value - * The errMessage to set. - * - * @return This builder for chaining. - */ - public Builder setErrMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - errMessage_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Error message from validation.
-             * 
- * - * string err_message = 2; - * - * @return This builder for chaining. - */ - public Builder clearErrMessage() { - errMessage_ = getDefaultInstance().getErrMessage(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - *
-             * Error message from validation.
-             * 
- * - * string err_message = 2; - * - * @param value - * The bytes for errMessage to set. - * - * @return This builder for chaining. - */ - public Builder setErrMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - errMessage_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ValidateCode_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ValidateCode_Result) - private static final com.kcl.api.Spec.ValidateCode_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ValidateCode_Result(); - } - - public static com.kcl.api.Spec.ValidateCode_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ValidateCode_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ValidateCode_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface PositionOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Position) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Line number.
-         * 
- * - * int64 line = 1; - * - * @return The line. - */ - long getLine(); - - /** - *
-         * Column number.
-         * 
- * - * int64 column = 2; - * - * @return The column. - */ - long getColumn(); - - /** - *
-         * Filename the position refers to.
-         * 
- * - * string filename = 3; - * - * @return The filename. - */ - java.lang.String getFilename(); - - /** - *
-         * Filename the position refers to.
-         * 
- * - * string filename = 3; - * - * @return The bytes for filename. - */ - com.google.protobuf.ByteString getFilenameBytes(); - } - - /** - *
-     * Message representing a position in the source code.
-     * 
- * - * Protobuf type {@code com.kcl.api.Position} - */ - public static final class Position extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Position) - PositionOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", Position.class.getName()); - } - - // Use Position.newBuilder() to construct. - private Position(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private Position() { - filename_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Position_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Position_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Position.class, - com.kcl.api.Spec.Position.Builder.class); - } - - public static final int LINE_FIELD_NUMBER = 1; - private long line_ = 0L; - - /** - *
-         * Line number.
-         * 
- * - * int64 line = 1; - * - * @return The line. - */ - @java.lang.Override - public long getLine() { - return line_; - } - - public static final int COLUMN_FIELD_NUMBER = 2; - private long column_ = 0L; - - /** - *
-         * Column number.
-         * 
- * - * int64 column = 2; - * - * @return The column. - */ - @java.lang.Override - public long getColumn() { - return column_; - } - - public static final int FILENAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object filename_ = ""; - - /** - *
-         * Filename the position refers to.
-         * 
- * - * string filename = 3; - * - * @return The filename. - */ - @java.lang.Override - public java.lang.String getFilename() { - java.lang.Object ref = filename_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filename_ = s; - return s; - } - } - - /** - *
-         * Filename the position refers to.
-         * 
- * - * string filename = 3; - * - * @return The bytes for filename. - */ - @java.lang.Override - public com.google.protobuf.ByteString getFilenameBytes() { - java.lang.Object ref = filename_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - filename_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (line_ != 0L) { - output.writeInt64(1, line_); - } - if (column_ != 0L) { - output.writeInt64(2, column_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filename_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, filename_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (line_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, line_); - } - if (column_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, column_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filename_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, filename_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Position)) { - return super.equals(obj); - } - com.kcl.api.Spec.Position other = (com.kcl.api.Spec.Position) obj; - - if (getLine() != other.getLine()) - return false; - if (getColumn() != other.getColumn()) - return false; - if (!getFilename().equals(other.getFilename())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + LINE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLine()); - hash = (37 * hash) + COLUMN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getColumn()); - hash = (37 * hash) + FILENAME_FIELD_NUMBER; - hash = (53 * hash) + getFilename().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.Position parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Position parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Position parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Position parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Position parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.Position parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.Position parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Position parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.Position parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Position parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.Position parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.Position parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.Position prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message representing a position in the source code.
-         * 
- * - * Protobuf type {@code com.kcl.api.Position} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Position) - com.kcl.api.Spec.PositionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Position_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Position_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Position.class, - com.kcl.api.Spec.Position.Builder.class); - } - - // Construct using com.kcl.api.Spec.Position.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - line_ = 0L; - column_ = 0L; - filename_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Position_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.Position getDefaultInstanceForType() { - return com.kcl.api.Spec.Position.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.Position build() { - com.kcl.api.Spec.Position result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.Position buildPartial() { - com.kcl.api.Spec.Position result = new com.kcl.api.Spec.Position(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.Position result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.line_ = line_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.column_ = column_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.filename_ = filename_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Position) { - return mergeFrom((com.kcl.api.Spec.Position) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.Position other) { - if (other == com.kcl.api.Spec.Position.getDefaultInstance()) - return this; - if (other.getLine() != 0L) { - setLine(other.getLine()); - } - if (other.getColumn() != 0L) { - setColumn(other.getColumn()); - } - if (!other.getFilename().isEmpty()) { - filename_ = other.filename_; - bitField0_ |= 0x00000004; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - line_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - column_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - filename_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private long line_; - - /** - *
-             * Line number.
-             * 
- * - * int64 line = 1; - * - * @return The line. - */ - @java.lang.Override - public long getLine() { - return line_; - } - - /** - *
-             * Line number.
-             * 
- * - * int64 line = 1; - * - * @param value - * The line to set. - * - * @return This builder for chaining. - */ - public Builder setLine(long value) { - - line_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Line number.
-             * 
- * - * int64 line = 1; - * - * @return This builder for chaining. - */ - public Builder clearLine() { - bitField0_ = (bitField0_ & ~0x00000001); - line_ = 0L; - onChanged(); - return this; - } - - private long column_; - - /** - *
-             * Column number.
-             * 
- * - * int64 column = 2; - * - * @return The column. - */ - @java.lang.Override - public long getColumn() { - return column_; - } - - /** - *
-             * Column number.
-             * 
- * - * int64 column = 2; - * - * @param value - * The column to set. - * - * @return This builder for chaining. - */ - public Builder setColumn(long value) { - - column_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Column number.
-             * 
- * - * int64 column = 2; - * - * @return This builder for chaining. - */ - public Builder clearColumn() { - bitField0_ = (bitField0_ & ~0x00000002); - column_ = 0L; - onChanged(); - return this; - } - - private java.lang.Object filename_ = ""; - - /** - *
-             * Filename the position refers to.
-             * 
- * - * string filename = 3; - * - * @return The filename. - */ - public java.lang.String getFilename() { - java.lang.Object ref = filename_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filename_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Filename the position refers to.
-             * 
- * - * string filename = 3; - * - * @return The bytes for filename. - */ - public com.google.protobuf.ByteString getFilenameBytes() { - java.lang.Object ref = filename_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - filename_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Filename the position refers to.
-             * 
- * - * string filename = 3; - * - * @param value - * The filename to set. - * - * @return This builder for chaining. - */ - public Builder setFilename(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - filename_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * Filename the position refers to.
-             * 
- * - * string filename = 3; - * - * @return This builder for chaining. - */ - public Builder clearFilename() { - filename_ = getDefaultInstance().getFilename(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - - /** - *
-             * Filename the position refers to.
-             * 
- * - * string filename = 3; - * - * @param value - * The bytes for filename to set. - * - * @return This builder for chaining. - */ - public Builder setFilenameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - filename_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.Position) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.Position) - private static final com.kcl.api.Spec.Position DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Position(); - } - - public static com.kcl.api.Spec.Position getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Position parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.Position getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ListDepFiles_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ListDepFiles_Args) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Working directory.
-         * 
- * - * string work_dir = 1; - * - * @return The workDir. - */ - java.lang.String getWorkDir(); - - /** - *
-         * Working directory.
-         * 
- * - * string work_dir = 1; - * - * @return The bytes for workDir. - */ - com.google.protobuf.ByteString getWorkDirBytes(); - - /** - *
-         * Flag to use absolute paths.
-         * 
- * - * bool use_abs_path = 2; - * - * @return The useAbsPath. - */ - boolean getUseAbsPath(); - - /** - *
-         * Flag to include all files.
-         * 
- * - * bool include_all = 3; - * - * @return The includeAll. - */ - boolean getIncludeAll(); - - /** - *
-         * Flag to use fast parser.
-         * 
- * - * bool use_fast_parser = 4; - * - * @return The useFastParser. - */ - boolean getUseFastParser(); - } - - /** - *
-     * Message for list dependency files request arguments.
-     * 
- * - * Protobuf type {@code com.kcl.api.ListDepFiles_Args} - */ - public static final class ListDepFiles_Args extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ListDepFiles_Args) - ListDepFiles_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", ListDepFiles_Args.class.getName()); - } - - // Use ListDepFiles_Args.newBuilder() to construct. - private ListDepFiles_Args(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ListDepFiles_Args() { - workDir_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListDepFiles_Args.class, - com.kcl.api.Spec.ListDepFiles_Args.Builder.class); - } - - public static final int WORK_DIR_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object workDir_ = ""; - - /** - *
-         * Working directory.
-         * 
- * - * string work_dir = 1; - * - * @return The workDir. - */ - @java.lang.Override - public java.lang.String getWorkDir() { - java.lang.Object ref = workDir_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - workDir_ = s; - return s; - } - } - - /** - *
-         * Working directory.
-         * 
- * - * string work_dir = 1; - * - * @return The bytes for workDir. - */ - @java.lang.Override - public com.google.protobuf.ByteString getWorkDirBytes() { - java.lang.Object ref = workDir_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - workDir_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int USE_ABS_PATH_FIELD_NUMBER = 2; - private boolean useAbsPath_ = false; - - /** - *
-         * Flag to use absolute paths.
-         * 
- * - * bool use_abs_path = 2; - * - * @return The useAbsPath. - */ - @java.lang.Override - public boolean getUseAbsPath() { - return useAbsPath_; - } - - public static final int INCLUDE_ALL_FIELD_NUMBER = 3; - private boolean includeAll_ = false; - - /** - *
-         * Flag to include all files.
-         * 
- * - * bool include_all = 3; - * - * @return The includeAll. - */ - @java.lang.Override - public boolean getIncludeAll() { - return includeAll_; - } - - public static final int USE_FAST_PARSER_FIELD_NUMBER = 4; - private boolean useFastParser_ = false; - - /** - *
-         * Flag to use fast parser.
-         * 
- * - * bool use_fast_parser = 4; - * - * @return The useFastParser. - */ - @java.lang.Override - public boolean getUseFastParser() { - return useFastParser_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workDir_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, workDir_); - } - if (useAbsPath_ != false) { - output.writeBool(2, useAbsPath_); - } - if (includeAll_ != false) { - output.writeBool(3, includeAll_); - } - if (useFastParser_ != false) { - output.writeBool(4, useFastParser_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workDir_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, workDir_); - } - if (useAbsPath_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useAbsPath_); - } - if (includeAll_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, includeAll_); - } - if (useFastParser_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, useFastParser_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ListDepFiles_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.ListDepFiles_Args other = (com.kcl.api.Spec.ListDepFiles_Args) obj; - - if (!getWorkDir().equals(other.getWorkDir())) - return false; - if (getUseAbsPath() != other.getUseAbsPath()) - return false; - if (getIncludeAll() != other.getIncludeAll()) - return false; - if (getUseFastParser() != other.getUseFastParser()) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + WORK_DIR_FIELD_NUMBER; - hash = (53 * hash) + getWorkDir().hashCode(); - hash = (37 * hash) + USE_ABS_PATH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseAbsPath()); - hash = (37 * hash) + INCLUDE_ALL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeAll()); - hash = (37 * hash) + USE_FAST_PARSER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseFastParser()); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ListDepFiles_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListDepFiles_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ListDepFiles_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for list dependency files request arguments.
-         * 
- * - * Protobuf type {@code com.kcl.api.ListDepFiles_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ListDepFiles_Args) - com.kcl.api.Spec.ListDepFiles_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListDepFiles_Args.class, - com.kcl.api.Spec.ListDepFiles_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.ListDepFiles_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - workDir_ = ""; - useAbsPath_ = false; - includeAll_ = false; - useFastParser_ = false; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ListDepFiles_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Args build() { - com.kcl.api.Spec.ListDepFiles_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Args buildPartial() { - com.kcl.api.Spec.ListDepFiles_Args result = new com.kcl.api.Spec.ListDepFiles_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.ListDepFiles_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.workDir_ = workDir_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.useAbsPath_ = useAbsPath_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.includeAll_ = includeAll_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.useFastParser_ = useFastParser_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ListDepFiles_Args) { - return mergeFrom((com.kcl.api.Spec.ListDepFiles_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ListDepFiles_Args other) { - if (other == com.kcl.api.Spec.ListDepFiles_Args.getDefaultInstance()) - return this; - if (!other.getWorkDir().isEmpty()) { - workDir_ = other.workDir_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (other.getUseAbsPath() != false) { - setUseAbsPath(other.getUseAbsPath()); - } - if (other.getIncludeAll() != false) { - setIncludeAll(other.getIncludeAll()); - } - if (other.getUseFastParser() != false) { - setUseFastParser(other.getUseFastParser()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - workDir_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - useAbsPath_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - includeAll_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - useFastParser_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object workDir_ = ""; - - /** - *
-             * Working directory.
-             * 
- * - * string work_dir = 1; - * - * @return The workDir. - */ - public java.lang.String getWorkDir() { - java.lang.Object ref = workDir_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - workDir_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Working directory.
-             * 
- * - * string work_dir = 1; - * - * @return The bytes for workDir. - */ - public com.google.protobuf.ByteString getWorkDirBytes() { - java.lang.Object ref = workDir_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - workDir_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Working directory.
-             * 
- * - * string work_dir = 1; - * - * @param value - * The workDir to set. - * - * @return This builder for chaining. - */ - public Builder setWorkDir(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - workDir_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Working directory.
-             * 
- * - * string work_dir = 1; - * - * @return This builder for chaining. - */ - public Builder clearWorkDir() { - workDir_ = getDefaultInstance().getWorkDir(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * Working directory.
-             * 
- * - * string work_dir = 1; - * - * @param value - * The bytes for workDir to set. - * - * @return This builder for chaining. - */ - public Builder setWorkDirBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - workDir_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private boolean useAbsPath_; - - /** - *
-             * Flag to use absolute paths.
-             * 
- * - * bool use_abs_path = 2; - * - * @return The useAbsPath. - */ - @java.lang.Override - public boolean getUseAbsPath() { - return useAbsPath_; - } - - /** - *
-             * Flag to use absolute paths.
-             * 
- * - * bool use_abs_path = 2; - * - * @param value - * The useAbsPath to set. - * - * @return This builder for chaining. - */ - public Builder setUseAbsPath(boolean value) { - - useAbsPath_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Flag to use absolute paths.
-             * 
- * - * bool use_abs_path = 2; - * - * @return This builder for chaining. - */ - public Builder clearUseAbsPath() { - bitField0_ = (bitField0_ & ~0x00000002); - useAbsPath_ = false; - onChanged(); - return this; - } - - private boolean includeAll_; - - /** - *
-             * Flag to include all files.
-             * 
- * - * bool include_all = 3; - * - * @return The includeAll. - */ - @java.lang.Override - public boolean getIncludeAll() { - return includeAll_; - } - - /** - *
-             * Flag to include all files.
-             * 
- * - * bool include_all = 3; - * - * @param value - * The includeAll to set. - * - * @return This builder for chaining. - */ - public Builder setIncludeAll(boolean value) { - - includeAll_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * Flag to include all files.
-             * 
- * - * bool include_all = 3; - * - * @return This builder for chaining. - */ - public Builder clearIncludeAll() { - bitField0_ = (bitField0_ & ~0x00000004); - includeAll_ = false; - onChanged(); - return this; - } - - private boolean useFastParser_; - - /** - *
-             * Flag to use fast parser.
-             * 
- * - * bool use_fast_parser = 4; - * - * @return The useFastParser. - */ - @java.lang.Override - public boolean getUseFastParser() { - return useFastParser_; - } - - /** - *
-             * Flag to use fast parser.
-             * 
- * - * bool use_fast_parser = 4; - * - * @param value - * The useFastParser to set. - * - * @return This builder for chaining. - */ - public Builder setUseFastParser(boolean value) { - - useFastParser_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - - /** - *
-             * Flag to use fast parser.
-             * 
- * - * bool use_fast_parser = 4; - * - * @return This builder for chaining. - */ - public Builder clearUseFastParser() { - bitField0_ = (bitField0_ & ~0x00000008); - useFastParser_ = false; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ListDepFiles_Args) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ListDepFiles_Args) - private static final com.kcl.api.Spec.ListDepFiles_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ListDepFiles_Args(); - } - - public static com.kcl.api.Spec.ListDepFiles_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDepFiles_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ListDepFiles_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ListDepFiles_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Root package path.
-         * 
- * - * string pkgroot = 1; - * - * @return The pkgroot. - */ - java.lang.String getPkgroot(); - - /** - *
-         * Root package path.
-         * 
- * - * string pkgroot = 1; - * - * @return The bytes for pkgroot. - */ - com.google.protobuf.ByteString getPkgrootBytes(); - - /** - *
-         * Package path.
-         * 
- * - * string pkgpath = 2; - * - * @return The pkgpath. - */ - java.lang.String getPkgpath(); - - /** - *
-         * Package path.
-         * 
- * - * string pkgpath = 2; - * - * @return The bytes for pkgpath. - */ - com.google.protobuf.ByteString getPkgpathBytes(); - - /** - *
-         * List of file paths in the package.
-         * 
- * - * repeated string files = 3; - * - * @return A list containing the files. - */ - java.util.List getFilesList(); - - /** - *
-         * List of file paths in the package.
-         * 
- * - * repeated string files = 3; - * - * @return The count of files. - */ - int getFilesCount(); - - /** - *
-         * List of file paths in the package.
-         * 
- * - * repeated string files = 3; - * - * @param index - * The index of the element to return. - * - * @return The files at the given index. - */ - java.lang.String getFiles(int index); - - /** - *
-         * List of file paths in the package.
-         * 
- * - * repeated string files = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the files at the given index. - */ - com.google.protobuf.ByteString getFilesBytes(int index); - } + /** + *
+     * Returns the files in the order they should be compiled.
+     * 
+ * + * repeated string paths = 2; + * @return A list containing the paths. + */ + java.util.List + getPathsList(); + /** + *
+     * Returns the files in the order they should be compiled.
+     * 
+ * + * repeated string paths = 2; + * @return The count of paths. + */ + int getPathsCount(); + /** + *
+     * Returns the files in the order they should be compiled.
+     * 
+ * + * repeated string paths = 2; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + java.lang.String getPaths(int index); + /** + *
+     * Returns the files in the order they should be compiled.
+     * 
+ * + * repeated string paths = 2; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + com.google.protobuf.ByteString + getPathsBytes(int index); /** *
-     * Message for list dependency files response.
+     * List of parse errors.
      * 
* - * Protobuf type {@code com.kcl.api.ListDepFiles_Result} + * repeated .com.kcl.api.Error parse_errors = 3; */ - public static final class ListDepFiles_Result extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ListDepFiles_Result) - ListDepFiles_ResultOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", ListDepFiles_Result.class.getName()); - } - - // Use ListDepFiles_Result.newBuilder() to construct. - private ListDepFiles_Result(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private ListDepFiles_Result() { - pkgroot_ = ""; - pkgpath_ = ""; - files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListDepFiles_Result.class, - com.kcl.api.Spec.ListDepFiles_Result.Builder.class); - } - - public static final int PKGROOT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object pkgroot_ = ""; - - /** - *
-         * Root package path.
-         * 
- * - * string pkgroot = 1; - * - * @return The pkgroot. - */ - @java.lang.Override - public java.lang.String getPkgroot() { - java.lang.Object ref = pkgroot_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pkgroot_ = s; - return s; - } - } - - /** - *
-         * Root package path.
-         * 
- * - * string pkgroot = 1; - * - * @return The bytes for pkgroot. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPkgrootBytes() { - java.lang.Object ref = pkgroot_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pkgroot_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PKGPATH_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object pkgpath_ = ""; - - /** - *
-         * Package path.
-         * 
- * - * string pkgpath = 2; - * - * @return The pkgpath. - */ - @java.lang.Override - public java.lang.String getPkgpath() { - java.lang.Object ref = pkgpath_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pkgpath_ = s; - return s; - } - } - - /** - *
-         * Package path.
-         * 
- * - * string pkgpath = 2; - * - * @return The bytes for pkgpath. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPkgpathBytes() { - java.lang.Object ref = pkgpath_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pkgpath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FILES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - *
-         * List of file paths in the package.
-         * 
- * - * repeated string files = 3; - * - * @return A list containing the files. - */ - public com.google.protobuf.ProtocolStringList getFilesList() { - return files_; - } - - /** - *
-         * List of file paths in the package.
-         * 
- * - * repeated string files = 3; - * - * @return The count of files. - */ - public int getFilesCount() { - return files_.size(); - } - - /** - *
-         * List of file paths in the package.
-         * 
- * - * repeated string files = 3; - * - * @param index - * The index of the element to return. - * - * @return The files at the given index. - */ - public java.lang.String getFiles(int index) { - return files_.get(index); - } - - /** - *
-         * List of file paths in the package.
-         * 
- * - * repeated string files = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the files at the given index. - */ - public com.google.protobuf.ByteString getFilesBytes(int index) { - return files_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pkgroot_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, pkgroot_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pkgpath_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, pkgpath_); - } - for (int i = 0; i < files_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, files_.getRaw(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pkgroot_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, pkgroot_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pkgpath_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, pkgpath_); - } - { - int dataSize = 0; - for (int i = 0; i < files_.size(); i++) { - dataSize += computeStringSizeNoTag(files_.getRaw(i)); - } - size += dataSize; - size += 1 * getFilesList().size(); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.ListDepFiles_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.ListDepFiles_Result other = (com.kcl.api.Spec.ListDepFiles_Result) obj; - - if (!getPkgroot().equals(other.getPkgroot())) - return false; - if (!getPkgpath().equals(other.getPkgpath())) - return false; - if (!getFilesList().equals(other.getFilesList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PKGROOT_FIELD_NUMBER; - hash = (53 * hash) + getPkgroot().hashCode(); - hash = (37 * hash) + PKGPATH_FIELD_NUMBER; - hash = (53 * hash) + getPkgpath().hashCode(); - if (getFilesCount() > 0) { - hash = (37 * hash) + FILES_FIELD_NUMBER; - hash = (53 * hash) + getFilesList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ListDepFiles_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListDepFiles_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.ListDepFiles_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for list dependency files response.
-         * 
- * - * Protobuf type {@code com.kcl.api.ListDepFiles_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ListDepFiles_Result) - com.kcl.api.Spec.ListDepFiles_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.ListDepFiles_Result.class, - com.kcl.api.Spec.ListDepFiles_Result.Builder.class); - } - - // Construct using com.kcl.api.Spec.ListDepFiles_Result.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - pkgroot_ = ""; - pkgpath_ = ""; - files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Result_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ListDepFiles_Result.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Result build() { - com.kcl.api.Spec.ListDepFiles_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Result buildPartial() { - com.kcl.api.Spec.ListDepFiles_Result result = new com.kcl.api.Spec.ListDepFiles_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.ListDepFiles_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.pkgroot_ = pkgroot_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.pkgpath_ = pkgpath_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - files_.makeImmutable(); - result.files_ = files_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ListDepFiles_Result) { - return mergeFrom((com.kcl.api.Spec.ListDepFiles_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.ListDepFiles_Result other) { - if (other == com.kcl.api.Spec.ListDepFiles_Result.getDefaultInstance()) - return this; - if (!other.getPkgroot().isEmpty()) { - pkgroot_ = other.pkgroot_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getPkgpath().isEmpty()) { - pkgpath_ = other.pkgpath_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.files_.isEmpty()) { - if (files_.isEmpty()) { - files_ = other.files_; - bitField0_ |= 0x00000004; - } else { - ensureFilesIsMutable(); - files_.addAll(other.files_); - } - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - pkgroot_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - pkgpath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureFilesIsMutable(); - files_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object pkgroot_ = ""; - - /** - *
-             * Root package path.
-             * 
- * - * string pkgroot = 1; - * - * @return The pkgroot. - */ - public java.lang.String getPkgroot() { - java.lang.Object ref = pkgroot_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pkgroot_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Root package path.
-             * 
- * - * string pkgroot = 1; - * - * @return The bytes for pkgroot. - */ - public com.google.protobuf.ByteString getPkgrootBytes() { - java.lang.Object ref = pkgroot_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - pkgroot_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Root package path.
-             * 
- * - * string pkgroot = 1; - * - * @param value - * The pkgroot to set. - * - * @return This builder for chaining. - */ - public Builder setPkgroot(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - pkgroot_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Root package path.
-             * 
- * - * string pkgroot = 1; - * - * @return This builder for chaining. - */ - public Builder clearPkgroot() { - pkgroot_ = getDefaultInstance().getPkgroot(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * Root package path.
-             * 
- * - * string pkgroot = 1; - * - * @param value - * The bytes for pkgroot to set. - * - * @return This builder for chaining. - */ - public Builder setPkgrootBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - pkgroot_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object pkgpath_ = ""; - - /** - *
-             * Package path.
-             * 
- * - * string pkgpath = 2; - * - * @return The pkgpath. - */ - public java.lang.String getPkgpath() { - java.lang.Object ref = pkgpath_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pkgpath_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Package path.
-             * 
- * - * string pkgpath = 2; - * - * @return The bytes for pkgpath. - */ - public com.google.protobuf.ByteString getPkgpathBytes() { - java.lang.Object ref = pkgpath_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - pkgpath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Package path.
-             * 
- * - * string pkgpath = 2; - * - * @param value - * The pkgpath to set. - * - * @return This builder for chaining. - */ - public Builder setPkgpath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - pkgpath_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Package path.
-             * 
- * - * string pkgpath = 2; - * - * @return This builder for chaining. - */ - public Builder clearPkgpath() { - pkgpath_ = getDefaultInstance().getPkgpath(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - *
-             * Package path.
-             * 
- * - * string pkgpath = 2; - * - * @param value - * The bytes for pkgpath to set. - * - * @return This builder for chaining. - */ - public Builder setPkgpathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - pkgpath_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList files_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureFilesIsMutable() { - if (!files_.isModifiable()) { - files_ = new com.google.protobuf.LazyStringArrayList(files_); - } - bitField0_ |= 0x00000004; - } - - /** - *
-             * List of file paths in the package.
-             * 
- * - * repeated string files = 3; - * - * @return A list containing the files. - */ - public com.google.protobuf.ProtocolStringList getFilesList() { - files_.makeImmutable(); - return files_; - } - - /** - *
-             * List of file paths in the package.
-             * 
- * - * repeated string files = 3; - * - * @return The count of files. - */ - public int getFilesCount() { - return files_.size(); - } - - /** - *
-             * List of file paths in the package.
-             * 
- * - * repeated string files = 3; - * - * @param index - * The index of the element to return. - * - * @return The files at the given index. - */ - public java.lang.String getFiles(int index) { - return files_.get(index); - } - - /** - *
-             * List of file paths in the package.
-             * 
- * - * repeated string files = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the files at the given index. - */ - public com.google.protobuf.ByteString getFilesBytes(int index) { - return files_.getByteString(index); - } - - /** - *
-             * List of file paths in the package.
-             * 
- * - * repeated string files = 3; - * - * @param index - * The index to set the value at. - * @param value - * The files to set. - * - * @return This builder for chaining. - */ - public Builder setFiles(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureFilesIsMutable(); - files_.set(index, value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * List of file paths in the package.
-             * 
- * - * repeated string files = 3; - * - * @param value - * The files to add. - * - * @return This builder for chaining. - */ - public Builder addFiles(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureFilesIsMutable(); - files_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * List of file paths in the package.
-             * 
- * - * repeated string files = 3; - * - * @param values - * The files to add. - * - * @return This builder for chaining. - */ - public Builder addAllFiles(java.lang.Iterable values) { - ensureFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * List of file paths in the package.
-             * 
- * - * repeated string files = 3; - * - * @return This builder for chaining. - */ - public Builder clearFiles() { - files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; - onChanged(); - return this; - } - - /** - *
-             * List of file paths in the package.
-             * 
- * - * repeated string files = 3; - * - * @param value - * The bytes of the files to add. - * - * @return This builder for chaining. - */ - public Builder addFilesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureFilesIsMutable(); - files_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.ListDepFiles_Result) - } - - // @@protoc_insertion_point(class_scope:com.kcl.api.ListDepFiles_Result) - private static final com.kcl.api.Spec.ListDepFiles_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ListDepFiles_Result(); - } - - public static com.kcl.api.Spec.ListDepFiles_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDepFiles_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LoadSettingsFiles_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadSettingsFiles_Args) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Working directory.
-         * 
- * - * string work_dir = 1; - * - * @return The workDir. - */ - java.lang.String getWorkDir(); - - /** - *
-         * Working directory.
-         * 
- * - * string work_dir = 1; - * - * @return The bytes for workDir. - */ - com.google.protobuf.ByteString getWorkDirBytes(); - - /** - *
-         * Setting files to load.
-         * 
- * - * repeated string files = 2; - * - * @return A list containing the files. - */ - java.util.List getFilesList(); - - /** - *
-         * Setting files to load.
-         * 
- * - * repeated string files = 2; - * - * @return The count of files. - */ - int getFilesCount(); - - /** - *
-         * Setting files to load.
-         * 
- * - * repeated string files = 2; - * - * @param index - * The index of the element to return. - * - * @return The files at the given index. - */ - java.lang.String getFiles(int index); - - /** - *
-         * Setting files to load.
-         * 
- * - * repeated string files = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the files at the given index. - */ - com.google.protobuf.ByteString getFilesBytes(int index); - } - + java.util.List + getParseErrorsList(); + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + com.kcl.api.Spec.Error getParseErrors(int index); /** *
-     * Message for load settings files request arguments.
+     * List of parse errors.
      * 
* - * Protobuf type {@code com.kcl.api.LoadSettingsFiles_Args} + * repeated .com.kcl.api.Error parse_errors = 3; */ - public static final class LoadSettingsFiles_Args extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.LoadSettingsFiles_Args) - LoadSettingsFiles_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", LoadSettingsFiles_Args.class.getName()); - } - - // Use LoadSettingsFiles_Args.newBuilder() to construct. - private LoadSettingsFiles_Args(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private LoadSettingsFiles_Args() { - workDir_ = ""; - files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LoadSettingsFiles_Args.class, - com.kcl.api.Spec.LoadSettingsFiles_Args.Builder.class); - } - - public static final int WORK_DIR_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object workDir_ = ""; - - /** - *
-         * Working directory.
-         * 
- * - * string work_dir = 1; - * - * @return The workDir. - */ - @java.lang.Override - public java.lang.String getWorkDir() { - java.lang.Object ref = workDir_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - workDir_ = s; - return s; - } - } - - /** - *
-         * Working directory.
-         * 
- * - * string work_dir = 1; - * - * @return The bytes for workDir. - */ - @java.lang.Override - public com.google.protobuf.ByteString getWorkDirBytes() { - java.lang.Object ref = workDir_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - workDir_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FILES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - *
-         * Setting files to load.
-         * 
- * - * repeated string files = 2; - * - * @return A list containing the files. - */ - public com.google.protobuf.ProtocolStringList getFilesList() { - return files_; - } - - /** - *
-         * Setting files to load.
-         * 
- * - * repeated string files = 2; - * - * @return The count of files. - */ - public int getFilesCount() { - return files_.size(); - } - - /** - *
-         * Setting files to load.
-         * 
- * - * repeated string files = 2; - * - * @param index - * The index of the element to return. - * - * @return The files at the given index. - */ - public java.lang.String getFiles(int index) { - return files_.get(index); - } - - /** - *
-         * Setting files to load.
-         * 
- * - * repeated string files = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the files at the given index. - */ - public com.google.protobuf.ByteString getFilesBytes(int index) { - return files_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workDir_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, workDir_); - } - for (int i = 0; i < files_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, files_.getRaw(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workDir_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, workDir_); - } - { - int dataSize = 0; - for (int i = 0; i < files_.size(); i++) { - dataSize += computeStringSizeNoTag(files_.getRaw(i)); - } - size += dataSize; - size += 1 * getFilesList().size(); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.LoadSettingsFiles_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.LoadSettingsFiles_Args other = (com.kcl.api.Spec.LoadSettingsFiles_Args) obj; - - if (!getWorkDir().equals(other.getWorkDir())) - return false; - if (!getFilesList().equals(other.getFilesList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + WORK_DIR_FIELD_NUMBER; - hash = (53 * hash) + getWorkDir().hashCode(); - if (getFilesCount() > 0) { - hash = (37 * hash) + FILES_FIELD_NUMBER; - hash = (53 * hash) + getFilesList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.LoadSettingsFiles_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for load settings files request arguments.
-         * 
- * - * Protobuf type {@code com.kcl.api.LoadSettingsFiles_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadSettingsFiles_Args) - com.kcl.api.Spec.LoadSettingsFiles_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LoadSettingsFiles_Args.class, - com.kcl.api.Spec.LoadSettingsFiles_Args.Builder.class); - } - - // Construct using com.kcl.api.Spec.LoadSettingsFiles_Args.newBuilder() - private Builder() { - - } - - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - workDir_ = ""; - files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor; - } - - @java.lang.Override - public com.kcl.api.Spec.LoadSettingsFiles_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.LoadSettingsFiles_Args.getDefaultInstance(); - } - - @java.lang.Override - public com.kcl.api.Spec.LoadSettingsFiles_Args build() { - com.kcl.api.Spec.LoadSettingsFiles_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.kcl.api.Spec.LoadSettingsFiles_Args buildPartial() { - com.kcl.api.Spec.LoadSettingsFiles_Args result = new com.kcl.api.Spec.LoadSettingsFiles_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.kcl.api.Spec.LoadSettingsFiles_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.workDir_ = workDir_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - files_.makeImmutable(); - result.files_ = files_; - } - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.LoadSettingsFiles_Args) { - return mergeFrom((com.kcl.api.Spec.LoadSettingsFiles_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.LoadSettingsFiles_Args other) { - if (other == com.kcl.api.Spec.LoadSettingsFiles_Args.getDefaultInstance()) - return this; - if (!other.getWorkDir().isEmpty()) { - workDir_ = other.workDir_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.files_.isEmpty()) { - if (files_.isEmpty()) { - files_ = other.files_; - bitField0_ |= 0x00000002; - } else { - ensureFilesIsMutable(); - files_.addAll(other.files_); - } - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - workDir_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureFilesIsMutable(); - files_.add(s); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object workDir_ = ""; - - /** - *
-             * Working directory.
-             * 
- * - * string work_dir = 1; - * - * @return The workDir. - */ - public java.lang.String getWorkDir() { - java.lang.Object ref = workDir_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - workDir_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Working directory.
-             * 
- * - * string work_dir = 1; - * - * @return The bytes for workDir. - */ - public com.google.protobuf.ByteString getWorkDirBytes() { - java.lang.Object ref = workDir_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - workDir_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Working directory.
-             * 
- * - * string work_dir = 1; - * - * @param value - * The workDir to set. - * - * @return This builder for chaining. - */ - public Builder setWorkDir(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - workDir_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - /** - *
-             * Working directory.
-             * 
- * - * string work_dir = 1; - * - * @return This builder for chaining. - */ - public Builder clearWorkDir() { - workDir_ = getDefaultInstance().getWorkDir(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - *
-             * Working directory.
-             * 
- * - * string work_dir = 1; - * - * @param value - * The bytes for workDir to set. - * - * @return This builder for chaining. - */ - public Builder setWorkDirBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - workDir_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringArrayList files_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - private void ensureFilesIsMutable() { - if (!files_.isModifiable()) { - files_ = new com.google.protobuf.LazyStringArrayList(files_); - } - bitField0_ |= 0x00000002; - } - - /** - *
-             * Setting files to load.
-             * 
- * - * repeated string files = 2; - * - * @return A list containing the files. - */ - public com.google.protobuf.ProtocolStringList getFilesList() { - files_.makeImmutable(); - return files_; - } - - /** - *
-             * Setting files to load.
-             * 
- * - * repeated string files = 2; - * - * @return The count of files. - */ - public int getFilesCount() { - return files_.size(); - } + int getParseErrorsCount(); + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + java.util.List + getParseErrorsOrBuilderList(); + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder( + int index); - /** - *
-             * Setting files to load.
-             * 
- * - * repeated string files = 2; - * - * @param index - * The index of the element to return. - * - * @return The files at the given index. - */ - public java.lang.String getFiles(int index) { - return files_.get(index); - } + /** + *
+     * List of type errors.
+     * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + java.util.List + getTypeErrorsList(); + /** + *
+     * List of type errors.
+     * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + com.kcl.api.Spec.Error getTypeErrors(int index); + /** + *
+     * List of type errors.
+     * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + int getTypeErrorsCount(); + /** + *
+     * List of type errors.
+     * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + java.util.List + getTypeErrorsOrBuilderList(); + /** + *
+     * List of type errors.
+     * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + com.kcl.api.Spec.ErrorOrBuilder getTypeErrorsOrBuilder( + int index); - /** - *
-             * Setting files to load.
-             * 
- * - * repeated string files = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the files at the given index. - */ - public com.google.protobuf.ByteString getFilesBytes(int index) { - return files_.getByteString(index); - } + /** + *
+     * Map of scopes with scope index as key.
+     * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + int getScopesCount(); + /** + *
+     * Map of scopes with scope index as key.
+     * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + boolean containsScopes( + java.lang.String key); + /** + * Use {@link #getScopesMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getScopes(); + /** + *
+     * Map of scopes with scope index as key.
+     * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + java.util.Map + getScopesMap(); + /** + *
+     * Map of scopes with scope index as key.
+     * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + /* nullable */ +com.kcl.api.Spec.Scope getScopesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.Scope defaultValue); + /** + *
+     * Map of scopes with scope index as key.
+     * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + com.kcl.api.Spec.Scope getScopesOrThrow( + java.lang.String key); - /** - *
-             * Setting files to load.
-             * 
- * - * repeated string files = 2; - * - * @param index - * The index to set the value at. - * @param value - * The files to set. - * - * @return This builder for chaining. - */ - public Builder setFiles(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureFilesIsMutable(); - files_.set(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + /** + *
+     * Map of symbols with symbol index as key.
+     * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + int getSymbolsCount(); + /** + *
+     * Map of symbols with symbol index as key.
+     * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + boolean containsSymbols( + java.lang.String key); + /** + * Use {@link #getSymbolsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getSymbols(); + /** + *
+     * Map of symbols with symbol index as key.
+     * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + java.util.Map + getSymbolsMap(); + /** + *
+     * Map of symbols with symbol index as key.
+     * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + /* nullable */ +com.kcl.api.Spec.Symbol getSymbolsOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.Symbol defaultValue); + /** + *
+     * Map of symbols with symbol index as key.
+     * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + com.kcl.api.Spec.Symbol getSymbolsOrThrow( + java.lang.String key); - /** - *
-             * Setting files to load.
-             * 
- * - * repeated string files = 2; - * - * @param value - * The files to add. - * - * @return This builder for chaining. - */ - public Builder addFiles(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureFilesIsMutable(); - files_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + /** + *
+     * Map of node-symbol associations with AST index UUID as key.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + int getNodeSymbolMapCount(); + /** + *
+     * Map of node-symbol associations with AST index UUID as key.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + boolean containsNodeSymbolMap( + java.lang.String key); + /** + * Use {@link #getNodeSymbolMapMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getNodeSymbolMap(); + /** + *
+     * Map of node-symbol associations with AST index UUID as key.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + java.util.Map + getNodeSymbolMapMap(); + /** + *
+     * Map of node-symbol associations with AST index UUID as key.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + /* nullable */ +com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.SymbolIndex defaultValue); + /** + *
+     * Map of node-symbol associations with AST index UUID as key.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrThrow( + java.lang.String key); - /** - *
-             * Setting files to load.
-             * 
- * - * repeated string files = 2; - * - * @param values - * The files to add. - * - * @return This builder for chaining. - */ - public Builder addAllFiles(java.lang.Iterable values) { - ensureFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + /** + *
+     * Map of symbol-node associations with symbol index as key.
+     * 
+ * + * map<string, string> symbol_node_map = 8; + */ + int getSymbolNodeMapCount(); + /** + *
+     * Map of symbol-node associations with symbol index as key.
+     * 
+ * + * map<string, string> symbol_node_map = 8; + */ + boolean containsSymbolNodeMap( + java.lang.String key); + /** + * Use {@link #getSymbolNodeMapMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getSymbolNodeMap(); + /** + *
+     * Map of symbol-node associations with symbol index as key.
+     * 
+ * + * map<string, string> symbol_node_map = 8; + */ + java.util.Map + getSymbolNodeMapMap(); + /** + *
+     * Map of symbol-node associations with symbol index as key.
+     * 
+ * + * map<string, string> symbol_node_map = 8; + */ + /* nullable */ +java.lang.String getSymbolNodeMapOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue); + /** + *
+     * Map of symbol-node associations with symbol index as key.
+     * 
+ * + * map<string, string> symbol_node_map = 8; + */ + java.lang.String getSymbolNodeMapOrThrow( + java.lang.String key); - /** - *
-             * Setting files to load.
-             * 
- * - * repeated string files = 2; - * - * @return This builder for chaining. - */ - public Builder clearFiles() { - files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; - onChanged(); - return this; - } + /** + *
+     * Map of fully qualified names with symbol index as key.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + int getFullyQualifiedNameMapCount(); + /** + *
+     * Map of fully qualified names with symbol index as key.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + boolean containsFullyQualifiedNameMap( + java.lang.String key); + /** + * Use {@link #getFullyQualifiedNameMapMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getFullyQualifiedNameMap(); + /** + *
+     * Map of fully qualified names with symbol index as key.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + java.util.Map + getFullyQualifiedNameMapMap(); + /** + *
+     * Map of fully qualified names with symbol index as key.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + /* nullable */ +com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.SymbolIndex defaultValue); + /** + *
+     * Map of fully qualified names with symbol index as key.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrThrow( + java.lang.String key); - /** - *
-             * Setting files to load.
-             * 
- * - * repeated string files = 2; - * - * @param value - * The bytes of the files to add. - * - * @return This builder for chaining. - */ - public Builder addFilesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureFilesIsMutable(); - files_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + /** + *
+     * Map of package scope with package path as key.
+     * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + int getPkgScopeMapCount(); + /** + *
+     * Map of package scope with package path as key.
+     * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + boolean containsPkgScopeMap( + java.lang.String key); + /** + * Use {@link #getPkgScopeMapMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getPkgScopeMap(); + /** + *
+     * Map of package scope with package path as key.
+     * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + java.util.Map + getPkgScopeMapMap(); + /** + *
+     * Map of package scope with package path as key.
+     * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + /* nullable */ +com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.ScopeIndex defaultValue); + /** + *
+     * Map of package scope with package path as key.
+     * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrThrow( + java.lang.String key); + } + /** + *
+   * Message for load package response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.LoadPackageResult} + */ + public static final class LoadPackageResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.LoadPackageResult) + LoadPackageResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "LoadPackageResult"); + } + // Use LoadPackageResult.newBuilder() to construct. + private LoadPackageResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private LoadPackageResult() { + program_ = ""; + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + parseErrors_ = java.util.Collections.emptyList(); + typeErrors_ = java.util.Collections.emptyList(); + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadSettingsFiles_Args) - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageResult_descriptor; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.LoadSettingsFiles_Args) - private static final com.kcl.api.Spec.LoadSettingsFiles_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadSettingsFiles_Args(); - } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 5: + return internalGetScopes(); + case 6: + return internalGetSymbols(); + case 7: + return internalGetNodeSymbolMap(); + case 8: + return internalGetSymbolNodeMap(); + case 9: + return internalGetFullyQualifiedNameMap(); + case 10: + return internalGetPkgScopeMap(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LoadPackageResult.class, com.kcl.api.Spec.LoadPackageResult.Builder.class); + } - public static com.kcl.api.Spec.LoadSettingsFiles_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } + public static final int PROGRAM_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object program_ = ""; + /** + *
+     * Program Abstract Syntax Tree (AST) in JSON format.
+     * 
+ * + * string program = 1; + * @return The program. + */ + @java.lang.Override + public java.lang.String getProgram() { + java.lang.Object ref = program_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + program_ = s; + return s; + } + } + /** + *
+     * Program Abstract Syntax Tree (AST) in JSON format.
+     * 
+ * + * string program = 1; + * @return The bytes for program. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getProgramBytes() { + java.lang.Object ref = program_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + program_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoadSettingsFiles_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + public static final int PATHS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * Returns the files in the order they should be compiled.
+     * 
+ * + * repeated string paths = 2; + * @return A list containing the paths. + */ + public com.google.protobuf.ProtocolStringList + getPathsList() { + return paths_; + } + /** + *
+     * Returns the files in the order they should be compiled.
+     * 
+ * + * repeated string paths = 2; + * @return The count of paths. + */ + public int getPathsCount() { + return paths_.size(); + } + /** + *
+     * Returns the files in the order they should be compiled.
+     * 
+ * + * repeated string paths = 2; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + public java.lang.String getPaths(int index) { + return paths_.get(index); + } + /** + *
+     * Returns the files in the order they should be compiled.
+     * 
+ * + * repeated string paths = 2; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + public com.google.protobuf.ByteString + getPathsBytes(int index) { + return paths_.getByteString(index); + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + public static final int PARSE_ERRORS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List parseErrors_; + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + @java.lang.Override + public java.util.List getParseErrorsList() { + return parseErrors_; + } + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + @java.lang.Override + public java.util.List + getParseErrorsOrBuilderList() { + return parseErrors_; + } + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + @java.lang.Override + public int getParseErrorsCount() { + return parseErrors_.size(); + } + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.Error getParseErrors(int index) { + return parseErrors_.get(index); + } + /** + *
+     * List of parse errors.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder( + int index) { + return parseErrors_.get(index); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static final int TYPE_ERRORS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private java.util.List typeErrors_; + /** + *
+     * List of type errors.
+     * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + @java.lang.Override + public java.util.List getTypeErrorsList() { + return typeErrors_; + } + /** + *
+     * List of type errors.
+     * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + @java.lang.Override + public java.util.List + getTypeErrorsOrBuilderList() { + return typeErrors_; + } + /** + *
+     * List of type errors.
+     * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + @java.lang.Override + public int getTypeErrorsCount() { + return typeErrors_.size(); + } + /** + *
+     * List of type errors.
+     * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + @java.lang.Override + public com.kcl.api.Spec.Error getTypeErrors(int index) { + return typeErrors_.get(index); + } + /** + *
+     * List of type errors.
+     * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + @java.lang.Override + public com.kcl.api.Spec.ErrorOrBuilder getTypeErrorsOrBuilder( + int index) { + return typeErrors_.get(index); + } - @java.lang.Override - public com.kcl.api.Spec.LoadSettingsFiles_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LoadSettingsFiles_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadSettingsFiles_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * KCL CLI configuration.
-         * 
- * - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - * - * @return Whether the kclCliConfigs field is set. - */ - boolean hasKclCliConfigs(); - - /** - *
-         * KCL CLI configuration.
-         * 
- * - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - * - * @return The kclCliConfigs. - */ - com.kcl.api.Spec.CliConfig getKclCliConfigs(); - - /** - *
-         * KCL CLI configuration.
-         * 
- * - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - */ - com.kcl.api.Spec.CliConfigOrBuilder getKclCliConfigsOrBuilder(); - - /** - *
-         * List of KCL options as key-value pairs.
-         * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - java.util.List getKclOptionsList(); - - /** - *
-         * List of KCL options as key-value pairs.
-         * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - com.kcl.api.Spec.KeyValuePair getKclOptions(int index); - - /** - *
-         * List of KCL options as key-value pairs.
-         * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - int getKclOptionsCount(); - - /** - *
-         * List of KCL options as key-value pairs.
-         * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - java.util.List getKclOptionsOrBuilderList(); - - /** - *
-         * List of KCL options as key-value pairs.
-         * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - com.kcl.api.Spec.KeyValuePairOrBuilder getKclOptionsOrBuilder(int index); + public static final int SCOPES_FIELD_NUMBER = 5; + private static final class ScopesDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.kcl.api.Spec.Scope> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageResult_ScopesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.kcl.api.Spec.Scope.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.kcl.api.Spec.Scope> scopes_; + private com.google.protobuf.MapField + internalGetScopes() { + if (scopes_ == null) { + return com.google.protobuf.MapField.emptyMapField( + ScopesDefaultEntryHolder.defaultEntry); + } + return scopes_; + } + public int getScopesCount() { + return internalGetScopes().getMap().size(); + } + /** + *
+     * Map of scopes with scope index as key.
+     * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + @java.lang.Override + public boolean containsScopes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetScopes().getMap().containsKey(key); + } + /** + * Use {@link #getScopesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getScopes() { + return getScopesMap(); + } + /** + *
+     * Map of scopes with scope index as key.
+     * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + @java.lang.Override + public java.util.Map getScopesMap() { + return internalGetScopes().getMap(); + } + /** + *
+     * Map of scopes with scope index as key.
+     * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.Scope getScopesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.Scope defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetScopes().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Map of scopes with scope index as key.
+     * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + @java.lang.Override + public com.kcl.api.Spec.Scope getScopesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetScopes().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); } + public static final int SYMBOLS_FIELD_NUMBER = 6; + private static final class SymbolsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.kcl.api.Spec.Symbol> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageResult_SymbolsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.kcl.api.Spec.Symbol.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.kcl.api.Spec.Symbol> symbols_; + private com.google.protobuf.MapField + internalGetSymbols() { + if (symbols_ == null) { + return com.google.protobuf.MapField.emptyMapField( + SymbolsDefaultEntryHolder.defaultEntry); + } + return symbols_; + } + public int getSymbolsCount() { + return internalGetSymbols().getMap().size(); + } /** *
-     * Message for load settings files response.
+     * Map of symbols with symbol index as key.
      * 
* - * Protobuf type {@code com.kcl.api.LoadSettingsFiles_Result} + * map<string, .com.kcl.api.Symbol> symbols = 6; */ - public static final class LoadSettingsFiles_Result extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.LoadSettingsFiles_Result) - LoadSettingsFiles_ResultOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", LoadSettingsFiles_Result.class.getName()); - } - - // Use LoadSettingsFiles_Result.newBuilder() to construct. - private LoadSettingsFiles_Result(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private LoadSettingsFiles_Result() { - kclOptions_ = java.util.Collections.emptyList(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LoadSettingsFiles_Result.class, - com.kcl.api.Spec.LoadSettingsFiles_Result.Builder.class); - } - - private int bitField0_; - public static final int KCL_CLI_CONFIGS_FIELD_NUMBER = 1; - private com.kcl.api.Spec.CliConfig kclCliConfigs_; - - /** - *
-         * KCL CLI configuration.
-         * 
- * - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - * - * @return Whether the kclCliConfigs field is set. - */ - @java.lang.Override - public boolean hasKclCliConfigs() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - *
-         * KCL CLI configuration.
-         * 
- * - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - * - * @return The kclCliConfigs. - */ - @java.lang.Override - public com.kcl.api.Spec.CliConfig getKclCliConfigs() { - return kclCliConfigs_ == null ? com.kcl.api.Spec.CliConfig.getDefaultInstance() : kclCliConfigs_; - } - - /** - *
-         * KCL CLI configuration.
-         * 
- * - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.CliConfigOrBuilder getKclCliConfigsOrBuilder() { - return kclCliConfigs_ == null ? com.kcl.api.Spec.CliConfig.getDefaultInstance() : kclCliConfigs_; - } - - public static final int KCL_OPTIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private java.util.List kclOptions_; - - /** - *
-         * List of KCL options as key-value pairs.
-         * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - @java.lang.Override - public java.util.List getKclOptionsList() { - return kclOptions_; - } - - /** - *
-         * List of KCL options as key-value pairs.
-         * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - @java.lang.Override - public java.util.List getKclOptionsOrBuilderList() { - return kclOptions_; - } - - /** - *
-         * List of KCL options as key-value pairs.
-         * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - @java.lang.Override - public int getKclOptionsCount() { - return kclOptions_.size(); - } - - /** - *
-         * List of KCL options as key-value pairs.
-         * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.KeyValuePair getKclOptions(int index) { - return kclOptions_.get(index); - } - - /** - *
-         * List of KCL options as key-value pairs.
-         * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.KeyValuePairOrBuilder getKclOptionsOrBuilder(int index) { - return kclOptions_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(1, getKclCliConfigs()); - } - for (int i = 0; i < kclOptions_.size(); i++) { - output.writeMessage(2, kclOptions_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getKclCliConfigs()); - } - for (int i = 0; i < kclOptions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, kclOptions_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.LoadSettingsFiles_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.LoadSettingsFiles_Result other = (com.kcl.api.Spec.LoadSettingsFiles_Result) obj; - - if (hasKclCliConfigs() != other.hasKclCliConfigs()) - return false; - if (hasKclCliConfigs()) { - if (!getKclCliConfigs().equals(other.getKclCliConfigs())) - return false; - } - if (!getKclOptionsList().equals(other.getKclOptionsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasKclCliConfigs()) { - hash = (37 * hash) + KCL_CLI_CONFIGS_FIELD_NUMBER; - hash = (53 * hash) + getKclCliConfigs().hashCode(); - } - if (getKclOptionsCount() > 0) { - hash = (37 * hash) + KCL_OPTIONS_FIELD_NUMBER; - hash = (53 * hash) + getKclOptionsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } - - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.kcl.api.Spec.LoadSettingsFiles_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public boolean containsSymbols( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetSymbols().getMap().containsKey(key); + } + /** + * Use {@link #getSymbolsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSymbols() { + return getSymbolsMap(); + } + /** + *
+     * Map of symbols with symbol index as key.
+     * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + @java.lang.Override + public java.util.Map getSymbolsMap() { + return internalGetSymbols().getMap(); + } + /** + *
+     * Map of symbols with symbol index as key.
+     * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.Symbol getSymbolsOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.Symbol defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSymbols().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Map of symbols with symbol index as key.
+     * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + @java.lang.Override + public com.kcl.api.Spec.Symbol getSymbolsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSymbols().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for load settings files response.
-         * 
- * - * Protobuf type {@code com.kcl.api.LoadSettingsFiles_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadSettingsFiles_Result) - com.kcl.api.Spec.LoadSettingsFiles_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor; - } + public static final int NODE_SYMBOL_MAP_FIELD_NUMBER = 7; + private static final class NodeSymbolMapDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.kcl.api.Spec.SymbolIndex> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageResult_NodeSymbolMapEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.kcl.api.Spec.SymbolIndex> nodeSymbolMap_; + private com.google.protobuf.MapField + internalGetNodeSymbolMap() { + if (nodeSymbolMap_ == null) { + return com.google.protobuf.MapField.emptyMapField( + NodeSymbolMapDefaultEntryHolder.defaultEntry); + } + return nodeSymbolMap_; + } + public int getNodeSymbolMapCount() { + return internalGetNodeSymbolMap().getMap().size(); + } + /** + *
+     * Map of node-symbol associations with AST index UUID as key.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + @java.lang.Override + public boolean containsNodeSymbolMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetNodeSymbolMap().getMap().containsKey(key); + } + /** + * Use {@link #getNodeSymbolMapMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getNodeSymbolMap() { + return getNodeSymbolMapMap(); + } + /** + *
+     * Map of node-symbol associations with AST index UUID as key.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + @java.lang.Override + public java.util.Map getNodeSymbolMapMap() { + return internalGetNodeSymbolMap().getMap(); + } + /** + *
+     * Map of node-symbol associations with AST index UUID as key.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.SymbolIndex defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetNodeSymbolMap().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Map of node-symbol associations with AST index UUID as key.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetNodeSymbolMap().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.LoadSettingsFiles_Result.class, - com.kcl.api.Spec.LoadSettingsFiles_Result.Builder.class); - } + public static final int SYMBOL_NODE_MAP_FIELD_NUMBER = 8; + private static final class SymbolNodeMapDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageResult_SymbolNodeMapEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> symbolNodeMap_; + private com.google.protobuf.MapField + internalGetSymbolNodeMap() { + if (symbolNodeMap_ == null) { + return com.google.protobuf.MapField.emptyMapField( + SymbolNodeMapDefaultEntryHolder.defaultEntry); + } + return symbolNodeMap_; + } + public int getSymbolNodeMapCount() { + return internalGetSymbolNodeMap().getMap().size(); + } + /** + *
+     * Map of symbol-node associations with symbol index as key.
+     * 
+ * + * map<string, string> symbol_node_map = 8; + */ + @java.lang.Override + public boolean containsSymbolNodeMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetSymbolNodeMap().getMap().containsKey(key); + } + /** + * Use {@link #getSymbolNodeMapMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSymbolNodeMap() { + return getSymbolNodeMapMap(); + } + /** + *
+     * Map of symbol-node associations with symbol index as key.
+     * 
+ * + * map<string, string> symbol_node_map = 8; + */ + @java.lang.Override + public java.util.Map getSymbolNodeMapMap() { + return internalGetSymbolNodeMap().getMap(); + } + /** + *
+     * Map of symbol-node associations with symbol index as key.
+     * 
+ * + * map<string, string> symbol_node_map = 8; + */ + @java.lang.Override + public /* nullable */ +java.lang.String getSymbolNodeMapOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSymbolNodeMap().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Map of symbol-node associations with symbol index as key.
+     * 
+ * + * map<string, string> symbol_node_map = 8; + */ + @java.lang.Override + public java.lang.String getSymbolNodeMapOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSymbolNodeMap().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - // Construct using com.kcl.api.Spec.LoadSettingsFiles_Result.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + public static final int FULLY_QUALIFIED_NAME_MAP_FIELD_NUMBER = 9; + private static final class FullyQualifiedNameMapDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.kcl.api.Spec.SymbolIndex> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageResult_FullyQualifiedNameMapEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.kcl.api.Spec.SymbolIndex> fullyQualifiedNameMap_; + private com.google.protobuf.MapField + internalGetFullyQualifiedNameMap() { + if (fullyQualifiedNameMap_ == null) { + return com.google.protobuf.MapField.emptyMapField( + FullyQualifiedNameMapDefaultEntryHolder.defaultEntry); + } + return fullyQualifiedNameMap_; + } + public int getFullyQualifiedNameMapCount() { + return internalGetFullyQualifiedNameMap().getMap().size(); + } + /** + *
+     * Map of fully qualified names with symbol index as key.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + @java.lang.Override + public boolean containsFullyQualifiedNameMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetFullyQualifiedNameMap().getMap().containsKey(key); + } + /** + * Use {@link #getFullyQualifiedNameMapMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getFullyQualifiedNameMap() { + return getFullyQualifiedNameMapMap(); + } + /** + *
+     * Map of fully qualified names with symbol index as key.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + @java.lang.Override + public java.util.Map getFullyQualifiedNameMapMap() { + return internalGetFullyQualifiedNameMap().getMap(); + } + /** + *
+     * Map of fully qualified names with symbol index as key.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.SymbolIndex defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetFullyQualifiedNameMap().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Map of fully qualified names with symbol index as key.
+     * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetFullyQualifiedNameMap().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } + public static final int PKG_SCOPE_MAP_FIELD_NUMBER = 10; + private static final class PkgScopeMapDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.kcl.api.Spec.ScopeIndex> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageResult_PkgScopeMapEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.kcl.api.Spec.ScopeIndex.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.kcl.api.Spec.ScopeIndex> pkgScopeMap_; + private com.google.protobuf.MapField + internalGetPkgScopeMap() { + if (pkgScopeMap_ == null) { + return com.google.protobuf.MapField.emptyMapField( + PkgScopeMapDefaultEntryHolder.defaultEntry); + } + return pkgScopeMap_; + } + public int getPkgScopeMapCount() { + return internalGetPkgScopeMap().getMap().size(); + } + /** + *
+     * Map of package scope with package path as key.
+     * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + @java.lang.Override + public boolean containsPkgScopeMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetPkgScopeMap().getMap().containsKey(key); + } + /** + * Use {@link #getPkgScopeMapMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getPkgScopeMap() { + return getPkgScopeMapMap(); + } + /** + *
+     * Map of package scope with package path as key.
+     * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + @java.lang.Override + public java.util.Map getPkgScopeMapMap() { + return internalGetPkgScopeMap().getMap(); + } + /** + *
+     * Map of package scope with package path as key.
+     * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.ScopeIndex defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetPkgScopeMap().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Map of package scope with package path as key.
+     * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + @java.lang.Override + public com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetPkgScopeMap().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - getKclCliConfigsFieldBuilder(); - getKclOptionsFieldBuilder(); - } - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - kclCliConfigs_ = null; - if (kclCliConfigsBuilder_ != null) { - kclCliConfigsBuilder_.dispose(); - kclCliConfigsBuilder_ = null; - } - if (kclOptionsBuilder_ == null) { - kclOptions_ = java.util.Collections.emptyList(); - } else { - kclOptions_ = null; - kclOptionsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(program_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, program_); + } + for (int i = 0; i < paths_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, paths_.getRaw(i)); + } + for (int i = 0; i < parseErrors_.size(); i++) { + output.writeMessage(3, parseErrors_.get(i)); + } + for (int i = 0; i < typeErrors_.size(); i++) { + output.writeMessage(4, typeErrors_.get(i)); + } + com.google.protobuf.GeneratedMessage + .serializeStringMapTo( + output, + internalGetScopes(), + ScopesDefaultEntryHolder.defaultEntry, + 5); + com.google.protobuf.GeneratedMessage + .serializeStringMapTo( + output, + internalGetSymbols(), + SymbolsDefaultEntryHolder.defaultEntry, + 6); + com.google.protobuf.GeneratedMessage + .serializeStringMapTo( + output, + internalGetNodeSymbolMap(), + NodeSymbolMapDefaultEntryHolder.defaultEntry, + 7); + com.google.protobuf.GeneratedMessage + .serializeStringMapTo( + output, + internalGetSymbolNodeMap(), + SymbolNodeMapDefaultEntryHolder.defaultEntry, + 8); + com.google.protobuf.GeneratedMessage + .serializeStringMapTo( + output, + internalGetFullyQualifiedNameMap(), + FullyQualifiedNameMapDefaultEntryHolder.defaultEntry, + 9); + com.google.protobuf.GeneratedMessage + .serializeStringMapTo( + output, + internalGetPkgScopeMap(), + PkgScopeMapDefaultEntryHolder.defaultEntry, + 10); + getUnknownFields().writeTo(output); + } - @java.lang.Override - public com.kcl.api.Spec.LoadSettingsFiles_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.LoadSettingsFiles_Result.getDefaultInstance(); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(program_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, program_); + } + { + int dataSize = 0; + for (int i = 0; i < paths_.size(); i++) { + dataSize += computeStringSizeNoTag(paths_.getRaw(i)); + } + size += dataSize; + size += 1 * getPathsList().size(); + } + for (int i = 0; i < parseErrors_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, parseErrors_.get(i)); + } + for (int i = 0; i < typeErrors_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, typeErrors_.get(i)); + } + for (java.util.Map.Entry entry + : internalGetScopes().getMap().entrySet()) { + com.google.protobuf.MapEntry + scopes__ = ScopesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, scopes__); + } + for (java.util.Map.Entry entry + : internalGetSymbols().getMap().entrySet()) { + com.google.protobuf.MapEntry + symbols__ = SymbolsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, symbols__); + } + for (java.util.Map.Entry entry + : internalGetNodeSymbolMap().getMap().entrySet()) { + com.google.protobuf.MapEntry + nodeSymbolMap__ = NodeSymbolMapDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, nodeSymbolMap__); + } + for (java.util.Map.Entry entry + : internalGetSymbolNodeMap().getMap().entrySet()) { + com.google.protobuf.MapEntry + symbolNodeMap__ = SymbolNodeMapDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, symbolNodeMap__); + } + for (java.util.Map.Entry entry + : internalGetFullyQualifiedNameMap().getMap().entrySet()) { + com.google.protobuf.MapEntry + fullyQualifiedNameMap__ = FullyQualifiedNameMapDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, fullyQualifiedNameMap__); + } + for (java.util.Map.Entry entry + : internalGetPkgScopeMap().getMap().entrySet()) { + com.google.protobuf.MapEntry + pkgScopeMap__ = PkgScopeMapDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, pkgScopeMap__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public com.kcl.api.Spec.LoadSettingsFiles_Result build() { - com.kcl.api.Spec.LoadSettingsFiles_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.LoadPackageResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.LoadPackageResult other = (com.kcl.api.Spec.LoadPackageResult) obj; + + if (!getProgram() + .equals(other.getProgram())) return false; + if (!getPathsList() + .equals(other.getPathsList())) return false; + if (!getParseErrorsList() + .equals(other.getParseErrorsList())) return false; + if (!getTypeErrorsList() + .equals(other.getTypeErrorsList())) return false; + if (!internalGetScopes().equals( + other.internalGetScopes())) return false; + if (!internalGetSymbols().equals( + other.internalGetSymbols())) return false; + if (!internalGetNodeSymbolMap().equals( + other.internalGetNodeSymbolMap())) return false; + if (!internalGetSymbolNodeMap().equals( + other.internalGetSymbolNodeMap())) return false; + if (!internalGetFullyQualifiedNameMap().equals( + other.internalGetFullyQualifiedNameMap())) return false; + if (!internalGetPkgScopeMap().equals( + other.internalGetPkgScopeMap())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public com.kcl.api.Spec.LoadSettingsFiles_Result buildPartial() { - com.kcl.api.Spec.LoadSettingsFiles_Result result = new com.kcl.api.Spec.LoadSettingsFiles_Result(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PROGRAM_FIELD_NUMBER; + hash = (53 * hash) + getProgram().hashCode(); + if (getPathsCount() > 0) { + hash = (37 * hash) + PATHS_FIELD_NUMBER; + hash = (53 * hash) + getPathsList().hashCode(); + } + if (getParseErrorsCount() > 0) { + hash = (37 * hash) + PARSE_ERRORS_FIELD_NUMBER; + hash = (53 * hash) + getParseErrorsList().hashCode(); + } + if (getTypeErrorsCount() > 0) { + hash = (37 * hash) + TYPE_ERRORS_FIELD_NUMBER; + hash = (53 * hash) + getTypeErrorsList().hashCode(); + } + if (!internalGetScopes().getMap().isEmpty()) { + hash = (37 * hash) + SCOPES_FIELD_NUMBER; + hash = (53 * hash) + internalGetScopes().hashCode(); + } + if (!internalGetSymbols().getMap().isEmpty()) { + hash = (37 * hash) + SYMBOLS_FIELD_NUMBER; + hash = (53 * hash) + internalGetSymbols().hashCode(); + } + if (!internalGetNodeSymbolMap().getMap().isEmpty()) { + hash = (37 * hash) + NODE_SYMBOL_MAP_FIELD_NUMBER; + hash = (53 * hash) + internalGetNodeSymbolMap().hashCode(); + } + if (!internalGetSymbolNodeMap().getMap().isEmpty()) { + hash = (37 * hash) + SYMBOL_NODE_MAP_FIELD_NUMBER; + hash = (53 * hash) + internalGetSymbolNodeMap().hashCode(); + } + if (!internalGetFullyQualifiedNameMap().getMap().isEmpty()) { + hash = (37 * hash) + FULLY_QUALIFIED_NAME_MAP_FIELD_NUMBER; + hash = (53 * hash) + internalGetFullyQualifiedNameMap().hashCode(); + } + if (!internalGetPkgScopeMap().getMap().isEmpty()) { + hash = (37 * hash) + PKG_SCOPE_MAP_FIELD_NUMBER; + hash = (53 * hash) + internalGetPkgScopeMap().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - private void buildPartialRepeatedFields(com.kcl.api.Spec.LoadSettingsFiles_Result result) { - if (kclOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - kclOptions_ = java.util.Collections.unmodifiableList(kclOptions_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.kclOptions_ = kclOptions_; - } else { - result.kclOptions_ = kclOptionsBuilder_.build(); - } - } + public static com.kcl.api.Spec.LoadPackageResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadPackageResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadPackageResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadPackageResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadPackageResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadPackageResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadPackageResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LoadPackageResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - private void buildPartial0(com.kcl.api.Spec.LoadSettingsFiles_Result result) { - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.kclCliConfigs_ = kclCliConfigsBuilder_ == null ? kclCliConfigs_ - : kclCliConfigsBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - result.bitField0_ |= to_bitField0_; - } + public static com.kcl.api.Spec.LoadPackageResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.LoadSettingsFiles_Result) { - return mergeFrom((com.kcl.api.Spec.LoadSettingsFiles_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } + public static com.kcl.api.Spec.LoadPackageResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.LoadPackageResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LoadPackageResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public Builder mergeFrom(com.kcl.api.Spec.LoadSettingsFiles_Result other) { - if (other == com.kcl.api.Spec.LoadSettingsFiles_Result.getDefaultInstance()) - return this; - if (other.hasKclCliConfigs()) { - mergeKclCliConfigs(other.getKclCliConfigs()); - } - if (kclOptionsBuilder_ == null) { - if (!other.kclOptions_.isEmpty()) { - if (kclOptions_.isEmpty()) { - kclOptions_ = other.kclOptions_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureKclOptionsIsMutable(); - kclOptions_.addAll(other.kclOptions_); - } - onChanged(); - } - } else { - if (!other.kclOptions_.isEmpty()) { - if (kclOptionsBuilder_.isEmpty()) { - kclOptionsBuilder_.dispose(); - kclOptionsBuilder_ = null; - kclOptions_ = other.kclOptions_; - bitField0_ = (bitField0_ & ~0x00000002); - kclOptionsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getKclOptionsFieldBuilder() : null; - } else { - kclOptionsBuilder_.addAllMessages(other.kclOptions_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.LoadPackageResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public final boolean isInitialized() { - return true; + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for load package response.
+     * 
+ * + * Protobuf type {@code com.kcl.api.LoadPackageResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadPackageResult) + com.kcl.api.Spec.LoadPackageResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageResult_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 5: + return internalGetScopes(); + case 6: + return internalGetSymbols(); + case 7: + return internalGetNodeSymbolMap(); + case 8: + return internalGetSymbolNodeMap(); + case 9: + return internalGetFullyQualifiedNameMap(); + case 10: + return internalGetPkgScopeMap(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 5: + return internalGetMutableScopes(); + case 6: + return internalGetMutableSymbols(); + case 7: + return internalGetMutableNodeSymbolMap(); + case 8: + return internalGetMutableSymbolNodeMap(); + case 9: + return internalGetMutableFullyQualifiedNameMap(); + case 10: + return internalGetMutablePkgScopeMap(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LoadPackageResult.class, com.kcl.api.Spec.LoadPackageResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.LoadPackageResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + program_ = ""; + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + if (parseErrorsBuilder_ == null) { + parseErrors_ = java.util.Collections.emptyList(); + } else { + parseErrors_ = null; + parseErrorsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + if (typeErrorsBuilder_ == null) { + typeErrors_ = java.util.Collections.emptyList(); + } else { + typeErrors_ = null; + typeErrorsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + internalGetMutableScopes().clear(); + internalGetMutableSymbols().clear(); + internalGetMutableNodeSymbolMap().clear(); + internalGetMutableSymbolNodeMap().clear(); + internalGetMutableFullyQualifiedNameMap().clear(); + internalGetMutablePkgScopeMap().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.LoadPackageResult getDefaultInstanceForType() { + return com.kcl.api.Spec.LoadPackageResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.LoadPackageResult build() { + com.kcl.api.Spec.LoadPackageResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.LoadPackageResult buildPartial() { + com.kcl.api.Spec.LoadPackageResult result = new com.kcl.api.Spec.LoadPackageResult(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.LoadPackageResult result) { + if (parseErrorsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + parseErrors_ = java.util.Collections.unmodifiableList(parseErrors_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.parseErrors_ = parseErrors_; + } else { + result.parseErrors_ = parseErrorsBuilder_.build(); + } + if (typeErrorsBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + typeErrors_ = java.util.Collections.unmodifiableList(typeErrors_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.typeErrors_ = typeErrors_; + } else { + result.typeErrors_ = typeErrorsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.LoadPackageResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.program_ = program_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + paths_.makeImmutable(); + result.paths_ = paths_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.scopes_ = internalGetScopes().build(ScopesDefaultEntryHolder.defaultEntry); + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.symbols_ = internalGetSymbols().build(SymbolsDefaultEntryHolder.defaultEntry); + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.nodeSymbolMap_ = internalGetNodeSymbolMap().build(NodeSymbolMapDefaultEntryHolder.defaultEntry); + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.symbolNodeMap_ = internalGetSymbolNodeMap(); + result.symbolNodeMap_.makeImmutable(); + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.fullyQualifiedNameMap_ = internalGetFullyQualifiedNameMap().build(FullyQualifiedNameMapDefaultEntryHolder.defaultEntry); + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.pkgScopeMap_ = internalGetPkgScopeMap().build(PkgScopeMapDefaultEntryHolder.defaultEntry); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.LoadPackageResult) { + return mergeFrom((com.kcl.api.Spec.LoadPackageResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.LoadPackageResult other) { + if (other == com.kcl.api.Spec.LoadPackageResult.getDefaultInstance()) return this; + if (!other.getProgram().isEmpty()) { + program_ = other.program_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.paths_.isEmpty()) { + if (paths_.isEmpty()) { + paths_ = other.paths_; + bitField0_ |= 0x00000002; + } else { + ensurePathsIsMutable(); + paths_.addAll(other.paths_); + } + onChanged(); + } + if (parseErrorsBuilder_ == null) { + if (!other.parseErrors_.isEmpty()) { + if (parseErrors_.isEmpty()) { + parseErrors_ = other.parseErrors_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureParseErrorsIsMutable(); + parseErrors_.addAll(other.parseErrors_); + } + onChanged(); + } + } else { + if (!other.parseErrors_.isEmpty()) { + if (parseErrorsBuilder_.isEmpty()) { + parseErrorsBuilder_.dispose(); + parseErrorsBuilder_ = null; + parseErrors_ = other.parseErrors_; + bitField0_ = (bitField0_ & ~0x00000004); + parseErrorsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetParseErrorsFieldBuilder() : null; + } else { + parseErrorsBuilder_.addAllMessages(other.parseErrors_); } + } + } + if (typeErrorsBuilder_ == null) { + if (!other.typeErrors_.isEmpty()) { + if (typeErrors_.isEmpty()) { + typeErrors_ = other.typeErrors_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureTypeErrorsIsMutable(); + typeErrors_.addAll(other.typeErrors_); + } + onChanged(); + } + } else { + if (!other.typeErrors_.isEmpty()) { + if (typeErrorsBuilder_.isEmpty()) { + typeErrorsBuilder_.dispose(); + typeErrorsBuilder_ = null; + typeErrors_ = other.typeErrors_; + bitField0_ = (bitField0_ & ~0x00000008); + typeErrorsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetTypeErrorsFieldBuilder() : null; + } else { + typeErrorsBuilder_.addAllMessages(other.typeErrors_); + } + } + } + internalGetMutableScopes().mergeFrom( + other.internalGetScopes()); + bitField0_ |= 0x00000010; + internalGetMutableSymbols().mergeFrom( + other.internalGetSymbols()); + bitField0_ |= 0x00000020; + internalGetMutableNodeSymbolMap().mergeFrom( + other.internalGetNodeSymbolMap()); + bitField0_ |= 0x00000040; + internalGetMutableSymbolNodeMap().mergeFrom( + other.internalGetSymbolNodeMap()); + bitField0_ |= 0x00000080; + internalGetMutableFullyQualifiedNameMap().mergeFrom( + other.internalGetFullyQualifiedNameMap()); + bitField0_ |= 0x00000100; + internalGetMutablePkgScopeMap().mergeFrom( + other.internalGetPkgScopeMap()); + bitField0_ |= 0x00000200; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + program_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePathsIsMutable(); + paths_.add(s); + break; + } // case 18 + case 26: { + com.kcl.api.Spec.Error m = + input.readMessage( + com.kcl.api.Spec.Error.parser(), + extensionRegistry); + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + parseErrors_.add(m); + } else { + parseErrorsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + com.kcl.api.Spec.Error m = + input.readMessage( + com.kcl.api.Spec.Error.parser(), + extensionRegistry); + if (typeErrorsBuilder_ == null) { + ensureTypeErrorsIsMutable(); + typeErrors_.add(m); + } else { + typeErrorsBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + com.google.protobuf.MapEntry + scopes__ = input.readMessage( + ScopesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableScopes().ensureBuilderMap().put( + scopes__.getKey(), scopes__.getValue()); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + com.google.protobuf.MapEntry + symbols__ = input.readMessage( + SymbolsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableSymbols().ensureBuilderMap().put( + symbols__.getKey(), symbols__.getValue()); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + com.google.protobuf.MapEntry + nodeSymbolMap__ = input.readMessage( + NodeSymbolMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableNodeSymbolMap().ensureBuilderMap().put( + nodeSymbolMap__.getKey(), nodeSymbolMap__.getValue()); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + com.google.protobuf.MapEntry + symbolNodeMap__ = input.readMessage( + SymbolNodeMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableSymbolNodeMap().getMutableMap().put( + symbolNodeMap__.getKey(), symbolNodeMap__.getValue()); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: { + com.google.protobuf.MapEntry + fullyQualifiedNameMap__ = input.readMessage( + FullyQualifiedNameMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableFullyQualifiedNameMap().ensureBuilderMap().put( + fullyQualifiedNameMap__.getKey(), fullyQualifiedNameMap__.getValue()); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: { + com.google.protobuf.MapEntry + pkgScopeMap__ = input.readMessage( + PkgScopeMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutablePkgScopeMap().ensureBuilderMap().put( + pkgScopeMap__.getKey(), pkgScopeMap__.getValue()); + bitField0_ |= 0x00000200; + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object program_ = ""; + /** + *
+       * Program Abstract Syntax Tree (AST) in JSON format.
+       * 
+ * + * string program = 1; + * @return The program. + */ + public java.lang.String getProgram() { + java.lang.Object ref = program_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + program_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Program Abstract Syntax Tree (AST) in JSON format.
+       * 
+ * + * string program = 1; + * @return The bytes for program. + */ + public com.google.protobuf.ByteString + getProgramBytes() { + java.lang.Object ref = program_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + program_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Program Abstract Syntax Tree (AST) in JSON format.
+       * 
+ * + * string program = 1; + * @param value The program to set. + * @return This builder for chaining. + */ + public Builder setProgram( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + program_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Program Abstract Syntax Tree (AST) in JSON format.
+       * 
+ * + * string program = 1; + * @return This builder for chaining. + */ + public Builder clearProgram() { + program_ = getDefaultInstance().getProgram(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Program Abstract Syntax Tree (AST) in JSON format.
+       * 
+ * + * string program = 1; + * @param value The bytes for program to set. + * @return This builder for chaining. + */ + public Builder setProgramBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + program_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePathsIsMutable() { + if (!paths_.isModifiable()) { + paths_ = new com.google.protobuf.LazyStringArrayList(paths_); + } + bitField0_ |= 0x00000002; + } + /** + *
+       * Returns the files in the order they should be compiled.
+       * 
+ * + * repeated string paths = 2; + * @return A list containing the paths. + */ + public com.google.protobuf.ProtocolStringList + getPathsList() { + paths_.makeImmutable(); + return paths_; + } + /** + *
+       * Returns the files in the order they should be compiled.
+       * 
+ * + * repeated string paths = 2; + * @return The count of paths. + */ + public int getPathsCount() { + return paths_.size(); + } + /** + *
+       * Returns the files in the order they should be compiled.
+       * 
+ * + * repeated string paths = 2; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + public java.lang.String getPaths(int index) { + return paths_.get(index); + } + /** + *
+       * Returns the files in the order they should be compiled.
+       * 
+ * + * repeated string paths = 2; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + public com.google.protobuf.ByteString + getPathsBytes(int index) { + return paths_.getByteString(index); + } + /** + *
+       * Returns the files in the order they should be compiled.
+       * 
+ * + * repeated string paths = 2; + * @param index The index to set the value at. + * @param value The paths to set. + * @return This builder for chaining. + */ + public Builder setPaths( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathsIsMutable(); + paths_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Returns the files in the order they should be compiled.
+       * 
+ * + * repeated string paths = 2; + * @param value The paths to add. + * @return This builder for chaining. + */ + public Builder addPaths( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathsIsMutable(); + paths_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Returns the files in the order they should be compiled.
+       * 
+ * + * repeated string paths = 2; + * @param values The paths to add. + * @return This builder for chaining. + */ + public Builder addAllPaths( + java.lang.Iterable values) { + ensurePathsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, paths_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Returns the files in the order they should be compiled.
+       * 
+ * + * repeated string paths = 2; + * @return This builder for chaining. + */ + public Builder clearPaths() { + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + *
+       * Returns the files in the order they should be compiled.
+       * 
+ * + * repeated string paths = 2; + * @param value The bytes of the paths to add. + * @return This builder for chaining. + */ + public Builder addPathsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensurePathsIsMutable(); + paths_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.util.List parseErrors_ = + java.util.Collections.emptyList(); + private void ensureParseErrorsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + parseErrors_ = new java.util.ArrayList(parseErrors_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> parseErrorsBuilder_; + + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public java.util.List getParseErrorsList() { + if (parseErrorsBuilder_ == null) { + return java.util.Collections.unmodifiableList(parseErrors_); + } else { + return parseErrorsBuilder_.getMessageList(); + } + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public int getParseErrorsCount() { + if (parseErrorsBuilder_ == null) { + return parseErrors_.size(); + } else { + return parseErrorsBuilder_.getCount(); + } + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public com.kcl.api.Spec.Error getParseErrors(int index) { + if (parseErrorsBuilder_ == null) { + return parseErrors_.get(index); + } else { + return parseErrorsBuilder_.getMessage(index); + } + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder setParseErrors( + int index, com.kcl.api.Spec.Error value) { + if (parseErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureParseErrorsIsMutable(); + parseErrors_.set(index, value); + onChanged(); + } else { + parseErrorsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder setParseErrors( + int index, com.kcl.api.Spec.Error.Builder builderForValue) { + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + parseErrors_.set(index, builderForValue.build()); + onChanged(); + } else { + parseErrorsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder addParseErrors(com.kcl.api.Spec.Error value) { + if (parseErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureParseErrorsIsMutable(); + parseErrors_.add(value); + onChanged(); + } else { + parseErrorsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder addParseErrors( + int index, com.kcl.api.Spec.Error value) { + if (parseErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureParseErrorsIsMutable(); + parseErrors_.add(index, value); + onChanged(); + } else { + parseErrorsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder addParseErrors( + com.kcl.api.Spec.Error.Builder builderForValue) { + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + parseErrors_.add(builderForValue.build()); + onChanged(); + } else { + parseErrorsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder addParseErrors( + int index, com.kcl.api.Spec.Error.Builder builderForValue) { + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + parseErrors_.add(index, builderForValue.build()); + onChanged(); + } else { + parseErrorsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder addAllParseErrors( + java.lang.Iterable values) { + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, parseErrors_); + onChanged(); + } else { + parseErrorsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder clearParseErrors() { + if (parseErrorsBuilder_ == null) { + parseErrors_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + parseErrorsBuilder_.clear(); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder removeParseErrors(int index) { + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + parseErrors_.remove(index); + onChanged(); + } else { + parseErrorsBuilder_.remove(index); + } + return this; + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public com.kcl.api.Spec.Error.Builder getParseErrorsBuilder( + int index) { + return internalGetParseErrorsFieldBuilder().getBuilder(index); + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder( + int index) { + if (parseErrorsBuilder_ == null) { + return parseErrors_.get(index); } else { + return parseErrorsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public java.util.List + getParseErrorsOrBuilderList() { + if (parseErrorsBuilder_ != null) { + return parseErrorsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(parseErrors_); + } + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder() { + return internalGetParseErrorsFieldBuilder().addBuilder( + com.kcl.api.Spec.Error.getDefaultInstance()); + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder( + int index) { + return internalGetParseErrorsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.Error.getDefaultInstance()); + } + /** + *
+       * List of parse errors.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public java.util.List + getParseErrorsBuilderList() { + return internalGetParseErrorsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> + internalGetParseErrorsFieldBuilder() { + if (parseErrorsBuilder_ == null) { + parseErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder>( + parseErrors_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + parseErrors_ = null; + } + return parseErrorsBuilder_; + } + + private java.util.List typeErrors_ = + java.util.Collections.emptyList(); + private void ensureTypeErrorsIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + typeErrors_ = new java.util.ArrayList(typeErrors_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> typeErrorsBuilder_; + + /** + *
+       * List of type errors.
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public java.util.List getTypeErrorsList() { + if (typeErrorsBuilder_ == null) { + return java.util.Collections.unmodifiableList(typeErrors_); + } else { + return typeErrorsBuilder_.getMessageList(); + } + } + /** + *
+       * List of type errors.
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public int getTypeErrorsCount() { + if (typeErrorsBuilder_ == null) { + return typeErrors_.size(); + } else { + return typeErrorsBuilder_.getCount(); + } + } + /** + *
+       * List of type errors.
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public com.kcl.api.Spec.Error getTypeErrors(int index) { + if (typeErrorsBuilder_ == null) { + return typeErrors_.get(index); + } else { + return typeErrorsBuilder_.getMessage(index); + } + } + /** + *
+       * List of type errors.
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public Builder setTypeErrors( + int index, com.kcl.api.Spec.Error value) { + if (typeErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTypeErrorsIsMutable(); + typeErrors_.set(index, value); + onChanged(); + } else { + typeErrorsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * List of type errors.
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public Builder setTypeErrors( + int index, com.kcl.api.Spec.Error.Builder builderForValue) { + if (typeErrorsBuilder_ == null) { + ensureTypeErrorsIsMutable(); + typeErrors_.set(index, builderForValue.build()); + onChanged(); + } else { + typeErrorsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of type errors.
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public Builder addTypeErrors(com.kcl.api.Spec.Error value) { + if (typeErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTypeErrorsIsMutable(); + typeErrors_.add(value); + onChanged(); + } else { + typeErrorsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * List of type errors.
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public Builder addTypeErrors( + int index, com.kcl.api.Spec.Error value) { + if (typeErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTypeErrorsIsMutable(); + typeErrors_.add(index, value); + onChanged(); + } else { + typeErrorsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * List of type errors.
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public Builder addTypeErrors( + com.kcl.api.Spec.Error.Builder builderForValue) { + if (typeErrorsBuilder_ == null) { + ensureTypeErrorsIsMutable(); + typeErrors_.add(builderForValue.build()); + onChanged(); + } else { + typeErrorsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * List of type errors.
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public Builder addTypeErrors( + int index, com.kcl.api.Spec.Error.Builder builderForValue) { + if (typeErrorsBuilder_ == null) { + ensureTypeErrorsIsMutable(); + typeErrors_.add(index, builderForValue.build()); + onChanged(); + } else { + typeErrorsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of type errors.
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public Builder addAllTypeErrors( + java.lang.Iterable values) { + if (typeErrorsBuilder_ == null) { + ensureTypeErrorsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, typeErrors_); + onChanged(); + } else { + typeErrorsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * List of type errors.
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public Builder clearTypeErrors() { + if (typeErrorsBuilder_ == null) { + typeErrors_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + typeErrorsBuilder_.clear(); + } + return this; + } + /** + *
+       * List of type errors.
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public Builder removeTypeErrors(int index) { + if (typeErrorsBuilder_ == null) { + ensureTypeErrorsIsMutable(); + typeErrors_.remove(index); + onChanged(); + } else { + typeErrorsBuilder_.remove(index); + } + return this; + } + /** + *
+       * List of type errors.
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public com.kcl.api.Spec.Error.Builder getTypeErrorsBuilder( + int index) { + return internalGetTypeErrorsFieldBuilder().getBuilder(index); + } + /** + *
+       * List of type errors.
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public com.kcl.api.Spec.ErrorOrBuilder getTypeErrorsOrBuilder( + int index) { + if (typeErrorsBuilder_ == null) { + return typeErrors_.get(index); } else { + return typeErrorsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * List of type errors.
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public java.util.List + getTypeErrorsOrBuilderList() { + if (typeErrorsBuilder_ != null) { + return typeErrorsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(typeErrors_); + } + } + /** + *
+       * List of type errors.
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public com.kcl.api.Spec.Error.Builder addTypeErrorsBuilder() { + return internalGetTypeErrorsFieldBuilder().addBuilder( + com.kcl.api.Spec.Error.getDefaultInstance()); + } + /** + *
+       * List of type errors.
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public com.kcl.api.Spec.Error.Builder addTypeErrorsBuilder( + int index) { + return internalGetTypeErrorsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.Error.getDefaultInstance()); + } + /** + *
+       * List of type errors.
+       * 
+ * + * repeated .com.kcl.api.Error type_errors = 4; + */ + public java.util.List + getTypeErrorsBuilderList() { + return internalGetTypeErrorsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> + internalGetTypeErrorsFieldBuilder() { + if (typeErrorsBuilder_ == null) { + typeErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder>( + typeErrors_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + typeErrors_ = null; + } + return typeErrorsBuilder_; + } + + private static final class ScopesConverter implements com.google.protobuf.MapFieldBuilder.Converter { + @java.lang.Override + public com.kcl.api.Spec.Scope build(com.kcl.api.Spec.ScopeOrBuilder val) { + if (val instanceof com.kcl.api.Spec.Scope) { return (com.kcl.api.Spec.Scope) val; } + return ((com.kcl.api.Spec.Scope.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry defaultEntry() { + return ScopesDefaultEntryHolder.defaultEntry; + } + }; + private static final ScopesConverter scopesConverter = new ScopesConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, com.kcl.api.Spec.ScopeOrBuilder, com.kcl.api.Spec.Scope, com.kcl.api.Spec.Scope.Builder> scopes_; + private com.google.protobuf.MapFieldBuilder + internalGetScopes() { + if (scopes_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(scopesConverter); + } + return scopes_; + } + private com.google.protobuf.MapFieldBuilder + internalGetMutableScopes() { + if (scopes_ == null) { + scopes_ = new com.google.protobuf.MapFieldBuilder<>(scopesConverter); + } + bitField0_ |= 0x00000010; + onChanged(); + return scopes_; + } + public int getScopesCount() { + return internalGetScopes().ensureBuilderMap().size(); + } + /** + *
+       * Map of scopes with scope index as key.
+       * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + @java.lang.Override + public boolean containsScopes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetScopes().ensureBuilderMap().containsKey(key); + } + /** + * Use {@link #getScopesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getScopes() { + return getScopesMap(); + } + /** + *
+       * Map of scopes with scope index as key.
+       * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + @java.lang.Override + public java.util.Map getScopesMap() { + return internalGetScopes().getImmutableMap(); + } + /** + *
+       * Map of scopes with scope index as key.
+       * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.Scope getScopesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.Scope defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableScopes().ensureBuilderMap(); + return map.containsKey(key) ? scopesConverter.build(map.get(key)) : defaultValue; + } + /** + *
+       * Map of scopes with scope index as key.
+       * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + @java.lang.Override + public com.kcl.api.Spec.Scope getScopesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableScopes().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return scopesConverter.build(map.get(key)); + } + public Builder clearScopes() { + bitField0_ = (bitField0_ & ~0x00000010); + internalGetMutableScopes().clear(); + return this; + } + /** + *
+       * Map of scopes with scope index as key.
+       * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + public Builder removeScopes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableScopes().ensureBuilderMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableScopes() { + bitField0_ |= 0x00000010; + return internalGetMutableScopes().ensureMessageMap(); + } + /** + *
+       * Map of scopes with scope index as key.
+       * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + public Builder putScopes( + java.lang.String key, + com.kcl.api.Spec.Scope value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableScopes().ensureBuilderMap() + .put(key, value); + bitField0_ |= 0x00000010; + return this; + } + /** + *
+       * Map of scopes with scope index as key.
+       * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + public Builder putAllScopes( + java.util.Map values) { + for (java.util.Map.Entry e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableScopes().ensureBuilderMap() + .putAll(values); + bitField0_ |= 0x00000010; + return this; + } + /** + *
+       * Map of scopes with scope index as key.
+       * 
+ * + * map<string, .com.kcl.api.Scope> scopes = 5; + */ + public com.kcl.api.Spec.Scope.Builder putScopesBuilderIfAbsent( + java.lang.String key) { + java.util.Map builderMap = internalGetMutableScopes().ensureBuilderMap(); + com.kcl.api.Spec.ScopeOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.kcl.api.Spec.Scope.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.kcl.api.Spec.Scope) { + entry = ((com.kcl.api.Spec.Scope) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.kcl.api.Spec.Scope.Builder) entry; + } + + private static final class SymbolsConverter implements com.google.protobuf.MapFieldBuilder.Converter { + @java.lang.Override + public com.kcl.api.Spec.Symbol build(com.kcl.api.Spec.SymbolOrBuilder val) { + if (val instanceof com.kcl.api.Spec.Symbol) { return (com.kcl.api.Spec.Symbol) val; } + return ((com.kcl.api.Spec.Symbol.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry defaultEntry() { + return SymbolsDefaultEntryHolder.defaultEntry; + } + }; + private static final SymbolsConverter symbolsConverter = new SymbolsConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, com.kcl.api.Spec.SymbolOrBuilder, com.kcl.api.Spec.Symbol, com.kcl.api.Spec.Symbol.Builder> symbols_; + private com.google.protobuf.MapFieldBuilder + internalGetSymbols() { + if (symbols_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(symbolsConverter); + } + return symbols_; + } + private com.google.protobuf.MapFieldBuilder + internalGetMutableSymbols() { + if (symbols_ == null) { + symbols_ = new com.google.protobuf.MapFieldBuilder<>(symbolsConverter); + } + bitField0_ |= 0x00000020; + onChanged(); + return symbols_; + } + public int getSymbolsCount() { + return internalGetSymbols().ensureBuilderMap().size(); + } + /** + *
+       * Map of symbols with symbol index as key.
+       * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + @java.lang.Override + public boolean containsSymbols( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetSymbols().ensureBuilderMap().containsKey(key); + } + /** + * Use {@link #getSymbolsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSymbols() { + return getSymbolsMap(); + } + /** + *
+       * Map of symbols with symbol index as key.
+       * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + @java.lang.Override + public java.util.Map getSymbolsMap() { + return internalGetSymbols().getImmutableMap(); + } + /** + *
+       * Map of symbols with symbol index as key.
+       * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.Symbol getSymbolsOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.Symbol defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableSymbols().ensureBuilderMap(); + return map.containsKey(key) ? symbolsConverter.build(map.get(key)) : defaultValue; + } + /** + *
+       * Map of symbols with symbol index as key.
+       * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + @java.lang.Override + public com.kcl.api.Spec.Symbol getSymbolsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableSymbols().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return symbolsConverter.build(map.get(key)); + } + public Builder clearSymbols() { + bitField0_ = (bitField0_ & ~0x00000020); + internalGetMutableSymbols().clear(); + return this; + } + /** + *
+       * Map of symbols with symbol index as key.
+       * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + public Builder removeSymbols( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableSymbols().ensureBuilderMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableSymbols() { + bitField0_ |= 0x00000020; + return internalGetMutableSymbols().ensureMessageMap(); + } + /** + *
+       * Map of symbols with symbol index as key.
+       * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + public Builder putSymbols( + java.lang.String key, + com.kcl.api.Spec.Symbol value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableSymbols().ensureBuilderMap() + .put(key, value); + bitField0_ |= 0x00000020; + return this; + } + /** + *
+       * Map of symbols with symbol index as key.
+       * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + public Builder putAllSymbols( + java.util.Map values) { + for (java.util.Map.Entry e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableSymbols().ensureBuilderMap() + .putAll(values); + bitField0_ |= 0x00000020; + return this; + } + /** + *
+       * Map of symbols with symbol index as key.
+       * 
+ * + * map<string, .com.kcl.api.Symbol> symbols = 6; + */ + public com.kcl.api.Spec.Symbol.Builder putSymbolsBuilderIfAbsent( + java.lang.String key) { + java.util.Map builderMap = internalGetMutableSymbols().ensureBuilderMap(); + com.kcl.api.Spec.SymbolOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.kcl.api.Spec.Symbol.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.kcl.api.Spec.Symbol) { + entry = ((com.kcl.api.Spec.Symbol) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.kcl.api.Spec.Symbol.Builder) entry; + } + + private static final class NodeSymbolMapConverter implements com.google.protobuf.MapFieldBuilder.Converter { + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex build(com.kcl.api.Spec.SymbolIndexOrBuilder val) { + if (val instanceof com.kcl.api.Spec.SymbolIndex) { return (com.kcl.api.Spec.SymbolIndex) val; } + return ((com.kcl.api.Spec.SymbolIndex.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry defaultEntry() { + return NodeSymbolMapDefaultEntryHolder.defaultEntry; + } + }; + private static final NodeSymbolMapConverter nodeSymbolMapConverter = new NodeSymbolMapConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, com.kcl.api.Spec.SymbolIndexOrBuilder, com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder> nodeSymbolMap_; + private com.google.protobuf.MapFieldBuilder + internalGetNodeSymbolMap() { + if (nodeSymbolMap_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(nodeSymbolMapConverter); + } + return nodeSymbolMap_; + } + private com.google.protobuf.MapFieldBuilder + internalGetMutableNodeSymbolMap() { + if (nodeSymbolMap_ == null) { + nodeSymbolMap_ = new com.google.protobuf.MapFieldBuilder<>(nodeSymbolMapConverter); + } + bitField0_ |= 0x00000040; + onChanged(); + return nodeSymbolMap_; + } + public int getNodeSymbolMapCount() { + return internalGetNodeSymbolMap().ensureBuilderMap().size(); + } + /** + *
+       * Map of node-symbol associations with AST index UUID as key.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + @java.lang.Override + public boolean containsNodeSymbolMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetNodeSymbolMap().ensureBuilderMap().containsKey(key); + } + /** + * Use {@link #getNodeSymbolMapMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getNodeSymbolMap() { + return getNodeSymbolMapMap(); + } + /** + *
+       * Map of node-symbol associations with AST index UUID as key.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + @java.lang.Override + public java.util.Map getNodeSymbolMapMap() { + return internalGetNodeSymbolMap().getImmutableMap(); + } + /** + *
+       * Map of node-symbol associations with AST index UUID as key.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.SymbolIndex defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableNodeSymbolMap().ensureBuilderMap(); + return map.containsKey(key) ? nodeSymbolMapConverter.build(map.get(key)) : defaultValue; + } + /** + *
+       * Map of node-symbol associations with AST index UUID as key.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex getNodeSymbolMapOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableNodeSymbolMap().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return nodeSymbolMapConverter.build(map.get(key)); + } + public Builder clearNodeSymbolMap() { + bitField0_ = (bitField0_ & ~0x00000040); + internalGetMutableNodeSymbolMap().clear(); + return this; + } + /** + *
+       * Map of node-symbol associations with AST index UUID as key.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + public Builder removeNodeSymbolMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableNodeSymbolMap().ensureBuilderMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableNodeSymbolMap() { + bitField0_ |= 0x00000040; + return internalGetMutableNodeSymbolMap().ensureMessageMap(); + } + /** + *
+       * Map of node-symbol associations with AST index UUID as key.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + public Builder putNodeSymbolMap( + java.lang.String key, + com.kcl.api.Spec.SymbolIndex value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableNodeSymbolMap().ensureBuilderMap() + .put(key, value); + bitField0_ |= 0x00000040; + return this; + } + /** + *
+       * Map of node-symbol associations with AST index UUID as key.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + public Builder putAllNodeSymbolMap( + java.util.Map values) { + for (java.util.Map.Entry e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableNodeSymbolMap().ensureBuilderMap() + .putAll(values); + bitField0_ |= 0x00000040; + return this; + } + /** + *
+       * Map of node-symbol associations with AST index UUID as key.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> node_symbol_map = 7; + */ + public com.kcl.api.Spec.SymbolIndex.Builder putNodeSymbolMapBuilderIfAbsent( + java.lang.String key) { + java.util.Map builderMap = internalGetMutableNodeSymbolMap().ensureBuilderMap(); + com.kcl.api.Spec.SymbolIndexOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.kcl.api.Spec.SymbolIndex.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.kcl.api.Spec.SymbolIndex) { + entry = ((com.kcl.api.Spec.SymbolIndex) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.kcl.api.Spec.SymbolIndex.Builder) entry; + } + + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> symbolNodeMap_; + private com.google.protobuf.MapField + internalGetSymbolNodeMap() { + if (symbolNodeMap_ == null) { + return com.google.protobuf.MapField.emptyMapField( + SymbolNodeMapDefaultEntryHolder.defaultEntry); + } + return symbolNodeMap_; + } + private com.google.protobuf.MapField + internalGetMutableSymbolNodeMap() { + if (symbolNodeMap_ == null) { + symbolNodeMap_ = com.google.protobuf.MapField.newMapField( + SymbolNodeMapDefaultEntryHolder.defaultEntry); + } + if (!symbolNodeMap_.isMutable()) { + symbolNodeMap_ = symbolNodeMap_.copy(); + } + bitField0_ |= 0x00000080; + onChanged(); + return symbolNodeMap_; + } + public int getSymbolNodeMapCount() { + return internalGetSymbolNodeMap().getMap().size(); + } + /** + *
+       * Map of symbol-node associations with symbol index as key.
+       * 
+ * + * map<string, string> symbol_node_map = 8; + */ + @java.lang.Override + public boolean containsSymbolNodeMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetSymbolNodeMap().getMap().containsKey(key); + } + /** + * Use {@link #getSymbolNodeMapMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSymbolNodeMap() { + return getSymbolNodeMapMap(); + } + /** + *
+       * Map of symbol-node associations with symbol index as key.
+       * 
+ * + * map<string, string> symbol_node_map = 8; + */ + @java.lang.Override + public java.util.Map getSymbolNodeMapMap() { + return internalGetSymbolNodeMap().getMap(); + } + /** + *
+       * Map of symbol-node associations with symbol index as key.
+       * 
+ * + * map<string, string> symbol_node_map = 8; + */ + @java.lang.Override + public /* nullable */ +java.lang.String getSymbolNodeMapOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSymbolNodeMap().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+       * Map of symbol-node associations with symbol index as key.
+       * 
+ * + * map<string, string> symbol_node_map = 8; + */ + @java.lang.Override + public java.lang.String getSymbolNodeMapOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSymbolNodeMap().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearSymbolNodeMap() { + bitField0_ = (bitField0_ & ~0x00000080); + internalGetMutableSymbolNodeMap().getMutableMap() + .clear(); + return this; + } + /** + *
+       * Map of symbol-node associations with symbol index as key.
+       * 
+ * + * map<string, string> symbol_node_map = 8; + */ + public Builder removeSymbolNodeMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableSymbolNodeMap().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableSymbolNodeMap() { + bitField0_ |= 0x00000080; + return internalGetMutableSymbolNodeMap().getMutableMap(); + } + /** + *
+       * Map of symbol-node associations with symbol index as key.
+       * 
+ * + * map<string, string> symbol_node_map = 8; + */ + public Builder putSymbolNodeMap( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableSymbolNodeMap().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000080; + return this; + } + /** + *
+       * Map of symbol-node associations with symbol index as key.
+       * 
+ * + * map<string, string> symbol_node_map = 8; + */ + public Builder putAllSymbolNodeMap( + java.util.Map values) { + internalGetMutableSymbolNodeMap().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000080; + return this; + } + + private static final class FullyQualifiedNameMapConverter implements com.google.protobuf.MapFieldBuilder.Converter { + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex build(com.kcl.api.Spec.SymbolIndexOrBuilder val) { + if (val instanceof com.kcl.api.Spec.SymbolIndex) { return (com.kcl.api.Spec.SymbolIndex) val; } + return ((com.kcl.api.Spec.SymbolIndex.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry defaultEntry() { + return FullyQualifiedNameMapDefaultEntryHolder.defaultEntry; + } + }; + private static final FullyQualifiedNameMapConverter fullyQualifiedNameMapConverter = new FullyQualifiedNameMapConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, com.kcl.api.Spec.SymbolIndexOrBuilder, com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder> fullyQualifiedNameMap_; + private com.google.protobuf.MapFieldBuilder + internalGetFullyQualifiedNameMap() { + if (fullyQualifiedNameMap_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(fullyQualifiedNameMapConverter); + } + return fullyQualifiedNameMap_; + } + private com.google.protobuf.MapFieldBuilder + internalGetMutableFullyQualifiedNameMap() { + if (fullyQualifiedNameMap_ == null) { + fullyQualifiedNameMap_ = new com.google.protobuf.MapFieldBuilder<>(fullyQualifiedNameMapConverter); + } + bitField0_ |= 0x00000100; + onChanged(); + return fullyQualifiedNameMap_; + } + public int getFullyQualifiedNameMapCount() { + return internalGetFullyQualifiedNameMap().ensureBuilderMap().size(); + } + /** + *
+       * Map of fully qualified names with symbol index as key.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + @java.lang.Override + public boolean containsFullyQualifiedNameMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetFullyQualifiedNameMap().ensureBuilderMap().containsKey(key); + } + /** + * Use {@link #getFullyQualifiedNameMapMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getFullyQualifiedNameMap() { + return getFullyQualifiedNameMapMap(); + } + /** + *
+       * Map of fully qualified names with symbol index as key.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + @java.lang.Override + public java.util.Map getFullyQualifiedNameMapMap() { + return internalGetFullyQualifiedNameMap().getImmutableMap(); + } + /** + *
+       * Map of fully qualified names with symbol index as key.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.SymbolIndex defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableFullyQualifiedNameMap().ensureBuilderMap(); + return map.containsKey(key) ? fullyQualifiedNameMapConverter.build(map.get(key)) : defaultValue; + } + /** + *
+       * Map of fully qualified names with symbol index as key.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex getFullyQualifiedNameMapOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableFullyQualifiedNameMap().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return fullyQualifiedNameMapConverter.build(map.get(key)); + } + public Builder clearFullyQualifiedNameMap() { + bitField0_ = (bitField0_ & ~0x00000100); + internalGetMutableFullyQualifiedNameMap().clear(); + return this; + } + /** + *
+       * Map of fully qualified names with symbol index as key.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + public Builder removeFullyQualifiedNameMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableFullyQualifiedNameMap().ensureBuilderMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableFullyQualifiedNameMap() { + bitField0_ |= 0x00000100; + return internalGetMutableFullyQualifiedNameMap().ensureMessageMap(); + } + /** + *
+       * Map of fully qualified names with symbol index as key.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + public Builder putFullyQualifiedNameMap( + java.lang.String key, + com.kcl.api.Spec.SymbolIndex value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableFullyQualifiedNameMap().ensureBuilderMap() + .put(key, value); + bitField0_ |= 0x00000100; + return this; + } + /** + *
+       * Map of fully qualified names with symbol index as key.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + public Builder putAllFullyQualifiedNameMap( + java.util.Map values) { + for (java.util.Map.Entry e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableFullyQualifiedNameMap().ensureBuilderMap() + .putAll(values); + bitField0_ |= 0x00000100; + return this; + } + /** + *
+       * Map of fully qualified names with symbol index as key.
+       * 
+ * + * map<string, .com.kcl.api.SymbolIndex> fully_qualified_name_map = 9; + */ + public com.kcl.api.Spec.SymbolIndex.Builder putFullyQualifiedNameMapBuilderIfAbsent( + java.lang.String key) { + java.util.Map builderMap = internalGetMutableFullyQualifiedNameMap().ensureBuilderMap(); + com.kcl.api.Spec.SymbolIndexOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.kcl.api.Spec.SymbolIndex.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.kcl.api.Spec.SymbolIndex) { + entry = ((com.kcl.api.Spec.SymbolIndex) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.kcl.api.Spec.SymbolIndex.Builder) entry; + } + + private static final class PkgScopeMapConverter implements com.google.protobuf.MapFieldBuilder.Converter { + @java.lang.Override + public com.kcl.api.Spec.ScopeIndex build(com.kcl.api.Spec.ScopeIndexOrBuilder val) { + if (val instanceof com.kcl.api.Spec.ScopeIndex) { return (com.kcl.api.Spec.ScopeIndex) val; } + return ((com.kcl.api.Spec.ScopeIndex.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry defaultEntry() { + return PkgScopeMapDefaultEntryHolder.defaultEntry; + } + }; + private static final PkgScopeMapConverter pkgScopeMapConverter = new PkgScopeMapConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, com.kcl.api.Spec.ScopeIndexOrBuilder, com.kcl.api.Spec.ScopeIndex, com.kcl.api.Spec.ScopeIndex.Builder> pkgScopeMap_; + private com.google.protobuf.MapFieldBuilder + internalGetPkgScopeMap() { + if (pkgScopeMap_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(pkgScopeMapConverter); + } + return pkgScopeMap_; + } + private com.google.protobuf.MapFieldBuilder + internalGetMutablePkgScopeMap() { + if (pkgScopeMap_ == null) { + pkgScopeMap_ = new com.google.protobuf.MapFieldBuilder<>(pkgScopeMapConverter); + } + bitField0_ |= 0x00000200; + onChanged(); + return pkgScopeMap_; + } + public int getPkgScopeMapCount() { + return internalGetPkgScopeMap().ensureBuilderMap().size(); + } + /** + *
+       * Map of package scope with package path as key.
+       * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + @java.lang.Override + public boolean containsPkgScopeMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetPkgScopeMap().ensureBuilderMap().containsKey(key); + } + /** + * Use {@link #getPkgScopeMapMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getPkgScopeMap() { + return getPkgScopeMapMap(); + } + /** + *
+       * Map of package scope with package path as key.
+       * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + @java.lang.Override + public java.util.Map getPkgScopeMapMap() { + return internalGetPkgScopeMap().getImmutableMap(); + } + /** + *
+       * Map of package scope with package path as key.
+       * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.ScopeIndex defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutablePkgScopeMap().ensureBuilderMap(); + return map.containsKey(key) ? pkgScopeMapConverter.build(map.get(key)) : defaultValue; + } + /** + *
+       * Map of package scope with package path as key.
+       * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + @java.lang.Override + public com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutablePkgScopeMap().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return pkgScopeMapConverter.build(map.get(key)); + } + public Builder clearPkgScopeMap() { + bitField0_ = (bitField0_ & ~0x00000200); + internalGetMutablePkgScopeMap().clear(); + return this; + } + /** + *
+       * Map of package scope with package path as key.
+       * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + public Builder removePkgScopeMap( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutablePkgScopeMap().ensureBuilderMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutablePkgScopeMap() { + bitField0_ |= 0x00000200; + return internalGetMutablePkgScopeMap().ensureMessageMap(); + } + /** + *
+       * Map of package scope with package path as key.
+       * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + public Builder putPkgScopeMap( + java.lang.String key, + com.kcl.api.Spec.ScopeIndex value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutablePkgScopeMap().ensureBuilderMap() + .put(key, value); + bitField0_ |= 0x00000200; + return this; + } + /** + *
+       * Map of package scope with package path as key.
+       * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + public Builder putAllPkgScopeMap( + java.util.Map values) { + for (java.util.Map.Entry e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutablePkgScopeMap().ensureBuilderMap() + .putAll(values); + bitField0_ |= 0x00000200; + return this; + } + /** + *
+       * Map of package scope with package path as key.
+       * 
+ * + * map<string, .com.kcl.api.ScopeIndex> pkg_scope_map = 10; + */ + public com.kcl.api.Spec.ScopeIndex.Builder putPkgScopeMapBuilderIfAbsent( + java.lang.String key) { + java.util.Map builderMap = internalGetMutablePkgScopeMap().ensureBuilderMap(); + com.kcl.api.Spec.ScopeIndexOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.kcl.api.Spec.ScopeIndex.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.kcl.api.Spec.ScopeIndex) { + entry = ((com.kcl.api.Spec.ScopeIndex) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.kcl.api.Spec.ScopeIndex.Builder) entry; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadPackageResult) + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - input.readMessage(getKclCliConfigsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.kcl.api.Spec.KeyValuePair m = input.readMessage(com.kcl.api.Spec.KeyValuePair.parser(), - extensionRegistry); - if (kclOptionsBuilder_ == null) { - ensureKclOptionsIsMutable(); - kclOptions_.add(m); - } else { - kclOptionsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.LoadPackageResult) + private static final com.kcl.api.Spec.LoadPackageResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadPackageResult(); + } - private int bitField0_; - - private com.kcl.api.Spec.CliConfig kclCliConfigs_; - private com.google.protobuf.SingleFieldBuilder kclCliConfigsBuilder_; - - /** - *
-             * KCL CLI configuration.
-             * 
- * - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - * - * @return Whether the kclCliConfigs field is set. - */ - public boolean hasKclCliConfigs() { - return ((bitField0_ & 0x00000001) != 0); - } + public static com.kcl.api.Spec.LoadPackageResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-             * KCL CLI configuration.
-             * 
- * - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - * - * @return The kclCliConfigs. - */ - public com.kcl.api.Spec.CliConfig getKclCliConfigs() { - if (kclCliConfigsBuilder_ == null) { - return kclCliConfigs_ == null ? com.kcl.api.Spec.CliConfig.getDefaultInstance() : kclCliConfigs_; - } else { - return kclCliConfigsBuilder_.getMessage(); - } - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoadPackageResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - *
-             * KCL CLI configuration.
-             * 
- * - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - */ - public Builder setKclCliConfigs(com.kcl.api.Spec.CliConfig value) { - if (kclCliConfigsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - kclCliConfigs_ = value; - } else { - kclCliConfigsBuilder_.setMessage(value); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-             * KCL CLI configuration.
-             * 
- * - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - */ - public Builder setKclCliConfigs(com.kcl.api.Spec.CliConfig.Builder builderForValue) { - if (kclCliConfigsBuilder_ == null) { - kclCliConfigs_ = builderForValue.build(); - } else { - kclCliConfigsBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + @java.lang.Override + public com.kcl.api.Spec.LoadPackageResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-             * KCL CLI configuration.
-             * 
- * - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - */ - public Builder mergeKclCliConfigs(com.kcl.api.Spec.CliConfig value) { - if (kclCliConfigsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && kclCliConfigs_ != null - && kclCliConfigs_ != com.kcl.api.Spec.CliConfig.getDefaultInstance()) { - getKclCliConfigsBuilder().mergeFrom(value); - } else { - kclCliConfigs_ = value; - } - } else { - kclCliConfigsBuilder_.mergeFrom(value); - } - if (kclCliConfigs_ != null) { - bitField0_ |= 0x00000001; - onChanged(); - } - return this; - } + } - /** - *
-             * KCL CLI configuration.
-             * 
- * - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - */ - public Builder clearKclCliConfigs() { - bitField0_ = (bitField0_ & ~0x00000001); - kclCliConfigs_ = null; - if (kclCliConfigsBuilder_ != null) { - kclCliConfigsBuilder_.dispose(); - kclCliConfigsBuilder_ = null; - } - onChanged(); - return this; - } + public interface ListOptionsResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ListOptionsResult) + com.google.protobuf.MessageOrBuilder { - /** - *
-             * KCL CLI configuration.
-             * 
- * - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - */ - public com.kcl.api.Spec.CliConfig.Builder getKclCliConfigsBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getKclCliConfigsFieldBuilder().getBuilder(); - } + /** + *
+     * List of available options.
+     * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + java.util.List + getOptionsList(); + /** + *
+     * List of available options.
+     * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + com.kcl.api.Spec.OptionHelp getOptions(int index); + /** + *
+     * List of available options.
+     * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + int getOptionsCount(); + /** + *
+     * List of available options.
+     * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + java.util.List + getOptionsOrBuilderList(); + /** + *
+     * List of available options.
+     * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + com.kcl.api.Spec.OptionHelpOrBuilder getOptionsOrBuilder( + int index); + } + /** + *
+   * Message for list options response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.ListOptionsResult} + */ + public static final class ListOptionsResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ListOptionsResult) + ListOptionsResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "ListOptionsResult"); + } + // Use ListOptionsResult.newBuilder() to construct. + private ListOptionsResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ListOptionsResult() { + options_ = java.util.Collections.emptyList(); + } - /** - *
-             * KCL CLI configuration.
-             * 
- * - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - */ - public com.kcl.api.Spec.CliConfigOrBuilder getKclCliConfigsOrBuilder() { - if (kclCliConfigsBuilder_ != null) { - return kclCliConfigsBuilder_.getMessageOrBuilder(); - } else { - return kclCliConfigs_ == null ? com.kcl.api.Spec.CliConfig.getDefaultInstance() : kclCliConfigs_; - } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptionsResult_descriptor; + } - /** - *
-             * KCL CLI configuration.
-             * 
- * - * .com.kcl.api.CliConfig kcl_cli_configs = 1; - */ - private com.google.protobuf.SingleFieldBuilder getKclCliConfigsFieldBuilder() { - if (kclCliConfigsBuilder_ == null) { - kclCliConfigsBuilder_ = new com.google.protobuf.SingleFieldBuilder( - getKclCliConfigs(), getParentForChildren(), isClean()); - kclCliConfigs_ = null; - } - return kclCliConfigsBuilder_; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptionsResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListOptionsResult.class, com.kcl.api.Spec.ListOptionsResult.Builder.class); + } + + public static final int OPTIONS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List options_; + /** + *
+     * List of available options.
+     * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + @java.lang.Override + public java.util.List getOptionsList() { + return options_; + } + /** + *
+     * List of available options.
+     * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + @java.lang.Override + public java.util.List + getOptionsOrBuilderList() { + return options_; + } + /** + *
+     * List of available options.
+     * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + @java.lang.Override + public int getOptionsCount() { + return options_.size(); + } + /** + *
+     * List of available options.
+     * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.OptionHelp getOptions(int index) { + return options_.get(index); + } + /** + *
+     * List of available options.
+     * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.OptionHelpOrBuilder getOptionsOrBuilder( + int index) { + return options_.get(index); + } - private java.util.List kclOptions_ = java.util.Collections.emptyList(); + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private void ensureKclOptionsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - kclOptions_ = new java.util.ArrayList(kclOptions_); - bitField0_ |= 0x00000002; - } - } + memoizedIsInitialized = 1; + return true; + } - private com.google.protobuf.RepeatedFieldBuilder kclOptionsBuilder_; + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < options_.size(); i++) { + output.writeMessage(2, options_.get(i)); + } + getUnknownFields().writeTo(output); + } - /** - *
-             * List of KCL options as key-value pairs.
-             * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public java.util.List getKclOptionsList() { - if (kclOptionsBuilder_ == null) { - return java.util.Collections.unmodifiableList(kclOptions_); - } else { - return kclOptionsBuilder_.getMessageList(); - } - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < options_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, options_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-             * List of KCL options as key-value pairs.
-             * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public int getKclOptionsCount() { - if (kclOptionsBuilder_ == null) { - return kclOptions_.size(); - } else { - return kclOptionsBuilder_.getCount(); - } - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ListOptionsResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.ListOptionsResult other = (com.kcl.api.Spec.ListOptionsResult) obj; + + if (!getOptionsList() + .equals(other.getOptionsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-             * List of KCL options as key-value pairs.
-             * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public com.kcl.api.Spec.KeyValuePair getKclOptions(int index) { - if (kclOptionsBuilder_ == null) { - return kclOptions_.get(index); - } else { - return kclOptionsBuilder_.getMessage(index); - } - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getOptionsCount() > 0) { + hash = (37 * hash) + OPTIONS_FIELD_NUMBER; + hash = (53 * hash) + getOptionsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-             * List of KCL options as key-value pairs.
-             * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public Builder setKclOptions(int index, com.kcl.api.Spec.KeyValuePair value) { - if (kclOptionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureKclOptionsIsMutable(); - kclOptions_.set(index, value); - onChanged(); - } else { - kclOptionsBuilder_.setMessage(index, value); - } - return this; - } + public static com.kcl.api.Spec.ListOptionsResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListOptionsResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListOptionsResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListOptionsResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListOptionsResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListOptionsResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListOptionsResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListOptionsResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * List of KCL options as key-value pairs.
-             * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public Builder setKclOptions(int index, com.kcl.api.Spec.KeyValuePair.Builder builderForValue) { - if (kclOptionsBuilder_ == null) { - ensureKclOptionsIsMutable(); - kclOptions_.set(index, builderForValue.build()); - onChanged(); - } else { - kclOptionsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } + public static com.kcl.api.Spec.ListOptionsResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * List of KCL options as key-value pairs.
-             * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public Builder addKclOptions(com.kcl.api.Spec.KeyValuePair value) { - if (kclOptionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureKclOptionsIsMutable(); - kclOptions_.add(value); - onChanged(); - } else { - kclOptionsBuilder_.addMessage(value); - } - return this; - } + public static com.kcl.api.Spec.ListOptionsResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.ListOptionsResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListOptionsResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * List of KCL options as key-value pairs.
-             * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public Builder addKclOptions(int index, com.kcl.api.Spec.KeyValuePair value) { - if (kclOptionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureKclOptionsIsMutable(); - kclOptions_.add(index, value); - onChanged(); - } else { - kclOptionsBuilder_.addMessage(index, value); - } - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ListOptionsResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * List of KCL options as key-value pairs.
-             * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public Builder addKclOptions(com.kcl.api.Spec.KeyValuePair.Builder builderForValue) { - if (kclOptionsBuilder_ == null) { - ensureKclOptionsIsMutable(); - kclOptions_.add(builderForValue.build()); - onChanged(); - } else { - kclOptionsBuilder_.addMessage(builderForValue.build()); - } - return this; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for list options response.
+     * 
+ * + * Protobuf type {@code com.kcl.api.ListOptionsResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ListOptionsResult) + com.kcl.api.Spec.ListOptionsResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptionsResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptionsResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListOptionsResult.class, com.kcl.api.Spec.ListOptionsResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.ListOptionsResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (optionsBuilder_ == null) { + options_ = java.util.Collections.emptyList(); + } else { + options_ = null; + optionsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptionsResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ListOptionsResult getDefaultInstanceForType() { + return com.kcl.api.Spec.ListOptionsResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ListOptionsResult build() { + com.kcl.api.Spec.ListOptionsResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ListOptionsResult buildPartial() { + com.kcl.api.Spec.ListOptionsResult result = new com.kcl.api.Spec.ListOptionsResult(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.ListOptionsResult result) { + if (optionsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + options_ = java.util.Collections.unmodifiableList(options_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.options_ = options_; + } else { + result.options_ = optionsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.ListOptionsResult result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ListOptionsResult) { + return mergeFrom((com.kcl.api.Spec.ListOptionsResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ListOptionsResult other) { + if (other == com.kcl.api.Spec.ListOptionsResult.getDefaultInstance()) return this; + if (optionsBuilder_ == null) { + if (!other.options_.isEmpty()) { + if (options_.isEmpty()) { + options_ = other.options_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureOptionsIsMutable(); + options_.addAll(other.options_); + } + onChanged(); + } + } else { + if (!other.options_.isEmpty()) { + if (optionsBuilder_.isEmpty()) { + optionsBuilder_.dispose(); + optionsBuilder_ = null; + options_ = other.options_; + bitField0_ = (bitField0_ & ~0x00000001); + optionsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetOptionsFieldBuilder() : null; + } else { + optionsBuilder_.addAllMessages(other.options_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 18: { + com.kcl.api.Spec.OptionHelp m = + input.readMessage( + com.kcl.api.Spec.OptionHelp.parser(), + extensionRegistry); + if (optionsBuilder_ == null) { + ensureOptionsIsMutable(); + options_.add(m); + } else { + optionsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List options_ = + java.util.Collections.emptyList(); + private void ensureOptionsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + options_ = new java.util.ArrayList(options_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.OptionHelp, com.kcl.api.Spec.OptionHelp.Builder, com.kcl.api.Spec.OptionHelpOrBuilder> optionsBuilder_; + + /** + *
+       * List of available options.
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public java.util.List getOptionsList() { + if (optionsBuilder_ == null) { + return java.util.Collections.unmodifiableList(options_); + } else { + return optionsBuilder_.getMessageList(); + } + } + /** + *
+       * List of available options.
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public int getOptionsCount() { + if (optionsBuilder_ == null) { + return options_.size(); + } else { + return optionsBuilder_.getCount(); + } + } + /** + *
+       * List of available options.
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public com.kcl.api.Spec.OptionHelp getOptions(int index) { + if (optionsBuilder_ == null) { + return options_.get(index); + } else { + return optionsBuilder_.getMessage(index); + } + } + /** + *
+       * List of available options.
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public Builder setOptions( + int index, com.kcl.api.Spec.OptionHelp value) { + if (optionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureOptionsIsMutable(); + options_.set(index, value); + onChanged(); + } else { + optionsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * List of available options.
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public Builder setOptions( + int index, com.kcl.api.Spec.OptionHelp.Builder builderForValue) { + if (optionsBuilder_ == null) { + ensureOptionsIsMutable(); + options_.set(index, builderForValue.build()); + onChanged(); + } else { + optionsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of available options.
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public Builder addOptions(com.kcl.api.Spec.OptionHelp value) { + if (optionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureOptionsIsMutable(); + options_.add(value); + onChanged(); + } else { + optionsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * List of available options.
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public Builder addOptions( + int index, com.kcl.api.Spec.OptionHelp value) { + if (optionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureOptionsIsMutable(); + options_.add(index, value); + onChanged(); + } else { + optionsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * List of available options.
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public Builder addOptions( + com.kcl.api.Spec.OptionHelp.Builder builderForValue) { + if (optionsBuilder_ == null) { + ensureOptionsIsMutable(); + options_.add(builderForValue.build()); + onChanged(); + } else { + optionsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * List of available options.
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public Builder addOptions( + int index, com.kcl.api.Spec.OptionHelp.Builder builderForValue) { + if (optionsBuilder_ == null) { + ensureOptionsIsMutable(); + options_.add(index, builderForValue.build()); + onChanged(); + } else { + optionsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of available options.
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public Builder addAllOptions( + java.lang.Iterable values) { + if (optionsBuilder_ == null) { + ensureOptionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, options_); + onChanged(); + } else { + optionsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * List of available options.
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public Builder clearOptions() { + if (optionsBuilder_ == null) { + options_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + optionsBuilder_.clear(); + } + return this; + } + /** + *
+       * List of available options.
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public Builder removeOptions(int index) { + if (optionsBuilder_ == null) { + ensureOptionsIsMutable(); + options_.remove(index); + onChanged(); + } else { + optionsBuilder_.remove(index); + } + return this; + } + /** + *
+       * List of available options.
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public com.kcl.api.Spec.OptionHelp.Builder getOptionsBuilder( + int index) { + return internalGetOptionsFieldBuilder().getBuilder(index); + } + /** + *
+       * List of available options.
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public com.kcl.api.Spec.OptionHelpOrBuilder getOptionsOrBuilder( + int index) { + if (optionsBuilder_ == null) { + return options_.get(index); } else { + return optionsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * List of available options.
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public java.util.List + getOptionsOrBuilderList() { + if (optionsBuilder_ != null) { + return optionsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(options_); + } + } + /** + *
+       * List of available options.
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public com.kcl.api.Spec.OptionHelp.Builder addOptionsBuilder() { + return internalGetOptionsFieldBuilder().addBuilder( + com.kcl.api.Spec.OptionHelp.getDefaultInstance()); + } + /** + *
+       * List of available options.
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public com.kcl.api.Spec.OptionHelp.Builder addOptionsBuilder( + int index) { + return internalGetOptionsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.OptionHelp.getDefaultInstance()); + } + /** + *
+       * List of available options.
+       * 
+ * + * repeated .com.kcl.api.OptionHelp options = 2; + */ + public java.util.List + getOptionsBuilderList() { + return internalGetOptionsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.OptionHelp, com.kcl.api.Spec.OptionHelp.Builder, com.kcl.api.Spec.OptionHelpOrBuilder> + internalGetOptionsFieldBuilder() { + if (optionsBuilder_ == null) { + optionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.OptionHelp, com.kcl.api.Spec.OptionHelp.Builder, com.kcl.api.Spec.OptionHelpOrBuilder>( + options_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + options_ = null; + } + return optionsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ListOptionsResult) + } - /** - *
-             * List of KCL options as key-value pairs.
-             * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public Builder addKclOptions(int index, com.kcl.api.Spec.KeyValuePair.Builder builderForValue) { - if (kclOptionsBuilder_ == null) { - ensureKclOptionsIsMutable(); - kclOptions_.add(index, builderForValue.build()); - onChanged(); - } else { - kclOptionsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ListOptionsResult) + private static final com.kcl.api.Spec.ListOptionsResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ListOptionsResult(); + } - /** - *
-             * List of KCL options as key-value pairs.
-             * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public Builder addAllKclOptions(java.lang.Iterable values) { - if (kclOptionsBuilder_ == null) { - ensureKclOptionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kclOptions_); - onChanged(); - } else { - kclOptionsBuilder_.addAllMessages(values); - } - return this; - } + public static com.kcl.api.Spec.ListOptionsResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-             * List of KCL options as key-value pairs.
-             * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public Builder clearKclOptions() { - if (kclOptionsBuilder_ == null) { - kclOptions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - kclOptionsBuilder_.clear(); - } - return this; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOptionsResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - *
-             * List of KCL options as key-value pairs.
-             * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public Builder removeKclOptions(int index) { - if (kclOptionsBuilder_ == null) { - ensureKclOptionsIsMutable(); - kclOptions_.remove(index); - onChanged(); - } else { - kclOptionsBuilder_.remove(index); - } - return this; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-             * List of KCL options as key-value pairs.
-             * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public com.kcl.api.Spec.KeyValuePair.Builder getKclOptionsBuilder(int index) { - return getKclOptionsFieldBuilder().getBuilder(index); - } + @java.lang.Override + public com.kcl.api.Spec.ListOptionsResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-             * List of KCL options as key-value pairs.
-             * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public com.kcl.api.Spec.KeyValuePairOrBuilder getKclOptionsOrBuilder(int index) { - if (kclOptionsBuilder_ == null) { - return kclOptions_.get(index); - } else { - return kclOptionsBuilder_.getMessageOrBuilder(index); - } - } + } - /** - *
-             * List of KCL options as key-value pairs.
-             * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public java.util.List getKclOptionsOrBuilderList() { - if (kclOptionsBuilder_ != null) { - return kclOptionsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(kclOptions_); - } - } + public interface OptionHelpOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.OptionHelp) + com.google.protobuf.MessageOrBuilder { - /** - *
-             * List of KCL options as key-value pairs.
-             * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public com.kcl.api.Spec.KeyValuePair.Builder addKclOptionsBuilder() { - return getKclOptionsFieldBuilder().addBuilder(com.kcl.api.Spec.KeyValuePair.getDefaultInstance()); - } + /** + *
+     * Name of the option.
+     * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+     * Name of the option.
+     * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); - /** - *
-             * List of KCL options as key-value pairs.
-             * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public com.kcl.api.Spec.KeyValuePair.Builder addKclOptionsBuilder(int index) { - return getKclOptionsFieldBuilder().addBuilder(index, - com.kcl.api.Spec.KeyValuePair.getDefaultInstance()); - } + /** + *
+     * Type of the option.
+     * 
+ * + * string type = 2; + * @return The type. + */ + java.lang.String getType(); + /** + *
+     * Type of the option.
+     * 
+ * + * string type = 2; + * @return The bytes for type. + */ + com.google.protobuf.ByteString + getTypeBytes(); - /** - *
-             * List of KCL options as key-value pairs.
-             * 
- * - * repeated .com.kcl.api.KeyValuePair kcl_options = 2; - */ - public java.util.List getKclOptionsBuilderList() { - return getKclOptionsFieldBuilder().getBuilderList(); - } + /** + *
+     * Flag indicating if the option is required.
+     * 
+ * + * bool required = 3; + * @return The required. + */ + boolean getRequired(); - private com.google.protobuf.RepeatedFieldBuilder getKclOptionsFieldBuilder() { - if (kclOptionsBuilder_ == null) { - kclOptionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - kclOptions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); - kclOptions_ = null; - } - return kclOptionsBuilder_; - } + /** + *
+     * Default value of the option.
+     * 
+ * + * string default_value = 4; + * @return The defaultValue. + */ + java.lang.String getDefaultValue(); + /** + *
+     * Default value of the option.
+     * 
+ * + * string default_value = 4; + * @return The bytes for defaultValue. + */ + com.google.protobuf.ByteString + getDefaultValueBytes(); - // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadSettingsFiles_Result) - } + /** + *
+     * Help text for the option.
+     * 
+ * + * string help = 5; + * @return The help. + */ + java.lang.String getHelp(); + /** + *
+     * Help text for the option.
+     * 
+ * + * string help = 5; + * @return The bytes for help. + */ + com.google.protobuf.ByteString + getHelpBytes(); + } + /** + *
+   * Message representing a help option.
+   * 
+ * + * Protobuf type {@code com.kcl.api.OptionHelp} + */ + public static final class OptionHelp extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.OptionHelp) + OptionHelpOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "OptionHelp"); + } + // Use OptionHelp.newBuilder() to construct. + private OptionHelp(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private OptionHelp() { + name_ = ""; + type_ = ""; + defaultValue_ = ""; + help_ = ""; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.LoadSettingsFiles_Result) - private static final com.kcl.api.Spec.LoadSettingsFiles_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadSettingsFiles_Result(); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OptionHelp_descriptor; + } - public static com.kcl.api.Spec.LoadSettingsFiles_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OptionHelp_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.OptionHelp.class, com.kcl.api.Spec.OptionHelp.Builder.class); + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoadSettingsFiles_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + *
+     * Name of the option.
+     * 
+ * + * string name = 1; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+     * Name of the option.
+     * 
+ * + * string name = 1; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + public static final int TYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object type_ = ""; + /** + *
+     * Type of the option.
+     * 
+ * + * string type = 2; + * @return The type. + */ + @java.lang.Override + public java.lang.String getType() { + java.lang.Object ref = type_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + type_ = s; + return s; + } + } + /** + *
+     * Type of the option.
+     * 
+ * + * string type = 2; + * @return The bytes for type. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTypeBytes() { + java.lang.Object ref = type_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + type_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static final int REQUIRED_FIELD_NUMBER = 3; + private boolean required_ = false; + /** + *
+     * Flag indicating if the option is required.
+     * 
+ * + * bool required = 3; + * @return The required. + */ + @java.lang.Override + public boolean getRequired() { + return required_; + } - @java.lang.Override - public com.kcl.api.Spec.LoadSettingsFiles_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CliConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.CliConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * List of files.
-         * 
- * - * repeated string files = 1; - * - * @return A list containing the files. - */ - java.util.List getFilesList(); - - /** - *
-         * List of files.
-         * 
- * - * repeated string files = 1; - * - * @return The count of files. - */ - int getFilesCount(); - - /** - *
-         * List of files.
-         * 
- * - * repeated string files = 1; - * - * @param index - * The index of the element to return. - * - * @return The files at the given index. - */ - java.lang.String getFiles(int index); - - /** - *
-         * List of files.
-         * 
- * - * repeated string files = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the files at the given index. - */ - com.google.protobuf.ByteString getFilesBytes(int index); - - /** - *
-         * Output path.
-         * 
- * - * string output = 2; - * - * @return The output. - */ - java.lang.String getOutput(); - - /** - *
-         * Output path.
-         * 
- * - * string output = 2; - * - * @return The bytes for output. - */ - com.google.protobuf.ByteString getOutputBytes(); - - /** - *
-         * List of overrides.
-         * 
- * - * repeated string overrides = 3; - * - * @return A list containing the overrides. - */ - java.util.List getOverridesList(); - - /** - *
-         * List of overrides.
-         * 
- * - * repeated string overrides = 3; - * - * @return The count of overrides. - */ - int getOverridesCount(); - - /** - *
-         * List of overrides.
-         * 
- * - * repeated string overrides = 3; - * - * @param index - * The index of the element to return. - * - * @return The overrides at the given index. - */ - java.lang.String getOverrides(int index); - - /** - *
-         * List of overrides.
-         * 
- * - * repeated string overrides = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the overrides at the given index. - */ - com.google.protobuf.ByteString getOverridesBytes(int index); - - /** - *
-         * Path selectors.
-         * 
- * - * repeated string path_selector = 4; - * - * @return A list containing the pathSelector. - */ - java.util.List getPathSelectorList(); - - /** - *
-         * Path selectors.
-         * 
- * - * repeated string path_selector = 4; - * - * @return The count of pathSelector. - */ - int getPathSelectorCount(); - - /** - *
-         * Path selectors.
-         * 
- * - * repeated string path_selector = 4; - * - * @param index - * The index of the element to return. - * - * @return The pathSelector at the given index. - */ - java.lang.String getPathSelector(int index); - - /** - *
-         * Path selectors.
-         * 
- * - * repeated string path_selector = 4; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the pathSelector at the given index. - */ - com.google.protobuf.ByteString getPathSelectorBytes(int index); - - /** - *
-         * Flag for strict range check.
-         * 
- * - * bool strict_range_check = 5; - * - * @return The strictRangeCheck. - */ - boolean getStrictRangeCheck(); - - /** - *
-         * Flag to disable none values.
-         * 
- * - * bool disable_none = 6; - * - * @return The disableNone. - */ - boolean getDisableNone(); - - /** - *
-         * Verbose level.
-         * 
- * - * int64 verbose = 7; - * - * @return The verbose. - */ - long getVerbose(); - - /** - *
-         * Debug flag.
-         * 
- * - * bool debug = 8; - * - * @return The debug. - */ - boolean getDebug(); - - /** - *
-         * Flag to sort keys in YAML/JSON results.
-         * 
- * - * bool sort_keys = 9; - * - * @return The sortKeys. - */ - boolean getSortKeys(); - - /** - *
-         * Flag to show hidden attributes.
-         * 
- * - * bool show_hidden = 10; - * - * @return The showHidden. - */ - boolean getShowHidden(); - - /** - *
-         * Flag to include schema type path in results.
-         * 
- * - * bool include_schema_type_path = 11; - * - * @return The includeSchemaTypePath. - */ - boolean getIncludeSchemaTypePath(); - - /** - *
-         * Flag for fast evaluation.
-         * 
- * - * bool fast_eval = 12; - * - * @return The fastEval. - */ - boolean getFastEval(); + public static final int DEFAULT_VALUE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object defaultValue_ = ""; + /** + *
+     * Default value of the option.
+     * 
+ * + * string default_value = 4; + * @return The defaultValue. + */ + @java.lang.Override + public java.lang.String getDefaultValue() { + java.lang.Object ref = defaultValue_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + defaultValue_ = s; + return s; + } + } + /** + *
+     * Default value of the option.
+     * 
+ * + * string default_value = 4; + * @return The bytes for defaultValue. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDefaultValueBytes() { + java.lang.Object ref = defaultValue_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + defaultValue_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } + public static final int HELP_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object help_ = ""; /** *
-     * Message representing KCL CLI configuration.
+     * Help text for the option.
      * 
* - * Protobuf type {@code com.kcl.api.CliConfig} + * string help = 5; + * @return The help. */ - public static final class CliConfig extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.CliConfig) - CliConfigOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", CliConfig.class.getName()); - } + @java.lang.Override + public java.lang.String getHelp() { + java.lang.Object ref = help_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + help_ = s; + return s; + } + } + /** + *
+     * Help text for the option.
+     * 
+ * + * string help = 5; + * @return The bytes for help. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getHelpBytes() { + java.lang.Object ref = help_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + help_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - // Use CliConfig.newBuilder() to construct. - private CliConfig(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private CliConfig() { - files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - output_ = ""; - overrides_ = com.google.protobuf.LazyStringArrayList.emptyList(); - pathSelector_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } + memoizedIsInitialized = 1; + return true; + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_CliConfig_descriptor; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, type_); + } + if (required_ != false) { + output.writeBool(3, required_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(defaultValue_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, defaultValue_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(help_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, help_); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_CliConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.CliConfig.class, - com.kcl.api.Spec.CliConfig.Builder.class); - } - - public static final int FILES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - *
-         * List of files.
-         * 
- * - * repeated string files = 1; - * - * @return A list containing the files. - */ - public com.google.protobuf.ProtocolStringList getFilesList() { - return files_; - } - - /** - *
-         * List of files.
-         * 
- * - * repeated string files = 1; - * - * @return The count of files. - */ - public int getFilesCount() { - return files_.size(); - } - - /** - *
-         * List of files.
-         * 
- * - * repeated string files = 1; - * - * @param index - * The index of the element to return. - * - * @return The files at the given index. - */ - public java.lang.String getFiles(int index) { - return files_.get(index); - } - - /** - *
-         * List of files.
-         * 
- * - * repeated string files = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the files at the given index. - */ - public com.google.protobuf.ByteString getFilesBytes(int index) { - return files_.getByteString(index); - } - - public static final int OUTPUT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object output_ = ""; - - /** - *
-         * Output path.
-         * 
- * - * string output = 2; - * - * @return The output. - */ - @java.lang.Override - public java.lang.String getOutput() { - java.lang.Object ref = output_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - output_ = s; - return s; - } - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, type_); + } + if (required_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, required_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(defaultValue_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, defaultValue_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(help_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, help_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-         * Output path.
-         * 
- * - * string output = 2; - * - * @return The bytes for output. - */ - @java.lang.Override - public com.google.protobuf.ByteString getOutputBytes() { - java.lang.Object ref = output_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - output_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.OptionHelp)) { + return super.equals(obj); + } + com.kcl.api.Spec.OptionHelp other = (com.kcl.api.Spec.OptionHelp) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getType() + .equals(other.getType())) return false; + if (getRequired() + != other.getRequired()) return false; + if (!getDefaultValue() + .equals(other.getDefaultValue())) return false; + if (!getHelp() + .equals(other.getHelp())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static final int OVERRIDES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList overrides_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - *
-         * List of overrides.
-         * 
- * - * repeated string overrides = 3; - * - * @return A list containing the overrides. - */ - public com.google.protobuf.ProtocolStringList getOverridesList() { - return overrides_; - } - - /** - *
-         * List of overrides.
-         * 
- * - * repeated string overrides = 3; - * - * @return The count of overrides. - */ - public int getOverridesCount() { - return overrides_.size(); - } - - /** - *
-         * List of overrides.
-         * 
- * - * repeated string overrides = 3; - * - * @param index - * The index of the element to return. - * - * @return The overrides at the given index. - */ - public java.lang.String getOverrides(int index) { - return overrides_.get(index); - } - - /** - *
-         * List of overrides.
-         * 
- * - * repeated string overrides = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the overrides at the given index. - */ - public com.google.protobuf.ByteString getOverridesBytes(int index) { - return overrides_.getByteString(index); - } - - public static final int PATH_SELECTOR_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList pathSelector_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - *
-         * Path selectors.
-         * 
- * - * repeated string path_selector = 4; - * - * @return A list containing the pathSelector. - */ - public com.google.protobuf.ProtocolStringList getPathSelectorList() { - return pathSelector_; - } - - /** - *
-         * Path selectors.
-         * 
- * - * repeated string path_selector = 4; - * - * @return The count of pathSelector. - */ - public int getPathSelectorCount() { - return pathSelector_.size(); - } - - /** - *
-         * Path selectors.
-         * 
- * - * repeated string path_selector = 4; - * - * @param index - * The index of the element to return. - * - * @return The pathSelector at the given index. - */ - public java.lang.String getPathSelector(int index) { - return pathSelector_.get(index); - } - - /** - *
-         * Path selectors.
-         * 
- * - * repeated string path_selector = 4; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the pathSelector at the given index. - */ - public com.google.protobuf.ByteString getPathSelectorBytes(int index) { - return pathSelector_.getByteString(index); - } - - public static final int STRICT_RANGE_CHECK_FIELD_NUMBER = 5; - private boolean strictRangeCheck_ = false; - - /** - *
-         * Flag for strict range check.
-         * 
- * - * bool strict_range_check = 5; - * - * @return The strictRangeCheck. - */ - @java.lang.Override - public boolean getStrictRangeCheck() { - return strictRangeCheck_; - } - - public static final int DISABLE_NONE_FIELD_NUMBER = 6; - private boolean disableNone_ = false; - - /** - *
-         * Flag to disable none values.
-         * 
- * - * bool disable_none = 6; - * - * @return The disableNone. - */ - @java.lang.Override - public boolean getDisableNone() { - return disableNone_; - } - - public static final int VERBOSE_FIELD_NUMBER = 7; - private long verbose_ = 0L; - - /** - *
-         * Verbose level.
-         * 
- * - * int64 verbose = 7; - * - * @return The verbose. - */ - @java.lang.Override - public long getVerbose() { - return verbose_; - } - - public static final int DEBUG_FIELD_NUMBER = 8; - private boolean debug_ = false; - - /** - *
-         * Debug flag.
-         * 
- * - * bool debug = 8; - * - * @return The debug. - */ - @java.lang.Override - public boolean getDebug() { - return debug_; - } - - public static final int SORT_KEYS_FIELD_NUMBER = 9; - private boolean sortKeys_ = false; - - /** - *
-         * Flag to sort keys in YAML/JSON results.
-         * 
- * - * bool sort_keys = 9; - * - * @return The sortKeys. - */ - @java.lang.Override - public boolean getSortKeys() { - return sortKeys_; - } - - public static final int SHOW_HIDDEN_FIELD_NUMBER = 10; - private boolean showHidden_ = false; - - /** - *
-         * Flag to show hidden attributes.
-         * 
- * - * bool show_hidden = 10; - * - * @return The showHidden. - */ - @java.lang.Override - public boolean getShowHidden() { - return showHidden_; - } - - public static final int INCLUDE_SCHEMA_TYPE_PATH_FIELD_NUMBER = 11; - private boolean includeSchemaTypePath_ = false; - - /** - *
-         * Flag to include schema type path in results.
-         * 
- * - * bool include_schema_type_path = 11; - * - * @return The includeSchemaTypePath. - */ - @java.lang.Override - public boolean getIncludeSchemaTypePath() { - return includeSchemaTypePath_; - } - - public static final int FAST_EVAL_FIELD_NUMBER = 12; - private boolean fastEval_ = false; - - /** - *
-         * Flag for fast evaluation.
-         * 
- * - * bool fast_eval = 12; - * - * @return The fastEval. - */ - @java.lang.Override - public boolean getFastEval() { - return fastEval_; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + getType().hashCode(); + hash = (37 * hash) + REQUIRED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequired()); + hash = (37 * hash) + DEFAULT_VALUE_FIELD_NUMBER; + hash = (53 * hash) + getDefaultValue().hashCode(); + hash = (37 * hash) + HELP_FIELD_NUMBER; + hash = (53 * hash) + getHelp().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - private byte memoizedIsInitialized = -1; + public static com.kcl.api.Spec.OptionHelp parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.OptionHelp parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.OptionHelp parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.OptionHelp parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.OptionHelp parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.OptionHelp parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.OptionHelp parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.OptionHelp parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + public static com.kcl.api.Spec.OptionHelp parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - memoizedIsInitialized = 1; - return true; - } + public static com.kcl.api.Spec.OptionHelp parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.OptionHelp parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.OptionHelp parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < files_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, files_.getRaw(i)); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(output_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, output_); - } - for (int i = 0; i < overrides_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, overrides_.getRaw(i)); - } - for (int i = 0; i < pathSelector_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 4, pathSelector_.getRaw(i)); - } - if (strictRangeCheck_ != false) { - output.writeBool(5, strictRangeCheck_); - } - if (disableNone_ != false) { - output.writeBool(6, disableNone_); - } - if (verbose_ != 0L) { - output.writeInt64(7, verbose_); - } - if (debug_ != false) { - output.writeBool(8, debug_); - } - if (sortKeys_ != false) { - output.writeBool(9, sortKeys_); - } - if (showHidden_ != false) { - output.writeBool(10, showHidden_); - } - if (includeSchemaTypePath_ != false) { - output.writeBool(11, includeSchemaTypePath_); - } - if (fastEval_ != false) { - output.writeBool(12, fastEval_); - } - getUnknownFields().writeTo(output); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.OptionHelp prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < files_.size(); i++) { - dataSize += computeStringSizeNoTag(files_.getRaw(i)); - } - size += dataSize; - size += 1 * getFilesList().size(); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(output_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, output_); - } - { - int dataSize = 0; - for (int i = 0; i < overrides_.size(); i++) { - dataSize += computeStringSizeNoTag(overrides_.getRaw(i)); - } - size += dataSize; - size += 1 * getOverridesList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < pathSelector_.size(); i++) { - dataSize += computeStringSizeNoTag(pathSelector_.getRaw(i)); - } - size += dataSize; - size += 1 * getPathSelectorList().size(); - } - if (strictRangeCheck_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, strictRangeCheck_); - } - if (disableNone_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, disableNone_); - } - if (verbose_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, verbose_); - } - if (debug_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, debug_); - } - if (sortKeys_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, sortKeys_); - } - if (showHidden_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, showHidden_); - } - if (includeSchemaTypePath_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, includeSchemaTypePath_); - } - if (fastEval_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, fastEval_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message representing a help option.
+     * 
+ * + * Protobuf type {@code com.kcl.api.OptionHelp} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.OptionHelp) + com.kcl.api.Spec.OptionHelpOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OptionHelp_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OptionHelp_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.OptionHelp.class, com.kcl.api.Spec.OptionHelp.Builder.class); + } + + // Construct using com.kcl.api.Spec.OptionHelp.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + type_ = ""; + required_ = false; + defaultValue_ = ""; + help_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OptionHelp_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.OptionHelp getDefaultInstanceForType() { + return com.kcl.api.Spec.OptionHelp.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.OptionHelp build() { + com.kcl.api.Spec.OptionHelp result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.OptionHelp buildPartial() { + com.kcl.api.Spec.OptionHelp result = new com.kcl.api.Spec.OptionHelp(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.OptionHelp result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.type_ = type_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.required_ = required_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.defaultValue_ = defaultValue_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.help_ = help_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.OptionHelp) { + return mergeFrom((com.kcl.api.Spec.OptionHelp)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.OptionHelp other) { + if (other == com.kcl.api.Spec.OptionHelp.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getType().isEmpty()) { + type_ = other.type_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getRequired() != false) { + setRequired(other.getRequired()); + } + if (!other.getDefaultValue().isEmpty()) { + defaultValue_ = other.defaultValue_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getHelp().isEmpty()) { + help_ = other.help_; + bitField0_ |= 0x00000010; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + type_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + required_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + defaultValue_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + help_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + *
+       * Name of the option.
+       * 
+ * + * string name = 1; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Name of the option.
+       * 
+ * + * string name = 1; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Name of the option.
+       * 
+ * + * string name = 1; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Name of the option.
+       * 
+ * + * string name = 1; + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Name of the option.
+       * 
+ * + * string name = 1; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object type_ = ""; + /** + *
+       * Type of the option.
+       * 
+ * + * string type = 2; + * @return The type. + */ + public java.lang.String getType() { + java.lang.Object ref = type_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + type_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Type of the option.
+       * 
+ * + * string type = 2; + * @return The bytes for type. + */ + public com.google.protobuf.ByteString + getTypeBytes() { + java.lang.Object ref = type_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + type_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Type of the option.
+       * 
+ * + * string type = 2; + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + type_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Type of the option.
+       * 
+ * + * string type = 2; + * @return This builder for chaining. + */ + public Builder clearType() { + type_ = getDefaultInstance().getType(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Type of the option.
+       * 
+ * + * string type = 2; + * @param value The bytes for type to set. + * @return This builder for chaining. + */ + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + type_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private boolean required_ ; + /** + *
+       * Flag indicating if the option is required.
+       * 
+ * + * bool required = 3; + * @return The required. + */ + @java.lang.Override + public boolean getRequired() { + return required_; + } + /** + *
+       * Flag indicating if the option is required.
+       * 
+ * + * bool required = 3; + * @param value The required to set. + * @return This builder for chaining. + */ + public Builder setRequired(boolean value) { + + required_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Flag indicating if the option is required.
+       * 
+ * + * bool required = 3; + * @return This builder for chaining. + */ + public Builder clearRequired() { + bitField0_ = (bitField0_ & ~0x00000004); + required_ = false; + onChanged(); + return this; + } + + private java.lang.Object defaultValue_ = ""; + /** + *
+       * Default value of the option.
+       * 
+ * + * string default_value = 4; + * @return The defaultValue. + */ + public java.lang.String getDefaultValue() { + java.lang.Object ref = defaultValue_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + defaultValue_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Default value of the option.
+       * 
+ * + * string default_value = 4; + * @return The bytes for defaultValue. + */ + public com.google.protobuf.ByteString + getDefaultValueBytes() { + java.lang.Object ref = defaultValue_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + defaultValue_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Default value of the option.
+       * 
+ * + * string default_value = 4; + * @param value The defaultValue to set. + * @return This builder for chaining. + */ + public Builder setDefaultValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + defaultValue_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Default value of the option.
+       * 
+ * + * string default_value = 4; + * @return This builder for chaining. + */ + public Builder clearDefaultValue() { + defaultValue_ = getDefaultInstance().getDefaultValue(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+       * Default value of the option.
+       * 
+ * + * string default_value = 4; + * @param value The bytes for defaultValue to set. + * @return This builder for chaining. + */ + public Builder setDefaultValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + defaultValue_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object help_ = ""; + /** + *
+       * Help text for the option.
+       * 
+ * + * string help = 5; + * @return The help. + */ + public java.lang.String getHelp() { + java.lang.Object ref = help_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + help_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Help text for the option.
+       * 
+ * + * string help = 5; + * @return The bytes for help. + */ + public com.google.protobuf.ByteString + getHelpBytes() { + java.lang.Object ref = help_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + help_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Help text for the option.
+       * 
+ * + * string help = 5; + * @param value The help to set. + * @return This builder for chaining. + */ + public Builder setHelp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + help_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+       * Help text for the option.
+       * 
+ * + * string help = 5; + * @return This builder for chaining. + */ + public Builder clearHelp() { + help_ = getDefaultInstance().getHelp(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + *
+       * Help text for the option.
+       * 
+ * + * string help = 5; + * @param value The bytes for help to set. + * @return This builder for chaining. + */ + public Builder setHelpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + help_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.OptionHelp) + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.CliConfig)) { - return super.equals(obj); - } - com.kcl.api.Spec.CliConfig other = (com.kcl.api.Spec.CliConfig) obj; - - if (!getFilesList().equals(other.getFilesList())) - return false; - if (!getOutput().equals(other.getOutput())) - return false; - if (!getOverridesList().equals(other.getOverridesList())) - return false; - if (!getPathSelectorList().equals(other.getPathSelectorList())) - return false; - if (getStrictRangeCheck() != other.getStrictRangeCheck()) - return false; - if (getDisableNone() != other.getDisableNone()) - return false; - if (getVerbose() != other.getVerbose()) - return false; - if (getDebug() != other.getDebug()) - return false; - if (getSortKeys() != other.getSortKeys()) - return false; - if (getShowHidden() != other.getShowHidden()) - return false; - if (getIncludeSchemaTypePath() != other.getIncludeSchemaTypePath()) - return false; - if (getFastEval() != other.getFastEval()) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.OptionHelp) + private static final com.kcl.api.Spec.OptionHelp DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.OptionHelp(); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getFilesCount() > 0) { - hash = (37 * hash) + FILES_FIELD_NUMBER; - hash = (53 * hash) + getFilesList().hashCode(); - } - hash = (37 * hash) + OUTPUT_FIELD_NUMBER; - hash = (53 * hash) + getOutput().hashCode(); - if (getOverridesCount() > 0) { - hash = (37 * hash) + OVERRIDES_FIELD_NUMBER; - hash = (53 * hash) + getOverridesList().hashCode(); - } - if (getPathSelectorCount() > 0) { - hash = (37 * hash) + PATH_SELECTOR_FIELD_NUMBER; - hash = (53 * hash) + getPathSelectorList().hashCode(); - } - hash = (37 * hash) + STRICT_RANGE_CHECK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStrictRangeCheck()); - hash = (37 * hash) + DISABLE_NONE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableNone()); - hash = (37 * hash) + VERBOSE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getVerbose()); - hash = (37 * hash) + DEBUG_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDebug()); - hash = (37 * hash) + SORT_KEYS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSortKeys()); - hash = (37 * hash) + SHOW_HIDDEN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getShowHidden()); - hash = (37 * hash) + INCLUDE_SCHEMA_TYPE_PATH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeSchemaTypePath()); - hash = (37 * hash) + FAST_EVAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFastEval()); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + public static com.kcl.api.Spec.OptionHelp getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.CliConfig parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OptionHelp parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static com.kcl.api.Spec.CliConfig parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static com.kcl.api.Spec.CliConfig parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public com.kcl.api.Spec.OptionHelp getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.CliConfig parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + } - public static com.kcl.api.Spec.CliConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public interface SymbolOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.Symbol) + com.google.protobuf.MessageOrBuilder { - public static com.kcl.api.Spec.CliConfig parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + /** + *
+     * Type of the symbol.
+     * 
+ * + * .com.kcl.api.KclType ty = 1; + * @return Whether the ty field is set. + */ + boolean hasTy(); + /** + *
+     * Type of the symbol.
+     * 
+ * + * .com.kcl.api.KclType ty = 1; + * @return The ty. + */ + com.kcl.api.Spec.KclType getTy(); + /** + *
+     * Type of the symbol.
+     * 
+ * + * .com.kcl.api.KclType ty = 1; + */ + com.kcl.api.Spec.KclTypeOrBuilder getTyOrBuilder(); - public static com.kcl.api.Spec.CliConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + /** + *
+     * Name of the symbol.
+     * 
+ * + * string name = 2; + * @return The name. + */ + java.lang.String getName(); + /** + *
+     * Name of the symbol.
+     * 
+ * + * string name = 2; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+     * Owner of the symbol.
+     * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + * @return Whether the owner field is set. + */ + boolean hasOwner(); + /** + *
+     * Owner of the symbol.
+     * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + * @return The owner. + */ + com.kcl.api.Spec.SymbolIndex getOwner(); + /** + *
+     * Owner of the symbol.
+     * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + */ + com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder(); - public static com.kcl.api.Spec.CliConfig parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + /** + *
+     * Definition of the symbol.
+     * 
+ * + * .com.kcl.api.SymbolIndex def = 4; + * @return Whether the def field is set. + */ + boolean hasDef(); + /** + *
+     * Definition of the symbol.
+     * 
+ * + * .com.kcl.api.SymbolIndex def = 4; + * @return The def. + */ + com.kcl.api.Spec.SymbolIndex getDef(); + /** + *
+     * Definition of the symbol.
+     * 
+ * + * .com.kcl.api.SymbolIndex def = 4; + */ + com.kcl.api.Spec.SymbolIndexOrBuilder getDefOrBuilder(); - public static com.kcl.api.Spec.CliConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } + /** + *
+     * Attributes of the symbol.
+     * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + java.util.List + getAttrsList(); + /** + *
+     * Attributes of the symbol.
+     * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + com.kcl.api.Spec.SymbolIndex getAttrs(int index); + /** + *
+     * Attributes of the symbol.
+     * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + int getAttrsCount(); + /** + *
+     * Attributes of the symbol.
+     * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + java.util.List + getAttrsOrBuilderList(); + /** + *
+     * Attributes of the symbol.
+     * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + com.kcl.api.Spec.SymbolIndexOrBuilder getAttrsOrBuilder( + int index); - public static com.kcl.api.Spec.CliConfig parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } + /** + *
+     * Flag indicating if the symbol is global.
+     * 
+ * + * bool is_global = 6; + * @return The isGlobal. + */ + boolean getIsGlobal(); + } + /** + *
+   * Message representing a symbol in KCL.
+   * 
+ * + * Protobuf type {@code com.kcl.api.Symbol} + */ + public static final class Symbol extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.Symbol) + SymbolOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "Symbol"); + } + // Use Symbol.newBuilder() to construct. + private Symbol(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private Symbol() { + name_ = ""; + attrs_ = java.util.Collections.emptyList(); + } - public static com.kcl.api.Spec.CliConfig parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Symbol_descriptor; + } - public static com.kcl.api.Spec.CliConfig parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Symbol_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Symbol.class, com.kcl.api.Spec.Symbol.Builder.class); + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + private int bitField0_; + public static final int TY_FIELD_NUMBER = 1; + private com.kcl.api.Spec.KclType ty_; + /** + *
+     * Type of the symbol.
+     * 
+ * + * .com.kcl.api.KclType ty = 1; + * @return Whether the ty field is set. + */ + @java.lang.Override + public boolean hasTy() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * Type of the symbol.
+     * 
+ * + * .com.kcl.api.KclType ty = 1; + * @return The ty. + */ + @java.lang.Override + public com.kcl.api.Spec.KclType getTy() { + return ty_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : ty_; + } + /** + *
+     * Type of the symbol.
+     * 
+ * + * .com.kcl.api.KclType ty = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.KclTypeOrBuilder getTyOrBuilder() { + return ty_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : ty_; + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + public static final int NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + *
+     * Name of the symbol.
+     * 
+ * + * string name = 2; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+     * Name of the symbol.
+     * 
+ * + * string name = 2; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static Builder newBuilder(com.kcl.api.Spec.CliConfig prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + public static final int OWNER_FIELD_NUMBER = 3; + private com.kcl.api.Spec.SymbolIndex owner_; + /** + *
+     * Owner of the symbol.
+     * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + * @return Whether the owner field is set. + */ + @java.lang.Override + public boolean hasOwner() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+     * Owner of the symbol.
+     * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + * @return The owner. + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex getOwner() { + return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; + } + /** + *
+     * Owner of the symbol.
+     * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder() { + return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + public static final int DEF_FIELD_NUMBER = 4; + private com.kcl.api.Spec.SymbolIndex def_; + /** + *
+     * Definition of the symbol.
+     * 
+ * + * .com.kcl.api.SymbolIndex def = 4; + * @return Whether the def field is set. + */ + @java.lang.Override + public boolean hasDef() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + *
+     * Definition of the symbol.
+     * 
+ * + * .com.kcl.api.SymbolIndex def = 4; + * @return The def. + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex getDef() { + return def_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : def_; + } + /** + *
+     * Definition of the symbol.
+     * 
+ * + * .com.kcl.api.SymbolIndex def = 4; + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndexOrBuilder getDefOrBuilder() { + return def_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : def_; + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message representing KCL CLI configuration.
-         * 
- * - * Protobuf type {@code com.kcl.api.CliConfig} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.CliConfig) - com.kcl.api.Spec.CliConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_CliConfig_descriptor; - } + public static final int ATTRS_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private java.util.List attrs_; + /** + *
+     * Attributes of the symbol.
+     * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + @java.lang.Override + public java.util.List getAttrsList() { + return attrs_; + } + /** + *
+     * Attributes of the symbol.
+     * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + @java.lang.Override + public java.util.List + getAttrsOrBuilderList() { + return attrs_; + } + /** + *
+     * Attributes of the symbol.
+     * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + @java.lang.Override + public int getAttrsCount() { + return attrs_.size(); + } + /** + *
+     * Attributes of the symbol.
+     * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex getAttrs(int index) { + return attrs_.get(index); + } + /** + *
+     * Attributes of the symbol.
+     * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndexOrBuilder getAttrsOrBuilder( + int index) { + return attrs_.get(index); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_CliConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.CliConfig.class, - com.kcl.api.Spec.CliConfig.Builder.class); - } + public static final int IS_GLOBAL_FIELD_NUMBER = 6; + private boolean isGlobal_ = false; + /** + *
+     * Flag indicating if the symbol is global.
+     * 
+ * + * bool is_global = 6; + * @return The isGlobal. + */ + @java.lang.Override + public boolean getIsGlobal() { + return isGlobal_; + } - // Construct using com.kcl.api.Spec.CliConfig.newBuilder() - private Builder() { + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - } + memoizedIsInitialized = 1; + return true; + } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getTy()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, name_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(3, getOwner()); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(4, getDef()); + } + for (int i = 0; i < attrs_.size(); i++) { + output.writeMessage(5, attrs_.get(i)); + } + if (isGlobal_ != false) { + output.writeBool(6, isGlobal_); + } + getUnknownFields().writeTo(output); + } - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTy()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, name_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getOwner()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getDef()); + } + for (int i = 0; i < attrs_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, attrs_.get(i)); + } + if (isGlobal_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, isGlobal_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - output_ = ""; - overrides_ = com.google.protobuf.LazyStringArrayList.emptyList(); - pathSelector_ = com.google.protobuf.LazyStringArrayList.emptyList(); - strictRangeCheck_ = false; - disableNone_ = false; - verbose_ = 0L; - debug_ = false; - sortKeys_ = false; - showHidden_ = false; - includeSchemaTypePath_ = false; - fastEval_ = false; - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.Symbol)) { + return super.equals(obj); + } + com.kcl.api.Spec.Symbol other = (com.kcl.api.Spec.Symbol) obj; + + if (hasTy() != other.hasTy()) return false; + if (hasTy()) { + if (!getTy() + .equals(other.getTy())) return false; + } + if (!getName() + .equals(other.getName())) return false; + if (hasOwner() != other.hasOwner()) return false; + if (hasOwner()) { + if (!getOwner() + .equals(other.getOwner())) return false; + } + if (hasDef() != other.hasDef()) return false; + if (hasDef()) { + if (!getDef() + .equals(other.getDef())) return false; + } + if (!getAttrsList() + .equals(other.getAttrsList())) return false; + if (getIsGlobal() + != other.getIsGlobal()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_CliConfig_descriptor; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasTy()) { + hash = (37 * hash) + TY_FIELD_NUMBER; + hash = (53 * hash) + getTy().hashCode(); + } + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + if (hasOwner()) { + hash = (37 * hash) + OWNER_FIELD_NUMBER; + hash = (53 * hash) + getOwner().hashCode(); + } + if (hasDef()) { + hash = (37 * hash) + DEF_FIELD_NUMBER; + hash = (53 * hash) + getDef().hashCode(); + } + if (getAttrsCount() > 0) { + hash = (37 * hash) + ATTRS_FIELD_NUMBER; + hash = (53 * hash) + getAttrsList().hashCode(); + } + hash = (37 * hash) + IS_GLOBAL_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsGlobal()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public com.kcl.api.Spec.CliConfig getDefaultInstanceForType() { - return com.kcl.api.Spec.CliConfig.getDefaultInstance(); - } + public static com.kcl.api.Spec.Symbol parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Symbol parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Symbol parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Symbol parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Symbol parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Symbol parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Symbol parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Symbol parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public com.kcl.api.Spec.CliConfig build() { - com.kcl.api.Spec.CliConfig result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + public static com.kcl.api.Spec.Symbol parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public com.kcl.api.Spec.CliConfig buildPartial() { - com.kcl.api.Spec.CliConfig result = new com.kcl.api.Spec.CliConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + public static com.kcl.api.Spec.Symbol parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.Symbol parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Symbol parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - private void buildPartial0(com.kcl.api.Spec.CliConfig result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - files_.makeImmutable(); - result.files_ = files_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.output_ = output_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - overrides_.makeImmutable(); - result.overrides_ = overrides_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - pathSelector_.makeImmutable(); - result.pathSelector_ = pathSelector_; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.strictRangeCheck_ = strictRangeCheck_; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.disableNone_ = disableNone_; - } - if (((from_bitField0_ & 0x00000040) != 0)) { - result.verbose_ = verbose_; - } - if (((from_bitField0_ & 0x00000080) != 0)) { - result.debug_ = debug_; - } - if (((from_bitField0_ & 0x00000100) != 0)) { - result.sortKeys_ = sortKeys_; - } - if (((from_bitField0_ & 0x00000200) != 0)) { - result.showHidden_ = showHidden_; - } - if (((from_bitField0_ & 0x00000400) != 0)) { - result.includeSchemaTypePath_ = includeSchemaTypePath_; - } - if (((from_bitField0_ & 0x00000800) != 0)) { - result.fastEval_ = fastEval_; - } - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.Symbol prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.CliConfig) { - return mergeFrom((com.kcl.api.Spec.CliConfig) other); + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message representing a symbol in KCL.
+     * 
+ * + * Protobuf type {@code com.kcl.api.Symbol} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.Symbol) + com.kcl.api.Spec.SymbolOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Symbol_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Symbol_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Symbol.class, com.kcl.api.Spec.Symbol.Builder.class); + } + + // Construct using com.kcl.api.Spec.Symbol.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + internalGetTyFieldBuilder(); + internalGetOwnerFieldBuilder(); + internalGetDefFieldBuilder(); + internalGetAttrsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + ty_ = null; + if (tyBuilder_ != null) { + tyBuilder_.dispose(); + tyBuilder_ = null; + } + name_ = ""; + owner_ = null; + if (ownerBuilder_ != null) { + ownerBuilder_.dispose(); + ownerBuilder_ = null; + } + def_ = null; + if (defBuilder_ != null) { + defBuilder_.dispose(); + defBuilder_ = null; + } + if (attrsBuilder_ == null) { + attrs_ = java.util.Collections.emptyList(); + } else { + attrs_ = null; + attrsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); + isGlobal_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Symbol_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.Symbol getDefaultInstanceForType() { + return com.kcl.api.Spec.Symbol.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.Symbol build() { + com.kcl.api.Spec.Symbol result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.Symbol buildPartial() { + com.kcl.api.Spec.Symbol result = new com.kcl.api.Spec.Symbol(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.Symbol result) { + if (attrsBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0)) { + attrs_ = java.util.Collections.unmodifiableList(attrs_); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.attrs_ = attrs_; + } else { + result.attrs_ = attrsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.Symbol result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.ty_ = tyBuilder_ == null + ? ty_ + : tyBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.owner_ = ownerBuilder_ == null + ? owner_ + : ownerBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.def_ = defBuilder_ == null + ? def_ + : defBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.isGlobal_ = isGlobal_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.Symbol) { + return mergeFrom((com.kcl.api.Spec.Symbol)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.Symbol other) { + if (other == com.kcl.api.Spec.Symbol.getDefaultInstance()) return this; + if (other.hasTy()) { + mergeTy(other.getTy()); + } + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasOwner()) { + mergeOwner(other.getOwner()); + } + if (other.hasDef()) { + mergeDef(other.getDef()); + } + if (attrsBuilder_ == null) { + if (!other.attrs_.isEmpty()) { + if (attrs_.isEmpty()) { + attrs_ = other.attrs_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureAttrsIsMutable(); + attrs_.addAll(other.attrs_); + } + onChanged(); + } + } else { + if (!other.attrs_.isEmpty()) { + if (attrsBuilder_.isEmpty()) { + attrsBuilder_.dispose(); + attrsBuilder_ = null; + attrs_ = other.attrs_; + bitField0_ = (bitField0_ & ~0x00000010); + attrsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetAttrsFieldBuilder() : null; + } else { + attrsBuilder_.addAllMessages(other.attrs_); + } + } + } + if (other.getIsGlobal() != false) { + setIsGlobal(other.getIsGlobal()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + internalGetTyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + internalGetOwnerFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + internalGetDefFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + com.kcl.api.Spec.SymbolIndex m = + input.readMessage( + com.kcl.api.Spec.SymbolIndex.parser(), + extensionRegistry); + if (attrsBuilder_ == null) { + ensureAttrsIsMutable(); + attrs_.add(m); } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.kcl.api.Spec.CliConfig other) { - if (other == com.kcl.api.Spec.CliConfig.getDefaultInstance()) - return this; - if (!other.files_.isEmpty()) { - if (files_.isEmpty()) { - files_ = other.files_; - bitField0_ |= 0x00000001; - } else { - ensureFilesIsMutable(); - files_.addAll(other.files_); - } - onChanged(); - } - if (!other.getOutput().isEmpty()) { - output_ = other.output_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.overrides_.isEmpty()) { - if (overrides_.isEmpty()) { - overrides_ = other.overrides_; - bitField0_ |= 0x00000004; - } else { - ensureOverridesIsMutable(); - overrides_.addAll(other.overrides_); - } - onChanged(); - } - if (!other.pathSelector_.isEmpty()) { - if (pathSelector_.isEmpty()) { - pathSelector_ = other.pathSelector_; - bitField0_ |= 0x00000008; - } else { - ensurePathSelectorIsMutable(); - pathSelector_.addAll(other.pathSelector_); - } - onChanged(); + attrsBuilder_.addMessage(m); } - if (other.getStrictRangeCheck() != false) { - setStrictRangeCheck(other.getStrictRangeCheck()); - } - if (other.getDisableNone() != false) { - setDisableNone(other.getDisableNone()); - } - if (other.getVerbose() != 0L) { - setVerbose(other.getVerbose()); - } - if (other.getDebug() != false) { - setDebug(other.getDebug()); - } - if (other.getSortKeys() != false) { - setSortKeys(other.getSortKeys()); - } - if (other.getShowHidden() != false) { - setShowHidden(other.getShowHidden()); - } - if (other.getIncludeSchemaTypePath() != false) { - setIncludeSchemaTypePath(other.getIncludeSchemaTypePath()); - } - if (other.getFastEval() != false) { - setFastEval(other.getFastEval()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureFilesIsMutable(); - files_.add(s); - break; - } // case 10 - case 18: { - output_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureOverridesIsMutable(); - overrides_.add(s); - break; - } // case 26 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePathSelectorIsMutable(); - pathSelector_.add(s); - break; - } // case 34 - case 40: { - strictRangeCheck_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - disableNone_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 56: { - verbose_ = input.readInt64(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 64: { - debug_ = input.readBool(); - bitField0_ |= 0x00000080; - break; - } // case 64 - case 72: { - sortKeys_ = input.readBool(); - bitField0_ |= 0x00000100; - break; - } // case 72 - case 80: { - showHidden_ = input.readBool(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 88: { - includeSchemaTypePath_ = input.readBool(); - bitField0_ |= 0x00000400; - break; - } // case 88 - case 96: { - fastEval_ = input.readBool(); - bitField0_ |= 0x00000800; - break; - } // case 96 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + break; + } // case 42 + case 48: { + isGlobal_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.kcl.api.Spec.KclType ty_; + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> tyBuilder_; + /** + *
+       * Type of the symbol.
+       * 
+ * + * .com.kcl.api.KclType ty = 1; + * @return Whether the ty field is set. + */ + public boolean hasTy() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+       * Type of the symbol.
+       * 
+ * + * .com.kcl.api.KclType ty = 1; + * @return The ty. + */ + public com.kcl.api.Spec.KclType getTy() { + if (tyBuilder_ == null) { + return ty_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : ty_; + } else { + return tyBuilder_.getMessage(); + } + } + /** + *
+       * Type of the symbol.
+       * 
+ * + * .com.kcl.api.KclType ty = 1; + */ + public Builder setTy(com.kcl.api.Spec.KclType value) { + if (tyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ty_ = value; + } else { + tyBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Type of the symbol.
+       * 
+ * + * .com.kcl.api.KclType ty = 1; + */ + public Builder setTy( + com.kcl.api.Spec.KclType.Builder builderForValue) { + if (tyBuilder_ == null) { + ty_ = builderForValue.build(); + } else { + tyBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Type of the symbol.
+       * 
+ * + * .com.kcl.api.KclType ty = 1; + */ + public Builder mergeTy(com.kcl.api.Spec.KclType value) { + if (tyBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + ty_ != null && + ty_ != com.kcl.api.Spec.KclType.getDefaultInstance()) { + getTyBuilder().mergeFrom(value); + } else { + ty_ = value; + } + } else { + tyBuilder_.mergeFrom(value); + } + if (ty_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + *
+       * Type of the symbol.
+       * 
+ * + * .com.kcl.api.KclType ty = 1; + */ + public Builder clearTy() { + bitField0_ = (bitField0_ & ~0x00000001); + ty_ = null; + if (tyBuilder_ != null) { + tyBuilder_.dispose(); + tyBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * Type of the symbol.
+       * 
+ * + * .com.kcl.api.KclType ty = 1; + */ + public com.kcl.api.Spec.KclType.Builder getTyBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetTyFieldBuilder().getBuilder(); + } + /** + *
+       * Type of the symbol.
+       * 
+ * + * .com.kcl.api.KclType ty = 1; + */ + public com.kcl.api.Spec.KclTypeOrBuilder getTyOrBuilder() { + if (tyBuilder_ != null) { + return tyBuilder_.getMessageOrBuilder(); + } else { + return ty_ == null ? + com.kcl.api.Spec.KclType.getDefaultInstance() : ty_; + } + } + /** + *
+       * Type of the symbol.
+       * 
+ * + * .com.kcl.api.KclType ty = 1; + */ + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> + internalGetTyFieldBuilder() { + if (tyBuilder_ == null) { + tyBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder>( + getTy(), + getParentForChildren(), + isClean()); + ty_ = null; + } + return tyBuilder_; + } + + private java.lang.Object name_ = ""; + /** + *
+       * Name of the symbol.
+       * 
+ * + * string name = 2; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Name of the symbol.
+       * 
+ * + * string name = 2; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Name of the symbol.
+       * 
+ * + * string name = 2; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + name_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Name of the symbol.
+       * 
+ * + * string name = 2; + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Name of the symbol.
+       * 
+ * + * string name = 2; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.kcl.api.Spec.SymbolIndex owner_; + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> ownerBuilder_; + /** + *
+       * Owner of the symbol.
+       * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + * @return Whether the owner field is set. + */ + public boolean hasOwner() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + *
+       * Owner of the symbol.
+       * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + * @return The owner. + */ + public com.kcl.api.Spec.SymbolIndex getOwner() { + if (ownerBuilder_ == null) { + return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; + } else { + return ownerBuilder_.getMessage(); + } + } + /** + *
+       * Owner of the symbol.
+       * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + */ + public Builder setOwner(com.kcl.api.Spec.SymbolIndex value) { + if (ownerBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + owner_ = value; + } else { + ownerBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Owner of the symbol.
+       * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + */ + public Builder setOwner( + com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { + if (ownerBuilder_ == null) { + owner_ = builderForValue.build(); + } else { + ownerBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Owner of the symbol.
+       * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + */ + public Builder mergeOwner(com.kcl.api.Spec.SymbolIndex value) { + if (ownerBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + owner_ != null && + owner_ != com.kcl.api.Spec.SymbolIndex.getDefaultInstance()) { + getOwnerBuilder().mergeFrom(value); + } else { + owner_ = value; + } + } else { + ownerBuilder_.mergeFrom(value); + } + if (owner_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + /** + *
+       * Owner of the symbol.
+       * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + */ + public Builder clearOwner() { + bitField0_ = (bitField0_ & ~0x00000004); + owner_ = null; + if (ownerBuilder_ != null) { + ownerBuilder_.dispose(); + ownerBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * Owner of the symbol.
+       * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + */ + public com.kcl.api.Spec.SymbolIndex.Builder getOwnerBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return internalGetOwnerFieldBuilder().getBuilder(); + } + /** + *
+       * Owner of the symbol.
+       * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + */ + public com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder() { + if (ownerBuilder_ != null) { + return ownerBuilder_.getMessageOrBuilder(); + } else { + return owner_ == null ? + com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; + } + } + /** + *
+       * Owner of the symbol.
+       * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + */ + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> + internalGetOwnerFieldBuilder() { + if (ownerBuilder_ == null) { + ownerBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder>( + getOwner(), + getParentForChildren(), + isClean()); + owner_ = null; + } + return ownerBuilder_; + } + + private com.kcl.api.Spec.SymbolIndex def_; + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> defBuilder_; + /** + *
+       * Definition of the symbol.
+       * 
+ * + * .com.kcl.api.SymbolIndex def = 4; + * @return Whether the def field is set. + */ + public boolean hasDef() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + *
+       * Definition of the symbol.
+       * 
+ * + * .com.kcl.api.SymbolIndex def = 4; + * @return The def. + */ + public com.kcl.api.Spec.SymbolIndex getDef() { + if (defBuilder_ == null) { + return def_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : def_; + } else { + return defBuilder_.getMessage(); + } + } + /** + *
+       * Definition of the symbol.
+       * 
+ * + * .com.kcl.api.SymbolIndex def = 4; + */ + public Builder setDef(com.kcl.api.Spec.SymbolIndex value) { + if (defBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + def_ = value; + } else { + defBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Definition of the symbol.
+       * 
+ * + * .com.kcl.api.SymbolIndex def = 4; + */ + public Builder setDef( + com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { + if (defBuilder_ == null) { + def_ = builderForValue.build(); + } else { + defBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Definition of the symbol.
+       * 
+ * + * .com.kcl.api.SymbolIndex def = 4; + */ + public Builder mergeDef(com.kcl.api.Spec.SymbolIndex value) { + if (defBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + def_ != null && + def_ != com.kcl.api.Spec.SymbolIndex.getDefaultInstance()) { + getDefBuilder().mergeFrom(value); + } else { + def_ = value; + } + } else { + defBuilder_.mergeFrom(value); + } + if (def_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + /** + *
+       * Definition of the symbol.
+       * 
+ * + * .com.kcl.api.SymbolIndex def = 4; + */ + public Builder clearDef() { + bitField0_ = (bitField0_ & ~0x00000008); + def_ = null; + if (defBuilder_ != null) { + defBuilder_.dispose(); + defBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * Definition of the symbol.
+       * 
+ * + * .com.kcl.api.SymbolIndex def = 4; + */ + public com.kcl.api.Spec.SymbolIndex.Builder getDefBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return internalGetDefFieldBuilder().getBuilder(); + } + /** + *
+       * Definition of the symbol.
+       * 
+ * + * .com.kcl.api.SymbolIndex def = 4; + */ + public com.kcl.api.Spec.SymbolIndexOrBuilder getDefOrBuilder() { + if (defBuilder_ != null) { + return defBuilder_.getMessageOrBuilder(); + } else { + return def_ == null ? + com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : def_; + } + } + /** + *
+       * Definition of the symbol.
+       * 
+ * + * .com.kcl.api.SymbolIndex def = 4; + */ + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> + internalGetDefFieldBuilder() { + if (defBuilder_ == null) { + defBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder>( + getDef(), + getParentForChildren(), + isClean()); + def_ = null; + } + return defBuilder_; + } + + private java.util.List attrs_ = + java.util.Collections.emptyList(); + private void ensureAttrsIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + attrs_ = new java.util.ArrayList(attrs_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> attrsBuilder_; + + /** + *
+       * Attributes of the symbol.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public java.util.List getAttrsList() { + if (attrsBuilder_ == null) { + return java.util.Collections.unmodifiableList(attrs_); + } else { + return attrsBuilder_.getMessageList(); + } + } + /** + *
+       * Attributes of the symbol.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public int getAttrsCount() { + if (attrsBuilder_ == null) { + return attrs_.size(); + } else { + return attrsBuilder_.getCount(); + } + } + /** + *
+       * Attributes of the symbol.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public com.kcl.api.Spec.SymbolIndex getAttrs(int index) { + if (attrsBuilder_ == null) { + return attrs_.get(index); + } else { + return attrsBuilder_.getMessage(index); + } + } + /** + *
+       * Attributes of the symbol.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public Builder setAttrs( + int index, com.kcl.api.Spec.SymbolIndex value) { + if (attrsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAttrsIsMutable(); + attrs_.set(index, value); + onChanged(); + } else { + attrsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * Attributes of the symbol.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public Builder setAttrs( + int index, com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { + if (attrsBuilder_ == null) { + ensureAttrsIsMutable(); + attrs_.set(index, builderForValue.build()); + onChanged(); + } else { + attrsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Attributes of the symbol.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public Builder addAttrs(com.kcl.api.Spec.SymbolIndex value) { + if (attrsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAttrsIsMutable(); + attrs_.add(value); + onChanged(); + } else { + attrsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * Attributes of the symbol.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public Builder addAttrs( + int index, com.kcl.api.Spec.SymbolIndex value) { + if (attrsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAttrsIsMutable(); + attrs_.add(index, value); + onChanged(); + } else { + attrsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * Attributes of the symbol.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public Builder addAttrs( + com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { + if (attrsBuilder_ == null) { + ensureAttrsIsMutable(); + attrs_.add(builderForValue.build()); + onChanged(); + } else { + attrsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * Attributes of the symbol.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public Builder addAttrs( + int index, com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { + if (attrsBuilder_ == null) { + ensureAttrsIsMutable(); + attrs_.add(index, builderForValue.build()); + onChanged(); + } else { + attrsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Attributes of the symbol.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public Builder addAllAttrs( + java.lang.Iterable values) { + if (attrsBuilder_ == null) { + ensureAttrsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, attrs_); + onChanged(); + } else { + attrsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * Attributes of the symbol.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public Builder clearAttrs() { + if (attrsBuilder_ == null) { + attrs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + } else { + attrsBuilder_.clear(); + } + return this; + } + /** + *
+       * Attributes of the symbol.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public Builder removeAttrs(int index) { + if (attrsBuilder_ == null) { + ensureAttrsIsMutable(); + attrs_.remove(index); + onChanged(); + } else { + attrsBuilder_.remove(index); + } + return this; + } + /** + *
+       * Attributes of the symbol.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public com.kcl.api.Spec.SymbolIndex.Builder getAttrsBuilder( + int index) { + return internalGetAttrsFieldBuilder().getBuilder(index); + } + /** + *
+       * Attributes of the symbol.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public com.kcl.api.Spec.SymbolIndexOrBuilder getAttrsOrBuilder( + int index) { + if (attrsBuilder_ == null) { + return attrs_.get(index); } else { + return attrsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * Attributes of the symbol.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public java.util.List + getAttrsOrBuilderList() { + if (attrsBuilder_ != null) { + return attrsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(attrs_); + } + } + /** + *
+       * Attributes of the symbol.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public com.kcl.api.Spec.SymbolIndex.Builder addAttrsBuilder() { + return internalGetAttrsFieldBuilder().addBuilder( + com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); + } + /** + *
+       * Attributes of the symbol.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public com.kcl.api.Spec.SymbolIndex.Builder addAttrsBuilder( + int index) { + return internalGetAttrsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); + } + /** + *
+       * Attributes of the symbol.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex attrs = 5; + */ + public java.util.List + getAttrsBuilderList() { + return internalGetAttrsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> + internalGetAttrsFieldBuilder() { + if (attrsBuilder_ == null) { + attrsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder>( + attrs_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); + attrs_ = null; + } + return attrsBuilder_; + } + + private boolean isGlobal_ ; + /** + *
+       * Flag indicating if the symbol is global.
+       * 
+ * + * bool is_global = 6; + * @return The isGlobal. + */ + @java.lang.Override + public boolean getIsGlobal() { + return isGlobal_; + } + /** + *
+       * Flag indicating if the symbol is global.
+       * 
+ * + * bool is_global = 6; + * @param value The isGlobal to set. + * @return This builder for chaining. + */ + public Builder setIsGlobal(boolean value) { + + isGlobal_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+       * Flag indicating if the symbol is global.
+       * 
+ * + * bool is_global = 6; + * @return This builder for chaining. + */ + public Builder clearIsGlobal() { + bitField0_ = (bitField0_ & ~0x00000020); + isGlobal_ = false; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.Symbol) + } - private int bitField0_; + // @@protoc_insertion_point(class_scope:com.kcl.api.Symbol) + private static final com.kcl.api.Spec.Symbol DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.Symbol(); + } - private com.google.protobuf.LazyStringArrayList files_ = com.google.protobuf.LazyStringArrayList - .emptyList(); + public static com.kcl.api.Spec.Symbol getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private void ensureFilesIsMutable() { - if (!files_.isModifiable()) { - files_ = new com.google.protobuf.LazyStringArrayList(files_); - } - bitField0_ |= 0x00000001; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Symbol parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - *
-             * List of files.
-             * 
- * - * repeated string files = 1; - * - * @return A list containing the files. - */ - public com.google.protobuf.ProtocolStringList getFilesList() { - files_.makeImmutable(); - return files_; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-             * List of files.
-             * 
- * - * repeated string files = 1; - * - * @return The count of files. - */ - public int getFilesCount() { - return files_.size(); - } + @java.lang.Override + public com.kcl.api.Spec.Symbol getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-             * List of files.
-             * 
- * - * repeated string files = 1; - * - * @param index - * The index of the element to return. - * - * @return The files at the given index. - */ - public java.lang.String getFiles(int index) { - return files_.get(index); - } + } - /** - *
-             * List of files.
-             * 
- * - * repeated string files = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the files at the given index. - */ - public com.google.protobuf.ByteString getFilesBytes(int index) { - return files_.getByteString(index); - } + public interface ScopeOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.Scope) + com.google.protobuf.MessageOrBuilder { - /** - *
-             * List of files.
-             * 
- * - * repeated string files = 1; - * - * @param index - * The index to set the value at. - * @param value - * The files to set. - * - * @return This builder for chaining. - */ - public Builder setFiles(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureFilesIsMutable(); - files_.set(index, value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + /** + *
+     * Type of the scope.
+     * 
+ * + * string kind = 1; + * @return The kind. + */ + java.lang.String getKind(); + /** + *
+     * Type of the scope.
+     * 
+ * + * string kind = 1; + * @return The bytes for kind. + */ + com.google.protobuf.ByteString + getKindBytes(); - /** - *
-             * List of files.
-             * 
- * - * repeated string files = 1; - * - * @param value - * The files to add. - * - * @return This builder for chaining. - */ - public Builder addFiles(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureFilesIsMutable(); - files_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + /** + *
+     * Parent scope.
+     * 
+ * + * .com.kcl.api.ScopeIndex parent = 2; + * @return Whether the parent field is set. + */ + boolean hasParent(); + /** + *
+     * Parent scope.
+     * 
+ * + * .com.kcl.api.ScopeIndex parent = 2; + * @return The parent. + */ + com.kcl.api.Spec.ScopeIndex getParent(); + /** + *
+     * Parent scope.
+     * 
+ * + * .com.kcl.api.ScopeIndex parent = 2; + */ + com.kcl.api.Spec.ScopeIndexOrBuilder getParentOrBuilder(); - /** - *
-             * List of files.
-             * 
- * - * repeated string files = 1; - * - * @param values - * The files to add. - * - * @return This builder for chaining. - */ - public Builder addAllFiles(java.lang.Iterable values) { - ensureFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + /** + *
+     * Owner of the scope.
+     * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + * @return Whether the owner field is set. + */ + boolean hasOwner(); + /** + *
+     * Owner of the scope.
+     * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + * @return The owner. + */ + com.kcl.api.Spec.SymbolIndex getOwner(); + /** + *
+     * Owner of the scope.
+     * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + */ + com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder(); - /** - *
-             * List of files.
-             * 
- * - * repeated string files = 1; - * - * @return This builder for chaining. - */ - public Builder clearFiles() { - files_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; - onChanged(); - return this; - } + /** + *
+     * Children of the scope.
+     * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + java.util.List + getChildrenList(); + /** + *
+     * Children of the scope.
+     * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + com.kcl.api.Spec.ScopeIndex getChildren(int index); + /** + *
+     * Children of the scope.
+     * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + int getChildrenCount(); + /** + *
+     * Children of the scope.
+     * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + java.util.List + getChildrenOrBuilderList(); + /** + *
+     * Children of the scope.
+     * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + com.kcl.api.Spec.ScopeIndexOrBuilder getChildrenOrBuilder( + int index); - /** - *
-             * List of files.
-             * 
- * - * repeated string files = 1; - * - * @param value - * The bytes of the files to add. - * - * @return This builder for chaining. - */ - public Builder addFilesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureFilesIsMutable(); - files_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + /** + *
+     * Definitions in the scope.
+     * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + java.util.List + getDefsList(); + /** + *
+     * Definitions in the scope.
+     * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + com.kcl.api.Spec.SymbolIndex getDefs(int index); + /** + *
+     * Definitions in the scope.
+     * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + int getDefsCount(); + /** + *
+     * Definitions in the scope.
+     * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + java.util.List + getDefsOrBuilderList(); + /** + *
+     * Definitions in the scope.
+     * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + com.kcl.api.Spec.SymbolIndexOrBuilder getDefsOrBuilder( + int index); + } + /** + *
+   * Message representing a scope in KCL.
+   * 
+ * + * Protobuf type {@code com.kcl.api.Scope} + */ + public static final class Scope extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.Scope) + ScopeOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "Scope"); + } + // Use Scope.newBuilder() to construct. + private Scope(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private Scope() { + kind_ = ""; + children_ = java.util.Collections.emptyList(); + defs_ = java.util.Collections.emptyList(); + } - private java.lang.Object output_ = ""; - - /** - *
-             * Output path.
-             * 
- * - * string output = 2; - * - * @return The output. - */ - public java.lang.String getOutput() { - java.lang.Object ref = output_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - output_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Scope_descriptor; + } - /** - *
-             * Output path.
-             * 
- * - * string output = 2; - * - * @return The bytes for output. - */ - public com.google.protobuf.ByteString getOutputBytes() { - java.lang.Object ref = output_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - output_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Scope_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Scope.class, com.kcl.api.Spec.Scope.Builder.class); + } - /** - *
-             * Output path.
-             * 
- * - * string output = 2; - * - * @param value - * The output to set. - * - * @return This builder for chaining. - */ - public Builder setOutput(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - output_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + private int bitField0_; + public static final int KIND_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object kind_ = ""; + /** + *
+     * Type of the scope.
+     * 
+ * + * string kind = 1; + * @return The kind. + */ + @java.lang.Override + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } + } + /** + *
+     * Type of the scope.
+     * 
+ * + * string kind = 1; + * @return The bytes for kind. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * Output path.
-             * 
- * - * string output = 2; - * - * @return This builder for chaining. - */ - public Builder clearOutput() { - output_ = getDefaultInstance().getOutput(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } + public static final int PARENT_FIELD_NUMBER = 2; + private com.kcl.api.Spec.ScopeIndex parent_; + /** + *
+     * Parent scope.
+     * 
+ * + * .com.kcl.api.ScopeIndex parent = 2; + * @return Whether the parent field is set. + */ + @java.lang.Override + public boolean hasParent() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * Parent scope.
+     * 
+ * + * .com.kcl.api.ScopeIndex parent = 2; + * @return The parent. + */ + @java.lang.Override + public com.kcl.api.Spec.ScopeIndex getParent() { + return parent_ == null ? com.kcl.api.Spec.ScopeIndex.getDefaultInstance() : parent_; + } + /** + *
+     * Parent scope.
+     * 
+ * + * .com.kcl.api.ScopeIndex parent = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.ScopeIndexOrBuilder getParentOrBuilder() { + return parent_ == null ? com.kcl.api.Spec.ScopeIndex.getDefaultInstance() : parent_; + } - /** - *
-             * Output path.
-             * 
- * - * string output = 2; - * - * @param value - * The bytes for output to set. - * - * @return This builder for chaining. - */ - public Builder setOutputBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - output_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + public static final int OWNER_FIELD_NUMBER = 3; + private com.kcl.api.Spec.SymbolIndex owner_; + /** + *
+     * Owner of the scope.
+     * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + * @return Whether the owner field is set. + */ + @java.lang.Override + public boolean hasOwner() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+     * Owner of the scope.
+     * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + * @return The owner. + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex getOwner() { + return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; + } + /** + *
+     * Owner of the scope.
+     * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder() { + return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; + } - private com.google.protobuf.LazyStringArrayList overrides_ = com.google.protobuf.LazyStringArrayList - .emptyList(); + public static final int CHILDREN_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private java.util.List children_; + /** + *
+     * Children of the scope.
+     * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + @java.lang.Override + public java.util.List getChildrenList() { + return children_; + } + /** + *
+     * Children of the scope.
+     * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + @java.lang.Override + public java.util.List + getChildrenOrBuilderList() { + return children_; + } + /** + *
+     * Children of the scope.
+     * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + @java.lang.Override + public int getChildrenCount() { + return children_.size(); + } + /** + *
+     * Children of the scope.
+     * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + @java.lang.Override + public com.kcl.api.Spec.ScopeIndex getChildren(int index) { + return children_.get(index); + } + /** + *
+     * Children of the scope.
+     * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + @java.lang.Override + public com.kcl.api.Spec.ScopeIndexOrBuilder getChildrenOrBuilder( + int index) { + return children_.get(index); + } - private void ensureOverridesIsMutable() { - if (!overrides_.isModifiable()) { - overrides_ = new com.google.protobuf.LazyStringArrayList(overrides_); - } - bitField0_ |= 0x00000004; - } + public static final int DEFS_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private java.util.List defs_; + /** + *
+     * Definitions in the scope.
+     * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + @java.lang.Override + public java.util.List getDefsList() { + return defs_; + } + /** + *
+     * Definitions in the scope.
+     * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + @java.lang.Override + public java.util.List + getDefsOrBuilderList() { + return defs_; + } + /** + *
+     * Definitions in the scope.
+     * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + @java.lang.Override + public int getDefsCount() { + return defs_.size(); + } + /** + *
+     * Definitions in the scope.
+     * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex getDefs(int index) { + return defs_.get(index); + } + /** + *
+     * Definitions in the scope.
+     * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + @java.lang.Override + public com.kcl.api.Spec.SymbolIndexOrBuilder getDefsOrBuilder( + int index) { + return defs_.get(index); + } - /** - *
-             * List of overrides.
-             * 
- * - * repeated string overrides = 3; - * - * @return A list containing the overrides. - */ - public com.google.protobuf.ProtocolStringList getOverridesList() { - overrides_.makeImmutable(); - return overrides_; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * List of overrides.
-             * 
- * - * repeated string overrides = 3; - * - * @return The count of overrides. - */ - public int getOverridesCount() { - return overrides_.size(); - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-             * List of overrides.
-             * 
- * - * repeated string overrides = 3; - * - * @param index - * The index of the element to return. - * - * @return The overrides at the given index. - */ - public java.lang.String getOverrides(int index) { - return overrides_.get(index); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kind_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, kind_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getParent()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(3, getOwner()); + } + for (int i = 0; i < children_.size(); i++) { + output.writeMessage(4, children_.get(i)); + } + for (int i = 0; i < defs_.size(); i++) { + output.writeMessage(5, defs_.get(i)); + } + getUnknownFields().writeTo(output); + } - /** - *
-             * List of overrides.
-             * 
- * - * repeated string overrides = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the overrides at the given index. - */ - public com.google.protobuf.ByteString getOverridesBytes(int index) { - return overrides_.getByteString(index); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kind_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, kind_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getParent()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getOwner()); + } + for (int i = 0; i < children_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, children_.get(i)); + } + for (int i = 0; i < defs_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, defs_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-             * List of overrides.
-             * 
- * - * repeated string overrides = 3; - * - * @param index - * The index to set the value at. - * @param value - * The overrides to set. - * - * @return This builder for chaining. - */ - public Builder setOverrides(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureOverridesIsMutable(); - overrides_.set(index, value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.Scope)) { + return super.equals(obj); + } + com.kcl.api.Spec.Scope other = (com.kcl.api.Spec.Scope) obj; + + if (!getKind() + .equals(other.getKind())) return false; + if (hasParent() != other.hasParent()) return false; + if (hasParent()) { + if (!getParent() + .equals(other.getParent())) return false; + } + if (hasOwner() != other.hasOwner()) return false; + if (hasOwner()) { + if (!getOwner() + .equals(other.getOwner())) return false; + } + if (!getChildrenList() + .equals(other.getChildrenList())) return false; + if (!getDefsList() + .equals(other.getDefsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-             * List of overrides.
-             * 
- * - * repeated string overrides = 3; - * - * @param value - * The overrides to add. - * - * @return This builder for chaining. - */ - public Builder addOverrides(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureOverridesIsMutable(); - overrides_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + KIND_FIELD_NUMBER; + hash = (53 * hash) + getKind().hashCode(); + if (hasParent()) { + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + } + if (hasOwner()) { + hash = (37 * hash) + OWNER_FIELD_NUMBER; + hash = (53 * hash) + getOwner().hashCode(); + } + if (getChildrenCount() > 0) { + hash = (37 * hash) + CHILDREN_FIELD_NUMBER; + hash = (53 * hash) + getChildrenList().hashCode(); + } + if (getDefsCount() > 0) { + hash = (37 * hash) + DEFS_FIELD_NUMBER; + hash = (53 * hash) + getDefsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-             * List of overrides.
-             * 
- * - * repeated string overrides = 3; - * - * @param values - * The overrides to add. - * - * @return This builder for chaining. - */ - public Builder addAllOverrides(java.lang.Iterable values) { - ensureOverridesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, overrides_); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + public static com.kcl.api.Spec.Scope parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Scope parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Scope parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Scope parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Scope parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Scope parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Scope parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Scope parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * List of overrides.
-             * 
- * - * repeated string overrides = 3; - * - * @return This builder for chaining. - */ - public Builder clearOverrides() { - overrides_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; - onChanged(); - return this; - } + public static com.kcl.api.Spec.Scope parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * List of overrides.
-             * 
- * - * repeated string overrides = 3; - * - * @param value - * The bytes of the overrides to add. - * - * @return This builder for chaining. - */ - public Builder addOverridesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureOverridesIsMutable(); - overrides_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + public static com.kcl.api.Spec.Scope parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.Scope parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Scope parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - private com.google.protobuf.LazyStringArrayList pathSelector_ = com.google.protobuf.LazyStringArrayList - .emptyList(); + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.Scope prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - private void ensurePathSelectorIsMutable() { - if (!pathSelector_.isModifiable()) { - pathSelector_ = new com.google.protobuf.LazyStringArrayList(pathSelector_); - } - bitField0_ |= 0x00000008; + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message representing a scope in KCL.
+     * 
+ * + * Protobuf type {@code com.kcl.api.Scope} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.Scope) + com.kcl.api.Spec.ScopeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Scope_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Scope_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Scope.class, com.kcl.api.Spec.Scope.Builder.class); + } + + // Construct using com.kcl.api.Spec.Scope.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + internalGetParentFieldBuilder(); + internalGetOwnerFieldBuilder(); + internalGetChildrenFieldBuilder(); + internalGetDefsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + kind_ = ""; + parent_ = null; + if (parentBuilder_ != null) { + parentBuilder_.dispose(); + parentBuilder_ = null; + } + owner_ = null; + if (ownerBuilder_ != null) { + ownerBuilder_.dispose(); + ownerBuilder_ = null; + } + if (childrenBuilder_ == null) { + children_ = java.util.Collections.emptyList(); + } else { + children_ = null; + childrenBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + if (defsBuilder_ == null) { + defs_ = java.util.Collections.emptyList(); + } else { + defs_ = null; + defsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Scope_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.Scope getDefaultInstanceForType() { + return com.kcl.api.Spec.Scope.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.Scope build() { + com.kcl.api.Spec.Scope result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.Scope buildPartial() { + com.kcl.api.Spec.Scope result = new com.kcl.api.Spec.Scope(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.Scope result) { + if (childrenBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + children_ = java.util.Collections.unmodifiableList(children_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.children_ = children_; + } else { + result.children_ = childrenBuilder_.build(); + } + if (defsBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0)) { + defs_ = java.util.Collections.unmodifiableList(defs_); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.defs_ = defs_; + } else { + result.defs_ = defsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.Scope result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.kind_ = kind_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.parent_ = parentBuilder_ == null + ? parent_ + : parentBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.owner_ = ownerBuilder_ == null + ? owner_ + : ownerBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.Scope) { + return mergeFrom((com.kcl.api.Spec.Scope)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.Scope other) { + if (other == com.kcl.api.Spec.Scope.getDefaultInstance()) return this; + if (!other.getKind().isEmpty()) { + kind_ = other.kind_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasParent()) { + mergeParent(other.getParent()); + } + if (other.hasOwner()) { + mergeOwner(other.getOwner()); + } + if (childrenBuilder_ == null) { + if (!other.children_.isEmpty()) { + if (children_.isEmpty()) { + children_ = other.children_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureChildrenIsMutable(); + children_.addAll(other.children_); + } + onChanged(); + } + } else { + if (!other.children_.isEmpty()) { + if (childrenBuilder_.isEmpty()) { + childrenBuilder_.dispose(); + childrenBuilder_ = null; + children_ = other.children_; + bitField0_ = (bitField0_ & ~0x00000008); + childrenBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetChildrenFieldBuilder() : null; + } else { + childrenBuilder_.addAllMessages(other.children_); } + } + } + if (defsBuilder_ == null) { + if (!other.defs_.isEmpty()) { + if (defs_.isEmpty()) { + defs_ = other.defs_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureDefsIsMutable(); + defs_.addAll(other.defs_); + } + onChanged(); + } + } else { + if (!other.defs_.isEmpty()) { + if (defsBuilder_.isEmpty()) { + defsBuilder_.dispose(); + defsBuilder_ = null; + defs_ = other.defs_; + bitField0_ = (bitField0_ & ~0x00000010); + defsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetDefsFieldBuilder() : null; + } else { + defsBuilder_.addAllMessages(other.defs_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + kind_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + internalGetParentFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + internalGetOwnerFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + com.kcl.api.Spec.ScopeIndex m = + input.readMessage( + com.kcl.api.Spec.ScopeIndex.parser(), + extensionRegistry); + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.add(m); + } else { + childrenBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + com.kcl.api.Spec.SymbolIndex m = + input.readMessage( + com.kcl.api.Spec.SymbolIndex.parser(), + extensionRegistry); + if (defsBuilder_ == null) { + ensureDefsIsMutable(); + defs_.add(m); + } else { + defsBuilder_.addMessage(m); + } + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object kind_ = ""; + /** + *
+       * Type of the scope.
+       * 
+ * + * string kind = 1; + * @return The kind. + */ + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Type of the scope.
+       * 
+ * + * string kind = 1; + * @return The bytes for kind. + */ + public com.google.protobuf.ByteString + getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Type of the scope.
+       * 
+ * + * string kind = 1; + * @param value The kind to set. + * @return This builder for chaining. + */ + public Builder setKind( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + kind_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Type of the scope.
+       * 
+ * + * string kind = 1; + * @return This builder for chaining. + */ + public Builder clearKind() { + kind_ = getDefaultInstance().getKind(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Type of the scope.
+       * 
+ * + * string kind = 1; + * @param value The bytes for kind to set. + * @return This builder for chaining. + */ + public Builder setKindBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + kind_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.kcl.api.Spec.ScopeIndex parent_; + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.ScopeIndex, com.kcl.api.Spec.ScopeIndex.Builder, com.kcl.api.Spec.ScopeIndexOrBuilder> parentBuilder_; + /** + *
+       * Parent scope.
+       * 
+ * + * .com.kcl.api.ScopeIndex parent = 2; + * @return Whether the parent field is set. + */ + public boolean hasParent() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+       * Parent scope.
+       * 
+ * + * .com.kcl.api.ScopeIndex parent = 2; + * @return The parent. + */ + public com.kcl.api.Spec.ScopeIndex getParent() { + if (parentBuilder_ == null) { + return parent_ == null ? com.kcl.api.Spec.ScopeIndex.getDefaultInstance() : parent_; + } else { + return parentBuilder_.getMessage(); + } + } + /** + *
+       * Parent scope.
+       * 
+ * + * .com.kcl.api.ScopeIndex parent = 2; + */ + public Builder setParent(com.kcl.api.Spec.ScopeIndex value) { + if (parentBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + parent_ = value; + } else { + parentBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Parent scope.
+       * 
+ * + * .com.kcl.api.ScopeIndex parent = 2; + */ + public Builder setParent( + com.kcl.api.Spec.ScopeIndex.Builder builderForValue) { + if (parentBuilder_ == null) { + parent_ = builderForValue.build(); + } else { + parentBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Parent scope.
+       * 
+ * + * .com.kcl.api.ScopeIndex parent = 2; + */ + public Builder mergeParent(com.kcl.api.Spec.ScopeIndex value) { + if (parentBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + parent_ != null && + parent_ != com.kcl.api.Spec.ScopeIndex.getDefaultInstance()) { + getParentBuilder().mergeFrom(value); + } else { + parent_ = value; + } + } else { + parentBuilder_.mergeFrom(value); + } + if (parent_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + *
+       * Parent scope.
+       * 
+ * + * .com.kcl.api.ScopeIndex parent = 2; + */ + public Builder clearParent() { + bitField0_ = (bitField0_ & ~0x00000002); + parent_ = null; + if (parentBuilder_ != null) { + parentBuilder_.dispose(); + parentBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * Parent scope.
+       * 
+ * + * .com.kcl.api.ScopeIndex parent = 2; + */ + public com.kcl.api.Spec.ScopeIndex.Builder getParentBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return internalGetParentFieldBuilder().getBuilder(); + } + /** + *
+       * Parent scope.
+       * 
+ * + * .com.kcl.api.ScopeIndex parent = 2; + */ + public com.kcl.api.Spec.ScopeIndexOrBuilder getParentOrBuilder() { + if (parentBuilder_ != null) { + return parentBuilder_.getMessageOrBuilder(); + } else { + return parent_ == null ? + com.kcl.api.Spec.ScopeIndex.getDefaultInstance() : parent_; + } + } + /** + *
+       * Parent scope.
+       * 
+ * + * .com.kcl.api.ScopeIndex parent = 2; + */ + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.ScopeIndex, com.kcl.api.Spec.ScopeIndex.Builder, com.kcl.api.Spec.ScopeIndexOrBuilder> + internalGetParentFieldBuilder() { + if (parentBuilder_ == null) { + parentBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.ScopeIndex, com.kcl.api.Spec.ScopeIndex.Builder, com.kcl.api.Spec.ScopeIndexOrBuilder>( + getParent(), + getParentForChildren(), + isClean()); + parent_ = null; + } + return parentBuilder_; + } + + private com.kcl.api.Spec.SymbolIndex owner_; + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> ownerBuilder_; + /** + *
+       * Owner of the scope.
+       * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + * @return Whether the owner field is set. + */ + public boolean hasOwner() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + *
+       * Owner of the scope.
+       * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + * @return The owner. + */ + public com.kcl.api.Spec.SymbolIndex getOwner() { + if (ownerBuilder_ == null) { + return owner_ == null ? com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; + } else { + return ownerBuilder_.getMessage(); + } + } + /** + *
+       * Owner of the scope.
+       * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + */ + public Builder setOwner(com.kcl.api.Spec.SymbolIndex value) { + if (ownerBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + owner_ = value; + } else { + ownerBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Owner of the scope.
+       * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + */ + public Builder setOwner( + com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { + if (ownerBuilder_ == null) { + owner_ = builderForValue.build(); + } else { + ownerBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Owner of the scope.
+       * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + */ + public Builder mergeOwner(com.kcl.api.Spec.SymbolIndex value) { + if (ownerBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + owner_ != null && + owner_ != com.kcl.api.Spec.SymbolIndex.getDefaultInstance()) { + getOwnerBuilder().mergeFrom(value); + } else { + owner_ = value; + } + } else { + ownerBuilder_.mergeFrom(value); + } + if (owner_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + /** + *
+       * Owner of the scope.
+       * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + */ + public Builder clearOwner() { + bitField0_ = (bitField0_ & ~0x00000004); + owner_ = null; + if (ownerBuilder_ != null) { + ownerBuilder_.dispose(); + ownerBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * Owner of the scope.
+       * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + */ + public com.kcl.api.Spec.SymbolIndex.Builder getOwnerBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return internalGetOwnerFieldBuilder().getBuilder(); + } + /** + *
+       * Owner of the scope.
+       * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + */ + public com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder() { + if (ownerBuilder_ != null) { + return ownerBuilder_.getMessageOrBuilder(); + } else { + return owner_ == null ? + com.kcl.api.Spec.SymbolIndex.getDefaultInstance() : owner_; + } + } + /** + *
+       * Owner of the scope.
+       * 
+ * + * .com.kcl.api.SymbolIndex owner = 3; + */ + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> + internalGetOwnerFieldBuilder() { + if (ownerBuilder_ == null) { + ownerBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder>( + getOwner(), + getParentForChildren(), + isClean()); + owner_ = null; + } + return ownerBuilder_; + } + + private java.util.List children_ = + java.util.Collections.emptyList(); + private void ensureChildrenIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + children_ = new java.util.ArrayList(children_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.ScopeIndex, com.kcl.api.Spec.ScopeIndex.Builder, com.kcl.api.Spec.ScopeIndexOrBuilder> childrenBuilder_; + + /** + *
+       * Children of the scope.
+       * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public java.util.List getChildrenList() { + if (childrenBuilder_ == null) { + return java.util.Collections.unmodifiableList(children_); + } else { + return childrenBuilder_.getMessageList(); + } + } + /** + *
+       * Children of the scope.
+       * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public int getChildrenCount() { + if (childrenBuilder_ == null) { + return children_.size(); + } else { + return childrenBuilder_.getCount(); + } + } + /** + *
+       * Children of the scope.
+       * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public com.kcl.api.Spec.ScopeIndex getChildren(int index) { + if (childrenBuilder_ == null) { + return children_.get(index); + } else { + return childrenBuilder_.getMessage(index); + } + } + /** + *
+       * Children of the scope.
+       * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public Builder setChildren( + int index, com.kcl.api.Spec.ScopeIndex value) { + if (childrenBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureChildrenIsMutable(); + children_.set(index, value); + onChanged(); + } else { + childrenBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * Children of the scope.
+       * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public Builder setChildren( + int index, com.kcl.api.Spec.ScopeIndex.Builder builderForValue) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.set(index, builderForValue.build()); + onChanged(); + } else { + childrenBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Children of the scope.
+       * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public Builder addChildren(com.kcl.api.Spec.ScopeIndex value) { + if (childrenBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureChildrenIsMutable(); + children_.add(value); + onChanged(); + } else { + childrenBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * Children of the scope.
+       * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public Builder addChildren( + int index, com.kcl.api.Spec.ScopeIndex value) { + if (childrenBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureChildrenIsMutable(); + children_.add(index, value); + onChanged(); + } else { + childrenBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * Children of the scope.
+       * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public Builder addChildren( + com.kcl.api.Spec.ScopeIndex.Builder builderForValue) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.add(builderForValue.build()); + onChanged(); + } else { + childrenBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * Children of the scope.
+       * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public Builder addChildren( + int index, com.kcl.api.Spec.ScopeIndex.Builder builderForValue) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.add(index, builderForValue.build()); + onChanged(); + } else { + childrenBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Children of the scope.
+       * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public Builder addAllChildren( + java.lang.Iterable values) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, children_); + onChanged(); + } else { + childrenBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * Children of the scope.
+       * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public Builder clearChildren() { + if (childrenBuilder_ == null) { + children_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + childrenBuilder_.clear(); + } + return this; + } + /** + *
+       * Children of the scope.
+       * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public Builder removeChildren(int index) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.remove(index); + onChanged(); + } else { + childrenBuilder_.remove(index); + } + return this; + } + /** + *
+       * Children of the scope.
+       * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public com.kcl.api.Spec.ScopeIndex.Builder getChildrenBuilder( + int index) { + return internalGetChildrenFieldBuilder().getBuilder(index); + } + /** + *
+       * Children of the scope.
+       * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public com.kcl.api.Spec.ScopeIndexOrBuilder getChildrenOrBuilder( + int index) { + if (childrenBuilder_ == null) { + return children_.get(index); } else { + return childrenBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * Children of the scope.
+       * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public java.util.List + getChildrenOrBuilderList() { + if (childrenBuilder_ != null) { + return childrenBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(children_); + } + } + /** + *
+       * Children of the scope.
+       * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public com.kcl.api.Spec.ScopeIndex.Builder addChildrenBuilder() { + return internalGetChildrenFieldBuilder().addBuilder( + com.kcl.api.Spec.ScopeIndex.getDefaultInstance()); + } + /** + *
+       * Children of the scope.
+       * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public com.kcl.api.Spec.ScopeIndex.Builder addChildrenBuilder( + int index) { + return internalGetChildrenFieldBuilder().addBuilder( + index, com.kcl.api.Spec.ScopeIndex.getDefaultInstance()); + } + /** + *
+       * Children of the scope.
+       * 
+ * + * repeated .com.kcl.api.ScopeIndex children = 4; + */ + public java.util.List + getChildrenBuilderList() { + return internalGetChildrenFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.ScopeIndex, com.kcl.api.Spec.ScopeIndex.Builder, com.kcl.api.Spec.ScopeIndexOrBuilder> + internalGetChildrenFieldBuilder() { + if (childrenBuilder_ == null) { + childrenBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.ScopeIndex, com.kcl.api.Spec.ScopeIndex.Builder, com.kcl.api.Spec.ScopeIndexOrBuilder>( + children_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + children_ = null; + } + return childrenBuilder_; + } + + private java.util.List defs_ = + java.util.Collections.emptyList(); + private void ensureDefsIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + defs_ = new java.util.ArrayList(defs_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> defsBuilder_; + + /** + *
+       * Definitions in the scope.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public java.util.List getDefsList() { + if (defsBuilder_ == null) { + return java.util.Collections.unmodifiableList(defs_); + } else { + return defsBuilder_.getMessageList(); + } + } + /** + *
+       * Definitions in the scope.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public int getDefsCount() { + if (defsBuilder_ == null) { + return defs_.size(); + } else { + return defsBuilder_.getCount(); + } + } + /** + *
+       * Definitions in the scope.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public com.kcl.api.Spec.SymbolIndex getDefs(int index) { + if (defsBuilder_ == null) { + return defs_.get(index); + } else { + return defsBuilder_.getMessage(index); + } + } + /** + *
+       * Definitions in the scope.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public Builder setDefs( + int index, com.kcl.api.Spec.SymbolIndex value) { + if (defsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDefsIsMutable(); + defs_.set(index, value); + onChanged(); + } else { + defsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * Definitions in the scope.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public Builder setDefs( + int index, com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { + if (defsBuilder_ == null) { + ensureDefsIsMutable(); + defs_.set(index, builderForValue.build()); + onChanged(); + } else { + defsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Definitions in the scope.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public Builder addDefs(com.kcl.api.Spec.SymbolIndex value) { + if (defsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDefsIsMutable(); + defs_.add(value); + onChanged(); + } else { + defsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * Definitions in the scope.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public Builder addDefs( + int index, com.kcl.api.Spec.SymbolIndex value) { + if (defsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDefsIsMutable(); + defs_.add(index, value); + onChanged(); + } else { + defsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * Definitions in the scope.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public Builder addDefs( + com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { + if (defsBuilder_ == null) { + ensureDefsIsMutable(); + defs_.add(builderForValue.build()); + onChanged(); + } else { + defsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * Definitions in the scope.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public Builder addDefs( + int index, com.kcl.api.Spec.SymbolIndex.Builder builderForValue) { + if (defsBuilder_ == null) { + ensureDefsIsMutable(); + defs_.add(index, builderForValue.build()); + onChanged(); + } else { + defsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Definitions in the scope.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public Builder addAllDefs( + java.lang.Iterable values) { + if (defsBuilder_ == null) { + ensureDefsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, defs_); + onChanged(); + } else { + defsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * Definitions in the scope.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public Builder clearDefs() { + if (defsBuilder_ == null) { + defs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + } else { + defsBuilder_.clear(); + } + return this; + } + /** + *
+       * Definitions in the scope.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public Builder removeDefs(int index) { + if (defsBuilder_ == null) { + ensureDefsIsMutable(); + defs_.remove(index); + onChanged(); + } else { + defsBuilder_.remove(index); + } + return this; + } + /** + *
+       * Definitions in the scope.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public com.kcl.api.Spec.SymbolIndex.Builder getDefsBuilder( + int index) { + return internalGetDefsFieldBuilder().getBuilder(index); + } + /** + *
+       * Definitions in the scope.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public com.kcl.api.Spec.SymbolIndexOrBuilder getDefsOrBuilder( + int index) { + if (defsBuilder_ == null) { + return defs_.get(index); } else { + return defsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * Definitions in the scope.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public java.util.List + getDefsOrBuilderList() { + if (defsBuilder_ != null) { + return defsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(defs_); + } + } + /** + *
+       * Definitions in the scope.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public com.kcl.api.Spec.SymbolIndex.Builder addDefsBuilder() { + return internalGetDefsFieldBuilder().addBuilder( + com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); + } + /** + *
+       * Definitions in the scope.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public com.kcl.api.Spec.SymbolIndex.Builder addDefsBuilder( + int index) { + return internalGetDefsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.SymbolIndex.getDefaultInstance()); + } + /** + *
+       * Definitions in the scope.
+       * 
+ * + * repeated .com.kcl.api.SymbolIndex defs = 5; + */ + public java.util.List + getDefsBuilderList() { + return internalGetDefsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> + internalGetDefsFieldBuilder() { + if (defsBuilder_ == null) { + defsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder>( + defs_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); + defs_ = null; + } + return defsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.Scope) + } - /** - *
-             * Path selectors.
-             * 
- * - * repeated string path_selector = 4; - * - * @return A list containing the pathSelector. - */ - public com.google.protobuf.ProtocolStringList getPathSelectorList() { - pathSelector_.makeImmutable(); - return pathSelector_; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.Scope) + private static final com.kcl.api.Spec.Scope DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.Scope(); + } - /** - *
-             * Path selectors.
-             * 
- * - * repeated string path_selector = 4; - * - * @return The count of pathSelector. - */ - public int getPathSelectorCount() { - return pathSelector_.size(); - } + public static com.kcl.api.Spec.Scope getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-             * Path selectors.
-             * 
- * - * repeated string path_selector = 4; - * - * @param index - * The index of the element to return. - * - * @return The pathSelector at the given index. - */ - public java.lang.String getPathSelector(int index) { - return pathSelector_.get(index); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Scope parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - *
-             * Path selectors.
-             * 
- * - * repeated string path_selector = 4; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the pathSelector at the given index. - */ - public com.google.protobuf.ByteString getPathSelectorBytes(int index) { - return pathSelector_.getByteString(index); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-             * Path selectors.
-             * 
- * - * repeated string path_selector = 4; - * - * @param index - * The index to set the value at. - * @param value - * The pathSelector to set. - * - * @return This builder for chaining. - */ - public Builder setPathSelector(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathSelectorIsMutable(); - pathSelector_.set(index, value); - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + @java.lang.Override + public com.kcl.api.Spec.Scope getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-             * Path selectors.
-             * 
- * - * repeated string path_selector = 4; - * - * @param value - * The pathSelector to add. - * - * @return This builder for chaining. - */ - public Builder addPathSelector(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePathSelectorIsMutable(); - pathSelector_.add(value); - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + } - /** - *
-             * Path selectors.
-             * 
- * - * repeated string path_selector = 4; - * - * @param values - * The pathSelector to add. - * - * @return This builder for chaining. - */ - public Builder addAllPathSelector(java.lang.Iterable values) { - ensurePathSelectorIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pathSelector_); - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + public interface SymbolIndexOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.SymbolIndex) + com.google.protobuf.MessageOrBuilder { - /** - *
-             * Path selectors.
-             * 
- * - * repeated string path_selector = 4; - * - * @return This builder for chaining. - */ - public Builder clearPathSelector() { - pathSelector_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - ; - onChanged(); - return this; - } + /** + *
+     * Index identifier.
+     * 
+ * + * uint64 i = 1; + * @return The i. + */ + long getI(); - /** - *
-             * Path selectors.
-             * 
- * - * repeated string path_selector = 4; - * - * @param value - * The bytes of the pathSelector to add. - * - * @return This builder for chaining. - */ - public Builder addPathSelectorBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensurePathSelectorIsMutable(); - pathSelector_.add(value); - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + /** + *
+     * Global identifier.
+     * 
+ * + * uint64 g = 2; + * @return The g. + */ + long getG(); - private boolean strictRangeCheck_; - - /** - *
-             * Flag for strict range check.
-             * 
- * - * bool strict_range_check = 5; - * - * @return The strictRangeCheck. - */ - @java.lang.Override - public boolean getStrictRangeCheck() { - return strictRangeCheck_; - } + /** + *
+     * Type of the symbol or scope.
+     * 
+ * + * string kind = 3; + * @return The kind. + */ + java.lang.String getKind(); + /** + *
+     * Type of the symbol or scope.
+     * 
+ * + * string kind = 3; + * @return The bytes for kind. + */ + com.google.protobuf.ByteString + getKindBytes(); + } + /** + *
+   * Message representing a symbol index.
+   * 
+ * + * Protobuf type {@code com.kcl.api.SymbolIndex} + */ + public static final class SymbolIndex extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.SymbolIndex) + SymbolIndexOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "SymbolIndex"); + } + // Use SymbolIndex.newBuilder() to construct. + private SymbolIndex(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private SymbolIndex() { + kind_ = ""; + } - /** - *
-             * Flag for strict range check.
-             * 
- * - * bool strict_range_check = 5; - * - * @param value - * The strictRangeCheck to set. - * - * @return This builder for chaining. - */ - public Builder setStrictRangeCheck(boolean value) { - - strictRangeCheck_ = value; - bitField0_ |= 0x00000010; - onChanged(); - return this; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_SymbolIndex_descriptor; + } - /** - *
-             * Flag for strict range check.
-             * 
- * - * bool strict_range_check = 5; - * - * @return This builder for chaining. - */ - public Builder clearStrictRangeCheck() { - bitField0_ = (bitField0_ & ~0x00000010); - strictRangeCheck_ = false; - onChanged(); - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_SymbolIndex_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.SymbolIndex.class, com.kcl.api.Spec.SymbolIndex.Builder.class); + } - private boolean disableNone_; - - /** - *
-             * Flag to disable none values.
-             * 
- * - * bool disable_none = 6; - * - * @return The disableNone. - */ - @java.lang.Override - public boolean getDisableNone() { - return disableNone_; - } + public static final int I_FIELD_NUMBER = 1; + private long i_ = 0L; + /** + *
+     * Index identifier.
+     * 
+ * + * uint64 i = 1; + * @return The i. + */ + @java.lang.Override + public long getI() { + return i_; + } - /** - *
-             * Flag to disable none values.
-             * 
- * - * bool disable_none = 6; - * - * @param value - * The disableNone to set. - * - * @return This builder for chaining. - */ - public Builder setDisableNone(boolean value) { - - disableNone_ = value; - bitField0_ |= 0x00000020; - onChanged(); - return this; - } + public static final int G_FIELD_NUMBER = 2; + private long g_ = 0L; + /** + *
+     * Global identifier.
+     * 
+ * + * uint64 g = 2; + * @return The g. + */ + @java.lang.Override + public long getG() { + return g_; + } - /** - *
-             * Flag to disable none values.
-             * 
- * - * bool disable_none = 6; - * - * @return This builder for chaining. - */ - public Builder clearDisableNone() { - bitField0_ = (bitField0_ & ~0x00000020); - disableNone_ = false; - onChanged(); - return this; - } + public static final int KIND_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object kind_ = ""; + /** + *
+     * Type of the symbol or scope.
+     * 
+ * + * string kind = 3; + * @return The kind. + */ + @java.lang.Override + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } + } + /** + *
+     * Type of the symbol or scope.
+     * 
+ * + * string kind = 3; + * @return The bytes for kind. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - private long verbose_; - - /** - *
-             * Verbose level.
-             * 
- * - * int64 verbose = 7; - * - * @return The verbose. - */ - @java.lang.Override - public long getVerbose() { - return verbose_; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * Verbose level.
-             * 
- * - * int64 verbose = 7; - * - * @param value - * The verbose to set. - * - * @return This builder for chaining. - */ - public Builder setVerbose(long value) { - - verbose_ = value; - bitField0_ |= 0x00000040; - onChanged(); - return this; - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-             * Verbose level.
-             * 
- * - * int64 verbose = 7; - * - * @return This builder for chaining. - */ - public Builder clearVerbose() { - bitField0_ = (bitField0_ & ~0x00000040); - verbose_ = 0L; - onChanged(); - return this; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (i_ != 0L) { + output.writeUInt64(1, i_); + } + if (g_ != 0L) { + output.writeUInt64(2, g_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kind_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, kind_); + } + getUnknownFields().writeTo(output); + } - private boolean debug_; - - /** - *
-             * Debug flag.
-             * 
- * - * bool debug = 8; - * - * @return The debug. - */ - @java.lang.Override - public boolean getDebug() { - return debug_; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (i_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(1, i_); + } + if (g_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(2, g_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kind_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, kind_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-             * Debug flag.
-             * 
- * - * bool debug = 8; - * - * @param value - * The debug to set. - * - * @return This builder for chaining. - */ - public Builder setDebug(boolean value) { - - debug_ = value; - bitField0_ |= 0x00000080; - onChanged(); - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.SymbolIndex)) { + return super.equals(obj); + } + com.kcl.api.Spec.SymbolIndex other = (com.kcl.api.Spec.SymbolIndex) obj; + + if (getI() + != other.getI()) return false; + if (getG() + != other.getG()) return false; + if (!getKind() + .equals(other.getKind())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-             * Debug flag.
-             * 
- * - * bool debug = 8; - * - * @return This builder for chaining. - */ - public Builder clearDebug() { - bitField0_ = (bitField0_ & ~0x00000080); - debug_ = false; - onChanged(); - return this; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + I_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getI()); + hash = (37 * hash) + G_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getG()); + hash = (37 * hash) + KIND_FIELD_NUMBER; + hash = (53 * hash) + getKind().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - private boolean sortKeys_; - - /** - *
-             * Flag to sort keys in YAML/JSON results.
-             * 
- * - * bool sort_keys = 9; - * - * @return The sortKeys. - */ - @java.lang.Override - public boolean getSortKeys() { - return sortKeys_; - } + public static com.kcl.api.Spec.SymbolIndex parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.SymbolIndex parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.SymbolIndex parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.SymbolIndex parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.SymbolIndex parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.SymbolIndex parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.SymbolIndex parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.SymbolIndex parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Flag to sort keys in YAML/JSON results.
-             * 
- * - * bool sort_keys = 9; - * - * @param value - * The sortKeys to set. - * - * @return This builder for chaining. - */ - public Builder setSortKeys(boolean value) { - - sortKeys_ = value; - bitField0_ |= 0x00000100; - onChanged(); - return this; - } + public static com.kcl.api.Spec.SymbolIndex parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * Flag to sort keys in YAML/JSON results.
-             * 
- * - * bool sort_keys = 9; - * - * @return This builder for chaining. - */ - public Builder clearSortKeys() { - bitField0_ = (bitField0_ & ~0x00000100); - sortKeys_ = false; - onChanged(); - return this; - } + public static com.kcl.api.Spec.SymbolIndex parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.SymbolIndex parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.SymbolIndex parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - private boolean showHidden_; - - /** - *
-             * Flag to show hidden attributes.
-             * 
- * - * bool show_hidden = 10; - * - * @return The showHidden. - */ - @java.lang.Override - public boolean getShowHidden() { - return showHidden_; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.SymbolIndex prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * Flag to show hidden attributes.
-             * 
- * - * bool show_hidden = 10; - * - * @param value - * The showHidden to set. - * - * @return This builder for chaining. - */ - public Builder setShowHidden(boolean value) { - - showHidden_ = value; - bitField0_ |= 0x00000200; - onChanged(); - return this; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message representing a symbol index.
+     * 
+ * + * Protobuf type {@code com.kcl.api.SymbolIndex} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.SymbolIndex) + com.kcl.api.Spec.SymbolIndexOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_SymbolIndex_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_SymbolIndex_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.SymbolIndex.class, com.kcl.api.Spec.SymbolIndex.Builder.class); + } + + // Construct using com.kcl.api.Spec.SymbolIndex.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + i_ = 0L; + g_ = 0L; + kind_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_SymbolIndex_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex getDefaultInstanceForType() { + return com.kcl.api.Spec.SymbolIndex.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex build() { + com.kcl.api.Spec.SymbolIndex result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex buildPartial() { + com.kcl.api.Spec.SymbolIndex result = new com.kcl.api.Spec.SymbolIndex(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.SymbolIndex result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.i_ = i_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.g_ = g_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.kind_ = kind_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.SymbolIndex) { + return mergeFrom((com.kcl.api.Spec.SymbolIndex)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.SymbolIndex other) { + if (other == com.kcl.api.Spec.SymbolIndex.getDefaultInstance()) return this; + if (other.getI() != 0L) { + setI(other.getI()); + } + if (other.getG() != 0L) { + setG(other.getG()); + } + if (!other.getKind().isEmpty()) { + kind_ = other.kind_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + i_ = input.readUInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + g_ = input.readUInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + kind_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private long i_ ; + /** + *
+       * Index identifier.
+       * 
+ * + * uint64 i = 1; + * @return The i. + */ + @java.lang.Override + public long getI() { + return i_; + } + /** + *
+       * Index identifier.
+       * 
+ * + * uint64 i = 1; + * @param value The i to set. + * @return This builder for chaining. + */ + public Builder setI(long value) { + + i_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Index identifier.
+       * 
+ * + * uint64 i = 1; + * @return This builder for chaining. + */ + public Builder clearI() { + bitField0_ = (bitField0_ & ~0x00000001); + i_ = 0L; + onChanged(); + return this; + } + + private long g_ ; + /** + *
+       * Global identifier.
+       * 
+ * + * uint64 g = 2; + * @return The g. + */ + @java.lang.Override + public long getG() { + return g_; + } + /** + *
+       * Global identifier.
+       * 
+ * + * uint64 g = 2; + * @param value The g to set. + * @return This builder for chaining. + */ + public Builder setG(long value) { + + g_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Global identifier.
+       * 
+ * + * uint64 g = 2; + * @return This builder for chaining. + */ + public Builder clearG() { + bitField0_ = (bitField0_ & ~0x00000002); + g_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object kind_ = ""; + /** + *
+       * Type of the symbol or scope.
+       * 
+ * + * string kind = 3; + * @return The kind. + */ + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Type of the symbol or scope.
+       * 
+ * + * string kind = 3; + * @return The bytes for kind. + */ + public com.google.protobuf.ByteString + getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Type of the symbol or scope.
+       * 
+ * + * string kind = 3; + * @param value The kind to set. + * @return This builder for chaining. + */ + public Builder setKind( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + kind_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Type of the symbol or scope.
+       * 
+ * + * string kind = 3; + * @return This builder for chaining. + */ + public Builder clearKind() { + kind_ = getDefaultInstance().getKind(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+       * Type of the symbol or scope.
+       * 
+ * + * string kind = 3; + * @param value The bytes for kind to set. + * @return This builder for chaining. + */ + public Builder setKindBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + kind_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.SymbolIndex) + } - /** - *
-             * Flag to show hidden attributes.
-             * 
- * - * bool show_hidden = 10; - * - * @return This builder for chaining. - */ - public Builder clearShowHidden() { - bitField0_ = (bitField0_ & ~0x00000200); - showHidden_ = false; - onChanged(); - return this; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.SymbolIndex) + private static final com.kcl.api.Spec.SymbolIndex DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.SymbolIndex(); + } - private boolean includeSchemaTypePath_; - - /** - *
-             * Flag to include schema type path in results.
-             * 
- * - * bool include_schema_type_path = 11; - * - * @return The includeSchemaTypePath. - */ - @java.lang.Override - public boolean getIncludeSchemaTypePath() { - return includeSchemaTypePath_; - } + public static com.kcl.api.Spec.SymbolIndex getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-             * Flag to include schema type path in results.
-             * 
- * - * bool include_schema_type_path = 11; - * - * @param value - * The includeSchemaTypePath to set. - * - * @return This builder for chaining. - */ - public Builder setIncludeSchemaTypePath(boolean value) { - - includeSchemaTypePath_ = value; - bitField0_ |= 0x00000400; - onChanged(); - return this; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SymbolIndex parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - *
-             * Flag to include schema type path in results.
-             * 
- * - * bool include_schema_type_path = 11; - * - * @return This builder for chaining. - */ - public Builder clearIncludeSchemaTypePath() { - bitField0_ = (bitField0_ & ~0x00000400); - includeSchemaTypePath_ = false; - onChanged(); - return this; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - private boolean fastEval_; - - /** - *
-             * Flag for fast evaluation.
-             * 
- * - * bool fast_eval = 12; - * - * @return The fastEval. - */ - @java.lang.Override - public boolean getFastEval() { - return fastEval_; - } + @java.lang.Override + public com.kcl.api.Spec.SymbolIndex getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-             * Flag for fast evaluation.
-             * 
- * - * bool fast_eval = 12; - * - * @param value - * The fastEval to set. - * - * @return This builder for chaining. - */ - public Builder setFastEval(boolean value) { - - fastEval_ = value; - bitField0_ |= 0x00000800; - onChanged(); - return this; - } + } - /** - *
-             * Flag for fast evaluation.
-             * 
- * - * bool fast_eval = 12; - * - * @return This builder for chaining. - */ - public Builder clearFastEval() { - bitField0_ = (bitField0_ & ~0x00000800); - fastEval_ = false; - onChanged(); - return this; - } + public interface ScopeIndexOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ScopeIndex) + com.google.protobuf.MessageOrBuilder { - // @@protoc_insertion_point(builder_scope:com.kcl.api.CliConfig) - } + /** + *
+     * Index identifier.
+     * 
+ * + * uint64 i = 1; + * @return The i. + */ + long getI(); - // @@protoc_insertion_point(class_scope:com.kcl.api.CliConfig) - private static final com.kcl.api.Spec.CliConfig DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.CliConfig(); - } + /** + *
+     * Global identifier.
+     * 
+ * + * uint64 g = 2; + * @return The g. + */ + long getG(); - public static com.kcl.api.Spec.CliConfig getDefaultInstance() { - return DEFAULT_INSTANCE; - } + /** + *
+     * Type of the scope.
+     * 
+ * + * string kind = 3; + * @return The kind. + */ + java.lang.String getKind(); + /** + *
+     * Type of the scope.
+     * 
+ * + * string kind = 3; + * @return The bytes for kind. + */ + com.google.protobuf.ByteString + getKindBytes(); + } + /** + *
+   * Message representing a scope index.
+   * 
+ * + * Protobuf type {@code com.kcl.api.ScopeIndex} + */ + public static final class ScopeIndex extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ScopeIndex) + ScopeIndexOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "ScopeIndex"); + } + // Use ScopeIndex.newBuilder() to construct. + private ScopeIndex(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ScopeIndex() { + kind_ = ""; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CliConfig parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ScopeIndex_descriptor; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ScopeIndex_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ScopeIndex.class, com.kcl.api.Spec.ScopeIndex.Builder.class); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static final int I_FIELD_NUMBER = 1; + private long i_ = 0L; + /** + *
+     * Index identifier.
+     * 
+ * + * uint64 i = 1; + * @return The i. + */ + @java.lang.Override + public long getI() { + return i_; + } - @java.lang.Override - public com.kcl.api.Spec.CliConfig getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface KeyValuePairOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.KeyValuePair) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Key of the pair.
-         * 
- * - * string key = 1; - * - * @return The key. - */ - java.lang.String getKey(); - - /** - *
-         * Key of the pair.
-         * 
- * - * string key = 1; - * - * @return The bytes for key. - */ - com.google.protobuf.ByteString getKeyBytes(); - - /** - *
-         * Value of the pair.
-         * 
- * - * string value = 2; - * - * @return The value. - */ - java.lang.String getValue(); - - /** - *
-         * Value of the pair.
-         * 
- * - * string value = 2; - * - * @return The bytes for value. - */ - com.google.protobuf.ByteString getValueBytes(); + public static final int G_FIELD_NUMBER = 2; + private long g_ = 0L; + /** + *
+     * Global identifier.
+     * 
+ * + * uint64 g = 2; + * @return The g. + */ + @java.lang.Override + public long getG() { + return g_; } + public static final int KIND_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object kind_ = ""; /** *
-     * Message representing a key-value pair.
+     * Type of the scope.
      * 
* - * Protobuf type {@code com.kcl.api.KeyValuePair} + * string kind = 3; + * @return The kind. */ - public static final class KeyValuePair extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.KeyValuePair) - KeyValuePairOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", KeyValuePair.class.getName()); - } + @java.lang.Override + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } + } + /** + *
+     * Type of the scope.
+     * 
+ * + * string kind = 3; + * @return The bytes for kind. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - // Use KeyValuePair.newBuilder() to construct. - private KeyValuePair(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private KeyValuePair() { - key_ = ""; - value_ = ""; - } + memoizedIsInitialized = 1; + return true; + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_KeyValuePair_descriptor; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (i_ != 0L) { + output.writeUInt64(1, i_); + } + if (g_ != 0L) { + output.writeUInt64(2, g_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kind_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, kind_); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_KeyValuePair_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.KeyValuePair.class, - com.kcl.api.Spec.KeyValuePair.Builder.class); - } - - public static final int KEY_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object key_ = ""; - - /** - *
-         * Key of the pair.
-         * 
- * - * string key = 1; - * - * @return The key. - */ - @java.lang.Override - public java.lang.String getKey() { - java.lang.Object ref = key_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - key_ = s; - return s; - } - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (i_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(1, i_); + } + if (g_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(2, g_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kind_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, kind_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-         * Key of the pair.
-         * 
- * - * string key = 1; - * - * @return The bytes for key. - */ - @java.lang.Override - public com.google.protobuf.ByteString getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - key_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ScopeIndex)) { + return super.equals(obj); + } + com.kcl.api.Spec.ScopeIndex other = (com.kcl.api.Spec.ScopeIndex) obj; + + if (getI() + != other.getI()) return false; + if (getG() + != other.getG()) return false; + if (!getKind() + .equals(other.getKind())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static final int VALUE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object value_ = ""; + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + I_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getI()); + hash = (37 * hash) + G_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getG()); + hash = (37 * hash) + KIND_FIELD_NUMBER; + hash = (53 * hash) + getKind().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-         * Value of the pair.
-         * 
- * - * string value = 2; - * - * @return The value. - */ - @java.lang.Override - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } - } + public static com.kcl.api.Spec.ScopeIndex parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ScopeIndex parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ScopeIndex parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ScopeIndex parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ScopeIndex parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ScopeIndex parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ScopeIndex parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ScopeIndex parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-         * Value of the pair.
-         * 
- * - * string value = 2; - * - * @return The bytes for value. - */ - @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static com.kcl.api.Spec.ScopeIndex parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - private byte memoizedIsInitialized = -1; + public static com.kcl.api.Spec.ScopeIndex parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.ScopeIndex parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ScopeIndex parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ScopeIndex prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - memoizedIsInitialized = 1; - return true; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message representing a scope index.
+     * 
+ * + * Protobuf type {@code com.kcl.api.ScopeIndex} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ScopeIndex) + com.kcl.api.Spec.ScopeIndexOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ScopeIndex_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ScopeIndex_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ScopeIndex.class, com.kcl.api.Spec.ScopeIndex.Builder.class); + } + + // Construct using com.kcl.api.Spec.ScopeIndex.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + i_ = 0L; + g_ = 0L; + kind_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ScopeIndex_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ScopeIndex getDefaultInstanceForType() { + return com.kcl.api.Spec.ScopeIndex.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ScopeIndex build() { + com.kcl.api.Spec.ScopeIndex result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ScopeIndex buildPartial() { + com.kcl.api.Spec.ScopeIndex result = new com.kcl.api.Spec.ScopeIndex(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.ScopeIndex result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.i_ = i_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.g_ = g_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.kind_ = kind_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ScopeIndex) { + return mergeFrom((com.kcl.api.Spec.ScopeIndex)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ScopeIndex other) { + if (other == com.kcl.api.Spec.ScopeIndex.getDefaultInstance()) return this; + if (other.getI() != 0L) { + setI(other.getI()); + } + if (other.getG() != 0L) { + setG(other.getG()); + } + if (!other.getKind().isEmpty()) { + kind_ = other.kind_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + i_ = input.readUInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + g_ = input.readUInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + kind_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private long i_ ; + /** + *
+       * Index identifier.
+       * 
+ * + * uint64 i = 1; + * @return The i. + */ + @java.lang.Override + public long getI() { + return i_; + } + /** + *
+       * Index identifier.
+       * 
+ * + * uint64 i = 1; + * @param value The i to set. + * @return This builder for chaining. + */ + public Builder setI(long value) { + + i_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Index identifier.
+       * 
+ * + * uint64 i = 1; + * @return This builder for chaining. + */ + public Builder clearI() { + bitField0_ = (bitField0_ & ~0x00000001); + i_ = 0L; + onChanged(); + return this; + } + + private long g_ ; + /** + *
+       * Global identifier.
+       * 
+ * + * uint64 g = 2; + * @return The g. + */ + @java.lang.Override + public long getG() { + return g_; + } + /** + *
+       * Global identifier.
+       * 
+ * + * uint64 g = 2; + * @param value The g to set. + * @return This builder for chaining. + */ + public Builder setG(long value) { + + g_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Global identifier.
+       * 
+ * + * uint64 g = 2; + * @return This builder for chaining. + */ + public Builder clearG() { + bitField0_ = (bitField0_ & ~0x00000002); + g_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object kind_ = ""; + /** + *
+       * Type of the scope.
+       * 
+ * + * string kind = 3; + * @return The kind. + */ + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Type of the scope.
+       * 
+ * + * string kind = 3; + * @return The bytes for kind. + */ + public com.google.protobuf.ByteString + getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Type of the scope.
+       * 
+ * + * string kind = 3; + * @param value The kind to set. + * @return This builder for chaining. + */ + public Builder setKind( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + kind_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Type of the scope.
+       * 
+ * + * string kind = 3; + * @return This builder for chaining. + */ + public Builder clearKind() { + kind_ = getDefaultInstance().getKind(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+       * Type of the scope.
+       * 
+ * + * string kind = 3; + * @param value The bytes for kind to set. + * @return This builder for chaining. + */ + public Builder setKindBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + kind_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ScopeIndex) + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(key_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, key_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, value_); - } - getUnknownFields().writeTo(output); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ScopeIndex) + private static final com.kcl.api.Spec.ScopeIndex DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ScopeIndex(); + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(key_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, key_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, value_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + public static com.kcl.api.Spec.ScopeIndex getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.KeyValuePair)) { - return super.equals(obj); - } - com.kcl.api.Spec.KeyValuePair other = (com.kcl.api.Spec.KeyValuePair) obj; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ScopeIndex parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - if (!getKey().equals(other.getKey())) - return false; - if (!getValue().equals(other.getValue())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + KEY_FIELD_NUMBER; - hash = (53 * hash) + getKey().hashCode(); - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + @java.lang.Override + public com.kcl.api.Spec.ScopeIndex getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.KeyValuePair parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + } - public static com.kcl.api.Spec.KeyValuePair parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public interface ExecProgramArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ExecProgramArgs) + com.google.protobuf.MessageOrBuilder { - public static com.kcl.api.Spec.KeyValuePair parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + /** + *
+     * Working directory.
+     * 
+ * + * string work_dir = 1; + * @return The workDir. + */ + java.lang.String getWorkDir(); + /** + *
+     * Working directory.
+     * 
+ * + * string work_dir = 1; + * @return The bytes for workDir. + */ + com.google.protobuf.ByteString + getWorkDirBytes(); - public static com.kcl.api.Spec.KeyValuePair parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + /** + *
+     * List of KCL filenames.
+     * 
+ * + * repeated string k_filename_list = 2; + * @return A list containing the kFilenameList. + */ + java.util.List + getKFilenameListList(); + /** + *
+     * List of KCL filenames.
+     * 
+ * + * repeated string k_filename_list = 2; + * @return The count of kFilenameList. + */ + int getKFilenameListCount(); + /** + *
+     * List of KCL filenames.
+     * 
+ * + * repeated string k_filename_list = 2; + * @param index The index of the element to return. + * @return The kFilenameList at the given index. + */ + java.lang.String getKFilenameList(int index); + /** + *
+     * List of KCL filenames.
+     * 
+ * + * repeated string k_filename_list = 2; + * @param index The index of the value to return. + * @return The bytes of the kFilenameList at the given index. + */ + com.google.protobuf.ByteString + getKFilenameListBytes(int index); - public static com.kcl.api.Spec.KeyValuePair parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + /** + *
+     * List of KCL codes.
+     * 
+ * + * repeated string k_code_list = 3; + * @return A list containing the kCodeList. + */ + java.util.List + getKCodeListList(); + /** + *
+     * List of KCL codes.
+     * 
+ * + * repeated string k_code_list = 3; + * @return The count of kCodeList. + */ + int getKCodeListCount(); + /** + *
+     * List of KCL codes.
+     * 
+ * + * repeated string k_code_list = 3; + * @param index The index of the element to return. + * @return The kCodeList at the given index. + */ + java.lang.String getKCodeList(int index); + /** + *
+     * List of KCL codes.
+     * 
+ * + * repeated string k_code_list = 3; + * @param index The index of the value to return. + * @return The bytes of the kCodeList at the given index. + */ + com.google.protobuf.ByteString + getKCodeListBytes(int index); - public static com.kcl.api.Spec.KeyValuePair parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + /** + *
+     * Arguments for the program.
+     * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + java.util.List + getArgsList(); + /** + *
+     * Arguments for the program.
+     * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + com.kcl.api.Spec.Argument getArgs(int index); + /** + *
+     * Arguments for the program.
+     * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + int getArgsCount(); + /** + *
+     * Arguments for the program.
+     * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + java.util.List + getArgsOrBuilderList(); + /** + *
+     * Arguments for the program.
+     * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + com.kcl.api.Spec.ArgumentOrBuilder getArgsOrBuilder( + int index); - public static com.kcl.api.Spec.KeyValuePair parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + /** + *
+     * Override configurations.
+     * 
+ * + * repeated string overrides = 5; + * @return A list containing the overrides. + */ + java.util.List + getOverridesList(); + /** + *
+     * Override configurations.
+     * 
+ * + * repeated string overrides = 5; + * @return The count of overrides. + */ + int getOverridesCount(); + /** + *
+     * Override configurations.
+     * 
+ * + * repeated string overrides = 5; + * @param index The index of the element to return. + * @return The overrides at the given index. + */ + java.lang.String getOverrides(int index); + /** + *
+     * Override configurations.
+     * 
+ * + * repeated string overrides = 5; + * @param index The index of the value to return. + * @return The bytes of the overrides at the given index. + */ + com.google.protobuf.ByteString + getOverridesBytes(int index); - public static com.kcl.api.Spec.KeyValuePair parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + /** + *
+     * Flag to disable YAML result.
+     * 
+ * + * bool disable_yaml_result = 6; + * @return The disableYamlResult. + */ + boolean getDisableYamlResult(); - public static com.kcl.api.Spec.KeyValuePair parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } + /** + *
+     * Flag to print override AST.
+     * 
+ * + * bool print_override_ast = 7; + * @return The printOverrideAst. + */ + boolean getPrintOverrideAst(); - public static com.kcl.api.Spec.KeyValuePair parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } + /** + *
+     * Flag for strict range check.
+     * 
+ * + * bool strict_range_check = 8; + * @return The strictRangeCheck. + */ + boolean getStrictRangeCheck(); - public static com.kcl.api.Spec.KeyValuePair parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + /** + *
+     * Flag to disable none values.
+     * 
+ * + * bool disable_none = 9; + * @return The disableNone. + */ + boolean getDisableNone(); - public static com.kcl.api.Spec.KeyValuePair parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + /** + *
+     * Verbose level.
+     * 
+ * + * int32 verbose = 10; + * @return The verbose. + */ + int getVerbose(); - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + /** + *
+     * Debug level.
+     * 
+ * + * int32 debug = 11; + * @return The debug. + */ + int getDebug(); - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + /** + *
+     * Flag to sort keys in YAML/JSON results.
+     * 
+ * + * bool sort_keys = 12; + * @return The sortKeys. + */ + boolean getSortKeys(); - public static Builder newBuilder(com.kcl.api.Spec.KeyValuePair prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + java.util.List + getExternalPkgsList(); + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index); + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + int getExternalPkgsCount(); + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + java.util.List + getExternalPkgsOrBuilderList(); + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder( + int index); - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + /** + *
+     * Flag to include schema type path in results.
+     * 
+ * + * bool include_schema_type_path = 14; + * @return The includeSchemaTypePath. + */ + boolean getIncludeSchemaTypePath(); - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message representing a key-value pair.
-         * 
- * - * Protobuf type {@code com.kcl.api.KeyValuePair} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.KeyValuePair) - com.kcl.api.Spec.KeyValuePairOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_KeyValuePair_descriptor; - } + /** + *
+     * Flag to compile only without execution.
+     * 
+ * + * bool compile_only = 15; + * @return The compileOnly. + */ + boolean getCompileOnly(); - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_KeyValuePair_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.KeyValuePair.class, - com.kcl.api.Spec.KeyValuePair.Builder.class); - } + /** + *
+     * Flag to show hidden attributes.
+     * 
+ * + * bool show_hidden = 16; + * @return The showHidden. + */ + boolean getShowHidden(); - // Construct using com.kcl.api.Spec.KeyValuePair.newBuilder() - private Builder() { + /** + *
+     * Path selectors for results.
+     * 
+ * + * repeated string path_selector = 17; + * @return A list containing the pathSelector. + */ + java.util.List + getPathSelectorList(); + /** + *
+     * Path selectors for results.
+     * 
+ * + * repeated string path_selector = 17; + * @return The count of pathSelector. + */ + int getPathSelectorCount(); + /** + *
+     * Path selectors for results.
+     * 
+ * + * repeated string path_selector = 17; + * @param index The index of the element to return. + * @return The pathSelector at the given index. + */ + java.lang.String getPathSelector(int index); + /** + *
+     * Path selectors for results.
+     * 
+ * + * repeated string path_selector = 17; + * @param index The index of the value to return. + * @return The bytes of the pathSelector at the given index. + */ + com.google.protobuf.ByteString + getPathSelectorBytes(int index); - } + /** + *
+     * Flag for fast evaluation.
+     * 
+ * + * bool fast_eval = 18; + * @return The fastEval. + */ + boolean getFastEval(); + } + /** + *
+   * Message for execute program request arguments.
+   * 
+ * + * Protobuf type {@code com.kcl.api.ExecProgramArgs} + */ + public static final class ExecProgramArgs extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ExecProgramArgs) + ExecProgramArgsOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "ExecProgramArgs"); + } + // Use ExecProgramArgs.newBuilder() to construct. + private ExecProgramArgs(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ExecProgramArgs() { + workDir_ = ""; + kFilenameList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + kCodeList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + args_ = java.util.Collections.emptyList(); + overrides_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + externalPkgs_ = java.util.Collections.emptyList(); + pathSelector_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgramArgs_descriptor; + } - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgramArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ExecProgramArgs.class, com.kcl.api.Spec.ExecProgramArgs.Builder.class); + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - key_ = ""; - value_ = ""; - return this; - } + public static final int WORK_DIR_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object workDir_ = ""; + /** + *
+     * Working directory.
+     * 
+ * + * string work_dir = 1; + * @return The workDir. + */ + @java.lang.Override + public java.lang.String getWorkDir() { + java.lang.Object ref = workDir_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workDir_ = s; + return s; + } + } + /** + *
+     * Working directory.
+     * 
+ * + * string work_dir = 1; + * @return The bytes for workDir. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getWorkDirBytes() { + java.lang.Object ref = workDir_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workDir_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_KeyValuePair_descriptor; - } + public static final int K_FILENAME_LIST_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList kFilenameList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * List of KCL filenames.
+     * 
+ * + * repeated string k_filename_list = 2; + * @return A list containing the kFilenameList. + */ + public com.google.protobuf.ProtocolStringList + getKFilenameListList() { + return kFilenameList_; + } + /** + *
+     * List of KCL filenames.
+     * 
+ * + * repeated string k_filename_list = 2; + * @return The count of kFilenameList. + */ + public int getKFilenameListCount() { + return kFilenameList_.size(); + } + /** + *
+     * List of KCL filenames.
+     * 
+ * + * repeated string k_filename_list = 2; + * @param index The index of the element to return. + * @return The kFilenameList at the given index. + */ + public java.lang.String getKFilenameList(int index) { + return kFilenameList_.get(index); + } + /** + *
+     * List of KCL filenames.
+     * 
+ * + * repeated string k_filename_list = 2; + * @param index The index of the value to return. + * @return The bytes of the kFilenameList at the given index. + */ + public com.google.protobuf.ByteString + getKFilenameListBytes(int index) { + return kFilenameList_.getByteString(index); + } - @java.lang.Override - public com.kcl.api.Spec.KeyValuePair getDefaultInstanceForType() { - return com.kcl.api.Spec.KeyValuePair.getDefaultInstance(); - } + public static final int K_CODE_LIST_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList kCodeList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * List of KCL codes.
+     * 
+ * + * repeated string k_code_list = 3; + * @return A list containing the kCodeList. + */ + public com.google.protobuf.ProtocolStringList + getKCodeListList() { + return kCodeList_; + } + /** + *
+     * List of KCL codes.
+     * 
+ * + * repeated string k_code_list = 3; + * @return The count of kCodeList. + */ + public int getKCodeListCount() { + return kCodeList_.size(); + } + /** + *
+     * List of KCL codes.
+     * 
+ * + * repeated string k_code_list = 3; + * @param index The index of the element to return. + * @return The kCodeList at the given index. + */ + public java.lang.String getKCodeList(int index) { + return kCodeList_.get(index); + } + /** + *
+     * List of KCL codes.
+     * 
+ * + * repeated string k_code_list = 3; + * @param index The index of the value to return. + * @return The bytes of the kCodeList at the given index. + */ + public com.google.protobuf.ByteString + getKCodeListBytes(int index) { + return kCodeList_.getByteString(index); + } - @java.lang.Override - public com.kcl.api.Spec.KeyValuePair build() { - com.kcl.api.Spec.KeyValuePair result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + public static final int ARGS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private java.util.List args_; + /** + *
+     * Arguments for the program.
+     * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + @java.lang.Override + public java.util.List getArgsList() { + return args_; + } + /** + *
+     * Arguments for the program.
+     * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + @java.lang.Override + public java.util.List + getArgsOrBuilderList() { + return args_; + } + /** + *
+     * Arguments for the program.
+     * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + @java.lang.Override + public int getArgsCount() { + return args_.size(); + } + /** + *
+     * Arguments for the program.
+     * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + @java.lang.Override + public com.kcl.api.Spec.Argument getArgs(int index) { + return args_.get(index); + } + /** + *
+     * Arguments for the program.
+     * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + @java.lang.Override + public com.kcl.api.Spec.ArgumentOrBuilder getArgsOrBuilder( + int index) { + return args_.get(index); + } - @java.lang.Override - public com.kcl.api.Spec.KeyValuePair buildPartial() { - com.kcl.api.Spec.KeyValuePair result = new com.kcl.api.Spec.KeyValuePair(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + public static final int OVERRIDES_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList overrides_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * Override configurations.
+     * 
+ * + * repeated string overrides = 5; + * @return A list containing the overrides. + */ + public com.google.protobuf.ProtocolStringList + getOverridesList() { + return overrides_; + } + /** + *
+     * Override configurations.
+     * 
+ * + * repeated string overrides = 5; + * @return The count of overrides. + */ + public int getOverridesCount() { + return overrides_.size(); + } + /** + *
+     * Override configurations.
+     * 
+ * + * repeated string overrides = 5; + * @param index The index of the element to return. + * @return The overrides at the given index. + */ + public java.lang.String getOverrides(int index) { + return overrides_.get(index); + } + /** + *
+     * Override configurations.
+     * 
+ * + * repeated string overrides = 5; + * @param index The index of the value to return. + * @return The bytes of the overrides at the given index. + */ + public com.google.protobuf.ByteString + getOverridesBytes(int index) { + return overrides_.getByteString(index); + } - private void buildPartial0(com.kcl.api.Spec.KeyValuePair result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.key_ = key_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.value_ = value_; - } - } + public static final int DISABLE_YAML_RESULT_FIELD_NUMBER = 6; + private boolean disableYamlResult_ = false; + /** + *
+     * Flag to disable YAML result.
+     * 
+ * + * bool disable_yaml_result = 6; + * @return The disableYamlResult. + */ + @java.lang.Override + public boolean getDisableYamlResult() { + return disableYamlResult_; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.KeyValuePair) { - return mergeFrom((com.kcl.api.Spec.KeyValuePair) other); - } else { - super.mergeFrom(other); - return this; - } - } + public static final int PRINT_OVERRIDE_AST_FIELD_NUMBER = 7; + private boolean printOverrideAst_ = false; + /** + *
+     * Flag to print override AST.
+     * 
+ * + * bool print_override_ast = 7; + * @return The printOverrideAst. + */ + @java.lang.Override + public boolean getPrintOverrideAst() { + return printOverrideAst_; + } - public Builder mergeFrom(com.kcl.api.Spec.KeyValuePair other) { - if (other == com.kcl.api.Spec.KeyValuePair.getDefaultInstance()) - return this; - if (!other.getKey().isEmpty()) { - key_ = other.key_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getValue().isEmpty()) { - value_ = other.value_; - bitField0_ |= 0x00000002; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + public static final int STRICT_RANGE_CHECK_FIELD_NUMBER = 8; + private boolean strictRangeCheck_ = false; + /** + *
+     * Flag for strict range check.
+     * 
+ * + * bool strict_range_check = 8; + * @return The strictRangeCheck. + */ + @java.lang.Override + public boolean getStrictRangeCheck() { + return strictRangeCheck_; + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + public static final int DISABLE_NONE_FIELD_NUMBER = 9; + private boolean disableNone_ = false; + /** + *
+     * Flag to disable none values.
+     * 
+ * + * bool disable_none = 9; + * @return The disableNone. + */ + @java.lang.Override + public boolean getDisableNone() { + return disableNone_; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - key_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - value_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + public static final int VERBOSE_FIELD_NUMBER = 10; + private int verbose_ = 0; + /** + *
+     * Verbose level.
+     * 
+ * + * int32 verbose = 10; + * @return The verbose. + */ + @java.lang.Override + public int getVerbose() { + return verbose_; + } - private int bitField0_; - - private java.lang.Object key_ = ""; - - /** - *
-             * Key of the pair.
-             * 
- * - * string key = 1; - * - * @return The key. - */ - public java.lang.String getKey() { - java.lang.Object ref = key_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - key_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static final int DEBUG_FIELD_NUMBER = 11; + private int debug_ = 0; + /** + *
+     * Debug level.
+     * 
+ * + * int32 debug = 11; + * @return The debug. + */ + @java.lang.Override + public int getDebug() { + return debug_; + } - /** - *
-             * Key of the pair.
-             * 
- * - * string key = 1; - * - * @return The bytes for key. - */ - public com.google.protobuf.ByteString getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - key_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static final int SORT_KEYS_FIELD_NUMBER = 12; + private boolean sortKeys_ = false; + /** + *
+     * Flag to sort keys in YAML/JSON results.
+     * 
+ * + * bool sort_keys = 12; + * @return The sortKeys. + */ + @java.lang.Override + public boolean getSortKeys() { + return sortKeys_; + } - /** - *
-             * Key of the pair.
-             * 
- * - * string key = 1; - * - * @param value - * The key to set. - * - * @return This builder for chaining. - */ - public Builder setKey(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - key_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + public static final int EXTERNAL_PKGS_FIELD_NUMBER = 13; + @SuppressWarnings("serial") + private java.util.List externalPkgs_; + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + @java.lang.Override + public java.util.List getExternalPkgsList() { + return externalPkgs_; + } + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + @java.lang.Override + public java.util.List + getExternalPkgsOrBuilderList() { + return externalPkgs_; + } + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + @java.lang.Override + public int getExternalPkgsCount() { + return externalPkgs_.size(); + } + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + @java.lang.Override + public com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index) { + return externalPkgs_.get(index); + } + /** + *
+     * External packages path.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + @java.lang.Override + public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder( + int index) { + return externalPkgs_.get(index); + } - /** - *
-             * Key of the pair.
-             * 
- * - * string key = 1; - * - * @return This builder for chaining. - */ - public Builder clearKey() { - key_ = getDefaultInstance().getKey(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + public static final int INCLUDE_SCHEMA_TYPE_PATH_FIELD_NUMBER = 14; + private boolean includeSchemaTypePath_ = false; + /** + *
+     * Flag to include schema type path in results.
+     * 
+ * + * bool include_schema_type_path = 14; + * @return The includeSchemaTypePath. + */ + @java.lang.Override + public boolean getIncludeSchemaTypePath() { + return includeSchemaTypePath_; + } - /** - *
-             * Key of the pair.
-             * 
- * - * string key = 1; - * - * @param value - * The bytes for key to set. - * - * @return This builder for chaining. - */ - public Builder setKeyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - key_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + public static final int COMPILE_ONLY_FIELD_NUMBER = 15; + private boolean compileOnly_ = false; + /** + *
+     * Flag to compile only without execution.
+     * 
+ * + * bool compile_only = 15; + * @return The compileOnly. + */ + @java.lang.Override + public boolean getCompileOnly() { + return compileOnly_; + } - private java.lang.Object value_ = ""; - - /** - *
-             * Value of the pair.
-             * 
- * - * string value = 2; - * - * @return The value. - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static final int SHOW_HIDDEN_FIELD_NUMBER = 16; + private boolean showHidden_ = false; + /** + *
+     * Flag to show hidden attributes.
+     * 
+ * + * bool show_hidden = 16; + * @return The showHidden. + */ + @java.lang.Override + public boolean getShowHidden() { + return showHidden_; + } - /** - *
-             * Value of the pair.
-             * 
- * - * string value = 2; - * - * @return The bytes for value. - */ - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static final int PATH_SELECTOR_FIELD_NUMBER = 17; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList pathSelector_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * Path selectors for results.
+     * 
+ * + * repeated string path_selector = 17; + * @return A list containing the pathSelector. + */ + public com.google.protobuf.ProtocolStringList + getPathSelectorList() { + return pathSelector_; + } + /** + *
+     * Path selectors for results.
+     * 
+ * + * repeated string path_selector = 17; + * @return The count of pathSelector. + */ + public int getPathSelectorCount() { + return pathSelector_.size(); + } + /** + *
+     * Path selectors for results.
+     * 
+ * + * repeated string path_selector = 17; + * @param index The index of the element to return. + * @return The pathSelector at the given index. + */ + public java.lang.String getPathSelector(int index) { + return pathSelector_.get(index); + } + /** + *
+     * Path selectors for results.
+     * 
+ * + * repeated string path_selector = 17; + * @param index The index of the value to return. + * @return The bytes of the pathSelector at the given index. + */ + public com.google.protobuf.ByteString + getPathSelectorBytes(int index) { + return pathSelector_.getByteString(index); + } - /** - *
-             * Value of the pair.
-             * 
- * - * string value = 2; - * - * @param value - * The value to set. - * - * @return This builder for chaining. - */ - public Builder setValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + public static final int FAST_EVAL_FIELD_NUMBER = 18; + private boolean fastEval_ = false; + /** + *
+     * Flag for fast evaluation.
+     * 
+ * + * bool fast_eval = 18; + * @return The fastEval. + */ + @java.lang.Override + public boolean getFastEval() { + return fastEval_; + } - /** - *
-             * Value of the pair.
-             * 
- * - * string value = 2; - * - * @return This builder for chaining. - */ - public Builder clearValue() { - value_ = getDefaultInstance().getValue(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * Value of the pair.
-             * 
- * - * string value = 2; - * - * @param value - * The bytes for value to set. - * - * @return This builder for chaining. - */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - value_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + memoizedIsInitialized = 1; + return true; + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.KeyValuePair) - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workDir_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, workDir_); + } + for (int i = 0; i < kFilenameList_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, kFilenameList_.getRaw(i)); + } + for (int i = 0; i < kCodeList_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, kCodeList_.getRaw(i)); + } + for (int i = 0; i < args_.size(); i++) { + output.writeMessage(4, args_.get(i)); + } + for (int i = 0; i < overrides_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, overrides_.getRaw(i)); + } + if (disableYamlResult_ != false) { + output.writeBool(6, disableYamlResult_); + } + if (printOverrideAst_ != false) { + output.writeBool(7, printOverrideAst_); + } + if (strictRangeCheck_ != false) { + output.writeBool(8, strictRangeCheck_); + } + if (disableNone_ != false) { + output.writeBool(9, disableNone_); + } + if (verbose_ != 0) { + output.writeInt32(10, verbose_); + } + if (debug_ != 0) { + output.writeInt32(11, debug_); + } + if (sortKeys_ != false) { + output.writeBool(12, sortKeys_); + } + for (int i = 0; i < externalPkgs_.size(); i++) { + output.writeMessage(13, externalPkgs_.get(i)); + } + if (includeSchemaTypePath_ != false) { + output.writeBool(14, includeSchemaTypePath_); + } + if (compileOnly_ != false) { + output.writeBool(15, compileOnly_); + } + if (showHidden_ != false) { + output.writeBool(16, showHidden_); + } + for (int i = 0; i < pathSelector_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 17, pathSelector_.getRaw(i)); + } + if (fastEval_ != false) { + output.writeBool(18, fastEval_); + } + getUnknownFields().writeTo(output); + } - // @@protoc_insertion_point(class_scope:com.kcl.api.KeyValuePair) - private static final com.kcl.api.Spec.KeyValuePair DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.KeyValuePair(); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workDir_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, workDir_); + } + { + int dataSize = 0; + for (int i = 0; i < kFilenameList_.size(); i++) { + dataSize += computeStringSizeNoTag(kFilenameList_.getRaw(i)); + } + size += dataSize; + size += 1 * getKFilenameListList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < kCodeList_.size(); i++) { + dataSize += computeStringSizeNoTag(kCodeList_.getRaw(i)); + } + size += dataSize; + size += 1 * getKCodeListList().size(); + } + for (int i = 0; i < args_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, args_.get(i)); + } + { + int dataSize = 0; + for (int i = 0; i < overrides_.size(); i++) { + dataSize += computeStringSizeNoTag(overrides_.getRaw(i)); + } + size += dataSize; + size += 1 * getOverridesList().size(); + } + if (disableYamlResult_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, disableYamlResult_); + } + if (printOverrideAst_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, printOverrideAst_); + } + if (strictRangeCheck_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(8, strictRangeCheck_); + } + if (disableNone_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(9, disableNone_); + } + if (verbose_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(10, verbose_); + } + if (debug_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(11, debug_); + } + if (sortKeys_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(12, sortKeys_); + } + for (int i = 0; i < externalPkgs_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, externalPkgs_.get(i)); + } + if (includeSchemaTypePath_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(14, includeSchemaTypePath_); + } + if (compileOnly_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(15, compileOnly_); + } + if (showHidden_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(16, showHidden_); + } + { + int dataSize = 0; + for (int i = 0; i < pathSelector_.size(); i++) { + dataSize += computeStringSizeNoTag(pathSelector_.getRaw(i)); + } + size += dataSize; + size += 2 * getPathSelectorList().size(); + } + if (fastEval_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(18, fastEval_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static com.kcl.api.Spec.KeyValuePair getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ExecProgramArgs)) { + return super.equals(obj); + } + com.kcl.api.Spec.ExecProgramArgs other = (com.kcl.api.Spec.ExecProgramArgs) obj; + + if (!getWorkDir() + .equals(other.getWorkDir())) return false; + if (!getKFilenameListList() + .equals(other.getKFilenameListList())) return false; + if (!getKCodeListList() + .equals(other.getKCodeListList())) return false; + if (!getArgsList() + .equals(other.getArgsList())) return false; + if (!getOverridesList() + .equals(other.getOverridesList())) return false; + if (getDisableYamlResult() + != other.getDisableYamlResult()) return false; + if (getPrintOverrideAst() + != other.getPrintOverrideAst()) return false; + if (getStrictRangeCheck() + != other.getStrictRangeCheck()) return false; + if (getDisableNone() + != other.getDisableNone()) return false; + if (getVerbose() + != other.getVerbose()) return false; + if (getDebug() + != other.getDebug()) return false; + if (getSortKeys() + != other.getSortKeys()) return false; + if (!getExternalPkgsList() + .equals(other.getExternalPkgsList())) return false; + if (getIncludeSchemaTypePath() + != other.getIncludeSchemaTypePath()) return false; + if (getCompileOnly() + != other.getCompileOnly()) return false; + if (getShowHidden() + != other.getShowHidden()) return false; + if (!getPathSelectorList() + .equals(other.getPathSelectorList())) return false; + if (getFastEval() + != other.getFastEval()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KeyValuePair parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + WORK_DIR_FIELD_NUMBER; + hash = (53 * hash) + getWorkDir().hashCode(); + if (getKFilenameListCount() > 0) { + hash = (37 * hash) + K_FILENAME_LIST_FIELD_NUMBER; + hash = (53 * hash) + getKFilenameListList().hashCode(); + } + if (getKCodeListCount() > 0) { + hash = (37 * hash) + K_CODE_LIST_FIELD_NUMBER; + hash = (53 * hash) + getKCodeListList().hashCode(); + } + if (getArgsCount() > 0) { + hash = (37 * hash) + ARGS_FIELD_NUMBER; + hash = (53 * hash) + getArgsList().hashCode(); + } + if (getOverridesCount() > 0) { + hash = (37 * hash) + OVERRIDES_FIELD_NUMBER; + hash = (53 * hash) + getOverridesList().hashCode(); + } + hash = (37 * hash) + DISABLE_YAML_RESULT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisableYamlResult()); + hash = (37 * hash) + PRINT_OVERRIDE_AST_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPrintOverrideAst()); + hash = (37 * hash) + STRICT_RANGE_CHECK_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStrictRangeCheck()); + hash = (37 * hash) + DISABLE_NONE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisableNone()); + hash = (37 * hash) + VERBOSE_FIELD_NUMBER; + hash = (53 * hash) + getVerbose(); + hash = (37 * hash) + DEBUG_FIELD_NUMBER; + hash = (53 * hash) + getDebug(); + hash = (37 * hash) + SORT_KEYS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSortKeys()); + if (getExternalPkgsCount() > 0) { + hash = (37 * hash) + EXTERNAL_PKGS_FIELD_NUMBER; + hash = (53 * hash) + getExternalPkgsList().hashCode(); + } + hash = (37 * hash) + INCLUDE_SCHEMA_TYPE_PATH_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeSchemaTypePath()); + hash = (37 * hash) + COMPILE_ONLY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCompileOnly()); + hash = (37 * hash) + SHOW_HIDDEN_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getShowHidden()); + if (getPathSelectorCount() > 0) { + hash = (37 * hash) + PATH_SELECTOR_FIELD_NUMBER; + hash = (53 * hash) + getPathSelectorList().hashCode(); + } + hash = (37 * hash) + FAST_EVAL_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFastEval()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + public static com.kcl.api.Spec.ExecProgramArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ExecProgramArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ExecProgramArgs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ExecProgramArgs parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ExecProgramArgs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ExecProgramArgs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ExecProgramArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ExecProgramArgs parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static com.kcl.api.Spec.ExecProgramArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public com.kcl.api.Spec.KeyValuePair getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface Rename_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Rename_Args) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * File path to the package root.
-         * 
- * - * string package_root = 1; - * - * @return The packageRoot. - */ - java.lang.String getPackageRoot(); - - /** - *
-         * File path to the package root.
-         * 
- * - * string package_root = 1; - * - * @return The bytes for packageRoot. - */ - com.google.protobuf.ByteString getPackageRootBytes(); - - /** - *
-         * Path to the target symbol to be renamed.
-         * 
- * - * string symbol_path = 2; - * - * @return The symbolPath. - */ - java.lang.String getSymbolPath(); - - /** - *
-         * Path to the target symbol to be renamed.
-         * 
- * - * string symbol_path = 2; - * - * @return The bytes for symbolPath. - */ - com.google.protobuf.ByteString getSymbolPathBytes(); - - /** - *
-         * Paths to the source code files.
-         * 
- * - * repeated string file_paths = 3; - * - * @return A list containing the filePaths. - */ - java.util.List getFilePathsList(); - - /** - *
-         * Paths to the source code files.
-         * 
- * - * repeated string file_paths = 3; - * - * @return The count of filePaths. - */ - int getFilePathsCount(); - - /** - *
-         * Paths to the source code files.
-         * 
- * - * repeated string file_paths = 3; - * - * @param index - * The index of the element to return. - * - * @return The filePaths at the given index. - */ - java.lang.String getFilePaths(int index); - - /** - *
-         * Paths to the source code files.
-         * 
- * - * repeated string file_paths = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the filePaths at the given index. - */ - com.google.protobuf.ByteString getFilePathsBytes(int index); - - /** - *
-         * New name of the symbol.
-         * 
- * - * string new_name = 4; - * - * @return The newName. - */ - java.lang.String getNewName(); - - /** - *
-         * New name of the symbol.
-         * 
- * - * string new_name = 4; - * - * @return The bytes for newName. - */ - com.google.protobuf.ByteString getNewNameBytes(); + public static com.kcl.api.Spec.ExecProgramArgs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.ExecProgramArgs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ExecProgramArgs parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ExecProgramArgs prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** *
-     * Message for rename request arguments.
+     * Message for execute program request arguments.
      * 
* - * Protobuf type {@code com.kcl.api.Rename_Args} + * Protobuf type {@code com.kcl.api.ExecProgramArgs} */ - public static final class Rename_Args extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Rename_Args) - Rename_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", Rename_Args.class.getName()); - } - - // Use Rename_Args.newBuilder() to construct. - private Rename_Args(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private Rename_Args() { - packageRoot_ = ""; - symbolPath_ = ""; - filePaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - newName_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Args_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Rename_Args.class, - com.kcl.api.Spec.Rename_Args.Builder.class); - } - - public static final int PACKAGE_ROOT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object packageRoot_ = ""; - - /** - *
-         * File path to the package root.
-         * 
- * - * string package_root = 1; - * - * @return The packageRoot. - */ - @java.lang.Override - public java.lang.String getPackageRoot() { - java.lang.Object ref = packageRoot_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - packageRoot_ = s; - return s; - } - } - - /** - *
-         * File path to the package root.
-         * 
- * - * string package_root = 1; - * - * @return The bytes for packageRoot. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPackageRootBytes() { - java.lang.Object ref = packageRoot_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - packageRoot_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SYMBOL_PATH_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object symbolPath_ = ""; - - /** - *
-         * Path to the target symbol to be renamed.
-         * 
- * - * string symbol_path = 2; - * - * @return The symbolPath. - */ - @java.lang.Override - public java.lang.String getSymbolPath() { - java.lang.Object ref = symbolPath_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - symbolPath_ = s; - return s; - } - } - - /** - *
-         * Path to the target symbol to be renamed.
-         * 
- * - * string symbol_path = 2; - * - * @return The bytes for symbolPath. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSymbolPathBytes() { - java.lang.Object ref = symbolPath_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - symbolPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FILE_PATHS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList filePaths_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - *
-         * Paths to the source code files.
-         * 
- * - * repeated string file_paths = 3; - * - * @return A list containing the filePaths. - */ - public com.google.protobuf.ProtocolStringList getFilePathsList() { - return filePaths_; - } - - /** - *
-         * Paths to the source code files.
-         * 
- * - * repeated string file_paths = 3; - * - * @return The count of filePaths. - */ - public int getFilePathsCount() { - return filePaths_.size(); - } - - /** - *
-         * Paths to the source code files.
-         * 
- * - * repeated string file_paths = 3; - * - * @param index - * The index of the element to return. - * - * @return The filePaths at the given index. - */ - public java.lang.String getFilePaths(int index) { - return filePaths_.get(index); - } - - /** - *
-         * Paths to the source code files.
-         * 
- * - * repeated string file_paths = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the filePaths at the given index. - */ - public com.google.protobuf.ByteString getFilePathsBytes(int index) { - return filePaths_.getByteString(index); - } - - public static final int NEW_NAME_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private volatile java.lang.Object newName_ = ""; - - /** - *
-         * New name of the symbol.
-         * 
- * - * string new_name = 4; - * - * @return The newName. - */ - @java.lang.Override - public java.lang.String getNewName() { - java.lang.Object ref = newName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ExecProgramArgs) + com.kcl.api.Spec.ExecProgramArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgramArgs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgramArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ExecProgramArgs.class, com.kcl.api.Spec.ExecProgramArgs.Builder.class); + } + + // Construct using com.kcl.api.Spec.ExecProgramArgs.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + workDir_ = ""; + kFilenameList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + kCodeList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + if (argsBuilder_ == null) { + args_ = java.util.Collections.emptyList(); + } else { + args_ = null; + argsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + overrides_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + disableYamlResult_ = false; + printOverrideAst_ = false; + strictRangeCheck_ = false; + disableNone_ = false; + verbose_ = 0; + debug_ = 0; + sortKeys_ = false; + if (externalPkgsBuilder_ == null) { + externalPkgs_ = java.util.Collections.emptyList(); + } else { + externalPkgs_ = null; + externalPkgsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00001000); + includeSchemaTypePath_ = false; + compileOnly_ = false; + showHidden_ = false; + pathSelector_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + fastEval_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgramArgs_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ExecProgramArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ExecProgramArgs build() { + com.kcl.api.Spec.ExecProgramArgs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ExecProgramArgs buildPartial() { + com.kcl.api.Spec.ExecProgramArgs result = new com.kcl.api.Spec.ExecProgramArgs(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.ExecProgramArgs result) { + if (argsBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + args_ = java.util.Collections.unmodifiableList(args_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.args_ = args_; + } else { + result.args_ = argsBuilder_.build(); + } + if (externalPkgsBuilder_ == null) { + if (((bitField0_ & 0x00001000) != 0)) { + externalPkgs_ = java.util.Collections.unmodifiableList(externalPkgs_); + bitField0_ = (bitField0_ & ~0x00001000); + } + result.externalPkgs_ = externalPkgs_; + } else { + result.externalPkgs_ = externalPkgsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.ExecProgramArgs result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.workDir_ = workDir_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + kFilenameList_.makeImmutable(); + result.kFilenameList_ = kFilenameList_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + kCodeList_.makeImmutable(); + result.kCodeList_ = kCodeList_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + overrides_.makeImmutable(); + result.overrides_ = overrides_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.disableYamlResult_ = disableYamlResult_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.printOverrideAst_ = printOverrideAst_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.strictRangeCheck_ = strictRangeCheck_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.disableNone_ = disableNone_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.verbose_ = verbose_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.debug_ = debug_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.sortKeys_ = sortKeys_; + } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.includeSchemaTypePath_ = includeSchemaTypePath_; + } + if (((from_bitField0_ & 0x00004000) != 0)) { + result.compileOnly_ = compileOnly_; + } + if (((from_bitField0_ & 0x00008000) != 0)) { + result.showHidden_ = showHidden_; + } + if (((from_bitField0_ & 0x00010000) != 0)) { + pathSelector_.makeImmutable(); + result.pathSelector_ = pathSelector_; + } + if (((from_bitField0_ & 0x00020000) != 0)) { + result.fastEval_ = fastEval_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ExecProgramArgs) { + return mergeFrom((com.kcl.api.Spec.ExecProgramArgs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ExecProgramArgs other) { + if (other == com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance()) return this; + if (!other.getWorkDir().isEmpty()) { + workDir_ = other.workDir_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.kFilenameList_.isEmpty()) { + if (kFilenameList_.isEmpty()) { + kFilenameList_ = other.kFilenameList_; + bitField0_ |= 0x00000002; + } else { + ensureKFilenameListIsMutable(); + kFilenameList_.addAll(other.kFilenameList_); + } + onChanged(); + } + if (!other.kCodeList_.isEmpty()) { + if (kCodeList_.isEmpty()) { + kCodeList_ = other.kCodeList_; + bitField0_ |= 0x00000004; + } else { + ensureKCodeListIsMutable(); + kCodeList_.addAll(other.kCodeList_); + } + onChanged(); + } + if (argsBuilder_ == null) { + if (!other.args_.isEmpty()) { + if (args_.isEmpty()) { + args_ = other.args_; + bitField0_ = (bitField0_ & ~0x00000008); } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - newName_ = s; - return s; - } - } - - /** - *
-         * New name of the symbol.
-         * 
- * - * string new_name = 4; - * - * @return The bytes for newName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNewNameBytes() { - java.lang.Object ref = newName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - newName_ = b; - return b; + ensureArgsIsMutable(); + args_.addAll(other.args_); + } + onChanged(); + } + } else { + if (!other.args_.isEmpty()) { + if (argsBuilder_.isEmpty()) { + argsBuilder_.dispose(); + argsBuilder_ = null; + args_ = other.args_; + bitField0_ = (bitField0_ & ~0x00000008); + argsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetArgsFieldBuilder() : null; } else { - return (com.google.protobuf.ByteString) ref; + argsBuilder_.addAllMessages(other.args_); } + } } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; + if (!other.overrides_.isEmpty()) { + if (overrides_.isEmpty()) { + overrides_ = other.overrides_; + bitField0_ |= 0x00000010; + } else { + ensureOverridesIsMutable(); + overrides_.addAll(other.overrides_); + } + onChanged(); } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(packageRoot_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, packageRoot_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(symbolPath_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, symbolPath_); - } - for (int i = 0; i < filePaths_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, filePaths_.getRaw(i)); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(newName_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 4, newName_); - } - getUnknownFields().writeTo(output); + if (other.getDisableYamlResult() != false) { + setDisableYamlResult(other.getDisableYamlResult()); } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(packageRoot_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, packageRoot_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(symbolPath_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, symbolPath_); - } - { - int dataSize = 0; - for (int i = 0; i < filePaths_.size(); i++) { - dataSize += computeStringSizeNoTag(filePaths_.getRaw(i)); - } - size += dataSize; - size += 1 * getFilePathsList().size(); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(newName_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(4, newName_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; + if (other.getPrintOverrideAst() != false) { + setPrintOverrideAst(other.getPrintOverrideAst()); } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Rename_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.Rename_Args other = (com.kcl.api.Spec.Rename_Args) obj; - - if (!getPackageRoot().equals(other.getPackageRoot())) - return false; - if (!getSymbolPath().equals(other.getSymbolPath())) - return false; - if (!getFilePathsList().equals(other.getFilePathsList())) - return false; - if (!getNewName().equals(other.getNewName())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; + if (other.getStrictRangeCheck() != false) { + setStrictRangeCheck(other.getStrictRangeCheck()); } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PACKAGE_ROOT_FIELD_NUMBER; - hash = (53 * hash) + getPackageRoot().hashCode(); - hash = (37 * hash) + SYMBOL_PATH_FIELD_NUMBER; - hash = (53 * hash) + getSymbolPath().hashCode(); - if (getFilePathsCount() > 0) { - hash = (37 * hash) + FILE_PATHS_FIELD_NUMBER; - hash = (53 * hash) + getFilePathsList().hashCode(); - } - hash = (37 * hash) + NEW_NAME_FIELD_NUMBER; - hash = (53 * hash) + getNewName().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; + if (other.getDisableNone() != false) { + setDisableNone(other.getDisableNone()); } - - public static com.kcl.api.Spec.Rename_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + if (other.getVerbose() != 0) { + setVerbose(other.getVerbose()); } - - public static com.kcl.api.Spec.Rename_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + if (other.getDebug() != 0) { + setDebug(other.getDebug()); } - - public static com.kcl.api.Spec.Rename_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + if (other.getSortKeys() != false) { + setSortKeys(other.getSortKeys()); } + if (externalPkgsBuilder_ == null) { + if (!other.externalPkgs_.isEmpty()) { + if (externalPkgs_.isEmpty()) { + externalPkgs_ = other.externalPkgs_; + bitField0_ = (bitField0_ & ~0x00001000); + } else { + ensureExternalPkgsIsMutable(); + externalPkgs_.addAll(other.externalPkgs_); + } + onChanged(); + } + } else { + if (!other.externalPkgs_.isEmpty()) { + if (externalPkgsBuilder_.isEmpty()) { + externalPkgsBuilder_.dispose(); + externalPkgsBuilder_ = null; + externalPkgs_ = other.externalPkgs_; + bitField0_ = (bitField0_ & ~0x00001000); + externalPkgsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetExternalPkgsFieldBuilder() : null; + } else { + externalPkgsBuilder_.addAllMessages(other.externalPkgs_); + } + } + } + if (other.getIncludeSchemaTypePath() != false) { + setIncludeSchemaTypePath(other.getIncludeSchemaTypePath()); + } + if (other.getCompileOnly() != false) { + setCompileOnly(other.getCompileOnly()); + } + if (other.getShowHidden() != false) { + setShowHidden(other.getShowHidden()); + } + if (!other.pathSelector_.isEmpty()) { + if (pathSelector_.isEmpty()) { + pathSelector_ = other.pathSelector_; + bitField0_ |= 0x00010000; + } else { + ensurePathSelectorIsMutable(); + pathSelector_.addAll(other.pathSelector_); + } + onChanged(); + } + if (other.getFastEval() != false) { + setFastEval(other.getFastEval()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + workDir_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureKFilenameListIsMutable(); + kFilenameList_.add(s); + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureKCodeListIsMutable(); + kCodeList_.add(s); + break; + } // case 26 + case 34: { + com.kcl.api.Spec.Argument m = + input.readMessage( + com.kcl.api.Spec.Argument.parser(), + extensionRegistry); + if (argsBuilder_ == null) { + ensureArgsIsMutable(); + args_.add(m); + } else { + argsBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + ensureOverridesIsMutable(); + overrides_.add(s); + break; + } // case 42 + case 48: { + disableYamlResult_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: { + printOverrideAst_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: { + strictRangeCheck_ = input.readBool(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 72: { + disableNone_ = input.readBool(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 80: { + verbose_ = input.readInt32(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 88: { + debug_ = input.readInt32(); + bitField0_ |= 0x00000400; + break; + } // case 88 + case 96: { + sortKeys_ = input.readBool(); + bitField0_ |= 0x00000800; + break; + } // case 96 + case 106: { + com.kcl.api.Spec.ExternalPkg m = + input.readMessage( + com.kcl.api.Spec.ExternalPkg.parser(), + extensionRegistry); + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(m); + } else { + externalPkgsBuilder_.addMessage(m); + } + break; + } // case 106 + case 112: { + includeSchemaTypePath_ = input.readBool(); + bitField0_ |= 0x00002000; + break; + } // case 112 + case 120: { + compileOnly_ = input.readBool(); + bitField0_ |= 0x00004000; + break; + } // case 120 + case 128: { + showHidden_ = input.readBool(); + bitField0_ |= 0x00008000; + break; + } // case 128 + case 138: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePathSelectorIsMutable(); + pathSelector_.add(s); + break; + } // case 138 + case 144: { + fastEval_ = input.readBool(); + bitField0_ |= 0x00020000; + break; + } // case 144 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object workDir_ = ""; + /** + *
+       * Working directory.
+       * 
+ * + * string work_dir = 1; + * @return The workDir. + */ + public java.lang.String getWorkDir() { + java.lang.Object ref = workDir_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workDir_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Working directory.
+       * 
+ * + * string work_dir = 1; + * @return The bytes for workDir. + */ + public com.google.protobuf.ByteString + getWorkDirBytes() { + java.lang.Object ref = workDir_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workDir_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Working directory.
+       * 
+ * + * string work_dir = 1; + * @param value The workDir to set. + * @return This builder for chaining. + */ + public Builder setWorkDir( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + workDir_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Working directory.
+       * 
+ * + * string work_dir = 1; + * @return This builder for chaining. + */ + public Builder clearWorkDir() { + workDir_ = getDefaultInstance().getWorkDir(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Working directory.
+       * 
+ * + * string work_dir = 1; + * @param value The bytes for workDir to set. + * @return This builder for chaining. + */ + public Builder setWorkDirBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + workDir_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList kFilenameList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureKFilenameListIsMutable() { + if (!kFilenameList_.isModifiable()) { + kFilenameList_ = new com.google.protobuf.LazyStringArrayList(kFilenameList_); + } + bitField0_ |= 0x00000002; + } + /** + *
+       * List of KCL filenames.
+       * 
+ * + * repeated string k_filename_list = 2; + * @return A list containing the kFilenameList. + */ + public com.google.protobuf.ProtocolStringList + getKFilenameListList() { + kFilenameList_.makeImmutable(); + return kFilenameList_; + } + /** + *
+       * List of KCL filenames.
+       * 
+ * + * repeated string k_filename_list = 2; + * @return The count of kFilenameList. + */ + public int getKFilenameListCount() { + return kFilenameList_.size(); + } + /** + *
+       * List of KCL filenames.
+       * 
+ * + * repeated string k_filename_list = 2; + * @param index The index of the element to return. + * @return The kFilenameList at the given index. + */ + public java.lang.String getKFilenameList(int index) { + return kFilenameList_.get(index); + } + /** + *
+       * List of KCL filenames.
+       * 
+ * + * repeated string k_filename_list = 2; + * @param index The index of the value to return. + * @return The bytes of the kFilenameList at the given index. + */ + public com.google.protobuf.ByteString + getKFilenameListBytes(int index) { + return kFilenameList_.getByteString(index); + } + /** + *
+       * List of KCL filenames.
+       * 
+ * + * repeated string k_filename_list = 2; + * @param index The index to set the value at. + * @param value The kFilenameList to set. + * @return This builder for chaining. + */ + public Builder setKFilenameList( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureKFilenameListIsMutable(); + kFilenameList_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * List of KCL filenames.
+       * 
+ * + * repeated string k_filename_list = 2; + * @param value The kFilenameList to add. + * @return This builder for chaining. + */ + public Builder addKFilenameList( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureKFilenameListIsMutable(); + kFilenameList_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * List of KCL filenames.
+       * 
+ * + * repeated string k_filename_list = 2; + * @param values The kFilenameList to add. + * @return This builder for chaining. + */ + public Builder addAllKFilenameList( + java.lang.Iterable values) { + ensureKFilenameListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, kFilenameList_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * List of KCL filenames.
+       * 
+ * + * repeated string k_filename_list = 2; + * @return This builder for chaining. + */ + public Builder clearKFilenameList() { + kFilenameList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + *
+       * List of KCL filenames.
+       * 
+ * + * repeated string k_filename_list = 2; + * @param value The bytes of the kFilenameList to add. + * @return This builder for chaining. + */ + public Builder addKFilenameListBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureKFilenameListIsMutable(); + kFilenameList_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList kCodeList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureKCodeListIsMutable() { + if (!kCodeList_.isModifiable()) { + kCodeList_ = new com.google.protobuf.LazyStringArrayList(kCodeList_); + } + bitField0_ |= 0x00000004; + } + /** + *
+       * List of KCL codes.
+       * 
+ * + * repeated string k_code_list = 3; + * @return A list containing the kCodeList. + */ + public com.google.protobuf.ProtocolStringList + getKCodeListList() { + kCodeList_.makeImmutable(); + return kCodeList_; + } + /** + *
+       * List of KCL codes.
+       * 
+ * + * repeated string k_code_list = 3; + * @return The count of kCodeList. + */ + public int getKCodeListCount() { + return kCodeList_.size(); + } + /** + *
+       * List of KCL codes.
+       * 
+ * + * repeated string k_code_list = 3; + * @param index The index of the element to return. + * @return The kCodeList at the given index. + */ + public java.lang.String getKCodeList(int index) { + return kCodeList_.get(index); + } + /** + *
+       * List of KCL codes.
+       * 
+ * + * repeated string k_code_list = 3; + * @param index The index of the value to return. + * @return The bytes of the kCodeList at the given index. + */ + public com.google.protobuf.ByteString + getKCodeListBytes(int index) { + return kCodeList_.getByteString(index); + } + /** + *
+       * List of KCL codes.
+       * 
+ * + * repeated string k_code_list = 3; + * @param index The index to set the value at. + * @param value The kCodeList to set. + * @return This builder for chaining. + */ + public Builder setKCodeList( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureKCodeListIsMutable(); + kCodeList_.set(index, value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * List of KCL codes.
+       * 
+ * + * repeated string k_code_list = 3; + * @param value The kCodeList to add. + * @return This builder for chaining. + */ + public Builder addKCodeList( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureKCodeListIsMutable(); + kCodeList_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * List of KCL codes.
+       * 
+ * + * repeated string k_code_list = 3; + * @param values The kCodeList to add. + * @return This builder for chaining. + */ + public Builder addAllKCodeList( + java.lang.Iterable values) { + ensureKCodeListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, kCodeList_); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * List of KCL codes.
+       * 
+ * + * repeated string k_code_list = 3; + * @return This builder for chaining. + */ + public Builder clearKCodeList() { + kCodeList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; + onChanged(); + return this; + } + /** + *
+       * List of KCL codes.
+       * 
+ * + * repeated string k_code_list = 3; + * @param value The bytes of the kCodeList to add. + * @return This builder for chaining. + */ + public Builder addKCodeListBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureKCodeListIsMutable(); + kCodeList_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.util.List args_ = + java.util.Collections.emptyList(); + private void ensureArgsIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + args_ = new java.util.ArrayList(args_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Argument, com.kcl.api.Spec.Argument.Builder, com.kcl.api.Spec.ArgumentOrBuilder> argsBuilder_; + + /** + *
+       * Arguments for the program.
+       * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + public java.util.List getArgsList() { + if (argsBuilder_ == null) { + return java.util.Collections.unmodifiableList(args_); + } else { + return argsBuilder_.getMessageList(); + } + } + /** + *
+       * Arguments for the program.
+       * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + public int getArgsCount() { + if (argsBuilder_ == null) { + return args_.size(); + } else { + return argsBuilder_.getCount(); + } + } + /** + *
+       * Arguments for the program.
+       * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + public com.kcl.api.Spec.Argument getArgs(int index) { + if (argsBuilder_ == null) { + return args_.get(index); + } else { + return argsBuilder_.getMessage(index); + } + } + /** + *
+       * Arguments for the program.
+       * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + public Builder setArgs( + int index, com.kcl.api.Spec.Argument value) { + if (argsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArgsIsMutable(); + args_.set(index, value); + onChanged(); + } else { + argsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * Arguments for the program.
+       * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + public Builder setArgs( + int index, com.kcl.api.Spec.Argument.Builder builderForValue) { + if (argsBuilder_ == null) { + ensureArgsIsMutable(); + args_.set(index, builderForValue.build()); + onChanged(); + } else { + argsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Arguments for the program.
+       * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + public Builder addArgs(com.kcl.api.Spec.Argument value) { + if (argsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArgsIsMutable(); + args_.add(value); + onChanged(); + } else { + argsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * Arguments for the program.
+       * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + public Builder addArgs( + int index, com.kcl.api.Spec.Argument value) { + if (argsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArgsIsMutable(); + args_.add(index, value); + onChanged(); + } else { + argsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * Arguments for the program.
+       * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + public Builder addArgs( + com.kcl.api.Spec.Argument.Builder builderForValue) { + if (argsBuilder_ == null) { + ensureArgsIsMutable(); + args_.add(builderForValue.build()); + onChanged(); + } else { + argsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * Arguments for the program.
+       * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + public Builder addArgs( + int index, com.kcl.api.Spec.Argument.Builder builderForValue) { + if (argsBuilder_ == null) { + ensureArgsIsMutable(); + args_.add(index, builderForValue.build()); + onChanged(); + } else { + argsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Arguments for the program.
+       * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + public Builder addAllArgs( + java.lang.Iterable values) { + if (argsBuilder_ == null) { + ensureArgsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, args_); + onChanged(); + } else { + argsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * Arguments for the program.
+       * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + public Builder clearArgs() { + if (argsBuilder_ == null) { + args_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + argsBuilder_.clear(); + } + return this; + } + /** + *
+       * Arguments for the program.
+       * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + public Builder removeArgs(int index) { + if (argsBuilder_ == null) { + ensureArgsIsMutable(); + args_.remove(index); + onChanged(); + } else { + argsBuilder_.remove(index); + } + return this; + } + /** + *
+       * Arguments for the program.
+       * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + public com.kcl.api.Spec.Argument.Builder getArgsBuilder( + int index) { + return internalGetArgsFieldBuilder().getBuilder(index); + } + /** + *
+       * Arguments for the program.
+       * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + public com.kcl.api.Spec.ArgumentOrBuilder getArgsOrBuilder( + int index) { + if (argsBuilder_ == null) { + return args_.get(index); } else { + return argsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * Arguments for the program.
+       * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + public java.util.List + getArgsOrBuilderList() { + if (argsBuilder_ != null) { + return argsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(args_); + } + } + /** + *
+       * Arguments for the program.
+       * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + public com.kcl.api.Spec.Argument.Builder addArgsBuilder() { + return internalGetArgsFieldBuilder().addBuilder( + com.kcl.api.Spec.Argument.getDefaultInstance()); + } + /** + *
+       * Arguments for the program.
+       * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + public com.kcl.api.Spec.Argument.Builder addArgsBuilder( + int index) { + return internalGetArgsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.Argument.getDefaultInstance()); + } + /** + *
+       * Arguments for the program.
+       * 
+ * + * repeated .com.kcl.api.Argument args = 4; + */ + public java.util.List + getArgsBuilderList() { + return internalGetArgsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Argument, com.kcl.api.Spec.Argument.Builder, com.kcl.api.Spec.ArgumentOrBuilder> + internalGetArgsFieldBuilder() { + if (argsBuilder_ == null) { + argsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Argument, com.kcl.api.Spec.Argument.Builder, com.kcl.api.Spec.ArgumentOrBuilder>( + args_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + args_ = null; + } + return argsBuilder_; + } + + private com.google.protobuf.LazyStringArrayList overrides_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureOverridesIsMutable() { + if (!overrides_.isModifiable()) { + overrides_ = new com.google.protobuf.LazyStringArrayList(overrides_); + } + bitField0_ |= 0x00000010; + } + /** + *
+       * Override configurations.
+       * 
+ * + * repeated string overrides = 5; + * @return A list containing the overrides. + */ + public com.google.protobuf.ProtocolStringList + getOverridesList() { + overrides_.makeImmutable(); + return overrides_; + } + /** + *
+       * Override configurations.
+       * 
+ * + * repeated string overrides = 5; + * @return The count of overrides. + */ + public int getOverridesCount() { + return overrides_.size(); + } + /** + *
+       * Override configurations.
+       * 
+ * + * repeated string overrides = 5; + * @param index The index of the element to return. + * @return The overrides at the given index. + */ + public java.lang.String getOverrides(int index) { + return overrides_.get(index); + } + /** + *
+       * Override configurations.
+       * 
+ * + * repeated string overrides = 5; + * @param index The index of the value to return. + * @return The bytes of the overrides at the given index. + */ + public com.google.protobuf.ByteString + getOverridesBytes(int index) { + return overrides_.getByteString(index); + } + /** + *
+       * Override configurations.
+       * 
+ * + * repeated string overrides = 5; + * @param index The index to set the value at. + * @param value The overrides to set. + * @return This builder for chaining. + */ + public Builder setOverrides( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureOverridesIsMutable(); + overrides_.set(index, value); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+       * Override configurations.
+       * 
+ * + * repeated string overrides = 5; + * @param value The overrides to add. + * @return This builder for chaining. + */ + public Builder addOverrides( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureOverridesIsMutable(); + overrides_.add(value); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+       * Override configurations.
+       * 
+ * + * repeated string overrides = 5; + * @param values The overrides to add. + * @return This builder for chaining. + */ + public Builder addAllOverrides( + java.lang.Iterable values) { + ensureOverridesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, overrides_); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+       * Override configurations.
+       * 
+ * + * repeated string overrides = 5; + * @return This builder for chaining. + */ + public Builder clearOverrides() { + overrides_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010);; + onChanged(); + return this; + } + /** + *
+       * Override configurations.
+       * 
+ * + * repeated string overrides = 5; + * @param value The bytes of the overrides to add. + * @return This builder for chaining. + */ + public Builder addOverridesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureOverridesIsMutable(); + overrides_.add(value); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private boolean disableYamlResult_ ; + /** + *
+       * Flag to disable YAML result.
+       * 
+ * + * bool disable_yaml_result = 6; + * @return The disableYamlResult. + */ + @java.lang.Override + public boolean getDisableYamlResult() { + return disableYamlResult_; + } + /** + *
+       * Flag to disable YAML result.
+       * 
+ * + * bool disable_yaml_result = 6; + * @param value The disableYamlResult to set. + * @return This builder for chaining. + */ + public Builder setDisableYamlResult(boolean value) { + + disableYamlResult_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+       * Flag to disable YAML result.
+       * 
+ * + * bool disable_yaml_result = 6; + * @return This builder for chaining. + */ + public Builder clearDisableYamlResult() { + bitField0_ = (bitField0_ & ~0x00000020); + disableYamlResult_ = false; + onChanged(); + return this; + } + + private boolean printOverrideAst_ ; + /** + *
+       * Flag to print override AST.
+       * 
+ * + * bool print_override_ast = 7; + * @return The printOverrideAst. + */ + @java.lang.Override + public boolean getPrintOverrideAst() { + return printOverrideAst_; + } + /** + *
+       * Flag to print override AST.
+       * 
+ * + * bool print_override_ast = 7; + * @param value The printOverrideAst to set. + * @return This builder for chaining. + */ + public Builder setPrintOverrideAst(boolean value) { + + printOverrideAst_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+       * Flag to print override AST.
+       * 
+ * + * bool print_override_ast = 7; + * @return This builder for chaining. + */ + public Builder clearPrintOverrideAst() { + bitField0_ = (bitField0_ & ~0x00000040); + printOverrideAst_ = false; + onChanged(); + return this; + } + + private boolean strictRangeCheck_ ; + /** + *
+       * Flag for strict range check.
+       * 
+ * + * bool strict_range_check = 8; + * @return The strictRangeCheck. + */ + @java.lang.Override + public boolean getStrictRangeCheck() { + return strictRangeCheck_; + } + /** + *
+       * Flag for strict range check.
+       * 
+ * + * bool strict_range_check = 8; + * @param value The strictRangeCheck to set. + * @return This builder for chaining. + */ + public Builder setStrictRangeCheck(boolean value) { + + strictRangeCheck_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+       * Flag for strict range check.
+       * 
+ * + * bool strict_range_check = 8; + * @return This builder for chaining. + */ + public Builder clearStrictRangeCheck() { + bitField0_ = (bitField0_ & ~0x00000080); + strictRangeCheck_ = false; + onChanged(); + return this; + } + + private boolean disableNone_ ; + /** + *
+       * Flag to disable none values.
+       * 
+ * + * bool disable_none = 9; + * @return The disableNone. + */ + @java.lang.Override + public boolean getDisableNone() { + return disableNone_; + } + /** + *
+       * Flag to disable none values.
+       * 
+ * + * bool disable_none = 9; + * @param value The disableNone to set. + * @return This builder for chaining. + */ + public Builder setDisableNone(boolean value) { + + disableNone_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + *
+       * Flag to disable none values.
+       * 
+ * + * bool disable_none = 9; + * @return This builder for chaining. + */ + public Builder clearDisableNone() { + bitField0_ = (bitField0_ & ~0x00000100); + disableNone_ = false; + onChanged(); + return this; + } + + private int verbose_ ; + /** + *
+       * Verbose level.
+       * 
+ * + * int32 verbose = 10; + * @return The verbose. + */ + @java.lang.Override + public int getVerbose() { + return verbose_; + } + /** + *
+       * Verbose level.
+       * 
+ * + * int32 verbose = 10; + * @param value The verbose to set. + * @return This builder for chaining. + */ + public Builder setVerbose(int value) { + + verbose_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + *
+       * Verbose level.
+       * 
+ * + * int32 verbose = 10; + * @return This builder for chaining. + */ + public Builder clearVerbose() { + bitField0_ = (bitField0_ & ~0x00000200); + verbose_ = 0; + onChanged(); + return this; + } + + private int debug_ ; + /** + *
+       * Debug level.
+       * 
+ * + * int32 debug = 11; + * @return The debug. + */ + @java.lang.Override + public int getDebug() { + return debug_; + } + /** + *
+       * Debug level.
+       * 
+ * + * int32 debug = 11; + * @param value The debug to set. + * @return This builder for chaining. + */ + public Builder setDebug(int value) { + + debug_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + *
+       * Debug level.
+       * 
+ * + * int32 debug = 11; + * @return This builder for chaining. + */ + public Builder clearDebug() { + bitField0_ = (bitField0_ & ~0x00000400); + debug_ = 0; + onChanged(); + return this; + } + + private boolean sortKeys_ ; + /** + *
+       * Flag to sort keys in YAML/JSON results.
+       * 
+ * + * bool sort_keys = 12; + * @return The sortKeys. + */ + @java.lang.Override + public boolean getSortKeys() { + return sortKeys_; + } + /** + *
+       * Flag to sort keys in YAML/JSON results.
+       * 
+ * + * bool sort_keys = 12; + * @param value The sortKeys to set. + * @return This builder for chaining. + */ + public Builder setSortKeys(boolean value) { + + sortKeys_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + *
+       * Flag to sort keys in YAML/JSON results.
+       * 
+ * + * bool sort_keys = 12; + * @return This builder for chaining. + */ + public Builder clearSortKeys() { + bitField0_ = (bitField0_ & ~0x00000800); + sortKeys_ = false; + onChanged(); + return this; + } + + private java.util.List externalPkgs_ = + java.util.Collections.emptyList(); + private void ensureExternalPkgsIsMutable() { + if (!((bitField0_ & 0x00001000) != 0)) { + externalPkgs_ = new java.util.ArrayList(externalPkgs_); + bitField0_ |= 0x00001000; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder> externalPkgsBuilder_; + + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + public java.util.List getExternalPkgsList() { + if (externalPkgsBuilder_ == null) { + return java.util.Collections.unmodifiableList(externalPkgs_); + } else { + return externalPkgsBuilder_.getMessageList(); + } + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + public int getExternalPkgsCount() { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.size(); + } else { + return externalPkgsBuilder_.getCount(); + } + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + public com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index) { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.get(index); + } else { + return externalPkgsBuilder_.getMessage(index); + } + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + public Builder setExternalPkgs( + int index, com.kcl.api.Spec.ExternalPkg value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.set(index, value); + onChanged(); + } else { + externalPkgsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + public Builder setExternalPkgs( + int index, com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.set(index, builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + public Builder addExternalPkgs(com.kcl.api.Spec.ExternalPkg value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.add(value); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + public Builder addExternalPkgs( + int index, com.kcl.api.Spec.ExternalPkg value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.add(index, value); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + public Builder addExternalPkgs( + com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + public Builder addExternalPkgs( + int index, com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(index, builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + public Builder addAllExternalPkgs( + java.lang.Iterable values) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, externalPkgs_); + onChanged(); + } else { + externalPkgsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + public Builder clearExternalPkgs() { + if (externalPkgsBuilder_ == null) { + externalPkgs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00001000); + onChanged(); + } else { + externalPkgsBuilder_.clear(); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + public Builder removeExternalPkgs(int index) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.remove(index); + onChanged(); + } else { + externalPkgsBuilder_.remove(index); + } + return this; + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + public com.kcl.api.Spec.ExternalPkg.Builder getExternalPkgsBuilder( + int index) { + return internalGetExternalPkgsFieldBuilder().getBuilder(index); + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder( + int index) { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.get(index); } else { + return externalPkgsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + public java.util.List + getExternalPkgsOrBuilderList() { + if (externalPkgsBuilder_ != null) { + return externalPkgsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(externalPkgs_); + } + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder() { + return internalGetExternalPkgsFieldBuilder().addBuilder( + com.kcl.api.Spec.ExternalPkg.getDefaultInstance()); + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder( + int index) { + return internalGetExternalPkgsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.ExternalPkg.getDefaultInstance()); + } + /** + *
+       * External packages path.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 13; + */ + public java.util.List + getExternalPkgsBuilderList() { + return internalGetExternalPkgsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder> + internalGetExternalPkgsFieldBuilder() { + if (externalPkgsBuilder_ == null) { + externalPkgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder>( + externalPkgs_, + ((bitField0_ & 0x00001000) != 0), + getParentForChildren(), + isClean()); + externalPkgs_ = null; + } + return externalPkgsBuilder_; + } + + private boolean includeSchemaTypePath_ ; + /** + *
+       * Flag to include schema type path in results.
+       * 
+ * + * bool include_schema_type_path = 14; + * @return The includeSchemaTypePath. + */ + @java.lang.Override + public boolean getIncludeSchemaTypePath() { + return includeSchemaTypePath_; + } + /** + *
+       * Flag to include schema type path in results.
+       * 
+ * + * bool include_schema_type_path = 14; + * @param value The includeSchemaTypePath to set. + * @return This builder for chaining. + */ + public Builder setIncludeSchemaTypePath(boolean value) { + + includeSchemaTypePath_ = value; + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + *
+       * Flag to include schema type path in results.
+       * 
+ * + * bool include_schema_type_path = 14; + * @return This builder for chaining. + */ + public Builder clearIncludeSchemaTypePath() { + bitField0_ = (bitField0_ & ~0x00002000); + includeSchemaTypePath_ = false; + onChanged(); + return this; + } + + private boolean compileOnly_ ; + /** + *
+       * Flag to compile only without execution.
+       * 
+ * + * bool compile_only = 15; + * @return The compileOnly. + */ + @java.lang.Override + public boolean getCompileOnly() { + return compileOnly_; + } + /** + *
+       * Flag to compile only without execution.
+       * 
+ * + * bool compile_only = 15; + * @param value The compileOnly to set. + * @return This builder for chaining. + */ + public Builder setCompileOnly(boolean value) { + + compileOnly_ = value; + bitField0_ |= 0x00004000; + onChanged(); + return this; + } + /** + *
+       * Flag to compile only without execution.
+       * 
+ * + * bool compile_only = 15; + * @return This builder for chaining. + */ + public Builder clearCompileOnly() { + bitField0_ = (bitField0_ & ~0x00004000); + compileOnly_ = false; + onChanged(); + return this; + } + + private boolean showHidden_ ; + /** + *
+       * Flag to show hidden attributes.
+       * 
+ * + * bool show_hidden = 16; + * @return The showHidden. + */ + @java.lang.Override + public boolean getShowHidden() { + return showHidden_; + } + /** + *
+       * Flag to show hidden attributes.
+       * 
+ * + * bool show_hidden = 16; + * @param value The showHidden to set. + * @return This builder for chaining. + */ + public Builder setShowHidden(boolean value) { + + showHidden_ = value; + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + /** + *
+       * Flag to show hidden attributes.
+       * 
+ * + * bool show_hidden = 16; + * @return This builder for chaining. + */ + public Builder clearShowHidden() { + bitField0_ = (bitField0_ & ~0x00008000); + showHidden_ = false; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList pathSelector_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePathSelectorIsMutable() { + if (!pathSelector_.isModifiable()) { + pathSelector_ = new com.google.protobuf.LazyStringArrayList(pathSelector_); + } + bitField0_ |= 0x00010000; + } + /** + *
+       * Path selectors for results.
+       * 
+ * + * repeated string path_selector = 17; + * @return A list containing the pathSelector. + */ + public com.google.protobuf.ProtocolStringList + getPathSelectorList() { + pathSelector_.makeImmutable(); + return pathSelector_; + } + /** + *
+       * Path selectors for results.
+       * 
+ * + * repeated string path_selector = 17; + * @return The count of pathSelector. + */ + public int getPathSelectorCount() { + return pathSelector_.size(); + } + /** + *
+       * Path selectors for results.
+       * 
+ * + * repeated string path_selector = 17; + * @param index The index of the element to return. + * @return The pathSelector at the given index. + */ + public java.lang.String getPathSelector(int index) { + return pathSelector_.get(index); + } + /** + *
+       * Path selectors for results.
+       * 
+ * + * repeated string path_selector = 17; + * @param index The index of the value to return. + * @return The bytes of the pathSelector at the given index. + */ + public com.google.protobuf.ByteString + getPathSelectorBytes(int index) { + return pathSelector_.getByteString(index); + } + /** + *
+       * Path selectors for results.
+       * 
+ * + * repeated string path_selector = 17; + * @param index The index to set the value at. + * @param value The pathSelector to set. + * @return This builder for chaining. + */ + public Builder setPathSelector( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathSelectorIsMutable(); + pathSelector_.set(index, value); + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + /** + *
+       * Path selectors for results.
+       * 
+ * + * repeated string path_selector = 17; + * @param value The pathSelector to add. + * @return This builder for chaining. + */ + public Builder addPathSelector( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathSelectorIsMutable(); + pathSelector_.add(value); + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + /** + *
+       * Path selectors for results.
+       * 
+ * + * repeated string path_selector = 17; + * @param values The pathSelector to add. + * @return This builder for chaining. + */ + public Builder addAllPathSelector( + java.lang.Iterable values) { + ensurePathSelectorIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, pathSelector_); + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + /** + *
+       * Path selectors for results.
+       * 
+ * + * repeated string path_selector = 17; + * @return This builder for chaining. + */ + public Builder clearPathSelector() { + pathSelector_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00010000);; + onChanged(); + return this; + } + /** + *
+       * Path selectors for results.
+       * 
+ * + * repeated string path_selector = 17; + * @param value The bytes of the pathSelector to add. + * @return This builder for chaining. + */ + public Builder addPathSelectorBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensurePathSelectorIsMutable(); + pathSelector_.add(value); + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + + private boolean fastEval_ ; + /** + *
+       * Flag for fast evaluation.
+       * 
+ * + * bool fast_eval = 18; + * @return The fastEval. + */ + @java.lang.Override + public boolean getFastEval() { + return fastEval_; + } + /** + *
+       * Flag for fast evaluation.
+       * 
+ * + * bool fast_eval = 18; + * @param value The fastEval to set. + * @return This builder for chaining. + */ + public Builder setFastEval(boolean value) { + + fastEval_ = value; + bitField0_ |= 0x00020000; + onChanged(); + return this; + } + /** + *
+       * Flag for fast evaluation.
+       * 
+ * + * bool fast_eval = 18; + * @return This builder for chaining. + */ + public Builder clearFastEval() { + bitField0_ = (bitField0_ & ~0x00020000); + fastEval_ = false; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ExecProgramArgs) + } - public static com.kcl.api.Spec.Rename_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ExecProgramArgs) + private static final com.kcl.api.Spec.ExecProgramArgs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ExecProgramArgs(); + } - public static com.kcl.api.Spec.Rename_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static com.kcl.api.Spec.ExecProgramArgs getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.Rename_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecProgramArgs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static com.kcl.api.Spec.Rename_Args parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static com.kcl.api.Spec.Rename_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public com.kcl.api.Spec.ExecProgramArgs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.Rename_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } + } - public static com.kcl.api.Spec.Rename_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } + public interface ExecProgramResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ExecProgramResult) + com.google.protobuf.MessageOrBuilder { - public static com.kcl.api.Spec.Rename_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + /** + *
+     * Result in JSON format.
+     * 
+ * + * string json_result = 1; + * @return The jsonResult. + */ + java.lang.String getJsonResult(); + /** + *
+     * Result in JSON format.
+     * 
+ * + * string json_result = 1; + * @return The bytes for jsonResult. + */ + com.google.protobuf.ByteString + getJsonResultBytes(); - public static com.kcl.api.Spec.Rename_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + /** + *
+     * Result in YAML format.
+     * 
+ * + * string yaml_result = 2; + * @return The yamlResult. + */ + java.lang.String getYamlResult(); + /** + *
+     * Result in YAML format.
+     * 
+ * + * string yaml_result = 2; + * @return The bytes for yamlResult. + */ + com.google.protobuf.ByteString + getYamlResultBytes(); - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + /** + *
+     * Log message from execution.
+     * 
+ * + * string log_message = 3; + * @return The logMessage. + */ + java.lang.String getLogMessage(); + /** + *
+     * Log message from execution.
+     * 
+ * + * string log_message = 3; + * @return The bytes for logMessage. + */ + com.google.protobuf.ByteString + getLogMessageBytes(); - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + /** + *
+     * Error message from execution.
+     * 
+ * + * string err_message = 4; + * @return The errMessage. + */ + java.lang.String getErrMessage(); + /** + *
+     * Error message from execution.
+     * 
+ * + * string err_message = 4; + * @return The bytes for errMessage. + */ + com.google.protobuf.ByteString + getErrMessageBytes(); + } + /** + *
+   * Message for execute program response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.ExecProgramResult} + */ + public static final class ExecProgramResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ExecProgramResult) + ExecProgramResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "ExecProgramResult"); + } + // Use ExecProgramResult.newBuilder() to construct. + private ExecProgramResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ExecProgramResult() { + jsonResult_ = ""; + yamlResult_ = ""; + logMessage_ = ""; + errMessage_ = ""; + } - public static Builder newBuilder(com.kcl.api.Spec.Rename_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgramResult_descriptor; + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgramResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ExecProgramResult.class, com.kcl.api.Spec.ExecProgramResult.Builder.class); + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for rename request arguments.
-         * 
- * - * Protobuf type {@code com.kcl.api.Rename_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Rename_Args) - com.kcl.api.Spec.Rename_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Args_descriptor; - } + public static final int JSON_RESULT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object jsonResult_ = ""; + /** + *
+     * Result in JSON format.
+     * 
+ * + * string json_result = 1; + * @return The jsonResult. + */ + @java.lang.Override + public java.lang.String getJsonResult() { + java.lang.Object ref = jsonResult_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + jsonResult_ = s; + return s; + } + } + /** + *
+     * Result in JSON format.
+     * 
+ * + * string json_result = 1; + * @return The bytes for jsonResult. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getJsonResultBytes() { + java.lang.Object ref = jsonResult_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + jsonResult_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Rename_Args.class, - com.kcl.api.Spec.Rename_Args.Builder.class); - } + public static final int YAML_RESULT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object yamlResult_ = ""; + /** + *
+     * Result in YAML format.
+     * 
+ * + * string yaml_result = 2; + * @return The yamlResult. + */ + @java.lang.Override + public java.lang.String getYamlResult() { + java.lang.Object ref = yamlResult_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + yamlResult_ = s; + return s; + } + } + /** + *
+     * Result in YAML format.
+     * 
+ * + * string yaml_result = 2; + * @return The bytes for yamlResult. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getYamlResultBytes() { + java.lang.Object ref = yamlResult_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + yamlResult_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - // Construct using com.kcl.api.Spec.Rename_Args.newBuilder() - private Builder() { + public static final int LOG_MESSAGE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object logMessage_ = ""; + /** + *
+     * Log message from execution.
+     * 
+ * + * string log_message = 3; + * @return The logMessage. + */ + @java.lang.Override + public java.lang.String getLogMessage() { + java.lang.Object ref = logMessage_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + logMessage_ = s; + return s; + } + } + /** + *
+     * Log message from execution.
+     * 
+ * + * string log_message = 3; + * @return The bytes for logMessage. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getLogMessageBytes() { + java.lang.Object ref = logMessage_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + logMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - } + public static final int ERR_MESSAGE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object errMessage_ = ""; + /** + *
+     * Error message from execution.
+     * 
+ * + * string err_message = 4; + * @return The errMessage. + */ + @java.lang.Override + public java.lang.String getErrMessage() { + java.lang.Object ref = errMessage_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errMessage_ = s; + return s; + } + } + /** + *
+     * Error message from execution.
+     * 
+ * + * string err_message = 4; + * @return The bytes for errMessage. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getErrMessageBytes() { + java.lang.Object ref = errMessage_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - packageRoot_ = ""; - symbolPath_ = ""; - filePaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - newName_ = ""; - return this; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(jsonResult_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, jsonResult_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(yamlResult_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, yamlResult_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logMessage_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, logMessage_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errMessage_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, errMessage_); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Args_descriptor; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(jsonResult_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, jsonResult_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(yamlResult_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, yamlResult_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logMessage_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, logMessage_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errMessage_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, errMessage_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public com.kcl.api.Spec.Rename_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.Rename_Args.getDefaultInstance(); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ExecProgramResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.ExecProgramResult other = (com.kcl.api.Spec.ExecProgramResult) obj; + + if (!getJsonResult() + .equals(other.getJsonResult())) return false; + if (!getYamlResult() + .equals(other.getYamlResult())) return false; + if (!getLogMessage() + .equals(other.getLogMessage())) return false; + if (!getErrMessage() + .equals(other.getErrMessage())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public com.kcl.api.Spec.Rename_Args build() { - com.kcl.api.Spec.Rename_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + JSON_RESULT_FIELD_NUMBER; + hash = (53 * hash) + getJsonResult().hashCode(); + hash = (37 * hash) + YAML_RESULT_FIELD_NUMBER; + hash = (53 * hash) + getYamlResult().hashCode(); + hash = (37 * hash) + LOG_MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getLogMessage().hashCode(); + hash = (37 * hash) + ERR_MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getErrMessage().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public com.kcl.api.Spec.Rename_Args buildPartial() { - com.kcl.api.Spec.Rename_Args result = new com.kcl.api.Spec.Rename_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + public static com.kcl.api.Spec.ExecProgramResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ExecProgramResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ExecProgramResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ExecProgramResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ExecProgramResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ExecProgramResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ExecProgramResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ExecProgramResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - private void buildPartial0(com.kcl.api.Spec.Rename_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.packageRoot_ = packageRoot_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.symbolPath_ = symbolPath_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - filePaths_.makeImmutable(); - result.filePaths_ = filePaths_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.newName_ = newName_; - } - } + public static com.kcl.api.Spec.ExecProgramResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Rename_Args) { - return mergeFrom((com.kcl.api.Spec.Rename_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } + public static com.kcl.api.Spec.ExecProgramResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.ExecProgramResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ExecProgramResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public Builder mergeFrom(com.kcl.api.Spec.Rename_Args other) { - if (other == com.kcl.api.Spec.Rename_Args.getDefaultInstance()) - return this; - if (!other.getPackageRoot().isEmpty()) { - packageRoot_ = other.packageRoot_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getSymbolPath().isEmpty()) { - symbolPath_ = other.symbolPath_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.filePaths_.isEmpty()) { - if (filePaths_.isEmpty()) { - filePaths_ = other.filePaths_; - bitField0_ |= 0x00000004; - } else { - ensureFilePathsIsMutable(); - filePaths_.addAll(other.filePaths_); - } - onChanged(); - } - if (!other.getNewName().isEmpty()) { - newName_ = other.newName_; - bitField0_ |= 0x00000008; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ExecProgramResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for execute program response.
+     * 
+ * + * Protobuf type {@code com.kcl.api.ExecProgramResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ExecProgramResult) + com.kcl.api.Spec.ExecProgramResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgramResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgramResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ExecProgramResult.class, com.kcl.api.Spec.ExecProgramResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.ExecProgramResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + jsonResult_ = ""; + yamlResult_ = ""; + logMessage_ = ""; + errMessage_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgramResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ExecProgramResult getDefaultInstanceForType() { + return com.kcl.api.Spec.ExecProgramResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ExecProgramResult build() { + com.kcl.api.Spec.ExecProgramResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ExecProgramResult buildPartial() { + com.kcl.api.Spec.ExecProgramResult result = new com.kcl.api.Spec.ExecProgramResult(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.ExecProgramResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.jsonResult_ = jsonResult_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.yamlResult_ = yamlResult_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.logMessage_ = logMessage_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.errMessage_ = errMessage_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ExecProgramResult) { + return mergeFrom((com.kcl.api.Spec.ExecProgramResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ExecProgramResult other) { + if (other == com.kcl.api.Spec.ExecProgramResult.getDefaultInstance()) return this; + if (!other.getJsonResult().isEmpty()) { + jsonResult_ = other.jsonResult_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getYamlResult().isEmpty()) { + yamlResult_ = other.yamlResult_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getLogMessage().isEmpty()) { + logMessage_ = other.logMessage_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getErrMessage().isEmpty()) { + errMessage_ = other.errMessage_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + jsonResult_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + yamlResult_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + logMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + errMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object jsonResult_ = ""; + /** + *
+       * Result in JSON format.
+       * 
+ * + * string json_result = 1; + * @return The jsonResult. + */ + public java.lang.String getJsonResult() { + java.lang.Object ref = jsonResult_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + jsonResult_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Result in JSON format.
+       * 
+ * + * string json_result = 1; + * @return The bytes for jsonResult. + */ + public com.google.protobuf.ByteString + getJsonResultBytes() { + java.lang.Object ref = jsonResult_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + jsonResult_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Result in JSON format.
+       * 
+ * + * string json_result = 1; + * @param value The jsonResult to set. + * @return This builder for chaining. + */ + public Builder setJsonResult( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + jsonResult_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Result in JSON format.
+       * 
+ * + * string json_result = 1; + * @return This builder for chaining. + */ + public Builder clearJsonResult() { + jsonResult_ = getDefaultInstance().getJsonResult(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Result in JSON format.
+       * 
+ * + * string json_result = 1; + * @param value The bytes for jsonResult to set. + * @return This builder for chaining. + */ + public Builder setJsonResultBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + jsonResult_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object yamlResult_ = ""; + /** + *
+       * Result in YAML format.
+       * 
+ * + * string yaml_result = 2; + * @return The yamlResult. + */ + public java.lang.String getYamlResult() { + java.lang.Object ref = yamlResult_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + yamlResult_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Result in YAML format.
+       * 
+ * + * string yaml_result = 2; + * @return The bytes for yamlResult. + */ + public com.google.protobuf.ByteString + getYamlResultBytes() { + java.lang.Object ref = yamlResult_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + yamlResult_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Result in YAML format.
+       * 
+ * + * string yaml_result = 2; + * @param value The yamlResult to set. + * @return This builder for chaining. + */ + public Builder setYamlResult( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + yamlResult_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Result in YAML format.
+       * 
+ * + * string yaml_result = 2; + * @return This builder for chaining. + */ + public Builder clearYamlResult() { + yamlResult_ = getDefaultInstance().getYamlResult(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Result in YAML format.
+       * 
+ * + * string yaml_result = 2; + * @param value The bytes for yamlResult to set. + * @return This builder for chaining. + */ + public Builder setYamlResultBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + yamlResult_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object logMessage_ = ""; + /** + *
+       * Log message from execution.
+       * 
+ * + * string log_message = 3; + * @return The logMessage. + */ + public java.lang.String getLogMessage() { + java.lang.Object ref = logMessage_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + logMessage_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Log message from execution.
+       * 
+ * + * string log_message = 3; + * @return The bytes for logMessage. + */ + public com.google.protobuf.ByteString + getLogMessageBytes() { + java.lang.Object ref = logMessage_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + logMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Log message from execution.
+       * 
+ * + * string log_message = 3; + * @param value The logMessage to set. + * @return This builder for chaining. + */ + public Builder setLogMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + logMessage_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Log message from execution.
+       * 
+ * + * string log_message = 3; + * @return This builder for chaining. + */ + public Builder clearLogMessage() { + logMessage_ = getDefaultInstance().getLogMessage(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+       * Log message from execution.
+       * 
+ * + * string log_message = 3; + * @param value The bytes for logMessage to set. + * @return This builder for chaining. + */ + public Builder setLogMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + logMessage_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object errMessage_ = ""; + /** + *
+       * Error message from execution.
+       * 
+ * + * string err_message = 4; + * @return The errMessage. + */ + public java.lang.String getErrMessage() { + java.lang.Object ref = errMessage_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errMessage_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Error message from execution.
+       * 
+ * + * string err_message = 4; + * @return The bytes for errMessage. + */ + public com.google.protobuf.ByteString + getErrMessageBytes() { + java.lang.Object ref = errMessage_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Error message from execution.
+       * 
+ * + * string err_message = 4; + * @param value The errMessage to set. + * @return This builder for chaining. + */ + public Builder setErrMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + errMessage_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Error message from execution.
+       * 
+ * + * string err_message = 4; + * @return This builder for chaining. + */ + public Builder clearErrMessage() { + errMessage_ = getDefaultInstance().getErrMessage(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+       * Error message from execution.
+       * 
+ * + * string err_message = 4; + * @param value The bytes for errMessage to set. + * @return This builder for chaining. + */ + public Builder setErrMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + errMessage_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ExecProgramResult) + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - packageRoot_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - symbolPath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureFilePathsIsMutable(); - filePaths_.add(s); - break; - } // case 26 - case 34: { - newName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ExecProgramResult) + private static final com.kcl.api.Spec.ExecProgramResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ExecProgramResult(); + } - private int bitField0_; - - private java.lang.Object packageRoot_ = ""; - - /** - *
-             * File path to the package root.
-             * 
- * - * string package_root = 1; - * - * @return The packageRoot. - */ - public java.lang.String getPackageRoot() { - java.lang.Object ref = packageRoot_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - packageRoot_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static com.kcl.api.Spec.ExecProgramResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-             * File path to the package root.
-             * 
- * - * string package_root = 1; - * - * @return The bytes for packageRoot. - */ - public com.google.protobuf.ByteString getPackageRootBytes() { - java.lang.Object ref = packageRoot_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - packageRoot_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecProgramResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - *
-             * File path to the package root.
-             * 
- * - * string package_root = 1; - * - * @param value - * The packageRoot to set. - * - * @return This builder for chaining. - */ - public Builder setPackageRoot(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - packageRoot_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-             * File path to the package root.
-             * 
- * - * string package_root = 1; - * - * @return This builder for chaining. - */ - public Builder clearPackageRoot() { - packageRoot_ = getDefaultInstance().getPackageRoot(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + @java.lang.Override + public com.kcl.api.Spec.ExecProgramResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-             * File path to the package root.
-             * 
- * - * string package_root = 1; - * - * @param value - * The bytes for packageRoot to set. - * - * @return This builder for chaining. - */ - public Builder setPackageRootBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - packageRoot_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + } - private java.lang.Object symbolPath_ = ""; - - /** - *
-             * Path to the target symbol to be renamed.
-             * 
- * - * string symbol_path = 2; - * - * @return The symbolPath. - */ - public java.lang.String getSymbolPath() { - java.lang.Object ref = symbolPath_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - symbolPath_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public interface BuildProgramArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.BuildProgramArgs) + com.google.protobuf.MessageOrBuilder { - /** - *
-             * Path to the target symbol to be renamed.
-             * 
- * - * string symbol_path = 2; - * - * @return The bytes for symbolPath. - */ - public com.google.protobuf.ByteString getSymbolPathBytes() { - java.lang.Object ref = symbolPath_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - symbolPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + *
+     * Arguments for executing the program.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + * @return Whether the execArgs field is set. + */ + boolean hasExecArgs(); + /** + *
+     * Arguments for executing the program.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + * @return The execArgs. + */ + com.kcl.api.Spec.ExecProgramArgs getExecArgs(); + /** + *
+     * Arguments for executing the program.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder(); - /** - *
-             * Path to the target symbol to be renamed.
-             * 
- * - * string symbol_path = 2; - * - * @param value - * The symbolPath to set. - * - * @return This builder for chaining. - */ - public Builder setSymbolPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - symbolPath_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + /** + *
+     * Output path.
+     * 
+ * + * string output = 2; + * @return The output. + */ + java.lang.String getOutput(); + /** + *
+     * Output path.
+     * 
+ * + * string output = 2; + * @return The bytes for output. + */ + com.google.protobuf.ByteString + getOutputBytes(); + } + /** + *
+   * Message for build program request arguments.
+   * 
+ * + * Protobuf type {@code com.kcl.api.BuildProgramArgs} + */ + public static final class BuildProgramArgs extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.BuildProgramArgs) + BuildProgramArgsOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "BuildProgramArgs"); + } + // Use BuildProgramArgs.newBuilder() to construct. + private BuildProgramArgs(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private BuildProgramArgs() { + output_ = ""; + } - /** - *
-             * Path to the target symbol to be renamed.
-             * 
- * - * string symbol_path = 2; - * - * @return This builder for chaining. - */ - public Builder clearSymbolPath() { - symbolPath_ = getDefaultInstance().getSymbolPath(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgramArgs_descriptor; + } - /** - *
-             * Path to the target symbol to be renamed.
-             * 
- * - * string symbol_path = 2; - * - * @param value - * The bytes for symbolPath to set. - * - * @return This builder for chaining. - */ - public Builder setSymbolPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - symbolPath_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgramArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.BuildProgramArgs.class, com.kcl.api.Spec.BuildProgramArgs.Builder.class); + } - private com.google.protobuf.LazyStringArrayList filePaths_ = com.google.protobuf.LazyStringArrayList - .emptyList(); + private int bitField0_; + public static final int EXEC_ARGS_FIELD_NUMBER = 1; + private com.kcl.api.Spec.ExecProgramArgs execArgs_; + /** + *
+     * Arguments for executing the program.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + * @return Whether the execArgs field is set. + */ + @java.lang.Override + public boolean hasExecArgs() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * Arguments for executing the program.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + * @return The execArgs. + */ + @java.lang.Override + public com.kcl.api.Spec.ExecProgramArgs getExecArgs() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; + } + /** + *
+     * Arguments for executing the program.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; + } - private void ensureFilePathsIsMutable() { - if (!filePaths_.isModifiable()) { - filePaths_ = new com.google.protobuf.LazyStringArrayList(filePaths_); - } - bitField0_ |= 0x00000004; - } + public static final int OUTPUT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object output_ = ""; + /** + *
+     * Output path.
+     * 
+ * + * string output = 2; + * @return The output. + */ + @java.lang.Override + public java.lang.String getOutput() { + java.lang.Object ref = output_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + output_ = s; + return s; + } + } + /** + *
+     * Output path.
+     * 
+ * + * string output = 2; + * @return The bytes for output. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOutputBytes() { + java.lang.Object ref = output_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + output_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * Paths to the source code files.
-             * 
- * - * repeated string file_paths = 3; - * - * @return A list containing the filePaths. - */ - public com.google.protobuf.ProtocolStringList getFilePathsList() { - filePaths_.makeImmutable(); - return filePaths_; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * Paths to the source code files.
-             * 
- * - * repeated string file_paths = 3; - * - * @return The count of filePaths. - */ - public int getFilePathsCount() { - return filePaths_.size(); - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-             * Paths to the source code files.
-             * 
- * - * repeated string file_paths = 3; - * - * @param index - * The index of the element to return. - * - * @return The filePaths at the given index. - */ - public java.lang.String getFilePaths(int index) { - return filePaths_.get(index); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getExecArgs()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(output_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, output_); + } + getUnknownFields().writeTo(output); + } - /** - *
-             * Paths to the source code files.
-             * 
- * - * repeated string file_paths = 3; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the filePaths at the given index. - */ - public com.google.protobuf.ByteString getFilePathsBytes(int index) { - return filePaths_.getByteString(index); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExecArgs()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(output_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, output_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-             * Paths to the source code files.
-             * 
- * - * repeated string file_paths = 3; - * - * @param index - * The index to set the value at. - * @param value - * The filePaths to set. - * - * @return This builder for chaining. - */ - public Builder setFilePaths(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureFilePathsIsMutable(); - filePaths_.set(index, value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.BuildProgramArgs)) { + return super.equals(obj); + } + com.kcl.api.Spec.BuildProgramArgs other = (com.kcl.api.Spec.BuildProgramArgs) obj; + + if (hasExecArgs() != other.hasExecArgs()) return false; + if (hasExecArgs()) { + if (!getExecArgs() + .equals(other.getExecArgs())) return false; + } + if (!getOutput() + .equals(other.getOutput())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-             * Paths to the source code files.
-             * 
- * - * repeated string file_paths = 3; - * - * @param value - * The filePaths to add. - * - * @return This builder for chaining. - */ - public Builder addFilePaths(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureFilePathsIsMutable(); - filePaths_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasExecArgs()) { + hash = (37 * hash) + EXEC_ARGS_FIELD_NUMBER; + hash = (53 * hash) + getExecArgs().hashCode(); + } + hash = (37 * hash) + OUTPUT_FIELD_NUMBER; + hash = (53 * hash) + getOutput().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-             * Paths to the source code files.
-             * 
- * - * repeated string file_paths = 3; - * - * @param values - * The filePaths to add. - * - * @return This builder for chaining. - */ - public Builder addAllFilePaths(java.lang.Iterable values) { - ensureFilePathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filePaths_); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + public static com.kcl.api.Spec.BuildProgramArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.BuildProgramArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.BuildProgramArgs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.BuildProgramArgs parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.BuildProgramArgs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.BuildProgramArgs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.BuildProgramArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.BuildProgramArgs parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Paths to the source code files.
-             * 
- * - * repeated string file_paths = 3; - * - * @return This builder for chaining. - */ - public Builder clearFilePaths() { - filePaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; - onChanged(); - return this; - } + public static com.kcl.api.Spec.BuildProgramArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * Paths to the source code files.
-             * 
- * - * repeated string file_paths = 3; - * - * @param value - * The bytes of the filePaths to add. - * - * @return This builder for chaining. - */ - public Builder addFilePathsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureFilePathsIsMutable(); - filePaths_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + public static com.kcl.api.Spec.BuildProgramArgs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.BuildProgramArgs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.BuildProgramArgs parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - private java.lang.Object newName_ = ""; - - /** - *
-             * New name of the symbol.
-             * 
- * - * string new_name = 4; - * - * @return The newName. - */ - public java.lang.String getNewName() { - java.lang.Object ref = newName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - newName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.BuildProgramArgs prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * New name of the symbol.
-             * 
- * - * string new_name = 4; - * - * @return The bytes for newName. - */ - public com.google.protobuf.ByteString getNewNameBytes() { - java.lang.Object ref = newName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - newName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for build program request arguments.
+     * 
+ * + * Protobuf type {@code com.kcl.api.BuildProgramArgs} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.BuildProgramArgs) + com.kcl.api.Spec.BuildProgramArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgramArgs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgramArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.BuildProgramArgs.class, com.kcl.api.Spec.BuildProgramArgs.Builder.class); + } + + // Construct using com.kcl.api.Spec.BuildProgramArgs.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + internalGetExecArgsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + execArgs_ = null; + if (execArgsBuilder_ != null) { + execArgsBuilder_.dispose(); + execArgsBuilder_ = null; + } + output_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgramArgs_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.BuildProgramArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.BuildProgramArgs.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.BuildProgramArgs build() { + com.kcl.api.Spec.BuildProgramArgs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.BuildProgramArgs buildPartial() { + com.kcl.api.Spec.BuildProgramArgs result = new com.kcl.api.Spec.BuildProgramArgs(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.BuildProgramArgs result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.execArgs_ = execArgsBuilder_ == null + ? execArgs_ + : execArgsBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.output_ = output_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.BuildProgramArgs) { + return mergeFrom((com.kcl.api.Spec.BuildProgramArgs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.BuildProgramArgs other) { + if (other == com.kcl.api.Spec.BuildProgramArgs.getDefaultInstance()) return this; + if (other.hasExecArgs()) { + mergeExecArgs(other.getExecArgs()); + } + if (!other.getOutput().isEmpty()) { + output_ = other.output_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + internalGetExecArgsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + output_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.kcl.api.Spec.ExecProgramArgs execArgs_; + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder> execArgsBuilder_; + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + * @return Whether the execArgs field is set. + */ + public boolean hasExecArgs() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + * @return The execArgs. + */ + public com.kcl.api.Spec.ExecProgramArgs getExecArgs() { + if (execArgsBuilder_ == null) { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; + } else { + return execArgsBuilder_.getMessage(); + } + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + public Builder setExecArgs(com.kcl.api.Spec.ExecProgramArgs value) { + if (execArgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + execArgs_ = value; + } else { + execArgsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + public Builder setExecArgs( + com.kcl.api.Spec.ExecProgramArgs.Builder builderForValue) { + if (execArgsBuilder_ == null) { + execArgs_ = builderForValue.build(); + } else { + execArgsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgramArgs value) { + if (execArgsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + execArgs_ != null && + execArgs_ != com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance()) { + getExecArgsBuilder().mergeFrom(value); + } else { + execArgs_ = value; + } + } else { + execArgsBuilder_.mergeFrom(value); + } + if (execArgs_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + public Builder clearExecArgs() { + bitField0_ = (bitField0_ & ~0x00000001); + execArgs_ = null; + if (execArgsBuilder_ != null) { + execArgsBuilder_.dispose(); + execArgsBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + public com.kcl.api.Spec.ExecProgramArgs.Builder getExecArgsBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetExecArgsFieldBuilder().getBuilder(); + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + public com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder() { + if (execArgsBuilder_ != null) { + return execArgsBuilder_.getMessageOrBuilder(); + } else { + return execArgs_ == null ? + com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; + } + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder> + internalGetExecArgsFieldBuilder() { + if (execArgsBuilder_ == null) { + execArgsBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder>( + getExecArgs(), + getParentForChildren(), + isClean()); + execArgs_ = null; + } + return execArgsBuilder_; + } + + private java.lang.Object output_ = ""; + /** + *
+       * Output path.
+       * 
+ * + * string output = 2; + * @return The output. + */ + public java.lang.String getOutput() { + java.lang.Object ref = output_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + output_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Output path.
+       * 
+ * + * string output = 2; + * @return The bytes for output. + */ + public com.google.protobuf.ByteString + getOutputBytes() { + java.lang.Object ref = output_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + output_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Output path.
+       * 
+ * + * string output = 2; + * @param value The output to set. + * @return This builder for chaining. + */ + public Builder setOutput( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + output_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Output path.
+       * 
+ * + * string output = 2; + * @return This builder for chaining. + */ + public Builder clearOutput() { + output_ = getDefaultInstance().getOutput(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Output path.
+       * 
+ * + * string output = 2; + * @param value The bytes for output to set. + * @return This builder for chaining. + */ + public Builder setOutputBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + output_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.BuildProgramArgs) + } - /** - *
-             * New name of the symbol.
-             * 
- * - * string new_name = 4; - * - * @param value - * The newName to set. - * - * @return This builder for chaining. - */ - public Builder setNewName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - newName_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.BuildProgramArgs) + private static final com.kcl.api.Spec.BuildProgramArgs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.BuildProgramArgs(); + } - /** - *
-             * New name of the symbol.
-             * 
- * - * string new_name = 4; - * - * @return This builder for chaining. - */ - public Builder clearNewName() { - newName_ = getDefaultInstance().getNewName(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } + public static com.kcl.api.Spec.BuildProgramArgs getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-             * New name of the symbol.
-             * 
- * - * string new_name = 4; - * - * @param value - * The bytes for newName to set. - * - * @return This builder for chaining. - */ - public Builder setNewNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - newName_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BuildProgramArgs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.Rename_Args) - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.Rename_Args) - private static final com.kcl.api.Spec.Rename_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Rename_Args(); - } + @java.lang.Override + public com.kcl.api.Spec.BuildProgramArgs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.Rename_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Rename_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + public interface BuildProgramResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.BuildProgramResult) + com.google.protobuf.MessageOrBuilder { - public static com.google.protobuf.Parser parser() { - return PARSER; - } + /** + *
+     * Path of the built program.
+     * 
+ * + * string path = 1; + * @return The path. + */ + java.lang.String getPath(); + /** + *
+     * Path of the built program.
+     * 
+ * + * string path = 1; + * @return The bytes for path. + */ + com.google.protobuf.ByteString + getPathBytes(); + } + /** + *
+   * Message for build program response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.BuildProgramResult} + */ + public static final class BuildProgramResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.BuildProgramResult) + BuildProgramResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "BuildProgramResult"); + } + // Use BuildProgramResult.newBuilder() to construct. + private BuildProgramResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private BuildProgramResult() { + path_ = ""; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgramResult_descriptor; + } - @java.lang.Override - public com.kcl.api.Spec.Rename_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface Rename_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Rename_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * List of file paths that got changed.
-         * 
- * - * repeated string changed_files = 1; - * - * @return A list containing the changedFiles. - */ - java.util.List getChangedFilesList(); - - /** - *
-         * List of file paths that got changed.
-         * 
- * - * repeated string changed_files = 1; - * - * @return The count of changedFiles. - */ - int getChangedFilesCount(); - - /** - *
-         * List of file paths that got changed.
-         * 
- * - * repeated string changed_files = 1; - * - * @param index - * The index of the element to return. - * - * @return The changedFiles at the given index. - */ - java.lang.String getChangedFiles(int index); - - /** - *
-         * List of file paths that got changed.
-         * 
- * - * repeated string changed_files = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the changedFiles at the given index. - */ - com.google.protobuf.ByteString getChangedFilesBytes(int index); + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgramResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.BuildProgramResult.class, com.kcl.api.Spec.BuildProgramResult.Builder.class); } + public static final int PATH_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object path_ = ""; /** *
-     * Message for rename response.
+     * Path of the built program.
      * 
* - * Protobuf type {@code com.kcl.api.Rename_Result} + * string path = 1; + * @return The path. */ - public static final class Rename_Result extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Rename_Result) - Rename_ResultOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", Rename_Result.class.getName()); - } + @java.lang.Override + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } + } + /** + *
+     * Path of the built program.
+     * 
+ * + * string path = 1; + * @return The bytes for path. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - // Use Rename_Result.newBuilder() to construct. - private Rename_Result(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private Rename_Result() { - changedFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } + memoizedIsInitialized = 1; + return true; + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Result_descriptor; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, path_); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Rename_Result.class, - com.kcl.api.Spec.Rename_Result.Builder.class); - } - - public static final int CHANGED_FILES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList changedFiles_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - *
-         * List of file paths that got changed.
-         * 
- * - * repeated string changed_files = 1; - * - * @return A list containing the changedFiles. - */ - public com.google.protobuf.ProtocolStringList getChangedFilesList() { - return changedFiles_; - } - - /** - *
-         * List of file paths that got changed.
-         * 
- * - * repeated string changed_files = 1; - * - * @return The count of changedFiles. - */ - public int getChangedFilesCount() { - return changedFiles_.size(); - } - - /** - *
-         * List of file paths that got changed.
-         * 
- * - * repeated string changed_files = 1; - * - * @param index - * The index of the element to return. - * - * @return The changedFiles at the given index. - */ - public java.lang.String getChangedFiles(int index) { - return changedFiles_.get(index); - } - - /** - *
-         * List of file paths that got changed.
-         * 
- * - * repeated string changed_files = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the changedFiles at the given index. - */ - public com.google.protobuf.ByteString getChangedFilesBytes(int index) { - return changedFiles_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, path_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.BuildProgramResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.BuildProgramResult other = (com.kcl.api.Spec.BuildProgramResult) obj; + + if (!getPath() + .equals(other.getPath())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - memoizedIsInitialized = 1; - return true; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPath().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < changedFiles_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, changedFiles_.getRaw(i)); - } - getUnknownFields().writeTo(output); - } + public static com.kcl.api.Spec.BuildProgramResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.BuildProgramResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.BuildProgramResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.BuildProgramResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.BuildProgramResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.BuildProgramResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.BuildProgramResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.BuildProgramResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < changedFiles_.size(); i++) { - dataSize += computeStringSizeNoTag(changedFiles_.getRaw(i)); - } - size += dataSize; - size += 1 * getChangedFilesList().size(); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + public static com.kcl.api.Spec.BuildProgramResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Rename_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.Rename_Result other = (com.kcl.api.Spec.Rename_Result) obj; + public static com.kcl.api.Spec.BuildProgramResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.BuildProgramResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.BuildProgramResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - if (!getChangedFilesList().equals(other.getChangedFilesList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.BuildProgramResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getChangedFilesCount() > 0) { - hash = (37 * hash) + CHANGED_FILES_FIELD_NUMBER; - hash = (53 * hash) + getChangedFilesList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for build program response.
+     * 
+ * + * Protobuf type {@code com.kcl.api.BuildProgramResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.BuildProgramResult) + com.kcl.api.Spec.BuildProgramResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgramResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgramResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.BuildProgramResult.class, com.kcl.api.Spec.BuildProgramResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.BuildProgramResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + path_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgramResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.BuildProgramResult getDefaultInstanceForType() { + return com.kcl.api.Spec.BuildProgramResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.BuildProgramResult build() { + com.kcl.api.Spec.BuildProgramResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.BuildProgramResult buildPartial() { + com.kcl.api.Spec.BuildProgramResult result = new com.kcl.api.Spec.BuildProgramResult(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.BuildProgramResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.path_ = path_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.BuildProgramResult) { + return mergeFrom((com.kcl.api.Spec.BuildProgramResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.BuildProgramResult other) { + if (other == com.kcl.api.Spec.BuildProgramResult.getDefaultInstance()) return this; + if (!other.getPath().isEmpty()) { + path_ = other.path_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + path_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object path_ = ""; + /** + *
+       * Path of the built program.
+       * 
+ * + * string path = 1; + * @return The path. + */ + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Path of the built program.
+       * 
+ * + * string path = 1; + * @return The bytes for path. + */ + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Path of the built program.
+       * 
+ * + * string path = 1; + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + path_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Path of the built program.
+       * 
+ * + * string path = 1; + * @return This builder for chaining. + */ + public Builder clearPath() { + path_ = getDefaultInstance().getPath(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Path of the built program.
+       * 
+ * + * string path = 1; + * @param value The bytes for path to set. + * @return This builder for chaining. + */ + public Builder setPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + path_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.BuildProgramResult) + } - public static com.kcl.api.Spec.Rename_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.BuildProgramResult) + private static final com.kcl.api.Spec.BuildProgramResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.BuildProgramResult(); + } - public static com.kcl.api.Spec.Rename_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static com.kcl.api.Spec.BuildProgramResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.Rename_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BuildProgramResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static com.kcl.api.Spec.Rename_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static com.kcl.api.Spec.Rename_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public com.kcl.api.Spec.BuildProgramResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.Rename_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + } - public static com.kcl.api.Spec.Rename_Result parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + public interface ExecArtifactArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ExecArtifactArgs) + com.google.protobuf.MessageOrBuilder { - public static com.kcl.api.Spec.Rename_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + /** + *
+     * Path of the artifact.
+     * 
+ * + * string path = 1; + * @return The path. + */ + java.lang.String getPath(); + /** + *
+     * Path of the artifact.
+     * 
+ * + * string path = 1; + * @return The bytes for path. + */ + com.google.protobuf.ByteString + getPathBytes(); - public static com.kcl.api.Spec.Rename_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } + /** + *
+     * Arguments for executing the program.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 2; + * @return Whether the execArgs field is set. + */ + boolean hasExecArgs(); + /** + *
+     * Arguments for executing the program.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 2; + * @return The execArgs. + */ + com.kcl.api.Spec.ExecProgramArgs getExecArgs(); + /** + *
+     * Arguments for executing the program.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 2; + */ + com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder(); + } + /** + *
+   * Message for execute artifact request arguments.
+   * 
+ * + * Protobuf type {@code com.kcl.api.ExecArtifactArgs} + */ + public static final class ExecArtifactArgs extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ExecArtifactArgs) + ExecArtifactArgsOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "ExecArtifactArgs"); + } + // Use ExecArtifactArgs.newBuilder() to construct. + private ExecArtifactArgs(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ExecArtifactArgs() { + path_ = ""; + } - public static com.kcl.api.Spec.Rename_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifactArgs_descriptor; + } - public static com.kcl.api.Spec.Rename_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifactArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ExecArtifactArgs.class, com.kcl.api.Spec.ExecArtifactArgs.Builder.class); + } - public static com.kcl.api.Spec.Rename_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + private int bitField0_; + public static final int PATH_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object path_ = ""; + /** + *
+     * Path of the artifact.
+     * 
+ * + * string path = 1; + * @return The path. + */ + @java.lang.Override + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } + } + /** + *
+     * Path of the artifact.
+     * 
+ * + * string path = 1; + * @return The bytes for path. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + public static final int EXEC_ARGS_FIELD_NUMBER = 2; + private com.kcl.api.Spec.ExecProgramArgs execArgs_; + /** + *
+     * Arguments for executing the program.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 2; + * @return Whether the execArgs field is set. + */ + @java.lang.Override + public boolean hasExecArgs() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * Arguments for executing the program.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 2; + * @return The execArgs. + */ + @java.lang.Override + public com.kcl.api.Spec.ExecProgramArgs getExecArgs() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; + } + /** + *
+     * Arguments for executing the program.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static Builder newBuilder(com.kcl.api.Spec.Rename_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, path_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getExecArgs()); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for rename response.
-         * 
- * - * Protobuf type {@code com.kcl.api.Rename_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Rename_Result) - com.kcl.api.Spec.Rename_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Result_descriptor; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, path_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getExecArgs()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Rename_Result.class, - com.kcl.api.Spec.Rename_Result.Builder.class); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ExecArtifactArgs)) { + return super.equals(obj); + } + com.kcl.api.Spec.ExecArtifactArgs other = (com.kcl.api.Spec.ExecArtifactArgs) obj; + + if (!getPath() + .equals(other.getPath())) return false; + if (hasExecArgs() != other.hasExecArgs()) return false; + if (hasExecArgs()) { + if (!getExecArgs() + .equals(other.getExecArgs())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - // Construct using com.kcl.api.Spec.Rename_Result.newBuilder() - private Builder() { + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPath().hashCode(); + if (hasExecArgs()) { + hash = (37 * hash) + EXEC_ARGS_FIELD_NUMBER; + hash = (53 * hash) + getExecArgs().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - } + public static com.kcl.api.Spec.ExecArtifactArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ExecArtifactArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ExecArtifactArgs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ExecArtifactArgs parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ExecArtifactArgs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ExecArtifactArgs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ExecArtifactArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ExecArtifactArgs parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); + public static com.kcl.api.Spec.ExecArtifactArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - } + public static com.kcl.api.Spec.ExecArtifactArgs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.ExecArtifactArgs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ExecArtifactArgs parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - changedFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ExecArtifactArgs prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Result_descriptor; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for execute artifact request arguments.
+     * 
+ * + * Protobuf type {@code com.kcl.api.ExecArtifactArgs} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ExecArtifactArgs) + com.kcl.api.Spec.ExecArtifactArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifactArgs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifactArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ExecArtifactArgs.class, com.kcl.api.Spec.ExecArtifactArgs.Builder.class); + } + + // Construct using com.kcl.api.Spec.ExecArtifactArgs.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + internalGetExecArgsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + path_ = ""; + execArgs_ = null; + if (execArgsBuilder_ != null) { + execArgsBuilder_.dispose(); + execArgsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifactArgs_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ExecArtifactArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.ExecArtifactArgs.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ExecArtifactArgs build() { + com.kcl.api.Spec.ExecArtifactArgs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ExecArtifactArgs buildPartial() { + com.kcl.api.Spec.ExecArtifactArgs result = new com.kcl.api.Spec.ExecArtifactArgs(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.ExecArtifactArgs result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.path_ = path_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.execArgs_ = execArgsBuilder_ == null + ? execArgs_ + : execArgsBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ExecArtifactArgs) { + return mergeFrom((com.kcl.api.Spec.ExecArtifactArgs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ExecArtifactArgs other) { + if (other == com.kcl.api.Spec.ExecArtifactArgs.getDefaultInstance()) return this; + if (!other.getPath().isEmpty()) { + path_ = other.path_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasExecArgs()) { + mergeExecArgs(other.getExecArgs()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + path_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + internalGetExecArgsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object path_ = ""; + /** + *
+       * Path of the artifact.
+       * 
+ * + * string path = 1; + * @return The path. + */ + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Path of the artifact.
+       * 
+ * + * string path = 1; + * @return The bytes for path. + */ + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Path of the artifact.
+       * 
+ * + * string path = 1; + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + path_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Path of the artifact.
+       * 
+ * + * string path = 1; + * @return This builder for chaining. + */ + public Builder clearPath() { + path_ = getDefaultInstance().getPath(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Path of the artifact.
+       * 
+ * + * string path = 1; + * @param value The bytes for path to set. + * @return This builder for chaining. + */ + public Builder setPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + path_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.kcl.api.Spec.ExecProgramArgs execArgs_; + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder> execArgsBuilder_; + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 2; + * @return Whether the execArgs field is set. + */ + public boolean hasExecArgs() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 2; + * @return The execArgs. + */ + public com.kcl.api.Spec.ExecProgramArgs getExecArgs() { + if (execArgsBuilder_ == null) { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; + } else { + return execArgsBuilder_.getMessage(); + } + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 2; + */ + public Builder setExecArgs(com.kcl.api.Spec.ExecProgramArgs value) { + if (execArgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + execArgs_ = value; + } else { + execArgsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 2; + */ + public Builder setExecArgs( + com.kcl.api.Spec.ExecProgramArgs.Builder builderForValue) { + if (execArgsBuilder_ == null) { + execArgs_ = builderForValue.build(); + } else { + execArgsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 2; + */ + public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgramArgs value) { + if (execArgsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + execArgs_ != null && + execArgs_ != com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance()) { + getExecArgsBuilder().mergeFrom(value); + } else { + execArgs_ = value; + } + } else { + execArgsBuilder_.mergeFrom(value); + } + if (execArgs_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 2; + */ + public Builder clearExecArgs() { + bitField0_ = (bitField0_ & ~0x00000002); + execArgs_ = null; + if (execArgsBuilder_ != null) { + execArgsBuilder_.dispose(); + execArgsBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 2; + */ + public com.kcl.api.Spec.ExecProgramArgs.Builder getExecArgsBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return internalGetExecArgsFieldBuilder().getBuilder(); + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 2; + */ + public com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder() { + if (execArgsBuilder_ != null) { + return execArgsBuilder_.getMessageOrBuilder(); + } else { + return execArgs_ == null ? + com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; + } + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 2; + */ + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder> + internalGetExecArgsFieldBuilder() { + if (execArgsBuilder_ == null) { + execArgsBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder>( + getExecArgs(), + getParentForChildren(), + isClean()); + execArgs_ = null; + } + return execArgsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ExecArtifactArgs) + } - @java.lang.Override - public com.kcl.api.Spec.Rename_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.Rename_Result.getDefaultInstance(); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ExecArtifactArgs) + private static final com.kcl.api.Spec.ExecArtifactArgs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ExecArtifactArgs(); + } - @java.lang.Override - public com.kcl.api.Spec.Rename_Result build() { - com.kcl.api.Spec.Rename_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + public static com.kcl.api.Spec.ExecArtifactArgs getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public com.kcl.api.Spec.Rename_Result buildPartial() { - com.kcl.api.Spec.Rename_Result result = new com.kcl.api.Spec.Rename_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecArtifactArgs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - private void buildPartial0(com.kcl.api.Spec.Rename_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - changedFiles_.makeImmutable(); - result.changedFiles_ = changedFiles_; - } - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Rename_Result) { - return mergeFrom((com.kcl.api.Spec.Rename_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } + @java.lang.Override + public com.kcl.api.Spec.ExecArtifactArgs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface FormatCodeArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatCodeArgs) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Source code to be formatted.
+     * 
+ * + * string source = 1; + * @return The source. + */ + java.lang.String getSource(); + /** + *
+     * Source code to be formatted.
+     * 
+ * + * string source = 1; + * @return The bytes for source. + */ + com.google.protobuf.ByteString + getSourceBytes(); + } + /** + *
+   * Message for format code request arguments.
+   * 
+ * + * Protobuf type {@code com.kcl.api.FormatCodeArgs} + */ + public static final class FormatCodeArgs extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.FormatCodeArgs) + FormatCodeArgsOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "FormatCodeArgs"); + } + // Use FormatCodeArgs.newBuilder() to construct. + private FormatCodeArgs(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private FormatCodeArgs() { + source_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCodeArgs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCodeArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.FormatCodeArgs.class, com.kcl.api.Spec.FormatCodeArgs.Builder.class); + } - public Builder mergeFrom(com.kcl.api.Spec.Rename_Result other) { - if (other == com.kcl.api.Spec.Rename_Result.getDefaultInstance()) - return this; - if (!other.changedFiles_.isEmpty()) { - if (changedFiles_.isEmpty()) { - changedFiles_ = other.changedFiles_; - bitField0_ |= 0x00000001; - } else { - ensureChangedFilesIsMutable(); - changedFiles_.addAll(other.changedFiles_); - } - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + public static final int SOURCE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object source_ = ""; + /** + *
+     * Source code to be formatted.
+     * 
+ * + * string source = 1; + * @return The source. + */ + @java.lang.Override + public java.lang.String getSource() { + java.lang.Object ref = source_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + source_ = s; + return s; + } + } + /** + *
+     * Source code to be formatted.
+     * 
+ * + * string source = 1; + * @return The bytes for source. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSourceBytes() { + java.lang.Object ref = source_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + source_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureChangedFilesIsMutable(); - changedFiles_.add(s); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + memoizedIsInitialized = 1; + return true; + } - private int bitField0_; + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(source_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, source_); + } + getUnknownFields().writeTo(output); + } - private com.google.protobuf.LazyStringArrayList changedFiles_ = com.google.protobuf.LazyStringArrayList - .emptyList(); + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(source_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, source_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - private void ensureChangedFilesIsMutable() { - if (!changedFiles_.isModifiable()) { - changedFiles_ = new com.google.protobuf.LazyStringArrayList(changedFiles_); - } - bitField0_ |= 0x00000001; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.FormatCodeArgs)) { + return super.equals(obj); + } + com.kcl.api.Spec.FormatCodeArgs other = (com.kcl.api.Spec.FormatCodeArgs) obj; + + if (!getSource() + .equals(other.getSource())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-             * List of file paths that got changed.
-             * 
- * - * repeated string changed_files = 1; - * - * @return A list containing the changedFiles. - */ - public com.google.protobuf.ProtocolStringList getChangedFilesList() { - changedFiles_.makeImmutable(); - return changedFiles_; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SOURCE_FIELD_NUMBER; + hash = (53 * hash) + getSource().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-             * List of file paths that got changed.
-             * 
- * - * repeated string changed_files = 1; - * - * @return The count of changedFiles. - */ - public int getChangedFilesCount() { - return changedFiles_.size(); - } + public static com.kcl.api.Spec.FormatCodeArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatCodeArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatCodeArgs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatCodeArgs parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatCodeArgs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatCodeArgs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatCodeArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.FormatCodeArgs parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * List of file paths that got changed.
-             * 
- * - * repeated string changed_files = 1; - * - * @param index - * The index of the element to return. - * - * @return The changedFiles at the given index. - */ - public java.lang.String getChangedFiles(int index) { - return changedFiles_.get(index); - } + public static com.kcl.api.Spec.FormatCodeArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * List of file paths that got changed.
-             * 
- * - * repeated string changed_files = 1; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the changedFiles at the given index. - */ - public com.google.protobuf.ByteString getChangedFilesBytes(int index) { - return changedFiles_.getByteString(index); - } + public static com.kcl.api.Spec.FormatCodeArgs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.FormatCodeArgs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.FormatCodeArgs parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * List of file paths that got changed.
-             * 
- * - * repeated string changed_files = 1; - * - * @param index - * The index to set the value at. - * @param value - * The changedFiles to set. - * - * @return This builder for chaining. - */ - public Builder setChangedFiles(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureChangedFilesIsMutable(); - changedFiles_.set(index, value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.FormatCodeArgs prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * List of file paths that got changed.
-             * 
- * - * repeated string changed_files = 1; - * - * @param value - * The changedFiles to add. - * - * @return This builder for chaining. - */ - public Builder addChangedFiles(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureChangedFilesIsMutable(); - changedFiles_.add(value); + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for format code request arguments.
+     * 
+ * + * Protobuf type {@code com.kcl.api.FormatCodeArgs} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatCodeArgs) + com.kcl.api.Spec.FormatCodeArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCodeArgs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCodeArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.FormatCodeArgs.class, com.kcl.api.Spec.FormatCodeArgs.Builder.class); + } + + // Construct using com.kcl.api.Spec.FormatCodeArgs.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + source_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCodeArgs_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.FormatCodeArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.FormatCodeArgs.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.FormatCodeArgs build() { + com.kcl.api.Spec.FormatCodeArgs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.FormatCodeArgs buildPartial() { + com.kcl.api.Spec.FormatCodeArgs result = new com.kcl.api.Spec.FormatCodeArgs(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.FormatCodeArgs result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.source_ = source_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.FormatCodeArgs) { + return mergeFrom((com.kcl.api.Spec.FormatCodeArgs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.FormatCodeArgs other) { + if (other == com.kcl.api.Spec.FormatCodeArgs.getDefaultInstance()) return this; + if (!other.getSource().isEmpty()) { + source_ = other.source_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + source_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; - onChanged(); - return this; - } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object source_ = ""; + /** + *
+       * Source code to be formatted.
+       * 
+ * + * string source = 1; + * @return The source. + */ + public java.lang.String getSource() { + java.lang.Object ref = source_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + source_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Source code to be formatted.
+       * 
+ * + * string source = 1; + * @return The bytes for source. + */ + public com.google.protobuf.ByteString + getSourceBytes() { + java.lang.Object ref = source_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + source_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Source code to be formatted.
+       * 
+ * + * string source = 1; + * @param value The source to set. + * @return This builder for chaining. + */ + public Builder setSource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + source_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Source code to be formatted.
+       * 
+ * + * string source = 1; + * @return This builder for chaining. + */ + public Builder clearSource() { + source_ = getDefaultInstance().getSource(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Source code to be formatted.
+       * 
+ * + * string source = 1; + * @param value The bytes for source to set. + * @return This builder for chaining. + */ + public Builder setSourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + source_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatCodeArgs) + } - /** - *
-             * List of file paths that got changed.
-             * 
- * - * repeated string changed_files = 1; - * - * @param values - * The changedFiles to add. - * - * @return This builder for chaining. - */ - public Builder addAllChangedFiles(java.lang.Iterable values) { - ensureChangedFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, changedFiles_); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.FormatCodeArgs) + private static final com.kcl.api.Spec.FormatCodeArgs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatCodeArgs(); + } - /** - *
-             * List of file paths that got changed.
-             * 
- * - * repeated string changed_files = 1; - * - * @return This builder for chaining. - */ - public Builder clearChangedFiles() { - changedFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; - onChanged(); - return this; - } + public static com.kcl.api.Spec.FormatCodeArgs getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-             * List of file paths that got changed.
-             * 
- * - * repeated string changed_files = 1; - * - * @param value - * The bytes of the changedFiles to add. - * - * @return This builder for chaining. - */ - public Builder addChangedFilesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureChangedFilesIsMutable(); - changedFiles_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FormatCodeArgs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.Rename_Result) - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.Rename_Result) - private static final com.kcl.api.Spec.Rename_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Rename_Result(); - } + @java.lang.Override + public com.kcl.api.Spec.FormatCodeArgs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.Rename_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Rename_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + public interface FormatCodeResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatCodeResult) + com.google.protobuf.MessageOrBuilder { - public static com.google.protobuf.Parser parser() { - return PARSER; - } + /** + *
+     * Formatted code as bytes.
+     * 
+ * + * bytes formatted = 1; + * @return The formatted. + */ + com.google.protobuf.ByteString getFormatted(); + } + /** + *
+   * Message for format code response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.FormatCodeResult} + */ + public static final class FormatCodeResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.FormatCodeResult) + FormatCodeResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "FormatCodeResult"); + } + // Use FormatCodeResult.newBuilder() to construct. + private FormatCodeResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private FormatCodeResult() { + formatted_ = com.google.protobuf.ByteString.EMPTY; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCodeResult_descriptor; + } - @java.lang.Override - public com.kcl.api.Spec.Rename_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface RenameCode_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.RenameCode_Args) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * File path to the package root.
-         * 
- * - * string package_root = 1; - * - * @return The packageRoot. - */ - java.lang.String getPackageRoot(); - - /** - *
-         * File path to the package root.
-         * 
- * - * string package_root = 1; - * - * @return The bytes for packageRoot. - */ - com.google.protobuf.ByteString getPackageRootBytes(); - - /** - *
-         * Path to the target symbol to be renamed.
-         * 
- * - * string symbol_path = 2; - * - * @return The symbolPath. - */ - java.lang.String getSymbolPath(); - - /** - *
-         * Path to the target symbol to be renamed.
-         * 
- * - * string symbol_path = 2; - * - * @return The bytes for symbolPath. - */ - com.google.protobuf.ByteString getSymbolPathBytes(); - - /** - *
-         * Map of source code with filename as key and code as value.
-         * 
- * - * map<string, string> source_codes = 3; - */ - int getSourceCodesCount(); - - /** - *
-         * Map of source code with filename as key and code as value.
-         * 
- * - * map<string, string> source_codes = 3; - */ - boolean containsSourceCodes(java.lang.String key); - - /** - * Use {@link #getSourceCodesMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getSourceCodes(); - - /** - *
-         * Map of source code with filename as key and code as value.
-         * 
- * - * map<string, string> source_codes = 3; - */ - java.util.Map getSourceCodesMap(); - - /** - *
-         * Map of source code with filename as key and code as value.
-         * 
- * - * map<string, string> source_codes = 3; - */ - /* nullable */ - java.lang.String getSourceCodesOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue); - - /** - *
-         * Map of source code with filename as key and code as value.
-         * 
- * - * map<string, string> source_codes = 3; - */ - java.lang.String getSourceCodesOrThrow(java.lang.String key); - - /** - *
-         * New name of the symbol.
-         * 
- * - * string new_name = 4; - * - * @return The newName. - */ - java.lang.String getNewName(); - - /** - *
-         * New name of the symbol.
-         * 
- * - * string new_name = 4; - * - * @return The bytes for newName. - */ - com.google.protobuf.ByteString getNewNameBytes(); + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCodeResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.FormatCodeResult.class, com.kcl.api.Spec.FormatCodeResult.Builder.class); } + public static final int FORMATTED_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString formatted_ = com.google.protobuf.ByteString.EMPTY; /** *
-     * Message for rename code request arguments.
+     * Formatted code as bytes.
      * 
* - * Protobuf type {@code com.kcl.api.RenameCode_Args} + * bytes formatted = 1; + * @return The formatted. */ - public static final class RenameCode_Args extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.RenameCode_Args) - RenameCode_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", RenameCode_Args.class.getName()); - } + @java.lang.Override + public com.google.protobuf.ByteString getFormatted() { + return formatted_; + } - // Use RenameCode_Args.newBuilder() to construct. - private RenameCode_Args(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private RenameCode_Args() { - packageRoot_ = ""; - symbolPath_ = ""; - newName_ = ""; - } + memoizedIsInitialized = 1; + return true; + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_descriptor; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!formatted_.isEmpty()) { + output.writeBytes(1, formatted_); + } + getUnknownFields().writeTo(output); + } - @SuppressWarnings({ "rawtypes" }) - @java.lang.Override - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 3: - return internalGetSourceCodes(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!formatted_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, formatted_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.RenameCode_Args.class, - com.kcl.api.Spec.RenameCode_Args.Builder.class); - } - - public static final int PACKAGE_ROOT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object packageRoot_ = ""; - - /** - *
-         * File path to the package root.
-         * 
- * - * string package_root = 1; - * - * @return The packageRoot. - */ - @java.lang.Override - public java.lang.String getPackageRoot() { - java.lang.Object ref = packageRoot_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - packageRoot_ = s; - return s; - } - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.FormatCodeResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.FormatCodeResult other = (com.kcl.api.Spec.FormatCodeResult) obj; + + if (!getFormatted() + .equals(other.getFormatted())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-         * File path to the package root.
-         * 
- * - * string package_root = 1; - * - * @return The bytes for packageRoot. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPackageRootBytes() { - java.lang.Object ref = packageRoot_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - packageRoot_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + FORMATTED_FIELD_NUMBER; + hash = (53 * hash) + getFormatted().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public static final int SYMBOL_PATH_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object symbolPath_ = ""; + public static com.kcl.api.Spec.FormatCodeResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatCodeResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatCodeResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatCodeResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatCodeResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatCodeResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatCodeResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.FormatCodeResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-         * Path to the target symbol to be renamed.
-         * 
- * - * string symbol_path = 2; - * - * @return The symbolPath. - */ - @java.lang.Override - public java.lang.String getSymbolPath() { - java.lang.Object ref = symbolPath_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - symbolPath_ = s; - return s; - } - } + public static com.kcl.api.Spec.FormatCodeResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-         * Path to the target symbol to be renamed.
-         * 
- * - * string symbol_path = 2; - * - * @return The bytes for symbolPath. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSymbolPathBytes() { - java.lang.Object ref = symbolPath_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - symbolPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static com.kcl.api.Spec.FormatCodeResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.FormatCodeResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.FormatCodeResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static final int SOURCE_CODES_FIELD_NUMBER = 3; + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.FormatCodeResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - private static final class SourceCodesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.STRING, ""); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for format code response.
+     * 
+ * + * Protobuf type {@code com.kcl.api.FormatCodeResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatCodeResult) + com.kcl.api.Spec.FormatCodeResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCodeResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCodeResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.FormatCodeResult.class, com.kcl.api.Spec.FormatCodeResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.FormatCodeResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + formatted_ = com.google.protobuf.ByteString.EMPTY; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCodeResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.FormatCodeResult getDefaultInstanceForType() { + return com.kcl.api.Spec.FormatCodeResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.FormatCodeResult build() { + com.kcl.api.Spec.FormatCodeResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.FormatCodeResult buildPartial() { + com.kcl.api.Spec.FormatCodeResult result = new com.kcl.api.Spec.FormatCodeResult(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.FormatCodeResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.formatted_ = formatted_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.FormatCodeResult) { + return mergeFrom((com.kcl.api.Spec.FormatCodeResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.FormatCodeResult other) { + if (other == com.kcl.api.Spec.FormatCodeResult.getDefaultInstance()) return this; + if (!other.getFormatted().isEmpty()) { + setFormatted(other.getFormatted()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + formatted_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.ByteString formatted_ = com.google.protobuf.ByteString.EMPTY; + /** + *
+       * Formatted code as bytes.
+       * 
+ * + * bytes formatted = 1; + * @return The formatted. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFormatted() { + return formatted_; + } + /** + *
+       * Formatted code as bytes.
+       * 
+ * + * bytes formatted = 1; + * @param value The formatted to set. + * @return This builder for chaining. + */ + public Builder setFormatted(com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + formatted_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Formatted code as bytes.
+       * 
+ * + * bytes formatted = 1; + * @return This builder for chaining. + */ + public Builder clearFormatted() { + bitField0_ = (bitField0_ & ~0x00000001); + formatted_ = getDefaultInstance().getFormatted(); + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatCodeResult) + } - @SuppressWarnings("serial") - private com.google.protobuf.MapField sourceCodes_; + // @@protoc_insertion_point(class_scope:com.kcl.api.FormatCodeResult) + private static final com.kcl.api.Spec.FormatCodeResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatCodeResult(); + } - private com.google.protobuf.MapField internalGetSourceCodes() { - if (sourceCodes_ == null) { - return com.google.protobuf.MapField.emptyMapField(SourceCodesDefaultEntryHolder.defaultEntry); - } - return sourceCodes_; - } + public static com.kcl.api.Spec.FormatCodeResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public int getSourceCodesCount() { - return internalGetSourceCodes().getMap().size(); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FormatCodeResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - *
-         * Map of source code with filename as key and code as value.
-         * 
- * - * map<string, string> source_codes = 3; - */ - @java.lang.Override - public boolean containsSourceCodes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetSourceCodes().getMap().containsKey(key); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - * Use {@link #getSourceCodesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getSourceCodes() { - return getSourceCodesMap(); - } - - /** - *
-         * Map of source code with filename as key and code as value.
-         * 
- * - * map<string, string> source_codes = 3; - */ - @java.lang.Override - public java.util.Map getSourceCodesMap() { - return internalGetSourceCodes().getMap(); - } + @java.lang.Override + public com.kcl.api.Spec.FormatCodeResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-         * Map of source code with filename as key and code as value.
-         * 
- * - * map<string, string> source_codes = 3; - */ - @java.lang.Override - public /* nullable */ - java.lang.String getSourceCodesOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSourceCodes().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } + } - /** - *
-         * Map of source code with filename as key and code as value.
-         * 
- * - * map<string, string> source_codes = 3; - */ - @java.lang.Override - public java.lang.String getSourceCodesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSourceCodes().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int NEW_NAME_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private volatile java.lang.Object newName_ = ""; - - /** - *
-         * New name of the symbol.
-         * 
- * - * string new_name = 4; - * - * @return The newName. - */ - @java.lang.Override - public java.lang.String getNewName() { - java.lang.Object ref = newName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - newName_ = s; - return s; - } - } + public interface FormatPathArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatPathArgs) + com.google.protobuf.MessageOrBuilder { - /** - *
-         * New name of the symbol.
-         * 
- * - * string new_name = 4; - * - * @return The bytes for newName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNewNameBytes() { - java.lang.Object ref = newName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - newName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + *
+     * Path of the file to format.
+     * 
+ * + * string path = 1; + * @return The path. + */ + java.lang.String getPath(); + /** + *
+     * Path of the file to format.
+     * 
+ * + * string path = 1; + * @return The bytes for path. + */ + com.google.protobuf.ByteString + getPathBytes(); + } + /** + *
+   * Message for format file path request arguments.
+   * 
+ * + * Protobuf type {@code com.kcl.api.FormatPathArgs} + */ + public static final class FormatPathArgs extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.FormatPathArgs) + FormatPathArgsOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "FormatPathArgs"); + } + // Use FormatPathArgs.newBuilder() to construct. + private FormatPathArgs(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private FormatPathArgs() { + path_ = ""; + } - private byte memoizedIsInitialized = -1; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPathArgs_descriptor; + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPathArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.FormatPathArgs.class, com.kcl.api.Spec.FormatPathArgs.Builder.class); + } - memoizedIsInitialized = 1; - return true; - } + public static final int PATH_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object path_ = ""; + /** + *
+     * Path of the file to format.
+     * 
+ * + * string path = 1; + * @return The path. + */ + @java.lang.Override + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } + } + /** + *
+     * Path of the file to format.
+     * 
+ * + * string path = 1; + * @return The bytes for path. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(packageRoot_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, packageRoot_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(symbolPath_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, symbolPath_); - } - com.google.protobuf.GeneratedMessage.serializeStringMapTo(output, internalGetSourceCodes(), - SourceCodesDefaultEntryHolder.defaultEntry, 3); - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(newName_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 4, newName_); - } - getUnknownFields().writeTo(output); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(packageRoot_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, packageRoot_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(symbolPath_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, symbolPath_); - } - for (java.util.Map.Entry entry : internalGetSourceCodes().getMap() - .entrySet()) { - com.google.protobuf.MapEntry sourceCodes__ = SourceCodesDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, sourceCodes__); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(newName_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(4, newName_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.RenameCode_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.RenameCode_Args other = (com.kcl.api.Spec.RenameCode_Args) obj; + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, path_); + } + getUnknownFields().writeTo(output); + } - if (!getPackageRoot().equals(other.getPackageRoot())) - return false; - if (!getSymbolPath().equals(other.getSymbolPath())) - return false; - if (!internalGetSourceCodes().equals(other.internalGetSourceCodes())) - return false; - if (!getNewName().equals(other.getNewName())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, path_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PACKAGE_ROOT_FIELD_NUMBER; - hash = (53 * hash) + getPackageRoot().hashCode(); - hash = (37 * hash) + SYMBOL_PATH_FIELD_NUMBER; - hash = (53 * hash) + getSymbolPath().hashCode(); - if (!internalGetSourceCodes().getMap().isEmpty()) { - hash = (37 * hash) + SOURCE_CODES_FIELD_NUMBER; - hash = (53 * hash) + internalGetSourceCodes().hashCode(); - } - hash = (37 * hash) + NEW_NAME_FIELD_NUMBER; - hash = (53 * hash) + getNewName().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.FormatPathArgs)) { + return super.equals(obj); + } + com.kcl.api.Spec.FormatPathArgs other = (com.kcl.api.Spec.FormatPathArgs) obj; + + if (!getPath() + .equals(other.getPath())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static com.kcl.api.Spec.RenameCode_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPath().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public static com.kcl.api.Spec.RenameCode_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static com.kcl.api.Spec.FormatPathArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatPathArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatPathArgs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatPathArgs parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatPathArgs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatPathArgs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatPathArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.FormatPathArgs parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.kcl.api.Spec.RenameCode_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static com.kcl.api.Spec.FormatPathArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - public static com.kcl.api.Spec.RenameCode_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static com.kcl.api.Spec.FormatPathArgs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.FormatPathArgs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.FormatPathArgs parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.kcl.api.Spec.RenameCode_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.FormatPathArgs prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - public static com.kcl.api.Spec.RenameCode_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for format file path request arguments.
+     * 
+ * + * Protobuf type {@code com.kcl.api.FormatPathArgs} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatPathArgs) + com.kcl.api.Spec.FormatPathArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPathArgs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPathArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.FormatPathArgs.class, com.kcl.api.Spec.FormatPathArgs.Builder.class); + } + + // Construct using com.kcl.api.Spec.FormatPathArgs.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + path_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPathArgs_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.FormatPathArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.FormatPathArgs.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.FormatPathArgs build() { + com.kcl.api.Spec.FormatPathArgs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.FormatPathArgs buildPartial() { + com.kcl.api.Spec.FormatPathArgs result = new com.kcl.api.Spec.FormatPathArgs(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.FormatPathArgs result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.path_ = path_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.FormatPathArgs) { + return mergeFrom((com.kcl.api.Spec.FormatPathArgs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.FormatPathArgs other) { + if (other == com.kcl.api.Spec.FormatPathArgs.getDefaultInstance()) return this; + if (!other.getPath().isEmpty()) { + path_ = other.path_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + path_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object path_ = ""; + /** + *
+       * Path of the file to format.
+       * 
+ * + * string path = 1; + * @return The path. + */ + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Path of the file to format.
+       * 
+ * + * string path = 1; + * @return The bytes for path. + */ + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Path of the file to format.
+       * 
+ * + * string path = 1; + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + path_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Path of the file to format.
+       * 
+ * + * string path = 1; + * @return This builder for chaining. + */ + public Builder clearPath() { + path_ = getDefaultInstance().getPath(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Path of the file to format.
+       * 
+ * + * string path = 1; + * @param value The bytes for path to set. + * @return This builder for chaining. + */ + public Builder setPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + path_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatPathArgs) + } - public static com.kcl.api.Spec.RenameCode_Args parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.FormatPathArgs) + private static final com.kcl.api.Spec.FormatPathArgs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatPathArgs(); + } - public static com.kcl.api.Spec.RenameCode_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + public static com.kcl.api.Spec.FormatPathArgs getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.RenameCode_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FormatPathArgs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static com.kcl.api.Spec.RenameCode_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static com.kcl.api.Spec.RenameCode_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + @java.lang.Override + public com.kcl.api.Spec.FormatPathArgs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.RenameCode_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + public interface FormatPathResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatPathResult) + com.google.protobuf.MessageOrBuilder { - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + /** + *
+     * List of changed file paths.
+     * 
+ * + * repeated string changed_paths = 1; + * @return A list containing the changedPaths. + */ + java.util.List + getChangedPathsList(); + /** + *
+     * List of changed file paths.
+     * 
+ * + * repeated string changed_paths = 1; + * @return The count of changedPaths. + */ + int getChangedPathsCount(); + /** + *
+     * List of changed file paths.
+     * 
+ * + * repeated string changed_paths = 1; + * @param index The index of the element to return. + * @return The changedPaths at the given index. + */ + java.lang.String getChangedPaths(int index); + /** + *
+     * List of changed file paths.
+     * 
+ * + * repeated string changed_paths = 1; + * @param index The index of the value to return. + * @return The bytes of the changedPaths at the given index. + */ + com.google.protobuf.ByteString + getChangedPathsBytes(int index); + } + /** + *
+   * Message for format file path response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.FormatPathResult} + */ + public static final class FormatPathResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.FormatPathResult) + FormatPathResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "FormatPathResult"); + } + // Use FormatPathResult.newBuilder() to construct. + private FormatPathResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private FormatPathResult() { + changedPaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - public static Builder newBuilder(com.kcl.api.Spec.RenameCode_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPathResult_descriptor; + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPathResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.FormatPathResult.class, com.kcl.api.Spec.FormatPathResult.Builder.class); + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for rename code request arguments.
-         * 
- * - * Protobuf type {@code com.kcl.api.RenameCode_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.RenameCode_Args) - com.kcl.api.Spec.RenameCode_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_descriptor; - } + public static final int CHANGED_PATHS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList changedPaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * List of changed file paths.
+     * 
+ * + * repeated string changed_paths = 1; + * @return A list containing the changedPaths. + */ + public com.google.protobuf.ProtocolStringList + getChangedPathsList() { + return changedPaths_; + } + /** + *
+     * List of changed file paths.
+     * 
+ * + * repeated string changed_paths = 1; + * @return The count of changedPaths. + */ + public int getChangedPathsCount() { + return changedPaths_.size(); + } + /** + *
+     * List of changed file paths.
+     * 
+ * + * repeated string changed_paths = 1; + * @param index The index of the element to return. + * @return The changedPaths at the given index. + */ + public java.lang.String getChangedPaths(int index) { + return changedPaths_.get(index); + } + /** + *
+     * List of changed file paths.
+     * 
+ * + * repeated string changed_paths = 1; + * @param index The index of the value to return. + * @return The bytes of the changedPaths at the given index. + */ + public com.google.protobuf.ByteString + getChangedPathsBytes(int index) { + return changedPaths_.getByteString(index); + } - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 3: - return internalGetSourceCodes(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) { - switch (number) { - case 3: - return internalGetMutableSourceCodes(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.RenameCode_Args.class, - com.kcl.api.Spec.RenameCode_Args.Builder.class); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < changedPaths_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, changedPaths_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } - // Construct using com.kcl.api.Spec.RenameCode_Args.newBuilder() - private Builder() { + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < changedPaths_.size(); i++) { + dataSize += computeStringSizeNoTag(changedPaths_.getRaw(i)); + } + size += dataSize; + size += 1 * getChangedPathsList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.FormatPathResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.FormatPathResult other = (com.kcl.api.Spec.FormatPathResult) obj; + + if (!getChangedPathsList() + .equals(other.getChangedPathsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getChangedPathsCount() > 0) { + hash = (37 * hash) + CHANGED_PATHS_FIELD_NUMBER; + hash = (53 * hash) + getChangedPathsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - } + public static com.kcl.api.Spec.FormatPathResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatPathResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatPathResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatPathResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatPathResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.FormatPathResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.FormatPathResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.FormatPathResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - packageRoot_ = ""; - symbolPath_ = ""; - internalGetMutableSourceCodes().clear(); - newName_ = ""; - return this; - } + public static com.kcl.api.Spec.FormatPathResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_descriptor; - } + public static com.kcl.api.Spec.FormatPathResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.FormatPathResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.FormatPathResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public com.kcl.api.Spec.RenameCode_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.RenameCode_Args.getDefaultInstance(); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.FormatPathResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public com.kcl.api.Spec.RenameCode_Args build() { - com.kcl.api.Spec.RenameCode_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for format file path response.
+     * 
+ * + * Protobuf type {@code com.kcl.api.FormatPathResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatPathResult) + com.kcl.api.Spec.FormatPathResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPathResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPathResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.FormatPathResult.class, com.kcl.api.Spec.FormatPathResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.FormatPathResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + changedPaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPathResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.FormatPathResult getDefaultInstanceForType() { + return com.kcl.api.Spec.FormatPathResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.FormatPathResult build() { + com.kcl.api.Spec.FormatPathResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.FormatPathResult buildPartial() { + com.kcl.api.Spec.FormatPathResult result = new com.kcl.api.Spec.FormatPathResult(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.FormatPathResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + changedPaths_.makeImmutable(); + result.changedPaths_ = changedPaths_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.FormatPathResult) { + return mergeFrom((com.kcl.api.Spec.FormatPathResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.FormatPathResult other) { + if (other == com.kcl.api.Spec.FormatPathResult.getDefaultInstance()) return this; + if (!other.changedPaths_.isEmpty()) { + if (changedPaths_.isEmpty()) { + changedPaths_ = other.changedPaths_; + bitField0_ |= 0x00000001; + } else { + ensureChangedPathsIsMutable(); + changedPaths_.addAll(other.changedPaths_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureChangedPathsIsMutable(); + changedPaths_.add(s); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList changedPaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureChangedPathsIsMutable() { + if (!changedPaths_.isModifiable()) { + changedPaths_ = new com.google.protobuf.LazyStringArrayList(changedPaths_); + } + bitField0_ |= 0x00000001; + } + /** + *
+       * List of changed file paths.
+       * 
+ * + * repeated string changed_paths = 1; + * @return A list containing the changedPaths. + */ + public com.google.protobuf.ProtocolStringList + getChangedPathsList() { + changedPaths_.makeImmutable(); + return changedPaths_; + } + /** + *
+       * List of changed file paths.
+       * 
+ * + * repeated string changed_paths = 1; + * @return The count of changedPaths. + */ + public int getChangedPathsCount() { + return changedPaths_.size(); + } + /** + *
+       * List of changed file paths.
+       * 
+ * + * repeated string changed_paths = 1; + * @param index The index of the element to return. + * @return The changedPaths at the given index. + */ + public java.lang.String getChangedPaths(int index) { + return changedPaths_.get(index); + } + /** + *
+       * List of changed file paths.
+       * 
+ * + * repeated string changed_paths = 1; + * @param index The index of the value to return. + * @return The bytes of the changedPaths at the given index. + */ + public com.google.protobuf.ByteString + getChangedPathsBytes(int index) { + return changedPaths_.getByteString(index); + } + /** + *
+       * List of changed file paths.
+       * 
+ * + * repeated string changed_paths = 1; + * @param index The index to set the value at. + * @param value The changedPaths to set. + * @return This builder for chaining. + */ + public Builder setChangedPaths( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureChangedPathsIsMutable(); + changedPaths_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * List of changed file paths.
+       * 
+ * + * repeated string changed_paths = 1; + * @param value The changedPaths to add. + * @return This builder for chaining. + */ + public Builder addChangedPaths( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureChangedPathsIsMutable(); + changedPaths_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * List of changed file paths.
+       * 
+ * + * repeated string changed_paths = 1; + * @param values The changedPaths to add. + * @return This builder for chaining. + */ + public Builder addAllChangedPaths( + java.lang.Iterable values) { + ensureChangedPathsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, changedPaths_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * List of changed file paths.
+       * 
+ * + * repeated string changed_paths = 1; + * @return This builder for chaining. + */ + public Builder clearChangedPaths() { + changedPaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; + onChanged(); + return this; + } + /** + *
+       * List of changed file paths.
+       * 
+ * + * repeated string changed_paths = 1; + * @param value The bytes of the changedPaths to add. + * @return This builder for chaining. + */ + public Builder addChangedPathsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureChangedPathsIsMutable(); + changedPaths_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatPathResult) + } - @java.lang.Override - public com.kcl.api.Spec.RenameCode_Args buildPartial() { - com.kcl.api.Spec.RenameCode_Args result = new com.kcl.api.Spec.RenameCode_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.FormatPathResult) + private static final com.kcl.api.Spec.FormatPathResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatPathResult(); + } - private void buildPartial0(com.kcl.api.Spec.RenameCode_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.packageRoot_ = packageRoot_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.symbolPath_ = symbolPath_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.sourceCodes_ = internalGetSourceCodes(); - result.sourceCodes_.makeImmutable(); - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.newName_ = newName_; - } - } + public static com.kcl.api.Spec.FormatPathResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.RenameCode_Args) { - return mergeFrom((com.kcl.api.Spec.RenameCode_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FormatPathResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public Builder mergeFrom(com.kcl.api.Spec.RenameCode_Args other) { - if (other == com.kcl.api.Spec.RenameCode_Args.getDefaultInstance()) - return this; - if (!other.getPackageRoot().isEmpty()) { - packageRoot_ = other.packageRoot_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getSymbolPath().isEmpty()) { - symbolPath_ = other.symbolPath_; - bitField0_ |= 0x00000002; - onChanged(); - } - internalGetMutableSourceCodes().mergeFrom(other.internalGetSourceCodes()); - bitField0_ |= 0x00000004; - if (!other.getNewName().isEmpty()) { - newName_ = other.newName_; - bitField0_ |= 0x00000008; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + @java.lang.Override + public com.kcl.api.Spec.FormatPathResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - packageRoot_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - symbolPath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - com.google.protobuf.MapEntry sourceCodes__ = input - .readMessage(SourceCodesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableSourceCodes().getMutableMap().put(sourceCodes__.getKey(), - sourceCodes__.getValue()); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - newName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + } - private int bitField0_; - - private java.lang.Object packageRoot_ = ""; - - /** - *
-             * File path to the package root.
-             * 
- * - * string package_root = 1; - * - * @return The packageRoot. - */ - public java.lang.String getPackageRoot() { - java.lang.Object ref = packageRoot_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - packageRoot_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public interface LintPathArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.LintPathArgs) + com.google.protobuf.MessageOrBuilder { - /** - *
-             * File path to the package root.
-             * 
- * - * string package_root = 1; - * - * @return The bytes for packageRoot. - */ - public com.google.protobuf.ByteString getPackageRootBytes() { - java.lang.Object ref = packageRoot_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - packageRoot_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + *
+     * Paths of the files to lint.
+     * 
+ * + * repeated string paths = 1; + * @return A list containing the paths. + */ + java.util.List + getPathsList(); + /** + *
+     * Paths of the files to lint.
+     * 
+ * + * repeated string paths = 1; + * @return The count of paths. + */ + int getPathsCount(); + /** + *
+     * Paths of the files to lint.
+     * 
+ * + * repeated string paths = 1; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + java.lang.String getPaths(int index); + /** + *
+     * Paths of the files to lint.
+     * 
+ * + * repeated string paths = 1; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + com.google.protobuf.ByteString + getPathsBytes(int index); + } + /** + *
+   * Message for lint file path request arguments.
+   * 
+ * + * Protobuf type {@code com.kcl.api.LintPathArgs} + */ + public static final class LintPathArgs extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.LintPathArgs) + LintPathArgsOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "LintPathArgs"); + } + // Use LintPathArgs.newBuilder() to construct. + private LintPathArgs(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private LintPathArgs() { + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - /** - *
-             * File path to the package root.
-             * 
- * - * string package_root = 1; - * - * @param value - * The packageRoot to set. - * - * @return This builder for chaining. - */ - public Builder setPackageRoot(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - packageRoot_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPathArgs_descriptor; + } - /** - *
-             * File path to the package root.
-             * 
- * - * string package_root = 1; - * - * @return This builder for chaining. - */ - public Builder clearPackageRoot() { - packageRoot_ = getDefaultInstance().getPackageRoot(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPathArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LintPathArgs.class, com.kcl.api.Spec.LintPathArgs.Builder.class); + } - /** - *
-             * File path to the package root.
-             * 
- * - * string package_root = 1; - * - * @param value - * The bytes for packageRoot to set. - * - * @return This builder for chaining. - */ - public Builder setPackageRootBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - packageRoot_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + public static final int PATHS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * Paths of the files to lint.
+     * 
+ * + * repeated string paths = 1; + * @return A list containing the paths. + */ + public com.google.protobuf.ProtocolStringList + getPathsList() { + return paths_; + } + /** + *
+     * Paths of the files to lint.
+     * 
+ * + * repeated string paths = 1; + * @return The count of paths. + */ + public int getPathsCount() { + return paths_.size(); + } + /** + *
+     * Paths of the files to lint.
+     * 
+ * + * repeated string paths = 1; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + public java.lang.String getPaths(int index) { + return paths_.get(index); + } + /** + *
+     * Paths of the files to lint.
+     * 
+ * + * repeated string paths = 1; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + public com.google.protobuf.ByteString + getPathsBytes(int index) { + return paths_.getByteString(index); + } - private java.lang.Object symbolPath_ = ""; - - /** - *
-             * Path to the target symbol to be renamed.
-             * 
- * - * string symbol_path = 2; - * - * @return The symbolPath. - */ - public java.lang.String getSymbolPath() { - java.lang.Object ref = symbolPath_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - symbolPath_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * Path to the target symbol to be renamed.
-             * 
- * - * string symbol_path = 2; - * - * @return The bytes for symbolPath. - */ - public com.google.protobuf.ByteString getSymbolPathBytes() { - java.lang.Object ref = symbolPath_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - symbolPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-             * Path to the target symbol to be renamed.
-             * 
- * - * string symbol_path = 2; - * - * @param value - * The symbolPath to set. - * - * @return This builder for chaining. - */ - public Builder setSymbolPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - symbolPath_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < paths_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, paths_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } - /** - *
-             * Path to the target symbol to be renamed.
-             * 
- * - * string symbol_path = 2; - * - * @return This builder for chaining. - */ - public Builder clearSymbolPath() { - symbolPath_ = getDefaultInstance().getSymbolPath(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < paths_.size(); i++) { + dataSize += computeStringSizeNoTag(paths_.getRaw(i)); + } + size += dataSize; + size += 1 * getPathsList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-             * Path to the target symbol to be renamed.
-             * 
- * - * string symbol_path = 2; - * - * @param value - * The bytes for symbolPath to set. - * - * @return This builder for chaining. - */ - public Builder setSymbolPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - symbolPath_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.LintPathArgs)) { + return super.equals(obj); + } + com.kcl.api.Spec.LintPathArgs other = (com.kcl.api.Spec.LintPathArgs) obj; + + if (!getPathsList() + .equals(other.getPathsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - private com.google.protobuf.MapField sourceCodes_; + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getPathsCount() > 0) { + hash = (37 * hash) + PATHS_FIELD_NUMBER; + hash = (53 * hash) + getPathsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - private com.google.protobuf.MapField internalGetSourceCodes() { - if (sourceCodes_ == null) { - return com.google.protobuf.MapField.emptyMapField(SourceCodesDefaultEntryHolder.defaultEntry); - } - return sourceCodes_; - } + public static com.kcl.api.Spec.LintPathArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LintPathArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LintPathArgs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LintPathArgs parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LintPathArgs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LintPathArgs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LintPathArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LintPathArgs parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - private com.google.protobuf.MapField internalGetMutableSourceCodes() { - if (sourceCodes_ == null) { - sourceCodes_ = com.google.protobuf.MapField.newMapField(SourceCodesDefaultEntryHolder.defaultEntry); - } - if (!sourceCodes_.isMutable()) { - sourceCodes_ = sourceCodes_.copy(); - } - bitField0_ |= 0x00000004; - onChanged(); - return sourceCodes_; - } + public static com.kcl.api.Spec.LintPathArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - public int getSourceCodesCount() { - return internalGetSourceCodes().getMap().size(); - } + public static com.kcl.api.Spec.LintPathArgs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.LintPathArgs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LintPathArgs parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Map of source code with filename as key and code as value.
-             * 
- * - * map<string, string> source_codes = 3; - */ - @java.lang.Override - public boolean containsSourceCodes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetSourceCodes().getMap().containsKey(key); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.LintPathArgs prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - * Use {@link #getSourceCodesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getSourceCodes() { - return getSourceCodesMap(); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for lint file path request arguments.
+     * 
+ * + * Protobuf type {@code com.kcl.api.LintPathArgs} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.LintPathArgs) + com.kcl.api.Spec.LintPathArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPathArgs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPathArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LintPathArgs.class, com.kcl.api.Spec.LintPathArgs.Builder.class); + } + + // Construct using com.kcl.api.Spec.LintPathArgs.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPathArgs_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.LintPathArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.LintPathArgs.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.LintPathArgs build() { + com.kcl.api.Spec.LintPathArgs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.LintPathArgs buildPartial() { + com.kcl.api.Spec.LintPathArgs result = new com.kcl.api.Spec.LintPathArgs(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.LintPathArgs result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + paths_.makeImmutable(); + result.paths_ = paths_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.LintPathArgs) { + return mergeFrom((com.kcl.api.Spec.LintPathArgs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.LintPathArgs other) { + if (other == com.kcl.api.Spec.LintPathArgs.getDefaultInstance()) return this; + if (!other.paths_.isEmpty()) { + if (paths_.isEmpty()) { + paths_ = other.paths_; + bitField0_ |= 0x00000001; + } else { + ensurePathsIsMutable(); + paths_.addAll(other.paths_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePathsIsMutable(); + paths_.add(s); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePathsIsMutable() { + if (!paths_.isModifiable()) { + paths_ = new com.google.protobuf.LazyStringArrayList(paths_); + } + bitField0_ |= 0x00000001; + } + /** + *
+       * Paths of the files to lint.
+       * 
+ * + * repeated string paths = 1; + * @return A list containing the paths. + */ + public com.google.protobuf.ProtocolStringList + getPathsList() { + paths_.makeImmutable(); + return paths_; + } + /** + *
+       * Paths of the files to lint.
+       * 
+ * + * repeated string paths = 1; + * @return The count of paths. + */ + public int getPathsCount() { + return paths_.size(); + } + /** + *
+       * Paths of the files to lint.
+       * 
+ * + * repeated string paths = 1; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + public java.lang.String getPaths(int index) { + return paths_.get(index); + } + /** + *
+       * Paths of the files to lint.
+       * 
+ * + * repeated string paths = 1; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + public com.google.protobuf.ByteString + getPathsBytes(int index) { + return paths_.getByteString(index); + } + /** + *
+       * Paths of the files to lint.
+       * 
+ * + * repeated string paths = 1; + * @param index The index to set the value at. + * @param value The paths to set. + * @return This builder for chaining. + */ + public Builder setPaths( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathsIsMutable(); + paths_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Paths of the files to lint.
+       * 
+ * + * repeated string paths = 1; + * @param value The paths to add. + * @return This builder for chaining. + */ + public Builder addPaths( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathsIsMutable(); + paths_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Paths of the files to lint.
+       * 
+ * + * repeated string paths = 1; + * @param values The paths to add. + * @return This builder for chaining. + */ + public Builder addAllPaths( + java.lang.Iterable values) { + ensurePathsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, paths_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Paths of the files to lint.
+       * 
+ * + * repeated string paths = 1; + * @return This builder for chaining. + */ + public Builder clearPaths() { + paths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; + onChanged(); + return this; + } + /** + *
+       * Paths of the files to lint.
+       * 
+ * + * repeated string paths = 1; + * @param value The bytes of the paths to add. + * @return This builder for chaining. + */ + public Builder addPathsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensurePathsIsMutable(); + paths_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.LintPathArgs) + } - /** - *
-             * Map of source code with filename as key and code as value.
-             * 
- * - * map<string, string> source_codes = 3; - */ - @java.lang.Override - public java.util.Map getSourceCodesMap() { - return internalGetSourceCodes().getMap(); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.LintPathArgs) + private static final com.kcl.api.Spec.LintPathArgs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.LintPathArgs(); + } - /** - *
-             * Map of source code with filename as key and code as value.
-             * 
- * - * map<string, string> source_codes = 3; - */ - @java.lang.Override - public /* nullable */ - java.lang.String getSourceCodesOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSourceCodes().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } + public static com.kcl.api.Spec.LintPathArgs getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-             * Map of source code with filename as key and code as value.
-             * 
- * - * map<string, string> source_codes = 3; - */ - @java.lang.Override - public java.lang.String getSourceCodesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetSourceCodes().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LintPathArgs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public Builder clearSourceCodes() { - bitField0_ = (bitField0_ & ~0x00000004); - internalGetMutableSourceCodes().getMutableMap().clear(); - return this; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-             * Map of source code with filename as key and code as value.
-             * 
- * - * map<string, string> source_codes = 3; - */ - public Builder removeSourceCodes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableSourceCodes().getMutableMap().remove(key); - return this; - } + @java.lang.Override + public com.kcl.api.Spec.LintPathArgs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableSourceCodes() { - bitField0_ |= 0x00000004; - return internalGetMutableSourceCodes().getMutableMap(); - } + } - /** - *
-             * Map of source code with filename as key and code as value.
-             * 
- * - * map<string, string> source_codes = 3; - */ - public Builder putSourceCodes(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableSourceCodes().getMutableMap().put(key, value); - bitField0_ |= 0x00000004; - return this; - } + public interface LintPathResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.LintPathResult) + com.google.protobuf.MessageOrBuilder { - /** - *
-             * Map of source code with filename as key and code as value.
-             * 
- * - * map<string, string> source_codes = 3; - */ - public Builder putAllSourceCodes(java.util.Map values) { - internalGetMutableSourceCodes().getMutableMap().putAll(values); - bitField0_ |= 0x00000004; - return this; - } + /** + *
+     * List of lint results.
+     * 
+ * + * repeated string results = 1; + * @return A list containing the results. + */ + java.util.List + getResultsList(); + /** + *
+     * List of lint results.
+     * 
+ * + * repeated string results = 1; + * @return The count of results. + */ + int getResultsCount(); + /** + *
+     * List of lint results.
+     * 
+ * + * repeated string results = 1; + * @param index The index of the element to return. + * @return The results at the given index. + */ + java.lang.String getResults(int index); + /** + *
+     * List of lint results.
+     * 
+ * + * repeated string results = 1; + * @param index The index of the value to return. + * @return The bytes of the results at the given index. + */ + com.google.protobuf.ByteString + getResultsBytes(int index); + } + /** + *
+   * Message for lint file path response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.LintPathResult} + */ + public static final class LintPathResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.LintPathResult) + LintPathResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "LintPathResult"); + } + // Use LintPathResult.newBuilder() to construct. + private LintPathResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private LintPathResult() { + results_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - private java.lang.Object newName_ = ""; - - /** - *
-             * New name of the symbol.
-             * 
- * - * string new_name = 4; - * - * @return The newName. - */ - public java.lang.String getNewName() { - java.lang.Object ref = newName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - newName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPathResult_descriptor; + } - /** - *
-             * New name of the symbol.
-             * 
- * - * string new_name = 4; - * - * @return The bytes for newName. - */ - public com.google.protobuf.ByteString getNewNameBytes() { - java.lang.Object ref = newName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - newName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPathResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LintPathResult.class, com.kcl.api.Spec.LintPathResult.Builder.class); + } - /** - *
-             * New name of the symbol.
-             * 
- * - * string new_name = 4; - * - * @param value - * The newName to set. - * - * @return This builder for chaining. - */ - public Builder setNewName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - newName_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + public static final int RESULTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList results_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * List of lint results.
+     * 
+ * + * repeated string results = 1; + * @return A list containing the results. + */ + public com.google.protobuf.ProtocolStringList + getResultsList() { + return results_; + } + /** + *
+     * List of lint results.
+     * 
+ * + * repeated string results = 1; + * @return The count of results. + */ + public int getResultsCount() { + return results_.size(); + } + /** + *
+     * List of lint results.
+     * 
+ * + * repeated string results = 1; + * @param index The index of the element to return. + * @return The results at the given index. + */ + public java.lang.String getResults(int index) { + return results_.get(index); + } + /** + *
+     * List of lint results.
+     * 
+ * + * repeated string results = 1; + * @param index The index of the value to return. + * @return The bytes of the results at the given index. + */ + public com.google.protobuf.ByteString + getResultsBytes(int index) { + return results_.getByteString(index); + } - /** - *
-             * New name of the symbol.
-             * 
- * - * string new_name = 4; - * - * @return This builder for chaining. - */ - public Builder clearNewName() { - newName_ = getDefaultInstance().getNewName(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * New name of the symbol.
-             * 
- * - * string new_name = 4; - * - * @param value - * The bytes for newName to set. - * - * @return This builder for chaining. - */ - public Builder setNewNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - newName_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + memoizedIsInitialized = 1; + return true; + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.RenameCode_Args) - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < results_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, results_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } - // @@protoc_insertion_point(class_scope:com.kcl.api.RenameCode_Args) - private static final com.kcl.api.Spec.RenameCode_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.RenameCode_Args(); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < results_.size(); i++) { + dataSize += computeStringSizeNoTag(results_.getRaw(i)); + } + size += dataSize; + size += 1 * getResultsList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static com.kcl.api.Spec.RenameCode_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.LintPathResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.LintPathResult other = (com.kcl.api.Spec.LintPathResult) obj; + + if (!getResultsList() + .equals(other.getResultsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RenameCode_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getResultsCount() > 0) { + hash = (37 * hash) + RESULTS_FIELD_NUMBER; + hash = (53 * hash) + getResultsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + public static com.kcl.api.Spec.LintPathResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LintPathResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LintPathResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LintPathResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LintPathResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LintPathResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LintPathResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LintPathResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static com.kcl.api.Spec.LintPathResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public com.kcl.api.Spec.RenameCode_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface RenameCode_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.RenameCode_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Map of changed code with filename as key and modified code as value.
-         * 
- * - * map<string, string> changed_codes = 1; - */ - int getChangedCodesCount(); - - /** - *
-         * Map of changed code with filename as key and modified code as value.
-         * 
- * - * map<string, string> changed_codes = 1; - */ - boolean containsChangedCodes(java.lang.String key); - - /** - * Use {@link #getChangedCodesMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getChangedCodes(); - - /** - *
-         * Map of changed code with filename as key and modified code as value.
-         * 
- * - * map<string, string> changed_codes = 1; - */ - java.util.Map getChangedCodesMap(); - - /** - *
-         * Map of changed code with filename as key and modified code as value.
-         * 
- * - * map<string, string> changed_codes = 1; - */ - /* nullable */ - java.lang.String getChangedCodesOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue); + public static com.kcl.api.Spec.LintPathResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.LintPathResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LintPathResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-         * Map of changed code with filename as key and modified code as value.
-         * 
- * - * map<string, string> changed_codes = 1; - */ - java.lang.String getChangedCodesOrThrow(java.lang.String key); + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.LintPathResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** *
-     * Message for rename code response.
+     * Message for lint file path response.
      * 
* - * Protobuf type {@code com.kcl.api.RenameCode_Result} + * Protobuf type {@code com.kcl.api.LintPathResult} */ - public static final class RenameCode_Result extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.RenameCode_Result) - RenameCode_ResultOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", RenameCode_Result.class.getName()); - } + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.LintPathResult) + com.kcl.api.Spec.LintPathResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPathResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPathResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LintPathResult.class, com.kcl.api.Spec.LintPathResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.LintPathResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + results_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPathResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.LintPathResult getDefaultInstanceForType() { + return com.kcl.api.Spec.LintPathResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.LintPathResult build() { + com.kcl.api.Spec.LintPathResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.LintPathResult buildPartial() { + com.kcl.api.Spec.LintPathResult result = new com.kcl.api.Spec.LintPathResult(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.LintPathResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + results_.makeImmutable(); + result.results_ = results_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.LintPathResult) { + return mergeFrom((com.kcl.api.Spec.LintPathResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.LintPathResult other) { + if (other == com.kcl.api.Spec.LintPathResult.getDefaultInstance()) return this; + if (!other.results_.isEmpty()) { + if (results_.isEmpty()) { + results_ = other.results_; + bitField0_ |= 0x00000001; + } else { + ensureResultsIsMutable(); + results_.addAll(other.results_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureResultsIsMutable(); + results_.add(s); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList results_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureResultsIsMutable() { + if (!results_.isModifiable()) { + results_ = new com.google.protobuf.LazyStringArrayList(results_); + } + bitField0_ |= 0x00000001; + } + /** + *
+       * List of lint results.
+       * 
+ * + * repeated string results = 1; + * @return A list containing the results. + */ + public com.google.protobuf.ProtocolStringList + getResultsList() { + results_.makeImmutable(); + return results_; + } + /** + *
+       * List of lint results.
+       * 
+ * + * repeated string results = 1; + * @return The count of results. + */ + public int getResultsCount() { + return results_.size(); + } + /** + *
+       * List of lint results.
+       * 
+ * + * repeated string results = 1; + * @param index The index of the element to return. + * @return The results at the given index. + */ + public java.lang.String getResults(int index) { + return results_.get(index); + } + /** + *
+       * List of lint results.
+       * 
+ * + * repeated string results = 1; + * @param index The index of the value to return. + * @return The bytes of the results at the given index. + */ + public com.google.protobuf.ByteString + getResultsBytes(int index) { + return results_.getByteString(index); + } + /** + *
+       * List of lint results.
+       * 
+ * + * repeated string results = 1; + * @param index The index to set the value at. + * @param value The results to set. + * @return This builder for chaining. + */ + public Builder setResults( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureResultsIsMutable(); + results_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * List of lint results.
+       * 
+ * + * repeated string results = 1; + * @param value The results to add. + * @return This builder for chaining. + */ + public Builder addResults( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureResultsIsMutable(); + results_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * List of lint results.
+       * 
+ * + * repeated string results = 1; + * @param values The results to add. + * @return This builder for chaining. + */ + public Builder addAllResults( + java.lang.Iterable values) { + ensureResultsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, results_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * List of lint results.
+       * 
+ * + * repeated string results = 1; + * @return This builder for chaining. + */ + public Builder clearResults() { + results_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; + onChanged(); + return this; + } + /** + *
+       * List of lint results.
+       * 
+ * + * repeated string results = 1; + * @param value The bytes of the results to add. + * @return This builder for chaining. + */ + public Builder addResultsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureResultsIsMutable(); + results_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.LintPathResult) + } - // Use RenameCode_Result.newBuilder() to construct. - private RenameCode_Result(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.LintPathResult) + private static final com.kcl.api.Spec.LintPathResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.LintPathResult(); + } - private RenameCode_Result() { - } + public static com.kcl.api.Spec.LintPathResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_descriptor; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LintPathResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @SuppressWarnings({ "rawtypes" }) - @java.lang.Override - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 1: - return internalGetChangedCodes(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.RenameCode_Result.class, - com.kcl.api.Spec.RenameCode_Result.Builder.class); - } + @java.lang.Override + public com.kcl.api.Spec.LintPathResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static final int CHANGED_CODES_FIELD_NUMBER = 1; + } - private static final class ChangedCodesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.STRING, ""); - } + public interface OverrideFileArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.OverrideFileArgs) + com.google.protobuf.MessageOrBuilder { - @SuppressWarnings("serial") - private com.google.protobuf.MapField changedCodes_; + /** + *
+     * Path of the file to override.
+     * 
+ * + * string file = 1; + * @return The file. + */ + java.lang.String getFile(); + /** + *
+     * Path of the file to override.
+     * 
+ * + * string file = 1; + * @return The bytes for file. + */ + com.google.protobuf.ByteString + getFileBytes(); - private com.google.protobuf.MapField internalGetChangedCodes() { - if (changedCodes_ == null) { - return com.google.protobuf.MapField.emptyMapField(ChangedCodesDefaultEntryHolder.defaultEntry); - } - return changedCodes_; - } + /** + *
+     * List of override specifications.
+     * 
+ * + * repeated string specs = 2; + * @return A list containing the specs. + */ + java.util.List + getSpecsList(); + /** + *
+     * List of override specifications.
+     * 
+ * + * repeated string specs = 2; + * @return The count of specs. + */ + int getSpecsCount(); + /** + *
+     * List of override specifications.
+     * 
+ * + * repeated string specs = 2; + * @param index The index of the element to return. + * @return The specs at the given index. + */ + java.lang.String getSpecs(int index); + /** + *
+     * List of override specifications.
+     * 
+ * + * repeated string specs = 2; + * @param index The index of the value to return. + * @return The bytes of the specs at the given index. + */ + com.google.protobuf.ByteString + getSpecsBytes(int index); - public int getChangedCodesCount() { - return internalGetChangedCodes().getMap().size(); - } + /** + *
+     * List of import paths.
+     * 
+ * + * repeated string import_paths = 3; + * @return A list containing the importPaths. + */ + java.util.List + getImportPathsList(); + /** + *
+     * List of import paths.
+     * 
+ * + * repeated string import_paths = 3; + * @return The count of importPaths. + */ + int getImportPathsCount(); + /** + *
+     * List of import paths.
+     * 
+ * + * repeated string import_paths = 3; + * @param index The index of the element to return. + * @return The importPaths at the given index. + */ + java.lang.String getImportPaths(int index); + /** + *
+     * List of import paths.
+     * 
+ * + * repeated string import_paths = 3; + * @param index The index of the value to return. + * @return The bytes of the importPaths at the given index. + */ + com.google.protobuf.ByteString + getImportPathsBytes(int index); + } + /** + *
+   * Message for override file request arguments.
+   * 
+ * + * Protobuf type {@code com.kcl.api.OverrideFileArgs} + */ + public static final class OverrideFileArgs extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.OverrideFileArgs) + OverrideFileArgsOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "OverrideFileArgs"); + } + // Use OverrideFileArgs.newBuilder() to construct. + private OverrideFileArgs(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private OverrideFileArgs() { + file_ = ""; + specs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + importPaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - /** - *
-         * Map of changed code with filename as key and modified code as value.
-         * 
- * - * map<string, string> changed_codes = 1; - */ - @java.lang.Override - public boolean containsChangedCodes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetChangedCodes().getMap().containsKey(key); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFileArgs_descriptor; + } - /** - * Use {@link #getChangedCodesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getChangedCodes() { - return getChangedCodesMap(); - } - - /** - *
-         * Map of changed code with filename as key and modified code as value.
-         * 
- * - * map<string, string> changed_codes = 1; - */ - @java.lang.Override - public java.util.Map getChangedCodesMap() { - return internalGetChangedCodes().getMap(); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFileArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.OverrideFileArgs.class, com.kcl.api.Spec.OverrideFileArgs.Builder.class); + } - /** - *
-         * Map of changed code with filename as key and modified code as value.
-         * 
- * - * map<string, string> changed_codes = 1; - */ - @java.lang.Override - public /* nullable */ - java.lang.String getChangedCodesOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetChangedCodes().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } + public static final int FILE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object file_ = ""; + /** + *
+     * Path of the file to override.
+     * 
+ * + * string file = 1; + * @return The file. + */ + @java.lang.Override + public java.lang.String getFile() { + java.lang.Object ref = file_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + file_ = s; + return s; + } + } + /** + *
+     * Path of the file to override.
+     * 
+ * + * string file = 1; + * @return The bytes for file. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFileBytes() { + java.lang.Object ref = file_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + file_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-         * Map of changed code with filename as key and modified code as value.
-         * 
- * - * map<string, string> changed_codes = 1; - */ - @java.lang.Override - public java.lang.String getChangedCodesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetChangedCodes().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } + public static final int SPECS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList specs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * List of override specifications.
+     * 
+ * + * repeated string specs = 2; + * @return A list containing the specs. + */ + public com.google.protobuf.ProtocolStringList + getSpecsList() { + return specs_; + } + /** + *
+     * List of override specifications.
+     * 
+ * + * repeated string specs = 2; + * @return The count of specs. + */ + public int getSpecsCount() { + return specs_.size(); + } + /** + *
+     * List of override specifications.
+     * 
+ * + * repeated string specs = 2; + * @param index The index of the element to return. + * @return The specs at the given index. + */ + public java.lang.String getSpecs(int index) { + return specs_.get(index); + } + /** + *
+     * List of override specifications.
+     * 
+ * + * repeated string specs = 2; + * @param index The index of the value to return. + * @return The bytes of the specs at the given index. + */ + public com.google.protobuf.ByteString + getSpecsBytes(int index) { + return specs_.getByteString(index); + } - private byte memoizedIsInitialized = -1; + public static final int IMPORT_PATHS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList importPaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * List of import paths.
+     * 
+ * + * repeated string import_paths = 3; + * @return A list containing the importPaths. + */ + public com.google.protobuf.ProtocolStringList + getImportPathsList() { + return importPaths_; + } + /** + *
+     * List of import paths.
+     * 
+ * + * repeated string import_paths = 3; + * @return The count of importPaths. + */ + public int getImportPathsCount() { + return importPaths_.size(); + } + /** + *
+     * List of import paths.
+     * 
+ * + * repeated string import_paths = 3; + * @param index The index of the element to return. + * @return The importPaths at the given index. + */ + public java.lang.String getImportPaths(int index) { + return importPaths_.get(index); + } + /** + *
+     * List of import paths.
+     * 
+ * + * repeated string import_paths = 3; + * @param index The index of the value to return. + * @return The bytes of the importPaths at the given index. + */ + public com.google.protobuf.ByteString + getImportPathsBytes(int index) { + return importPaths_.getByteString(index); + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - memoizedIsInitialized = 1; - return true; - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - com.google.protobuf.GeneratedMessage.serializeStringMapTo(output, internalGetChangedCodes(), - ChangedCodesDefaultEntryHolder.defaultEntry, 1); - getUnknownFields().writeTo(output); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(file_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, file_); + } + for (int i = 0; i < specs_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, specs_.getRaw(i)); + } + for (int i = 0; i < importPaths_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, importPaths_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - for (java.util.Map.Entry entry : internalGetChangedCodes().getMap() - .entrySet()) { - com.google.protobuf.MapEntry changedCodes__ = ChangedCodesDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, changedCodes__); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(file_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, file_); + } + { + int dataSize = 0; + for (int i = 0; i < specs_.size(); i++) { + dataSize += computeStringSizeNoTag(specs_.getRaw(i)); + } + size += dataSize; + size += 1 * getSpecsList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < importPaths_.size(); i++) { + dataSize += computeStringSizeNoTag(importPaths_.getRaw(i)); + } + size += dataSize; + size += 1 * getImportPathsList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.RenameCode_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.RenameCode_Result other = (com.kcl.api.Spec.RenameCode_Result) obj; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.OverrideFileArgs)) { + return super.equals(obj); + } + com.kcl.api.Spec.OverrideFileArgs other = (com.kcl.api.Spec.OverrideFileArgs) obj; + + if (!getFile() + .equals(other.getFile())) return false; + if (!getSpecsList() + .equals(other.getSpecsList())) return false; + if (!getImportPathsList() + .equals(other.getImportPathsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - if (!internalGetChangedCodes().equals(other.internalGetChangedCodes())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + FILE_FIELD_NUMBER; + hash = (53 * hash) + getFile().hashCode(); + if (getSpecsCount() > 0) { + hash = (37 * hash) + SPECS_FIELD_NUMBER; + hash = (53 * hash) + getSpecsList().hashCode(); + } + if (getImportPathsCount() > 0) { + hash = (37 * hash) + IMPORT_PATHS_FIELD_NUMBER; + hash = (53 * hash) + getImportPathsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (!internalGetChangedCodes().getMap().isEmpty()) { - hash = (37 * hash) + CHANGED_CODES_FIELD_NUMBER; - hash = (53 * hash) + internalGetChangedCodes().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + public static com.kcl.api.Spec.OverrideFileArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.OverrideFileArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.OverrideFileArgs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.OverrideFileArgs parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.OverrideFileArgs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.OverrideFileArgs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.OverrideFileArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.OverrideFileArgs parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.kcl.api.Spec.RenameCode_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static com.kcl.api.Spec.OverrideFileArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - public static com.kcl.api.Spec.RenameCode_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static com.kcl.api.Spec.OverrideFileArgs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.OverrideFileArgs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.OverrideFileArgs parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.kcl.api.Spec.RenameCode_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.OverrideFileArgs prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - public static com.kcl.api.Spec.RenameCode_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for override file request arguments.
+     * 
+ * + * Protobuf type {@code com.kcl.api.OverrideFileArgs} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.OverrideFileArgs) + com.kcl.api.Spec.OverrideFileArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFileArgs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFileArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.OverrideFileArgs.class, com.kcl.api.Spec.OverrideFileArgs.Builder.class); + } + + // Construct using com.kcl.api.Spec.OverrideFileArgs.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + file_ = ""; + specs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + importPaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFileArgs_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.OverrideFileArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.OverrideFileArgs.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.OverrideFileArgs build() { + com.kcl.api.Spec.OverrideFileArgs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.OverrideFileArgs buildPartial() { + com.kcl.api.Spec.OverrideFileArgs result = new com.kcl.api.Spec.OverrideFileArgs(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.OverrideFileArgs result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.file_ = file_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + specs_.makeImmutable(); + result.specs_ = specs_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + importPaths_.makeImmutable(); + result.importPaths_ = importPaths_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.OverrideFileArgs) { + return mergeFrom((com.kcl.api.Spec.OverrideFileArgs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.OverrideFileArgs other) { + if (other == com.kcl.api.Spec.OverrideFileArgs.getDefaultInstance()) return this; + if (!other.getFile().isEmpty()) { + file_ = other.file_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.specs_.isEmpty()) { + if (specs_.isEmpty()) { + specs_ = other.specs_; + bitField0_ |= 0x00000002; + } else { + ensureSpecsIsMutable(); + specs_.addAll(other.specs_); + } + onChanged(); + } + if (!other.importPaths_.isEmpty()) { + if (importPaths_.isEmpty()) { + importPaths_ = other.importPaths_; + bitField0_ |= 0x00000004; + } else { + ensureImportPathsIsMutable(); + importPaths_.addAll(other.importPaths_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + file_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureSpecsIsMutable(); + specs_.add(s); + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureImportPathsIsMutable(); + importPaths_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object file_ = ""; + /** + *
+       * Path of the file to override.
+       * 
+ * + * string file = 1; + * @return The file. + */ + public java.lang.String getFile() { + java.lang.Object ref = file_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + file_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Path of the file to override.
+       * 
+ * + * string file = 1; + * @return The bytes for file. + */ + public com.google.protobuf.ByteString + getFileBytes() { + java.lang.Object ref = file_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + file_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Path of the file to override.
+       * 
+ * + * string file = 1; + * @param value The file to set. + * @return This builder for chaining. + */ + public Builder setFile( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + file_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Path of the file to override.
+       * 
+ * + * string file = 1; + * @return This builder for chaining. + */ + public Builder clearFile() { + file_ = getDefaultInstance().getFile(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Path of the file to override.
+       * 
+ * + * string file = 1; + * @param value The bytes for file to set. + * @return This builder for chaining. + */ + public Builder setFileBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + file_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList specs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSpecsIsMutable() { + if (!specs_.isModifiable()) { + specs_ = new com.google.protobuf.LazyStringArrayList(specs_); + } + bitField0_ |= 0x00000002; + } + /** + *
+       * List of override specifications.
+       * 
+ * + * repeated string specs = 2; + * @return A list containing the specs. + */ + public com.google.protobuf.ProtocolStringList + getSpecsList() { + specs_.makeImmutable(); + return specs_; + } + /** + *
+       * List of override specifications.
+       * 
+ * + * repeated string specs = 2; + * @return The count of specs. + */ + public int getSpecsCount() { + return specs_.size(); + } + /** + *
+       * List of override specifications.
+       * 
+ * + * repeated string specs = 2; + * @param index The index of the element to return. + * @return The specs at the given index. + */ + public java.lang.String getSpecs(int index) { + return specs_.get(index); + } + /** + *
+       * List of override specifications.
+       * 
+ * + * repeated string specs = 2; + * @param index The index of the value to return. + * @return The bytes of the specs at the given index. + */ + public com.google.protobuf.ByteString + getSpecsBytes(int index) { + return specs_.getByteString(index); + } + /** + *
+       * List of override specifications.
+       * 
+ * + * repeated string specs = 2; + * @param index The index to set the value at. + * @param value The specs to set. + * @return This builder for chaining. + */ + public Builder setSpecs( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureSpecsIsMutable(); + specs_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * List of override specifications.
+       * 
+ * + * repeated string specs = 2; + * @param value The specs to add. + * @return This builder for chaining. + */ + public Builder addSpecs( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureSpecsIsMutable(); + specs_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * List of override specifications.
+       * 
+ * + * repeated string specs = 2; + * @param values The specs to add. + * @return This builder for chaining. + */ + public Builder addAllSpecs( + java.lang.Iterable values) { + ensureSpecsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, specs_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * List of override specifications.
+       * 
+ * + * repeated string specs = 2; + * @return This builder for chaining. + */ + public Builder clearSpecs() { + specs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + *
+       * List of override specifications.
+       * 
+ * + * repeated string specs = 2; + * @param value The bytes of the specs to add. + * @return This builder for chaining. + */ + public Builder addSpecsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureSpecsIsMutable(); + specs_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList importPaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureImportPathsIsMutable() { + if (!importPaths_.isModifiable()) { + importPaths_ = new com.google.protobuf.LazyStringArrayList(importPaths_); + } + bitField0_ |= 0x00000004; + } + /** + *
+       * List of import paths.
+       * 
+ * + * repeated string import_paths = 3; + * @return A list containing the importPaths. + */ + public com.google.protobuf.ProtocolStringList + getImportPathsList() { + importPaths_.makeImmutable(); + return importPaths_; + } + /** + *
+       * List of import paths.
+       * 
+ * + * repeated string import_paths = 3; + * @return The count of importPaths. + */ + public int getImportPathsCount() { + return importPaths_.size(); + } + /** + *
+       * List of import paths.
+       * 
+ * + * repeated string import_paths = 3; + * @param index The index of the element to return. + * @return The importPaths at the given index. + */ + public java.lang.String getImportPaths(int index) { + return importPaths_.get(index); + } + /** + *
+       * List of import paths.
+       * 
+ * + * repeated string import_paths = 3; + * @param index The index of the value to return. + * @return The bytes of the importPaths at the given index. + */ + public com.google.protobuf.ByteString + getImportPathsBytes(int index) { + return importPaths_.getByteString(index); + } + /** + *
+       * List of import paths.
+       * 
+ * + * repeated string import_paths = 3; + * @param index The index to set the value at. + * @param value The importPaths to set. + * @return This builder for chaining. + */ + public Builder setImportPaths( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureImportPathsIsMutable(); + importPaths_.set(index, value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * List of import paths.
+       * 
+ * + * repeated string import_paths = 3; + * @param value The importPaths to add. + * @return This builder for chaining. + */ + public Builder addImportPaths( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureImportPathsIsMutable(); + importPaths_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * List of import paths.
+       * 
+ * + * repeated string import_paths = 3; + * @param values The importPaths to add. + * @return This builder for chaining. + */ + public Builder addAllImportPaths( + java.lang.Iterable values) { + ensureImportPathsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, importPaths_); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * List of import paths.
+       * 
+ * + * repeated string import_paths = 3; + * @return This builder for chaining. + */ + public Builder clearImportPaths() { + importPaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; + onChanged(); + return this; + } + /** + *
+       * List of import paths.
+       * 
+ * + * repeated string import_paths = 3; + * @param value The bytes of the importPaths to add. + * @return This builder for chaining. + */ + public Builder addImportPathsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureImportPathsIsMutable(); + importPaths_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.OverrideFileArgs) + } - public static com.kcl.api.Spec.RenameCode_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.OverrideFileArgs) + private static final com.kcl.api.Spec.OverrideFileArgs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.OverrideFileArgs(); + } - public static com.kcl.api.Spec.RenameCode_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static com.kcl.api.Spec.OverrideFileArgs getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.RenameCode_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OverrideFileArgs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static com.kcl.api.Spec.RenameCode_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static com.kcl.api.Spec.RenameCode_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } + @java.lang.Override + public com.kcl.api.Spec.OverrideFileArgs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.RenameCode_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } + } - public static com.kcl.api.Spec.RenameCode_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + public interface OverrideFileResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.OverrideFileResult) + com.google.protobuf.MessageOrBuilder { - public static com.kcl.api.Spec.RenameCode_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + /** + *
+     * Result of the override operation.
+     * 
+ * + * bool result = 1; + * @return The result. + */ + boolean getResult(); - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + /** + *
+     * List of parse errors encountered.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + java.util.List + getParseErrorsList(); + /** + *
+     * List of parse errors encountered.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + com.kcl.api.Spec.Error getParseErrors(int index); + /** + *
+     * List of parse errors encountered.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + int getParseErrorsCount(); + /** + *
+     * List of parse errors encountered.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + java.util.List + getParseErrorsOrBuilderList(); + /** + *
+     * List of parse errors encountered.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder( + int index); + } + /** + *
+   * Message for override file response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.OverrideFileResult} + */ + public static final class OverrideFileResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.OverrideFileResult) + OverrideFileResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "OverrideFileResult"); + } + // Use OverrideFileResult.newBuilder() to construct. + private OverrideFileResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private OverrideFileResult() { + parseErrors_ = java.util.Collections.emptyList(); + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFileResult_descriptor; + } - public static Builder newBuilder(com.kcl.api.Spec.RenameCode_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFileResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.OverrideFileResult.class, com.kcl.api.Spec.OverrideFileResult.Builder.class); + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + public static final int RESULT_FIELD_NUMBER = 1; + private boolean result_ = false; + /** + *
+     * Result of the override operation.
+     * 
+ * + * bool result = 1; + * @return The result. + */ + @java.lang.Override + public boolean getResult() { + return result_; + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for rename code response.
-         * 
- * - * Protobuf type {@code com.kcl.api.RenameCode_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.RenameCode_Result) - com.kcl.api.Spec.RenameCode_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_descriptor; - } + public static final int PARSE_ERRORS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List parseErrors_; + /** + *
+     * List of parse errors encountered.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + @java.lang.Override + public java.util.List getParseErrorsList() { + return parseErrors_; + } + /** + *
+     * List of parse errors encountered.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + @java.lang.Override + public java.util.List + getParseErrorsOrBuilderList() { + return parseErrors_; + } + /** + *
+     * List of parse errors encountered.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + @java.lang.Override + public int getParseErrorsCount() { + return parseErrors_.size(); + } + /** + *
+     * List of parse errors encountered.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.Error getParseErrors(int index) { + return parseErrors_.get(index); + } + /** + *
+     * List of parse errors encountered.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder( + int index) { + return parseErrors_.get(index); + } - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 1: - return internalGetChangedCodes(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) { - switch (number) { - case 1: - return internalGetMutableChangedCodes(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.RenameCode_Result.class, - com.kcl.api.Spec.RenameCode_Result.Builder.class); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (result_ != false) { + output.writeBool(1, result_); + } + for (int i = 0; i < parseErrors_.size(); i++) { + output.writeMessage(2, parseErrors_.get(i)); + } + getUnknownFields().writeTo(output); + } - // Construct using com.kcl.api.Spec.RenameCode_Result.newBuilder() - private Builder() { + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (result_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, result_); + } + for (int i = 0; i < parseErrors_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, parseErrors_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.OverrideFileResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.OverrideFileResult other = (com.kcl.api.Spec.OverrideFileResult) obj; + + if (getResult() + != other.getResult()) return false; + if (!getParseErrorsList() + .equals(other.getParseErrorsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + RESULT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getResult()); + if (getParseErrorsCount() > 0) { + hash = (37 * hash) + PARSE_ERRORS_FIELD_NUMBER; + hash = (53 * hash) + getParseErrorsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - } + public static com.kcl.api.Spec.OverrideFileResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.OverrideFileResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.OverrideFileResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.OverrideFileResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.OverrideFileResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.OverrideFileResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.OverrideFileResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.OverrideFileResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - internalGetMutableChangedCodes().clear(); - return this; - } + public static com.kcl.api.Spec.OverrideFileResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_descriptor; - } + public static com.kcl.api.Spec.OverrideFileResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.OverrideFileResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.OverrideFileResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public com.kcl.api.Spec.RenameCode_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.RenameCode_Result.getDefaultInstance(); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.OverrideFileResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public com.kcl.api.Spec.RenameCode_Result build() { - com.kcl.api.Spec.RenameCode_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for override file response.
+     * 
+ * + * Protobuf type {@code com.kcl.api.OverrideFileResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.OverrideFileResult) + com.kcl.api.Spec.OverrideFileResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFileResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFileResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.OverrideFileResult.class, com.kcl.api.Spec.OverrideFileResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.OverrideFileResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + result_ = false; + if (parseErrorsBuilder_ == null) { + parseErrors_ = java.util.Collections.emptyList(); + } else { + parseErrors_ = null; + parseErrorsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFileResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.OverrideFileResult getDefaultInstanceForType() { + return com.kcl.api.Spec.OverrideFileResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.OverrideFileResult build() { + com.kcl.api.Spec.OverrideFileResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.OverrideFileResult buildPartial() { + com.kcl.api.Spec.OverrideFileResult result = new com.kcl.api.Spec.OverrideFileResult(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.OverrideFileResult result) { + if (parseErrorsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + parseErrors_ = java.util.Collections.unmodifiableList(parseErrors_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.parseErrors_ = parseErrors_; + } else { + result.parseErrors_ = parseErrorsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.OverrideFileResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.result_ = result_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.OverrideFileResult) { + return mergeFrom((com.kcl.api.Spec.OverrideFileResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.OverrideFileResult other) { + if (other == com.kcl.api.Spec.OverrideFileResult.getDefaultInstance()) return this; + if (other.getResult() != false) { + setResult(other.getResult()); + } + if (parseErrorsBuilder_ == null) { + if (!other.parseErrors_.isEmpty()) { + if (parseErrors_.isEmpty()) { + parseErrors_ = other.parseErrors_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureParseErrorsIsMutable(); + parseErrors_.addAll(other.parseErrors_); + } + onChanged(); + } + } else { + if (!other.parseErrors_.isEmpty()) { + if (parseErrorsBuilder_.isEmpty()) { + parseErrorsBuilder_.dispose(); + parseErrorsBuilder_ = null; + parseErrors_ = other.parseErrors_; + bitField0_ = (bitField0_ & ~0x00000002); + parseErrorsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetParseErrorsFieldBuilder() : null; + } else { + parseErrorsBuilder_.addAllMessages(other.parseErrors_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + result_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + com.kcl.api.Spec.Error m = + input.readMessage( + com.kcl.api.Spec.Error.parser(), + extensionRegistry); + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + parseErrors_.add(m); + } else { + parseErrorsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private boolean result_ ; + /** + *
+       * Result of the override operation.
+       * 
+ * + * bool result = 1; + * @return The result. + */ + @java.lang.Override + public boolean getResult() { + return result_; + } + /** + *
+       * Result of the override operation.
+       * 
+ * + * bool result = 1; + * @param value The result to set. + * @return This builder for chaining. + */ + public Builder setResult(boolean value) { + + result_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Result of the override operation.
+       * 
+ * + * bool result = 1; + * @return This builder for chaining. + */ + public Builder clearResult() { + bitField0_ = (bitField0_ & ~0x00000001); + result_ = false; + onChanged(); + return this; + } + + private java.util.List parseErrors_ = + java.util.Collections.emptyList(); + private void ensureParseErrorsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + parseErrors_ = new java.util.ArrayList(parseErrors_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> parseErrorsBuilder_; + + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + public java.util.List getParseErrorsList() { + if (parseErrorsBuilder_ == null) { + return java.util.Collections.unmodifiableList(parseErrors_); + } else { + return parseErrorsBuilder_.getMessageList(); + } + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + public int getParseErrorsCount() { + if (parseErrorsBuilder_ == null) { + return parseErrors_.size(); + } else { + return parseErrorsBuilder_.getCount(); + } + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + public com.kcl.api.Spec.Error getParseErrors(int index) { + if (parseErrorsBuilder_ == null) { + return parseErrors_.get(index); + } else { + return parseErrorsBuilder_.getMessage(index); + } + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + public Builder setParseErrors( + int index, com.kcl.api.Spec.Error value) { + if (parseErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureParseErrorsIsMutable(); + parseErrors_.set(index, value); + onChanged(); + } else { + parseErrorsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + public Builder setParseErrors( + int index, com.kcl.api.Spec.Error.Builder builderForValue) { + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + parseErrors_.set(index, builderForValue.build()); + onChanged(); + } else { + parseErrorsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + public Builder addParseErrors(com.kcl.api.Spec.Error value) { + if (parseErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureParseErrorsIsMutable(); + parseErrors_.add(value); + onChanged(); + } else { + parseErrorsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + public Builder addParseErrors( + int index, com.kcl.api.Spec.Error value) { + if (parseErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureParseErrorsIsMutable(); + parseErrors_.add(index, value); + onChanged(); + } else { + parseErrorsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + public Builder addParseErrors( + com.kcl.api.Spec.Error.Builder builderForValue) { + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + parseErrors_.add(builderForValue.build()); + onChanged(); + } else { + parseErrorsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + public Builder addParseErrors( + int index, com.kcl.api.Spec.Error.Builder builderForValue) { + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + parseErrors_.add(index, builderForValue.build()); + onChanged(); + } else { + parseErrorsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + public Builder addAllParseErrors( + java.lang.Iterable values) { + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, parseErrors_); + onChanged(); + } else { + parseErrorsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + public Builder clearParseErrors() { + if (parseErrorsBuilder_ == null) { + parseErrors_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + parseErrorsBuilder_.clear(); + } + return this; + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + public Builder removeParseErrors(int index) { + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + parseErrors_.remove(index); + onChanged(); + } else { + parseErrorsBuilder_.remove(index); + } + return this; + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + public com.kcl.api.Spec.Error.Builder getParseErrorsBuilder( + int index) { + return internalGetParseErrorsFieldBuilder().getBuilder(index); + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + public com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder( + int index) { + if (parseErrorsBuilder_ == null) { + return parseErrors_.get(index); } else { + return parseErrorsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + public java.util.List + getParseErrorsOrBuilderList() { + if (parseErrorsBuilder_ != null) { + return parseErrorsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(parseErrors_); + } + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder() { + return internalGetParseErrorsFieldBuilder().addBuilder( + com.kcl.api.Spec.Error.getDefaultInstance()); + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder( + int index) { + return internalGetParseErrorsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.Error.getDefaultInstance()); + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 2; + */ + public java.util.List + getParseErrorsBuilderList() { + return internalGetParseErrorsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> + internalGetParseErrorsFieldBuilder() { + if (parseErrorsBuilder_ == null) { + parseErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder>( + parseErrors_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + parseErrors_ = null; + } + return parseErrorsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.OverrideFileResult) + } - @java.lang.Override - public com.kcl.api.Spec.RenameCode_Result buildPartial() { - com.kcl.api.Spec.RenameCode_Result result = new com.kcl.api.Spec.RenameCode_Result(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.OverrideFileResult) + private static final com.kcl.api.Spec.OverrideFileResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.OverrideFileResult(); + } - private void buildPartial0(com.kcl.api.Spec.RenameCode_Result result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.changedCodes_ = internalGetChangedCodes(); - result.changedCodes_.makeImmutable(); - } - } + public static com.kcl.api.Spec.OverrideFileResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.RenameCode_Result) { - return mergeFrom((com.kcl.api.Spec.RenameCode_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OverrideFileResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public Builder mergeFrom(com.kcl.api.Spec.RenameCode_Result other) { - if (other == com.kcl.api.Spec.RenameCode_Result.getDefaultInstance()) - return this; - internalGetMutableChangedCodes().mergeFrom(other.internalGetChangedCodes()); - bitField0_ |= 0x00000001; - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + @java.lang.Override + public com.kcl.api.Spec.OverrideFileResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.MapEntry changedCodes__ = input - .readMessage(ChangedCodesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableChangedCodes().getMutableMap().put(changedCodes__.getKey(), - changedCodes__.getValue()); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + } - private int bitField0_; + public interface ListVariablesOptionsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ListVariablesOptions) + com.google.protobuf.MessageOrBuilder { - private com.google.protobuf.MapField changedCodes_; + /** + *
+     * Flag to merge program configuration.
+     * 
+ * + * bool merge_program = 1; + * @return The mergeProgram. + */ + boolean getMergeProgram(); + } + /** + *
+   * Message for list variables options.
+   * 
+ * + * Protobuf type {@code com.kcl.api.ListVariablesOptions} + */ + public static final class ListVariablesOptions extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ListVariablesOptions) + ListVariablesOptionsOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "ListVariablesOptions"); + } + // Use ListVariablesOptions.newBuilder() to construct. + private ListVariablesOptions(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ListVariablesOptions() { + } - private com.google.protobuf.MapField internalGetChangedCodes() { - if (changedCodes_ == null) { - return com.google.protobuf.MapField.emptyMapField(ChangedCodesDefaultEntryHolder.defaultEntry); - } - return changedCodes_; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesOptions_descriptor; + } - private com.google.protobuf.MapField internalGetMutableChangedCodes() { - if (changedCodes_ == null) { - changedCodes_ = com.google.protobuf.MapField - .newMapField(ChangedCodesDefaultEntryHolder.defaultEntry); - } - if (!changedCodes_.isMutable()) { - changedCodes_ = changedCodes_.copy(); - } - bitField0_ |= 0x00000001; - onChanged(); - return changedCodes_; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesOptions_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListVariablesOptions.class, com.kcl.api.Spec.ListVariablesOptions.Builder.class); + } - public int getChangedCodesCount() { - return internalGetChangedCodes().getMap().size(); - } + public static final int MERGE_PROGRAM_FIELD_NUMBER = 1; + private boolean mergeProgram_ = false; + /** + *
+     * Flag to merge program configuration.
+     * 
+ * + * bool merge_program = 1; + * @return The mergeProgram. + */ + @java.lang.Override + public boolean getMergeProgram() { + return mergeProgram_; + } - /** - *
-             * Map of changed code with filename as key and modified code as value.
-             * 
- * - * map<string, string> changed_codes = 1; - */ - @java.lang.Override - public boolean containsChangedCodes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetChangedCodes().getMap().containsKey(key); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - * Use {@link #getChangedCodesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getChangedCodes() { - return getChangedCodesMap(); - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-             * Map of changed code with filename as key and modified code as value.
-             * 
- * - * map<string, string> changed_codes = 1; - */ - @java.lang.Override - public java.util.Map getChangedCodesMap() { - return internalGetChangedCodes().getMap(); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (mergeProgram_ != false) { + output.writeBool(1, mergeProgram_); + } + getUnknownFields().writeTo(output); + } - /** - *
-             * Map of changed code with filename as key and modified code as value.
-             * 
- * - * map<string, string> changed_codes = 1; - */ - @java.lang.Override - public /* nullable */ - java.lang.String getChangedCodesOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetChangedCodes().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (mergeProgram_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, mergeProgram_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-             * Map of changed code with filename as key and modified code as value.
-             * 
- * - * map<string, string> changed_codes = 1; - */ - @java.lang.Override - public java.lang.String getChangedCodesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetChangedCodes().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ListVariablesOptions)) { + return super.equals(obj); + } + com.kcl.api.Spec.ListVariablesOptions other = (com.kcl.api.Spec.ListVariablesOptions) obj; + + if (getMergeProgram() + != other.getMergeProgram()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public Builder clearChangedCodes() { - bitField0_ = (bitField0_ & ~0x00000001); - internalGetMutableChangedCodes().getMutableMap().clear(); - return this; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + MERGE_PROGRAM_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getMergeProgram()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-             * Map of changed code with filename as key and modified code as value.
-             * 
- * - * map<string, string> changed_codes = 1; - */ - public Builder removeChangedCodes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableChangedCodes().getMutableMap().remove(key); - return this; - } + public static com.kcl.api.Spec.ListVariablesOptions parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListVariablesOptions parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListVariablesOptions parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListVariablesOptions parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListVariablesOptions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListVariablesOptions parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListVariablesOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListVariablesOptions parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableChangedCodes() { - bitField0_ |= 0x00000001; - return internalGetMutableChangedCodes().getMutableMap(); - } + public static com.kcl.api.Spec.ListVariablesOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * Map of changed code with filename as key and modified code as value.
-             * 
- * - * map<string, string> changed_codes = 1; - */ - public Builder putChangedCodes(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableChangedCodes().getMutableMap().put(key, value); - bitField0_ |= 0x00000001; - return this; - } + public static com.kcl.api.Spec.ListVariablesOptions parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.ListVariablesOptions parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListVariablesOptions parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ListVariablesOptions prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * Map of changed code with filename as key and modified code as value.
-             * 
- * - * map<string, string> changed_codes = 1; - */ - public Builder putAllChangedCodes(java.util.Map values) { - internalGetMutableChangedCodes().getMutableMap().putAll(values); + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for list variables options.
+     * 
+ * + * Protobuf type {@code com.kcl.api.ListVariablesOptions} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ListVariablesOptions) + com.kcl.api.Spec.ListVariablesOptionsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesOptions_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesOptions_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListVariablesOptions.class, com.kcl.api.Spec.ListVariablesOptions.Builder.class); + } + + // Construct using com.kcl.api.Spec.ListVariablesOptions.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + mergeProgram_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesOptions_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ListVariablesOptions getDefaultInstanceForType() { + return com.kcl.api.Spec.ListVariablesOptions.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ListVariablesOptions build() { + com.kcl.api.Spec.ListVariablesOptions result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ListVariablesOptions buildPartial() { + com.kcl.api.Spec.ListVariablesOptions result = new com.kcl.api.Spec.ListVariablesOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.ListVariablesOptions result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.mergeProgram_ = mergeProgram_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ListVariablesOptions) { + return mergeFrom((com.kcl.api.Spec.ListVariablesOptions)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ListVariablesOptions other) { + if (other == com.kcl.api.Spec.ListVariablesOptions.getDefaultInstance()) return this; + if (other.getMergeProgram() != false) { + setMergeProgram(other.getMergeProgram()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + mergeProgram_ = input.readBool(); bitField0_ |= 0x00000001; - return this; - } + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private boolean mergeProgram_ ; + /** + *
+       * Flag to merge program configuration.
+       * 
+ * + * bool merge_program = 1; + * @return The mergeProgram. + */ + @java.lang.Override + public boolean getMergeProgram() { + return mergeProgram_; + } + /** + *
+       * Flag to merge program configuration.
+       * 
+ * + * bool merge_program = 1; + * @param value The mergeProgram to set. + * @return This builder for chaining. + */ + public Builder setMergeProgram(boolean value) { + + mergeProgram_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Flag to merge program configuration.
+       * 
+ * + * bool merge_program = 1; + * @return This builder for chaining. + */ + public Builder clearMergeProgram() { + bitField0_ = (bitField0_ & ~0x00000001); + mergeProgram_ = false; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ListVariablesOptions) + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.RenameCode_Result) - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ListVariablesOptions) + private static final com.kcl.api.Spec.ListVariablesOptions DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ListVariablesOptions(); + } - // @@protoc_insertion_point(class_scope:com.kcl.api.RenameCode_Result) - private static final com.kcl.api.Spec.RenameCode_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.RenameCode_Result(); - } + public static com.kcl.api.Spec.ListVariablesOptions getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.RenameCode_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVariablesOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RenameCode_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Override + public com.kcl.api.Spec.ListVariablesOptions getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + } - @java.lang.Override - public com.kcl.api.Spec.RenameCode_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface Test_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Test_Args) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Execution program arguments.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return Whether the execArgs field is set. - */ - boolean hasExecArgs(); - - /** - *
-         * Execution program arguments.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return The execArgs. - */ - com.kcl.api.Spec.ExecProgram_Args getExecArgs(); - - /** - *
-         * Execution program arguments.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder(); - - /** - *
-         * List of KCL package paths to be tested.
-         * 
- * - * repeated string pkg_list = 2; - * - * @return A list containing the pkgList. - */ - java.util.List getPkgListList(); - - /** - *
-         * List of KCL package paths to be tested.
-         * 
- * - * repeated string pkg_list = 2; - * - * @return The count of pkgList. - */ - int getPkgListCount(); - - /** - *
-         * List of KCL package paths to be tested.
-         * 
- * - * repeated string pkg_list = 2; - * - * @param index - * The index of the element to return. - * - * @return The pkgList at the given index. - */ - java.lang.String getPkgList(int index); - - /** - *
-         * List of KCL package paths to be tested.
-         * 
- * - * repeated string pkg_list = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the pkgList at the given index. - */ - com.google.protobuf.ByteString getPkgListBytes(int index); - - /** - *
-         * Regular expression for filtering tests to run.
-         * 
- * - * string run_regexp = 3; - * - * @return The runRegexp. - */ - java.lang.String getRunRegexp(); - - /** - *
-         * Regular expression for filtering tests to run.
-         * 
- * - * string run_regexp = 3; - * - * @return The bytes for runRegexp. - */ - com.google.protobuf.ByteString getRunRegexpBytes(); - - /** - *
-         * Flag to stop the test run on the first failure.
-         * 
- * - * bool fail_fast = 4; - * - * @return The failFast. - */ - boolean getFailFast(); - } + public interface VariableListOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.VariableList) + com.google.protobuf.MessageOrBuilder { /** *
-     * Message for test request arguments.
+     * List of variables.
      * 
* - * Protobuf type {@code com.kcl.api.Test_Args} + * repeated .com.kcl.api.Variable variables = 1; */ - public static final class Test_Args extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Test_Args) - Test_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", Test_Args.class.getName()); - } + java.util.List + getVariablesList(); + /** + *
+     * List of variables.
+     * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + com.kcl.api.Spec.Variable getVariables(int index); + /** + *
+     * List of variables.
+     * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + int getVariablesCount(); + /** + *
+     * List of variables.
+     * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + java.util.List + getVariablesOrBuilderList(); + /** + *
+     * List of variables.
+     * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + com.kcl.api.Spec.VariableOrBuilder getVariablesOrBuilder( + int index); + } + /** + *
+   * Message representing a list of variables.
+   * 
+ * + * Protobuf type {@code com.kcl.api.VariableList} + */ + public static final class VariableList extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.VariableList) + VariableListOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "VariableList"); + } + // Use VariableList.newBuilder() to construct. + private VariableList(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private VariableList() { + variables_ = java.util.Collections.emptyList(); + } - // Use Test_Args.newBuilder() to construct. - private Test_Args(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_VariableList_descriptor; + } - private Test_Args() { - pkgList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - runRegexp_ = ""; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_VariableList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.VariableList.class, com.kcl.api.Spec.VariableList.Builder.class); + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Args_descriptor; - } + public static final int VARIABLES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List variables_; + /** + *
+     * List of variables.
+     * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + @java.lang.Override + public java.util.List getVariablesList() { + return variables_; + } + /** + *
+     * List of variables.
+     * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + @java.lang.Override + public java.util.List + getVariablesOrBuilderList() { + return variables_; + } + /** + *
+     * List of variables.
+     * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + @java.lang.Override + public int getVariablesCount() { + return variables_.size(); + } + /** + *
+     * List of variables.
+     * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.Variable getVariables(int index) { + return variables_.get(index); + } + /** + *
+     * List of variables.
+     * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.VariableOrBuilder getVariablesOrBuilder( + int index) { + return variables_.get(index); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Test_Args.class, - com.kcl.api.Spec.Test_Args.Builder.class); - } - - private int bitField0_; - public static final int EXEC_ARGS_FIELD_NUMBER = 1; - private com.kcl.api.Spec.ExecProgram_Args execArgs_; - - /** - *
-         * Execution program arguments.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return Whether the execArgs field is set. - */ - @java.lang.Override - public boolean hasExecArgs() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - *
-         * Execution program arguments.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return The execArgs. - */ - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-         * Execution program arguments.
-         * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - @java.lang.Override - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } - - public static final int PKG_LIST_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList pkgList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - *
-         * List of KCL package paths to be tested.
-         * 
- * - * repeated string pkg_list = 2; - * - * @return A list containing the pkgList. - */ - public com.google.protobuf.ProtocolStringList getPkgListList() { - return pkgList_; - } - - /** - *
-         * List of KCL package paths to be tested.
-         * 
- * - * repeated string pkg_list = 2; - * - * @return The count of pkgList. - */ - public int getPkgListCount() { - return pkgList_.size(); - } - - /** - *
-         * List of KCL package paths to be tested.
-         * 
- * - * repeated string pkg_list = 2; - * - * @param index - * The index of the element to return. - * - * @return The pkgList at the given index. - */ - public java.lang.String getPkgList(int index) { - return pkgList_.get(index); - } - - /** - *
-         * List of KCL package paths to be tested.
-         * 
- * - * repeated string pkg_list = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the pkgList at the given index. - */ - public com.google.protobuf.ByteString getPkgListBytes(int index) { - return pkgList_.getByteString(index); - } - - public static final int RUN_REGEXP_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object runRegexp_ = ""; - - /** - *
-         * Regular expression for filtering tests to run.
-         * 
- * - * string run_regexp = 3; - * - * @return The runRegexp. - */ - @java.lang.Override - public java.lang.String getRunRegexp() { - java.lang.Object ref = runRegexp_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - runRegexp_ = s; - return s; - } - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-         * Regular expression for filtering tests to run.
-         * 
- * - * string run_regexp = 3; - * - * @return The bytes for runRegexp. - */ - @java.lang.Override - public com.google.protobuf.ByteString getRunRegexpBytes() { - java.lang.Object ref = runRegexp_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - runRegexp_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < variables_.size(); i++) { + output.writeMessage(1, variables_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < variables_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, variables_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static final int FAIL_FAST_FIELD_NUMBER = 4; - private boolean failFast_ = false; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.VariableList)) { + return super.equals(obj); + } + com.kcl.api.Spec.VariableList other = (com.kcl.api.Spec.VariableList) obj; + + if (!getVariablesList() + .equals(other.getVariablesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-         * Flag to stop the test run on the first failure.
-         * 
- * - * bool fail_fast = 4; - * - * @return The failFast. - */ - @java.lang.Override - public boolean getFailFast() { - return failFast_; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getVariablesCount() > 0) { + hash = (37 * hash) + VARIABLES_FIELD_NUMBER; + hash = (53 * hash) + getVariablesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - private byte memoizedIsInitialized = -1; + public static com.kcl.api.Spec.VariableList parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.VariableList parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.VariableList parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.VariableList parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.VariableList parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.VariableList parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.VariableList parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.VariableList parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + public static com.kcl.api.Spec.VariableList parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - memoizedIsInitialized = 1; - return true; - } + public static com.kcl.api.Spec.VariableList parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.VariableList parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.VariableList parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(1, getExecArgs()); - } - for (int i = 0; i < pkgList_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, pkgList_.getRaw(i)); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(runRegexp_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, runRegexp_); - } - if (failFast_ != false) { - output.writeBool(4, failFast_); - } - getUnknownFields().writeTo(output); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.VariableList prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getExecArgs()); - } - { - int dataSize = 0; - for (int i = 0; i < pkgList_.size(); i++) { - dataSize += computeStringSizeNoTag(pkgList_.getRaw(i)); - } - size += dataSize; - size += 1 * getPkgListList().size(); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(runRegexp_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, runRegexp_); - } - if (failFast_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, failFast_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message representing a list of variables.
+     * 
+ * + * Protobuf type {@code com.kcl.api.VariableList} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.VariableList) + com.kcl.api.Spec.VariableListOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_VariableList_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_VariableList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.VariableList.class, com.kcl.api.Spec.VariableList.Builder.class); + } + + // Construct using com.kcl.api.Spec.VariableList.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (variablesBuilder_ == null) { + variables_ = java.util.Collections.emptyList(); + } else { + variables_ = null; + variablesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_VariableList_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.VariableList getDefaultInstanceForType() { + return com.kcl.api.Spec.VariableList.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.VariableList build() { + com.kcl.api.Spec.VariableList result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.VariableList buildPartial() { + com.kcl.api.Spec.VariableList result = new com.kcl.api.Spec.VariableList(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.VariableList result) { + if (variablesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + variables_ = java.util.Collections.unmodifiableList(variables_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.variables_ = variables_; + } else { + result.variables_ = variablesBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.VariableList result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.VariableList) { + return mergeFrom((com.kcl.api.Spec.VariableList)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.VariableList other) { + if (other == com.kcl.api.Spec.VariableList.getDefaultInstance()) return this; + if (variablesBuilder_ == null) { + if (!other.variables_.isEmpty()) { + if (variables_.isEmpty()) { + variables_ = other.variables_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureVariablesIsMutable(); + variables_.addAll(other.variables_); + } + onChanged(); + } + } else { + if (!other.variables_.isEmpty()) { + if (variablesBuilder_.isEmpty()) { + variablesBuilder_.dispose(); + variablesBuilder_ = null; + variables_ = other.variables_; + bitField0_ = (bitField0_ & ~0x00000001); + variablesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetVariablesFieldBuilder() : null; + } else { + variablesBuilder_.addAllMessages(other.variables_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.kcl.api.Spec.Variable m = + input.readMessage( + com.kcl.api.Spec.Variable.parser(), + extensionRegistry); + if (variablesBuilder_ == null) { + ensureVariablesIsMutable(); + variables_.add(m); + } else { + variablesBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List variables_ = + java.util.Collections.emptyList(); + private void ensureVariablesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + variables_ = new java.util.ArrayList(variables_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Variable, com.kcl.api.Spec.Variable.Builder, com.kcl.api.Spec.VariableOrBuilder> variablesBuilder_; + + /** + *
+       * List of variables.
+       * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + public java.util.List getVariablesList() { + if (variablesBuilder_ == null) { + return java.util.Collections.unmodifiableList(variables_); + } else { + return variablesBuilder_.getMessageList(); + } + } + /** + *
+       * List of variables.
+       * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + public int getVariablesCount() { + if (variablesBuilder_ == null) { + return variables_.size(); + } else { + return variablesBuilder_.getCount(); + } + } + /** + *
+       * List of variables.
+       * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + public com.kcl.api.Spec.Variable getVariables(int index) { + if (variablesBuilder_ == null) { + return variables_.get(index); + } else { + return variablesBuilder_.getMessage(index); + } + } + /** + *
+       * List of variables.
+       * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + public Builder setVariables( + int index, com.kcl.api.Spec.Variable value) { + if (variablesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariablesIsMutable(); + variables_.set(index, value); + onChanged(); + } else { + variablesBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * List of variables.
+       * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + public Builder setVariables( + int index, com.kcl.api.Spec.Variable.Builder builderForValue) { + if (variablesBuilder_ == null) { + ensureVariablesIsMutable(); + variables_.set(index, builderForValue.build()); + onChanged(); + } else { + variablesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of variables.
+       * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + public Builder addVariables(com.kcl.api.Spec.Variable value) { + if (variablesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariablesIsMutable(); + variables_.add(value); + onChanged(); + } else { + variablesBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * List of variables.
+       * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + public Builder addVariables( + int index, com.kcl.api.Spec.Variable value) { + if (variablesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariablesIsMutable(); + variables_.add(index, value); + onChanged(); + } else { + variablesBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * List of variables.
+       * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + public Builder addVariables( + com.kcl.api.Spec.Variable.Builder builderForValue) { + if (variablesBuilder_ == null) { + ensureVariablesIsMutable(); + variables_.add(builderForValue.build()); + onChanged(); + } else { + variablesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * List of variables.
+       * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + public Builder addVariables( + int index, com.kcl.api.Spec.Variable.Builder builderForValue) { + if (variablesBuilder_ == null) { + ensureVariablesIsMutable(); + variables_.add(index, builderForValue.build()); + onChanged(); + } else { + variablesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of variables.
+       * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + public Builder addAllVariables( + java.lang.Iterable values) { + if (variablesBuilder_ == null) { + ensureVariablesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, variables_); + onChanged(); + } else { + variablesBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * List of variables.
+       * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + public Builder clearVariables() { + if (variablesBuilder_ == null) { + variables_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + variablesBuilder_.clear(); + } + return this; + } + /** + *
+       * List of variables.
+       * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + public Builder removeVariables(int index) { + if (variablesBuilder_ == null) { + ensureVariablesIsMutable(); + variables_.remove(index); + onChanged(); + } else { + variablesBuilder_.remove(index); + } + return this; + } + /** + *
+       * List of variables.
+       * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + public com.kcl.api.Spec.Variable.Builder getVariablesBuilder( + int index) { + return internalGetVariablesFieldBuilder().getBuilder(index); + } + /** + *
+       * List of variables.
+       * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + public com.kcl.api.Spec.VariableOrBuilder getVariablesOrBuilder( + int index) { + if (variablesBuilder_ == null) { + return variables_.get(index); } else { + return variablesBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * List of variables.
+       * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + public java.util.List + getVariablesOrBuilderList() { + if (variablesBuilder_ != null) { + return variablesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(variables_); + } + } + /** + *
+       * List of variables.
+       * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + public com.kcl.api.Spec.Variable.Builder addVariablesBuilder() { + return internalGetVariablesFieldBuilder().addBuilder( + com.kcl.api.Spec.Variable.getDefaultInstance()); + } + /** + *
+       * List of variables.
+       * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + public com.kcl.api.Spec.Variable.Builder addVariablesBuilder( + int index) { + return internalGetVariablesFieldBuilder().addBuilder( + index, com.kcl.api.Spec.Variable.getDefaultInstance()); + } + /** + *
+       * List of variables.
+       * 
+ * + * repeated .com.kcl.api.Variable variables = 1; + */ + public java.util.List + getVariablesBuilderList() { + return internalGetVariablesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Variable, com.kcl.api.Spec.Variable.Builder, com.kcl.api.Spec.VariableOrBuilder> + internalGetVariablesFieldBuilder() { + if (variablesBuilder_ == null) { + variablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Variable, com.kcl.api.Spec.Variable.Builder, com.kcl.api.Spec.VariableOrBuilder>( + variables_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + variables_ = null; + } + return variablesBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.VariableList) + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Test_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.Test_Args other = (com.kcl.api.Spec.Test_Args) obj; + // @@protoc_insertion_point(class_scope:com.kcl.api.VariableList) + private static final com.kcl.api.Spec.VariableList DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.VariableList(); + } - if (hasExecArgs() != other.hasExecArgs()) - return false; - if (hasExecArgs()) { - if (!getExecArgs().equals(other.getExecArgs())) - return false; - } - if (!getPkgListList().equals(other.getPkgListList())) - return false; - if (!getRunRegexp().equals(other.getRunRegexp())) - return false; - if (getFailFast() != other.getFailFast()) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + public static com.kcl.api.Spec.VariableList getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasExecArgs()) { - hash = (37 * hash) + EXEC_ARGS_FIELD_NUMBER; - hash = (53 * hash) + getExecArgs().hashCode(); - } - if (getPkgListCount() > 0) { - hash = (37 * hash) + PKG_LIST_FIELD_NUMBER; - hash = (53 * hash) + getPkgListList().hashCode(); - } - hash = (37 * hash) + RUN_REGEXP_FIELD_NUMBER; - hash = (53 * hash) + getRunRegexp().hashCode(); - hash = (37 * hash) + FAIL_FAST_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFailFast()); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VariableList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static com.kcl.api.Spec.Test_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static com.kcl.api.Spec.Test_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public com.kcl.api.Spec.VariableList getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.Test_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + } - public static com.kcl.api.Spec.Test_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public interface ListVariablesArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ListVariablesArgs) + com.google.protobuf.MessageOrBuilder { - public static com.kcl.api.Spec.Test_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + /** + *
+     * Files to be processed.
+     * 
+ * + * repeated string files = 1; + * @return A list containing the files. + */ + java.util.List + getFilesList(); + /** + *
+     * Files to be processed.
+     * 
+ * + * repeated string files = 1; + * @return The count of files. + */ + int getFilesCount(); + /** + *
+     * Files to be processed.
+     * 
+ * + * repeated string files = 1; + * @param index The index of the element to return. + * @return The files at the given index. + */ + java.lang.String getFiles(int index); + /** + *
+     * Files to be processed.
+     * 
+ * + * repeated string files = 1; + * @param index The index of the value to return. + * @return The bytes of the files at the given index. + */ + com.google.protobuf.ByteString + getFilesBytes(int index); - public static com.kcl.api.Spec.Test_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + /** + *
+     * Specifications for variables.
+     * 
+ * + * repeated string specs = 2; + * @return A list containing the specs. + */ + java.util.List + getSpecsList(); + /** + *
+     * Specifications for variables.
+     * 
+ * + * repeated string specs = 2; + * @return The count of specs. + */ + int getSpecsCount(); + /** + *
+     * Specifications for variables.
+     * 
+ * + * repeated string specs = 2; + * @param index The index of the element to return. + * @return The specs at the given index. + */ + java.lang.String getSpecs(int index); + /** + *
+     * Specifications for variables.
+     * 
+ * + * repeated string specs = 2; + * @param index The index of the value to return. + * @return The bytes of the specs at the given index. + */ + com.google.protobuf.ByteString + getSpecsBytes(int index); - public static com.kcl.api.Spec.Test_Args parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + /** + *
+     * Options for listing variables.
+     * 
+ * + * .com.kcl.api.ListVariablesOptions options = 3; + * @return Whether the options field is set. + */ + boolean hasOptions(); + /** + *
+     * Options for listing variables.
+     * 
+ * + * .com.kcl.api.ListVariablesOptions options = 3; + * @return The options. + */ + com.kcl.api.Spec.ListVariablesOptions getOptions(); + /** + *
+     * Options for listing variables.
+     * 
+ * + * .com.kcl.api.ListVariablesOptions options = 3; + */ + com.kcl.api.Spec.ListVariablesOptionsOrBuilder getOptionsOrBuilder(); + } + /** + *
+   * Message for list variables request arguments.
+   * 
+ * + * Protobuf type {@code com.kcl.api.ListVariablesArgs} + */ + public static final class ListVariablesArgs extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ListVariablesArgs) + ListVariablesArgsOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "ListVariablesArgs"); + } + // Use ListVariablesArgs.newBuilder() to construct. + private ListVariablesArgs(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ListVariablesArgs() { + files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + specs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - public static com.kcl.api.Spec.Test_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesArgs_descriptor; + } - public static com.kcl.api.Spec.Test_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListVariablesArgs.class, com.kcl.api.Spec.ListVariablesArgs.Builder.class); + } - public static com.kcl.api.Spec.Test_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } + private int bitField0_; + public static final int FILES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * Files to be processed.
+     * 
+ * + * repeated string files = 1; + * @return A list containing the files. + */ + public com.google.protobuf.ProtocolStringList + getFilesList() { + return files_; + } + /** + *
+     * Files to be processed.
+     * 
+ * + * repeated string files = 1; + * @return The count of files. + */ + public int getFilesCount() { + return files_.size(); + } + /** + *
+     * Files to be processed.
+     * 
+ * + * repeated string files = 1; + * @param index The index of the element to return. + * @return The files at the given index. + */ + public java.lang.String getFiles(int index) { + return files_.get(index); + } + /** + *
+     * Files to be processed.
+     * 
+ * + * repeated string files = 1; + * @param index The index of the value to return. + * @return The bytes of the files at the given index. + */ + public com.google.protobuf.ByteString + getFilesBytes(int index) { + return files_.getByteString(index); + } - public static com.kcl.api.Spec.Test_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + public static final int SPECS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList specs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * Specifications for variables.
+     * 
+ * + * repeated string specs = 2; + * @return A list containing the specs. + */ + public com.google.protobuf.ProtocolStringList + getSpecsList() { + return specs_; + } + /** + *
+     * Specifications for variables.
+     * 
+ * + * repeated string specs = 2; + * @return The count of specs. + */ + public int getSpecsCount() { + return specs_.size(); + } + /** + *
+     * Specifications for variables.
+     * 
+ * + * repeated string specs = 2; + * @param index The index of the element to return. + * @return The specs at the given index. + */ + public java.lang.String getSpecs(int index) { + return specs_.get(index); + } + /** + *
+     * Specifications for variables.
+     * 
+ * + * repeated string specs = 2; + * @param index The index of the value to return. + * @return The bytes of the specs at the given index. + */ + public com.google.protobuf.ByteString + getSpecsBytes(int index) { + return specs_.getByteString(index); + } - public static com.kcl.api.Spec.Test_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + public static final int OPTIONS_FIELD_NUMBER = 3; + private com.kcl.api.Spec.ListVariablesOptions options_; + /** + *
+     * Options for listing variables.
+     * 
+ * + * .com.kcl.api.ListVariablesOptions options = 3; + * @return Whether the options field is set. + */ + @java.lang.Override + public boolean hasOptions() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * Options for listing variables.
+     * 
+ * + * .com.kcl.api.ListVariablesOptions options = 3; + * @return The options. + */ + @java.lang.Override + public com.kcl.api.Spec.ListVariablesOptions getOptions() { + return options_ == null ? com.kcl.api.Spec.ListVariablesOptions.getDefaultInstance() : options_; + } + /** + *
+     * Options for listing variables.
+     * 
+ * + * .com.kcl.api.ListVariablesOptions options = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.ListVariablesOptionsOrBuilder getOptionsOrBuilder() { + return options_ == null ? com.kcl.api.Spec.ListVariablesOptions.getDefaultInstance() : options_; + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + memoizedIsInitialized = 1; + return true; + } - public static Builder newBuilder(com.kcl.api.Spec.Test_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < files_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, files_.getRaw(i)); + } + for (int i = 0; i < specs_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, specs_.getRaw(i)); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(3, getOptions()); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < files_.size(); i++) { + dataSize += computeStringSizeNoTag(files_.getRaw(i)); + } + size += dataSize; + size += 1 * getFilesList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < specs_.size(); i++) { + dataSize += computeStringSizeNoTag(specs_.getRaw(i)); + } + size += dataSize; + size += 1 * getSpecsList().size(); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getOptions()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for test request arguments.
-         * 
- * - * Protobuf type {@code com.kcl.api.Test_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Test_Args) - com.kcl.api.Spec.Test_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Args_descriptor; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ListVariablesArgs)) { + return super.equals(obj); + } + com.kcl.api.Spec.ListVariablesArgs other = (com.kcl.api.Spec.ListVariablesArgs) obj; + + if (!getFilesList() + .equals(other.getFilesList())) return false; + if (!getSpecsList() + .equals(other.getSpecsList())) return false; + if (hasOptions() != other.hasOptions()) return false; + if (hasOptions()) { + if (!getOptions() + .equals(other.getOptions())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Test_Args.class, - com.kcl.api.Spec.Test_Args.Builder.class); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getFilesCount() > 0) { + hash = (37 * hash) + FILES_FIELD_NUMBER; + hash = (53 * hash) + getFilesList().hashCode(); + } + if (getSpecsCount() > 0) { + hash = (37 * hash) + SPECS_FIELD_NUMBER; + hash = (53 * hash) + getSpecsList().hashCode(); + } + if (hasOptions()) { + hash = (37 * hash) + OPTIONS_FIELD_NUMBER; + hash = (53 * hash) + getOptions().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - // Construct using com.kcl.api.Spec.Test_Args.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + public static com.kcl.api.Spec.ListVariablesArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListVariablesArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListVariablesArgs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListVariablesArgs parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListVariablesArgs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListVariablesArgs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListVariablesArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListVariablesArgs parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } + public static com.kcl.api.Spec.ListVariablesArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - getExecArgsFieldBuilder(); - } - } + public static com.kcl.api.Spec.ListVariablesArgs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.ListVariablesArgs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListVariablesArgs parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - execArgs_ = null; - if (execArgsBuilder_ != null) { - execArgsBuilder_.dispose(); - execArgsBuilder_ = null; - } - pkgList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - runRegexp_ = ""; - failFast_ = false; - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ListVariablesArgs prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Args_descriptor; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for list variables request arguments.
+     * 
+ * + * Protobuf type {@code com.kcl.api.ListVariablesArgs} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ListVariablesArgs) + com.kcl.api.Spec.ListVariablesArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesArgs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListVariablesArgs.class, com.kcl.api.Spec.ListVariablesArgs.Builder.class); + } + + // Construct using com.kcl.api.Spec.ListVariablesArgs.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + internalGetOptionsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + specs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + options_ = null; + if (optionsBuilder_ != null) { + optionsBuilder_.dispose(); + optionsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesArgs_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ListVariablesArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.ListVariablesArgs.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ListVariablesArgs build() { + com.kcl.api.Spec.ListVariablesArgs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ListVariablesArgs buildPartial() { + com.kcl.api.Spec.ListVariablesArgs result = new com.kcl.api.Spec.ListVariablesArgs(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.ListVariablesArgs result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + files_.makeImmutable(); + result.files_ = files_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + specs_.makeImmutable(); + result.specs_ = specs_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.options_ = optionsBuilder_ == null + ? options_ + : optionsBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ListVariablesArgs) { + return mergeFrom((com.kcl.api.Spec.ListVariablesArgs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ListVariablesArgs other) { + if (other == com.kcl.api.Spec.ListVariablesArgs.getDefaultInstance()) return this; + if (!other.files_.isEmpty()) { + if (files_.isEmpty()) { + files_ = other.files_; + bitField0_ |= 0x00000001; + } else { + ensureFilesIsMutable(); + files_.addAll(other.files_); + } + onChanged(); + } + if (!other.specs_.isEmpty()) { + if (specs_.isEmpty()) { + specs_ = other.specs_; + bitField0_ |= 0x00000002; + } else { + ensureSpecsIsMutable(); + specs_.addAll(other.specs_); + } + onChanged(); + } + if (other.hasOptions()) { + mergeOptions(other.getOptions()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFilesIsMutable(); + files_.add(s); + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureSpecsIsMutable(); + specs_.add(s); + break; + } // case 18 + case 26: { + input.readMessage( + internalGetOptionsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFilesIsMutable() { + if (!files_.isModifiable()) { + files_ = new com.google.protobuf.LazyStringArrayList(files_); + } + bitField0_ |= 0x00000001; + } + /** + *
+       * Files to be processed.
+       * 
+ * + * repeated string files = 1; + * @return A list containing the files. + */ + public com.google.protobuf.ProtocolStringList + getFilesList() { + files_.makeImmutable(); + return files_; + } + /** + *
+       * Files to be processed.
+       * 
+ * + * repeated string files = 1; + * @return The count of files. + */ + public int getFilesCount() { + return files_.size(); + } + /** + *
+       * Files to be processed.
+       * 
+ * + * repeated string files = 1; + * @param index The index of the element to return. + * @return The files at the given index. + */ + public java.lang.String getFiles(int index) { + return files_.get(index); + } + /** + *
+       * Files to be processed.
+       * 
+ * + * repeated string files = 1; + * @param index The index of the value to return. + * @return The bytes of the files at the given index. + */ + public com.google.protobuf.ByteString + getFilesBytes(int index) { + return files_.getByteString(index); + } + /** + *
+       * Files to be processed.
+       * 
+ * + * repeated string files = 1; + * @param index The index to set the value at. + * @param value The files to set. + * @return This builder for chaining. + */ + public Builder setFiles( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureFilesIsMutable(); + files_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Files to be processed.
+       * 
+ * + * repeated string files = 1; + * @param value The files to add. + * @return This builder for chaining. + */ + public Builder addFiles( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureFilesIsMutable(); + files_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Files to be processed.
+       * 
+ * + * repeated string files = 1; + * @param values The files to add. + * @return This builder for chaining. + */ + public Builder addAllFiles( + java.lang.Iterable values) { + ensureFilesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, files_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Files to be processed.
+       * 
+ * + * repeated string files = 1; + * @return This builder for chaining. + */ + public Builder clearFiles() { + files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; + onChanged(); + return this; + } + /** + *
+       * Files to be processed.
+       * 
+ * + * repeated string files = 1; + * @param value The bytes of the files to add. + * @return This builder for chaining. + */ + public Builder addFilesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureFilesIsMutable(); + files_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList specs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSpecsIsMutable() { + if (!specs_.isModifiable()) { + specs_ = new com.google.protobuf.LazyStringArrayList(specs_); + } + bitField0_ |= 0x00000002; + } + /** + *
+       * Specifications for variables.
+       * 
+ * + * repeated string specs = 2; + * @return A list containing the specs. + */ + public com.google.protobuf.ProtocolStringList + getSpecsList() { + specs_.makeImmutable(); + return specs_; + } + /** + *
+       * Specifications for variables.
+       * 
+ * + * repeated string specs = 2; + * @return The count of specs. + */ + public int getSpecsCount() { + return specs_.size(); + } + /** + *
+       * Specifications for variables.
+       * 
+ * + * repeated string specs = 2; + * @param index The index of the element to return. + * @return The specs at the given index. + */ + public java.lang.String getSpecs(int index) { + return specs_.get(index); + } + /** + *
+       * Specifications for variables.
+       * 
+ * + * repeated string specs = 2; + * @param index The index of the value to return. + * @return The bytes of the specs at the given index. + */ + public com.google.protobuf.ByteString + getSpecsBytes(int index) { + return specs_.getByteString(index); + } + /** + *
+       * Specifications for variables.
+       * 
+ * + * repeated string specs = 2; + * @param index The index to set the value at. + * @param value The specs to set. + * @return This builder for chaining. + */ + public Builder setSpecs( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureSpecsIsMutable(); + specs_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Specifications for variables.
+       * 
+ * + * repeated string specs = 2; + * @param value The specs to add. + * @return This builder for chaining. + */ + public Builder addSpecs( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureSpecsIsMutable(); + specs_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Specifications for variables.
+       * 
+ * + * repeated string specs = 2; + * @param values The specs to add. + * @return This builder for chaining. + */ + public Builder addAllSpecs( + java.lang.Iterable values) { + ensureSpecsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, specs_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Specifications for variables.
+       * 
+ * + * repeated string specs = 2; + * @return This builder for chaining. + */ + public Builder clearSpecs() { + specs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + *
+       * Specifications for variables.
+       * 
+ * + * repeated string specs = 2; + * @param value The bytes of the specs to add. + * @return This builder for chaining. + */ + public Builder addSpecsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureSpecsIsMutable(); + specs_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.kcl.api.Spec.ListVariablesOptions options_; + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.ListVariablesOptions, com.kcl.api.Spec.ListVariablesOptions.Builder, com.kcl.api.Spec.ListVariablesOptionsOrBuilder> optionsBuilder_; + /** + *
+       * Options for listing variables.
+       * 
+ * + * .com.kcl.api.ListVariablesOptions options = 3; + * @return Whether the options field is set. + */ + public boolean hasOptions() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + *
+       * Options for listing variables.
+       * 
+ * + * .com.kcl.api.ListVariablesOptions options = 3; + * @return The options. + */ + public com.kcl.api.Spec.ListVariablesOptions getOptions() { + if (optionsBuilder_ == null) { + return options_ == null ? com.kcl.api.Spec.ListVariablesOptions.getDefaultInstance() : options_; + } else { + return optionsBuilder_.getMessage(); + } + } + /** + *
+       * Options for listing variables.
+       * 
+ * + * .com.kcl.api.ListVariablesOptions options = 3; + */ + public Builder setOptions(com.kcl.api.Spec.ListVariablesOptions value) { + if (optionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + options_ = value; + } else { + optionsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Options for listing variables.
+       * 
+ * + * .com.kcl.api.ListVariablesOptions options = 3; + */ + public Builder setOptions( + com.kcl.api.Spec.ListVariablesOptions.Builder builderForValue) { + if (optionsBuilder_ == null) { + options_ = builderForValue.build(); + } else { + optionsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Options for listing variables.
+       * 
+ * + * .com.kcl.api.ListVariablesOptions options = 3; + */ + public Builder mergeOptions(com.kcl.api.Spec.ListVariablesOptions value) { + if (optionsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + options_ != null && + options_ != com.kcl.api.Spec.ListVariablesOptions.getDefaultInstance()) { + getOptionsBuilder().mergeFrom(value); + } else { + options_ = value; + } + } else { + optionsBuilder_.mergeFrom(value); + } + if (options_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + /** + *
+       * Options for listing variables.
+       * 
+ * + * .com.kcl.api.ListVariablesOptions options = 3; + */ + public Builder clearOptions() { + bitField0_ = (bitField0_ & ~0x00000004); + options_ = null; + if (optionsBuilder_ != null) { + optionsBuilder_.dispose(); + optionsBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * Options for listing variables.
+       * 
+ * + * .com.kcl.api.ListVariablesOptions options = 3; + */ + public com.kcl.api.Spec.ListVariablesOptions.Builder getOptionsBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return internalGetOptionsFieldBuilder().getBuilder(); + } + /** + *
+       * Options for listing variables.
+       * 
+ * + * .com.kcl.api.ListVariablesOptions options = 3; + */ + public com.kcl.api.Spec.ListVariablesOptionsOrBuilder getOptionsOrBuilder() { + if (optionsBuilder_ != null) { + return optionsBuilder_.getMessageOrBuilder(); + } else { + return options_ == null ? + com.kcl.api.Spec.ListVariablesOptions.getDefaultInstance() : options_; + } + } + /** + *
+       * Options for listing variables.
+       * 
+ * + * .com.kcl.api.ListVariablesOptions options = 3; + */ + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.ListVariablesOptions, com.kcl.api.Spec.ListVariablesOptions.Builder, com.kcl.api.Spec.ListVariablesOptionsOrBuilder> + internalGetOptionsFieldBuilder() { + if (optionsBuilder_ == null) { + optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.ListVariablesOptions, com.kcl.api.Spec.ListVariablesOptions.Builder, com.kcl.api.Spec.ListVariablesOptionsOrBuilder>( + getOptions(), + getParentForChildren(), + isClean()); + options_ = null; + } + return optionsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ListVariablesArgs) + } - @java.lang.Override - public com.kcl.api.Spec.Test_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.Test_Args.getDefaultInstance(); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ListVariablesArgs) + private static final com.kcl.api.Spec.ListVariablesArgs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ListVariablesArgs(); + } - @java.lang.Override - public com.kcl.api.Spec.Test_Args build() { - com.kcl.api.Spec.Test_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + public static com.kcl.api.Spec.ListVariablesArgs getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public com.kcl.api.Spec.Test_Args buildPartial() { - com.kcl.api.Spec.Test_Args result = new com.kcl.api.Spec.Test_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVariablesArgs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - private void buildPartial0(com.kcl.api.Spec.Test_Args result) { - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.execArgs_ = execArgsBuilder_ == null ? execArgs_ : execArgsBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - pkgList_.makeImmutable(); - result.pkgList_ = pkgList_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.runRegexp_ = runRegexp_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.failFast_ = failFast_; - } - result.bitField0_ |= to_bitField0_; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Test_Args) { - return mergeFrom((com.kcl.api.Spec.Test_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } + @java.lang.Override + public com.kcl.api.Spec.ListVariablesArgs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public Builder mergeFrom(com.kcl.api.Spec.Test_Args other) { - if (other == com.kcl.api.Spec.Test_Args.getDefaultInstance()) - return this; - if (other.hasExecArgs()) { - mergeExecArgs(other.getExecArgs()); - } - if (!other.pkgList_.isEmpty()) { - if (pkgList_.isEmpty()) { - pkgList_ = other.pkgList_; - bitField0_ |= 0x00000002; - } else { - ensurePkgListIsMutable(); - pkgList_.addAll(other.pkgList_); - } - onChanged(); - } - if (!other.getRunRegexp().isEmpty()) { - runRegexp_ = other.runRegexp_; - bitField0_ |= 0x00000004; - onChanged(); - } - if (other.getFailFast() != false) { - setFailFast(other.getFailFast()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + public interface ListVariablesResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ListVariablesResult) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - input.readMessage(getExecArgsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePkgListIsMutable(); - pkgList_.add(s); - break; - } // case 18 - case 26: { - runRegexp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - failFast_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + /** + *
+     * Map of variable lists by file.
+     * 
+ * + * map<string, .com.kcl.api.VariableList> variables = 1; + */ + int getVariablesCount(); + /** + *
+     * Map of variable lists by file.
+     * 
+ * + * map<string, .com.kcl.api.VariableList> variables = 1; + */ + boolean containsVariables( + java.lang.String key); + /** + * Use {@link #getVariablesMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getVariables(); + /** + *
+     * Map of variable lists by file.
+     * 
+ * + * map<string, .com.kcl.api.VariableList> variables = 1; + */ + java.util.Map + getVariablesMap(); + /** + *
+     * Map of variable lists by file.
+     * 
+ * + * map<string, .com.kcl.api.VariableList> variables = 1; + */ + /* nullable */ +com.kcl.api.Spec.VariableList getVariablesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.VariableList defaultValue); + /** + *
+     * Map of variable lists by file.
+     * 
+ * + * map<string, .com.kcl.api.VariableList> variables = 1; + */ + com.kcl.api.Spec.VariableList getVariablesOrThrow( + java.lang.String key); - private int bitField0_; - - private com.kcl.api.Spec.ExecProgram_Args execArgs_; - private com.google.protobuf.SingleFieldBuilder execArgsBuilder_; - - /** - *
-             * Execution program arguments.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return Whether the execArgs field is set. - */ - public boolean hasExecArgs() { - return ((bitField0_ & 0x00000001) != 0); - } + /** + *
+     * List of unsupported codes.
+     * 
+ * + * repeated string unsupported_codes = 2; + * @return A list containing the unsupportedCodes. + */ + java.util.List + getUnsupportedCodesList(); + /** + *
+     * List of unsupported codes.
+     * 
+ * + * repeated string unsupported_codes = 2; + * @return The count of unsupportedCodes. + */ + int getUnsupportedCodesCount(); + /** + *
+     * List of unsupported codes.
+     * 
+ * + * repeated string unsupported_codes = 2; + * @param index The index of the element to return. + * @return The unsupportedCodes at the given index. + */ + java.lang.String getUnsupportedCodes(int index); + /** + *
+     * List of unsupported codes.
+     * 
+ * + * repeated string unsupported_codes = 2; + * @param index The index of the value to return. + * @return The bytes of the unsupportedCodes at the given index. + */ + com.google.protobuf.ByteString + getUnsupportedCodesBytes(int index); - /** - *
-             * Execution program arguments.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - * - * @return The execArgs. - */ - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { - if (execArgsBuilder_ == null) { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } else { - return execArgsBuilder_.getMessage(); - } - } + /** + *
+     * List of parse errors encountered.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + java.util.List + getParseErrorsList(); + /** + *
+     * List of parse errors encountered.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + com.kcl.api.Spec.Error getParseErrors(int index); + /** + *
+     * List of parse errors encountered.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + int getParseErrorsCount(); + /** + *
+     * List of parse errors encountered.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + java.util.List + getParseErrorsOrBuilderList(); + /** + *
+     * List of parse errors encountered.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder( + int index); + } + /** + *
+   * Message for list variables response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.ListVariablesResult} + */ + public static final class ListVariablesResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ListVariablesResult) + ListVariablesResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "ListVariablesResult"); + } + // Use ListVariablesResult.newBuilder() to construct. + private ListVariablesResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ListVariablesResult() { + unsupportedCodes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + parseErrors_ = java.util.Collections.emptyList(); + } - /** - *
-             * Execution program arguments.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { - if (execArgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - execArgs_ = value; - } else { - execArgsBuilder_.setMessage(value); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesResult_descriptor; + } - /** - *
-             * Execution program arguments.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args.Builder builderForValue) { - if (execArgsBuilder_ == null) { - execArgs_ = builderForValue.build(); - } else { - execArgsBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetVariables(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListVariablesResult.class, com.kcl.api.Spec.ListVariablesResult.Builder.class); + } - /** - *
-             * Execution program arguments.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { - if (execArgsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && execArgs_ != null - && execArgs_ != com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance()) { - getExecArgsBuilder().mergeFrom(value); - } else { - execArgs_ = value; - } - } else { - execArgsBuilder_.mergeFrom(value); - } - if (execArgs_ != null) { - bitField0_ |= 0x00000001; - onChanged(); - } - return this; - } + public static final int VARIABLES_FIELD_NUMBER = 1; + private static final class VariablesDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.kcl.api.Spec.VariableList> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesResult_VariablesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.kcl.api.Spec.VariableList.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.kcl.api.Spec.VariableList> variables_; + private com.google.protobuf.MapField + internalGetVariables() { + if (variables_ == null) { + return com.google.protobuf.MapField.emptyMapField( + VariablesDefaultEntryHolder.defaultEntry); + } + return variables_; + } + public int getVariablesCount() { + return internalGetVariables().getMap().size(); + } + /** + *
+     * Map of variable lists by file.
+     * 
+ * + * map<string, .com.kcl.api.VariableList> variables = 1; + */ + @java.lang.Override + public boolean containsVariables( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetVariables().getMap().containsKey(key); + } + /** + * Use {@link #getVariablesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getVariables() { + return getVariablesMap(); + } + /** + *
+     * Map of variable lists by file.
+     * 
+ * + * map<string, .com.kcl.api.VariableList> variables = 1; + */ + @java.lang.Override + public java.util.Map getVariablesMap() { + return internalGetVariables().getMap(); + } + /** + *
+     * Map of variable lists by file.
+     * 
+ * + * map<string, .com.kcl.api.VariableList> variables = 1; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.VariableList getVariablesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.VariableList defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetVariables().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Map of variable lists by file.
+     * 
+ * + * map<string, .com.kcl.api.VariableList> variables = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.VariableList getVariablesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetVariables().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - /** - *
-             * Execution program arguments.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public Builder clearExecArgs() { - bitField0_ = (bitField0_ & ~0x00000001); - execArgs_ = null; - if (execArgsBuilder_ != null) { - execArgsBuilder_.dispose(); - execArgsBuilder_ = null; - } - onChanged(); - return this; - } + public static final int UNSUPPORTED_CODES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList unsupportedCodes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * List of unsupported codes.
+     * 
+ * + * repeated string unsupported_codes = 2; + * @return A list containing the unsupportedCodes. + */ + public com.google.protobuf.ProtocolStringList + getUnsupportedCodesList() { + return unsupportedCodes_; + } + /** + *
+     * List of unsupported codes.
+     * 
+ * + * repeated string unsupported_codes = 2; + * @return The count of unsupportedCodes. + */ + public int getUnsupportedCodesCount() { + return unsupportedCodes_.size(); + } + /** + *
+     * List of unsupported codes.
+     * 
+ * + * repeated string unsupported_codes = 2; + * @param index The index of the element to return. + * @return The unsupportedCodes at the given index. + */ + public java.lang.String getUnsupportedCodes(int index) { + return unsupportedCodes_.get(index); + } + /** + *
+     * List of unsupported codes.
+     * 
+ * + * repeated string unsupported_codes = 2; + * @param index The index of the value to return. + * @return The bytes of the unsupportedCodes at the given index. + */ + public com.google.protobuf.ByteString + getUnsupportedCodesBytes(int index) { + return unsupportedCodes_.getByteString(index); + } - /** - *
-             * Execution program arguments.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public com.kcl.api.Spec.ExecProgram_Args.Builder getExecArgsBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getExecArgsFieldBuilder().getBuilder(); - } + public static final int PARSE_ERRORS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List parseErrors_; + /** + *
+     * List of parse errors encountered.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + @java.lang.Override + public java.util.List getParseErrorsList() { + return parseErrors_; + } + /** + *
+     * List of parse errors encountered.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + @java.lang.Override + public java.util.List + getParseErrorsOrBuilderList() { + return parseErrors_; + } + /** + *
+     * List of parse errors encountered.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + @java.lang.Override + public int getParseErrorsCount() { + return parseErrors_.size(); + } + /** + *
+     * List of parse errors encountered.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.Error getParseErrors(int index) { + return parseErrors_.get(index); + } + /** + *
+     * List of parse errors encountered.
+     * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder( + int index) { + return parseErrors_.get(index); + } - /** - *
-             * Execution program arguments.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { - if (execArgsBuilder_ != null) { - return execArgsBuilder_.getMessageOrBuilder(); - } else { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; - } - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * Execution program arguments.
-             * 
- * - * .com.kcl.api.ExecProgram_Args exec_args = 1; - */ - private com.google.protobuf.SingleFieldBuilder getExecArgsFieldBuilder() { - if (execArgsBuilder_ == null) { - execArgsBuilder_ = new com.google.protobuf.SingleFieldBuilder( - getExecArgs(), getParentForChildren(), isClean()); - execArgs_ = null; - } - return execArgsBuilder_; - } + memoizedIsInitialized = 1; + return true; + } - private com.google.protobuf.LazyStringArrayList pkgList_ = com.google.protobuf.LazyStringArrayList - .emptyList(); + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessage + .serializeStringMapTo( + output, + internalGetVariables(), + VariablesDefaultEntryHolder.defaultEntry, + 1); + for (int i = 0; i < unsupportedCodes_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, unsupportedCodes_.getRaw(i)); + } + for (int i = 0; i < parseErrors_.size(); i++) { + output.writeMessage(3, parseErrors_.get(i)); + } + getUnknownFields().writeTo(output); + } - private void ensurePkgListIsMutable() { - if (!pkgList_.isModifiable()) { - pkgList_ = new com.google.protobuf.LazyStringArrayList(pkgList_); - } - bitField0_ |= 0x00000002; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry entry + : internalGetVariables().getMap().entrySet()) { + com.google.protobuf.MapEntry + variables__ = VariablesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, variables__); + } + { + int dataSize = 0; + for (int i = 0; i < unsupportedCodes_.size(); i++) { + dataSize += computeStringSizeNoTag(unsupportedCodes_.getRaw(i)); + } + size += dataSize; + size += 1 * getUnsupportedCodesList().size(); + } + for (int i = 0; i < parseErrors_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, parseErrors_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-             * List of KCL package paths to be tested.
-             * 
- * - * repeated string pkg_list = 2; - * - * @return A list containing the pkgList. - */ - public com.google.protobuf.ProtocolStringList getPkgListList() { - pkgList_.makeImmutable(); - return pkgList_; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ListVariablesResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.ListVariablesResult other = (com.kcl.api.Spec.ListVariablesResult) obj; + + if (!internalGetVariables().equals( + other.internalGetVariables())) return false; + if (!getUnsupportedCodesList() + .equals(other.getUnsupportedCodesList())) return false; + if (!getParseErrorsList() + .equals(other.getParseErrorsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-             * List of KCL package paths to be tested.
-             * 
- * - * repeated string pkg_list = 2; - * - * @return The count of pkgList. - */ - public int getPkgListCount() { - return pkgList_.size(); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetVariables().getMap().isEmpty()) { + hash = (37 * hash) + VARIABLES_FIELD_NUMBER; + hash = (53 * hash) + internalGetVariables().hashCode(); + } + if (getUnsupportedCodesCount() > 0) { + hash = (37 * hash) + UNSUPPORTED_CODES_FIELD_NUMBER; + hash = (53 * hash) + getUnsupportedCodesList().hashCode(); + } + if (getParseErrorsCount() > 0) { + hash = (37 * hash) + PARSE_ERRORS_FIELD_NUMBER; + hash = (53 * hash) + getParseErrorsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-             * List of KCL package paths to be tested.
-             * 
- * - * repeated string pkg_list = 2; - * - * @param index - * The index of the element to return. - * - * @return The pkgList at the given index. - */ - public java.lang.String getPkgList(int index) { - return pkgList_.get(index); - } + public static com.kcl.api.Spec.ListVariablesResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListVariablesResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListVariablesResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListVariablesResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListVariablesResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListVariablesResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListVariablesResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListVariablesResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * List of KCL package paths to be tested.
-             * 
- * - * repeated string pkg_list = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the pkgList at the given index. - */ - public com.google.protobuf.ByteString getPkgListBytes(int index) { - return pkgList_.getByteString(index); - } + public static com.kcl.api.Spec.ListVariablesResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * List of KCL package paths to be tested.
-             * 
- * - * repeated string pkg_list = 2; - * - * @param index - * The index to set the value at. - * @param value - * The pkgList to set. - * - * @return This builder for chaining. - */ - public Builder setPkgList(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePkgListIsMutable(); - pkgList_.set(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + public static com.kcl.api.Spec.ListVariablesResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.ListVariablesResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListVariablesResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * List of KCL package paths to be tested.
-             * 
- * - * repeated string pkg_list = 2; - * - * @param value - * The pkgList to add. - * - * @return This builder for chaining. - */ - public Builder addPkgList(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePkgListIsMutable(); - pkgList_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ListVariablesResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * List of KCL package paths to be tested.
-             * 
- * - * repeated string pkg_list = 2; - * - * @param values - * The pkgList to add. - * - * @return This builder for chaining. - */ - public Builder addAllPkgList(java.lang.Iterable values) { - ensurePkgListIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pkgList_); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for list variables response.
+     * 
+ * + * Protobuf type {@code com.kcl.api.ListVariablesResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ListVariablesResult) + com.kcl.api.Spec.ListVariablesResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesResult_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetVariables(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetMutableVariables(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListVariablesResult.class, com.kcl.api.Spec.ListVariablesResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.ListVariablesResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + internalGetMutableVariables().clear(); + unsupportedCodes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + if (parseErrorsBuilder_ == null) { + parseErrors_ = java.util.Collections.emptyList(); + } else { + parseErrors_ = null; + parseErrorsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ListVariablesResult getDefaultInstanceForType() { + return com.kcl.api.Spec.ListVariablesResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ListVariablesResult build() { + com.kcl.api.Spec.ListVariablesResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ListVariablesResult buildPartial() { + com.kcl.api.Spec.ListVariablesResult result = new com.kcl.api.Spec.ListVariablesResult(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.ListVariablesResult result) { + if (parseErrorsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + parseErrors_ = java.util.Collections.unmodifiableList(parseErrors_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.parseErrors_ = parseErrors_; + } else { + result.parseErrors_ = parseErrorsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.ListVariablesResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.variables_ = internalGetVariables().build(VariablesDefaultEntryHolder.defaultEntry); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + unsupportedCodes_.makeImmutable(); + result.unsupportedCodes_ = unsupportedCodes_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ListVariablesResult) { + return mergeFrom((com.kcl.api.Spec.ListVariablesResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ListVariablesResult other) { + if (other == com.kcl.api.Spec.ListVariablesResult.getDefaultInstance()) return this; + internalGetMutableVariables().mergeFrom( + other.internalGetVariables()); + bitField0_ |= 0x00000001; + if (!other.unsupportedCodes_.isEmpty()) { + if (unsupportedCodes_.isEmpty()) { + unsupportedCodes_ = other.unsupportedCodes_; + bitField0_ |= 0x00000002; + } else { + ensureUnsupportedCodesIsMutable(); + unsupportedCodes_.addAll(other.unsupportedCodes_); + } + onChanged(); + } + if (parseErrorsBuilder_ == null) { + if (!other.parseErrors_.isEmpty()) { + if (parseErrors_.isEmpty()) { + parseErrors_ = other.parseErrors_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureParseErrorsIsMutable(); + parseErrors_.addAll(other.parseErrors_); + } + onChanged(); + } + } else { + if (!other.parseErrors_.isEmpty()) { + if (parseErrorsBuilder_.isEmpty()) { + parseErrorsBuilder_.dispose(); + parseErrorsBuilder_ = null; + parseErrors_ = other.parseErrors_; + bitField0_ = (bitField0_ & ~0x00000004); + parseErrorsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetParseErrorsFieldBuilder() : null; + } else { + parseErrorsBuilder_.addAllMessages(other.parseErrors_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.MapEntry + variables__ = input.readMessage( + VariablesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableVariables().ensureBuilderMap().put( + variables__.getKey(), variables__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnsupportedCodesIsMutable(); + unsupportedCodes_.add(s); + break; + } // case 18 + case 26: { + com.kcl.api.Spec.Error m = + input.readMessage( + com.kcl.api.Spec.Error.parser(), + extensionRegistry); + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + parseErrors_.add(m); + } else { + parseErrorsBuilder_.addMessage(m); + } + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private static final class VariablesConverter implements com.google.protobuf.MapFieldBuilder.Converter { + @java.lang.Override + public com.kcl.api.Spec.VariableList build(com.kcl.api.Spec.VariableListOrBuilder val) { + if (val instanceof com.kcl.api.Spec.VariableList) { return (com.kcl.api.Spec.VariableList) val; } + return ((com.kcl.api.Spec.VariableList.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry defaultEntry() { + return VariablesDefaultEntryHolder.defaultEntry; + } + }; + private static final VariablesConverter variablesConverter = new VariablesConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, com.kcl.api.Spec.VariableListOrBuilder, com.kcl.api.Spec.VariableList, com.kcl.api.Spec.VariableList.Builder> variables_; + private com.google.protobuf.MapFieldBuilder + internalGetVariables() { + if (variables_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(variablesConverter); + } + return variables_; + } + private com.google.protobuf.MapFieldBuilder + internalGetMutableVariables() { + if (variables_ == null) { + variables_ = new com.google.protobuf.MapFieldBuilder<>(variablesConverter); + } + bitField0_ |= 0x00000001; + onChanged(); + return variables_; + } + public int getVariablesCount() { + return internalGetVariables().ensureBuilderMap().size(); + } + /** + *
+       * Map of variable lists by file.
+       * 
+ * + * map<string, .com.kcl.api.VariableList> variables = 1; + */ + @java.lang.Override + public boolean containsVariables( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetVariables().ensureBuilderMap().containsKey(key); + } + /** + * Use {@link #getVariablesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getVariables() { + return getVariablesMap(); + } + /** + *
+       * Map of variable lists by file.
+       * 
+ * + * map<string, .com.kcl.api.VariableList> variables = 1; + */ + @java.lang.Override + public java.util.Map getVariablesMap() { + return internalGetVariables().getImmutableMap(); + } + /** + *
+       * Map of variable lists by file.
+       * 
+ * + * map<string, .com.kcl.api.VariableList> variables = 1; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.VariableList getVariablesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.VariableList defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableVariables().ensureBuilderMap(); + return map.containsKey(key) ? variablesConverter.build(map.get(key)) : defaultValue; + } + /** + *
+       * Map of variable lists by file.
+       * 
+ * + * map<string, .com.kcl.api.VariableList> variables = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.VariableList getVariablesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableVariables().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return variablesConverter.build(map.get(key)); + } + public Builder clearVariables() { + bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableVariables().clear(); + return this; + } + /** + *
+       * Map of variable lists by file.
+       * 
+ * + * map<string, .com.kcl.api.VariableList> variables = 1; + */ + public Builder removeVariables( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableVariables().ensureBuilderMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableVariables() { + bitField0_ |= 0x00000001; + return internalGetMutableVariables().ensureMessageMap(); + } + /** + *
+       * Map of variable lists by file.
+       * 
+ * + * map<string, .com.kcl.api.VariableList> variables = 1; + */ + public Builder putVariables( + java.lang.String key, + com.kcl.api.Spec.VariableList value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableVariables().ensureBuilderMap() + .put(key, value); + bitField0_ |= 0x00000001; + return this; + } + /** + *
+       * Map of variable lists by file.
+       * 
+ * + * map<string, .com.kcl.api.VariableList> variables = 1; + */ + public Builder putAllVariables( + java.util.Map values) { + for (java.util.Map.Entry e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableVariables().ensureBuilderMap() + .putAll(values); + bitField0_ |= 0x00000001; + return this; + } + /** + *
+       * Map of variable lists by file.
+       * 
+ * + * map<string, .com.kcl.api.VariableList> variables = 1; + */ + public com.kcl.api.Spec.VariableList.Builder putVariablesBuilderIfAbsent( + java.lang.String key) { + java.util.Map builderMap = internalGetMutableVariables().ensureBuilderMap(); + com.kcl.api.Spec.VariableListOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.kcl.api.Spec.VariableList.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.kcl.api.Spec.VariableList) { + entry = ((com.kcl.api.Spec.VariableList) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.kcl.api.Spec.VariableList.Builder) entry; + } + + private com.google.protobuf.LazyStringArrayList unsupportedCodes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnsupportedCodesIsMutable() { + if (!unsupportedCodes_.isModifiable()) { + unsupportedCodes_ = new com.google.protobuf.LazyStringArrayList(unsupportedCodes_); + } + bitField0_ |= 0x00000002; + } + /** + *
+       * List of unsupported codes.
+       * 
+ * + * repeated string unsupported_codes = 2; + * @return A list containing the unsupportedCodes. + */ + public com.google.protobuf.ProtocolStringList + getUnsupportedCodesList() { + unsupportedCodes_.makeImmutable(); + return unsupportedCodes_; + } + /** + *
+       * List of unsupported codes.
+       * 
+ * + * repeated string unsupported_codes = 2; + * @return The count of unsupportedCodes. + */ + public int getUnsupportedCodesCount() { + return unsupportedCodes_.size(); + } + /** + *
+       * List of unsupported codes.
+       * 
+ * + * repeated string unsupported_codes = 2; + * @param index The index of the element to return. + * @return The unsupportedCodes at the given index. + */ + public java.lang.String getUnsupportedCodes(int index) { + return unsupportedCodes_.get(index); + } + /** + *
+       * List of unsupported codes.
+       * 
+ * + * repeated string unsupported_codes = 2; + * @param index The index of the value to return. + * @return The bytes of the unsupportedCodes at the given index. + */ + public com.google.protobuf.ByteString + getUnsupportedCodesBytes(int index) { + return unsupportedCodes_.getByteString(index); + } + /** + *
+       * List of unsupported codes.
+       * 
+ * + * repeated string unsupported_codes = 2; + * @param index The index to set the value at. + * @param value The unsupportedCodes to set. + * @return This builder for chaining. + */ + public Builder setUnsupportedCodes( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureUnsupportedCodesIsMutable(); + unsupportedCodes_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * List of unsupported codes.
+       * 
+ * + * repeated string unsupported_codes = 2; + * @param value The unsupportedCodes to add. + * @return This builder for chaining. + */ + public Builder addUnsupportedCodes( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureUnsupportedCodesIsMutable(); + unsupportedCodes_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * List of unsupported codes.
+       * 
+ * + * repeated string unsupported_codes = 2; + * @param values The unsupportedCodes to add. + * @return This builder for chaining. + */ + public Builder addAllUnsupportedCodes( + java.lang.Iterable values) { + ensureUnsupportedCodesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unsupportedCodes_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * List of unsupported codes.
+       * 
+ * + * repeated string unsupported_codes = 2; + * @return This builder for chaining. + */ + public Builder clearUnsupportedCodes() { + unsupportedCodes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + *
+       * List of unsupported codes.
+       * 
+ * + * repeated string unsupported_codes = 2; + * @param value The bytes of the unsupportedCodes to add. + * @return This builder for chaining. + */ + public Builder addUnsupportedCodesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureUnsupportedCodesIsMutable(); + unsupportedCodes_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.util.List parseErrors_ = + java.util.Collections.emptyList(); + private void ensureParseErrorsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + parseErrors_ = new java.util.ArrayList(parseErrors_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> parseErrorsBuilder_; + + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public java.util.List getParseErrorsList() { + if (parseErrorsBuilder_ == null) { + return java.util.Collections.unmodifiableList(parseErrors_); + } else { + return parseErrorsBuilder_.getMessageList(); + } + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public int getParseErrorsCount() { + if (parseErrorsBuilder_ == null) { + return parseErrors_.size(); + } else { + return parseErrorsBuilder_.getCount(); + } + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public com.kcl.api.Spec.Error getParseErrors(int index) { + if (parseErrorsBuilder_ == null) { + return parseErrors_.get(index); + } else { + return parseErrorsBuilder_.getMessage(index); + } + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder setParseErrors( + int index, com.kcl.api.Spec.Error value) { + if (parseErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureParseErrorsIsMutable(); + parseErrors_.set(index, value); + onChanged(); + } else { + parseErrorsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder setParseErrors( + int index, com.kcl.api.Spec.Error.Builder builderForValue) { + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + parseErrors_.set(index, builderForValue.build()); + onChanged(); + } else { + parseErrorsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder addParseErrors(com.kcl.api.Spec.Error value) { + if (parseErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureParseErrorsIsMutable(); + parseErrors_.add(value); + onChanged(); + } else { + parseErrorsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder addParseErrors( + int index, com.kcl.api.Spec.Error value) { + if (parseErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureParseErrorsIsMutable(); + parseErrors_.add(index, value); + onChanged(); + } else { + parseErrorsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder addParseErrors( + com.kcl.api.Spec.Error.Builder builderForValue) { + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + parseErrors_.add(builderForValue.build()); + onChanged(); + } else { + parseErrorsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder addParseErrors( + int index, com.kcl.api.Spec.Error.Builder builderForValue) { + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + parseErrors_.add(index, builderForValue.build()); + onChanged(); + } else { + parseErrorsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder addAllParseErrors( + java.lang.Iterable values) { + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, parseErrors_); + onChanged(); + } else { + parseErrorsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder clearParseErrors() { + if (parseErrorsBuilder_ == null) { + parseErrors_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + parseErrorsBuilder_.clear(); + } + return this; + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public Builder removeParseErrors(int index) { + if (parseErrorsBuilder_ == null) { + ensureParseErrorsIsMutable(); + parseErrors_.remove(index); + onChanged(); + } else { + parseErrorsBuilder_.remove(index); + } + return this; + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public com.kcl.api.Spec.Error.Builder getParseErrorsBuilder( + int index) { + return internalGetParseErrorsFieldBuilder().getBuilder(index); + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder( + int index) { + if (parseErrorsBuilder_ == null) { + return parseErrors_.get(index); } else { + return parseErrorsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public java.util.List + getParseErrorsOrBuilderList() { + if (parseErrorsBuilder_ != null) { + return parseErrorsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(parseErrors_); + } + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder() { + return internalGetParseErrorsFieldBuilder().addBuilder( + com.kcl.api.Spec.Error.getDefaultInstance()); + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder( + int index) { + return internalGetParseErrorsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.Error.getDefaultInstance()); + } + /** + *
+       * List of parse errors encountered.
+       * 
+ * + * repeated .com.kcl.api.Error parse_errors = 3; + */ + public java.util.List + getParseErrorsBuilderList() { + return internalGetParseErrorsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> + internalGetParseErrorsFieldBuilder() { + if (parseErrorsBuilder_ == null) { + parseErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder>( + parseErrors_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + parseErrors_ = null; + } + return parseErrorsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ListVariablesResult) + } - /** - *
-             * List of KCL package paths to be tested.
-             * 
- * - * repeated string pkg_list = 2; - * - * @return This builder for chaining. - */ - public Builder clearPkgList() { - pkgList_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; - onChanged(); - return this; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ListVariablesResult) + private static final com.kcl.api.Spec.ListVariablesResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ListVariablesResult(); + } - /** - *
-             * List of KCL package paths to be tested.
-             * 
- * - * repeated string pkg_list = 2; - * - * @param value - * The bytes of the pkgList to add. - * - * @return This builder for chaining. - */ - public Builder addPkgListBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensurePkgListIsMutable(); - pkgList_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + public static com.kcl.api.Spec.ListVariablesResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private java.lang.Object runRegexp_ = ""; - - /** - *
-             * Regular expression for filtering tests to run.
-             * 
- * - * string run_regexp = 3; - * - * @return The runRegexp. - */ - public java.lang.String getRunRegexp() { - java.lang.Object ref = runRegexp_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - runRegexp_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVariablesResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - *
-             * Regular expression for filtering tests to run.
-             * 
- * - * string run_regexp = 3; - * - * @return The bytes for runRegexp. - */ - public com.google.protobuf.ByteString getRunRegexpBytes() { - java.lang.Object ref = runRegexp_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - runRegexp_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-             * Regular expression for filtering tests to run.
-             * 
- * - * string run_regexp = 3; - * - * @param value - * The runRegexp to set. - * - * @return This builder for chaining. - */ - public Builder setRunRegexp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - runRegexp_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + @java.lang.Override + public com.kcl.api.Spec.ListVariablesResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-             * Regular expression for filtering tests to run.
-             * 
- * - * string run_regexp = 3; - * - * @return This builder for chaining. - */ - public Builder clearRunRegexp() { - runRegexp_ = getDefaultInstance().getRunRegexp(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } + } - /** - *
-             * Regular expression for filtering tests to run.
-             * 
- * - * string run_regexp = 3; - * - * @param value - * The bytes for runRegexp to set. - * - * @return This builder for chaining. - */ - public Builder setRunRegexpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - runRegexp_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + public interface VariableOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.Variable) + com.google.protobuf.MessageOrBuilder { - private boolean failFast_; - - /** - *
-             * Flag to stop the test run on the first failure.
-             * 
- * - * bool fail_fast = 4; - * - * @return The failFast. - */ - @java.lang.Override - public boolean getFailFast() { - return failFast_; - } + /** + *
+     * Value of the variable.
+     * 
+ * + * string value = 1; + * @return The value. + */ + java.lang.String getValue(); + /** + *
+     * Value of the variable.
+     * 
+ * + * string value = 1; + * @return The bytes for value. + */ + com.google.protobuf.ByteString + getValueBytes(); - /** - *
-             * Flag to stop the test run on the first failure.
-             * 
- * - * bool fail_fast = 4; - * - * @param value - * The failFast to set. - * - * @return This builder for chaining. - */ - public Builder setFailFast(boolean value) { - - failFast_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + /** + *
+     * Type name of the variable.
+     * 
+ * + * string type_name = 2; + * @return The typeName. + */ + java.lang.String getTypeName(); + /** + *
+     * Type name of the variable.
+     * 
+ * + * string type_name = 2; + * @return The bytes for typeName. + */ + com.google.protobuf.ByteString + getTypeNameBytes(); - /** - *
-             * Flag to stop the test run on the first failure.
-             * 
- * - * bool fail_fast = 4; - * - * @return This builder for chaining. - */ - public Builder clearFailFast() { - bitField0_ = (bitField0_ & ~0x00000008); - failFast_ = false; - onChanged(); - return this; - } + /** + *
+     * Operation symbol associated with the variable.
+     * 
+ * + * string op_sym = 3; + * @return The opSym. + */ + java.lang.String getOpSym(); + /** + *
+     * Operation symbol associated with the variable.
+     * 
+ * + * string op_sym = 3; + * @return The bytes for opSym. + */ + com.google.protobuf.ByteString + getOpSymBytes(); - // @@protoc_insertion_point(builder_scope:com.kcl.api.Test_Args) - } + /** + *
+     * List items if the variable is a list.
+     * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + java.util.List + getListItemsList(); + /** + *
+     * List items if the variable is a list.
+     * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + com.kcl.api.Spec.Variable getListItems(int index); + /** + *
+     * List items if the variable is a list.
+     * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + int getListItemsCount(); + /** + *
+     * List items if the variable is a list.
+     * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + java.util.List + getListItemsOrBuilderList(); + /** + *
+     * List items if the variable is a list.
+     * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + com.kcl.api.Spec.VariableOrBuilder getListItemsOrBuilder( + int index); - // @@protoc_insertion_point(class_scope:com.kcl.api.Test_Args) - private static final com.kcl.api.Spec.Test_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Test_Args(); - } + /** + *
+     * Dictionary entries if the variable is a dictionary.
+     * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + java.util.List + getDictEntriesList(); + /** + *
+     * Dictionary entries if the variable is a dictionary.
+     * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + com.kcl.api.Spec.MapEntry getDictEntries(int index); + /** + *
+     * Dictionary entries if the variable is a dictionary.
+     * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + int getDictEntriesCount(); + /** + *
+     * Dictionary entries if the variable is a dictionary.
+     * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + java.util.List + getDictEntriesOrBuilderList(); + /** + *
+     * Dictionary entries if the variable is a dictionary.
+     * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + com.kcl.api.Spec.MapEntryOrBuilder getDictEntriesOrBuilder( + int index); + } + /** + *
+   * Message representing a variable.
+   * 
+ * + * Protobuf type {@code com.kcl.api.Variable} + */ + public static final class Variable extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.Variable) + VariableOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "Variable"); + } + // Use Variable.newBuilder() to construct. + private Variable(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private Variable() { + value_ = ""; + typeName_ = ""; + opSym_ = ""; + listItems_ = java.util.Collections.emptyList(); + dictEntries_ = java.util.Collections.emptyList(); + } - public static com.kcl.api.Spec.Test_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Variable_descriptor; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Test_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Variable_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Variable.class, com.kcl.api.Spec.Variable.Builder.class); + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + public static final int VALUE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object value_ = ""; + /** + *
+     * Value of the variable.
+     * 
+ * + * string value = 1; + * @return The value. + */ + @java.lang.Override + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } + } + /** + *
+     * Value of the variable.
+     * 
+ * + * string value = 1; + * @return The bytes for value. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static final int TYPE_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object typeName_ = ""; + /** + *
+     * Type name of the variable.
+     * 
+ * + * string type_name = 2; + * @return The typeName. + */ + @java.lang.Override + public java.lang.String getTypeName() { + java.lang.Object ref = typeName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + typeName_ = s; + return s; + } + } + /** + *
+     * Type name of the variable.
+     * 
+ * + * string type_name = 2; + * @return The bytes for typeName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTypeNameBytes() { + java.lang.Object ref = typeName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + typeName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public com.kcl.api.Spec.Test_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface Test_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Test_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * List of test case information.
-         * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - java.util.List getInfoList(); - - /** - *
-         * List of test case information.
-         * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - com.kcl.api.Spec.TestCaseInfo getInfo(int index); - - /** - *
-         * List of test case information.
-         * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - int getInfoCount(); - - /** - *
-         * List of test case information.
-         * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - java.util.List getInfoOrBuilderList(); - - /** - *
-         * List of test case information.
-         * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - com.kcl.api.Spec.TestCaseInfoOrBuilder getInfoOrBuilder(int index); + public static final int OP_SYM_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object opSym_ = ""; + /** + *
+     * Operation symbol associated with the variable.
+     * 
+ * + * string op_sym = 3; + * @return The opSym. + */ + @java.lang.Override + public java.lang.String getOpSym() { + java.lang.Object ref = opSym_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + opSym_ = s; + return s; + } + } + /** + *
+     * Operation symbol associated with the variable.
+     * 
+ * + * string op_sym = 3; + * @return The bytes for opSym. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOpSymBytes() { + java.lang.Object ref = opSym_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + opSym_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } + public static final int LIST_ITEMS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private java.util.List listItems_; /** *
-     * Message for test response.
+     * List items if the variable is a list.
      * 
* - * Protobuf type {@code com.kcl.api.Test_Result} + * repeated .com.kcl.api.Variable list_items = 4; */ - public static final class Test_Result extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Test_Result) - Test_ResultOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", Test_Result.class.getName()); - } + @java.lang.Override + public java.util.List getListItemsList() { + return listItems_; + } + /** + *
+     * List items if the variable is a list.
+     * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + @java.lang.Override + public java.util.List + getListItemsOrBuilderList() { + return listItems_; + } + /** + *
+     * List items if the variable is a list.
+     * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + @java.lang.Override + public int getListItemsCount() { + return listItems_.size(); + } + /** + *
+     * List items if the variable is a list.
+     * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + @java.lang.Override + public com.kcl.api.Spec.Variable getListItems(int index) { + return listItems_.get(index); + } + /** + *
+     * List items if the variable is a list.
+     * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + @java.lang.Override + public com.kcl.api.Spec.VariableOrBuilder getListItemsOrBuilder( + int index) { + return listItems_.get(index); + } - // Use Test_Result.newBuilder() to construct. - private Test_Result(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } + public static final int DICT_ENTRIES_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private java.util.List dictEntries_; + /** + *
+     * Dictionary entries if the variable is a dictionary.
+     * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + @java.lang.Override + public java.util.List getDictEntriesList() { + return dictEntries_; + } + /** + *
+     * Dictionary entries if the variable is a dictionary.
+     * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + @java.lang.Override + public java.util.List + getDictEntriesOrBuilderList() { + return dictEntries_; + } + /** + *
+     * Dictionary entries if the variable is a dictionary.
+     * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + @java.lang.Override + public int getDictEntriesCount() { + return dictEntries_.size(); + } + /** + *
+     * Dictionary entries if the variable is a dictionary.
+     * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + @java.lang.Override + public com.kcl.api.Spec.MapEntry getDictEntries(int index) { + return dictEntries_.get(index); + } + /** + *
+     * Dictionary entries if the variable is a dictionary.
+     * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + @java.lang.Override + public com.kcl.api.Spec.MapEntryOrBuilder getDictEntriesOrBuilder( + int index) { + return dictEntries_.get(index); + } - private Test_Result() { - info_ = java.util.Collections.emptyList(); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Result_descriptor; - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Test_Result.class, - com.kcl.api.Spec.Test_Result.Builder.class); - } - - public static final int INFO_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private java.util.List info_; - - /** - *
-         * List of test case information.
-         * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - @java.lang.Override - public java.util.List getInfoList() { - return info_; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, value_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(typeName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, typeName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(opSym_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, opSym_); + } + for (int i = 0; i < listItems_.size(); i++) { + output.writeMessage(4, listItems_.get(i)); + } + for (int i = 0; i < dictEntries_.size(); i++) { + output.writeMessage(5, dictEntries_.get(i)); + } + getUnknownFields().writeTo(output); + } - /** - *
-         * List of test case information.
-         * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - @java.lang.Override - public java.util.List getInfoOrBuilderList() { - return info_; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, value_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(typeName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, typeName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(opSym_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, opSym_); + } + for (int i = 0; i < listItems_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, listItems_.get(i)); + } + for (int i = 0; i < dictEntries_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, dictEntries_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-         * List of test case information.
-         * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - @java.lang.Override - public int getInfoCount() { - return info_.size(); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.Variable)) { + return super.equals(obj); + } + com.kcl.api.Spec.Variable other = (com.kcl.api.Spec.Variable) obj; + + if (!getValue() + .equals(other.getValue())) return false; + if (!getTypeName() + .equals(other.getTypeName())) return false; + if (!getOpSym() + .equals(other.getOpSym())) return false; + if (!getListItemsList() + .equals(other.getListItemsList())) return false; + if (!getDictEntriesList() + .equals(other.getDictEntriesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-         * List of test case information.
-         * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.TestCaseInfo getInfo(int index) { - return info_.get(index); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + hash = (37 * hash) + TYPE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getTypeName().hashCode(); + hash = (37 * hash) + OP_SYM_FIELD_NUMBER; + hash = (53 * hash) + getOpSym().hashCode(); + if (getListItemsCount() > 0) { + hash = (37 * hash) + LIST_ITEMS_FIELD_NUMBER; + hash = (53 * hash) + getListItemsList().hashCode(); + } + if (getDictEntriesCount() > 0) { + hash = (37 * hash) + DICT_ENTRIES_FIELD_NUMBER; + hash = (53 * hash) + getDictEntriesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-         * List of test case information.
-         * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.TestCaseInfoOrBuilder getInfoOrBuilder(int index) { - return info_.get(index); - } + public static com.kcl.api.Spec.Variable parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Variable parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Variable parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Variable parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Variable parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Variable parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Variable parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Variable parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - private byte memoizedIsInitialized = -1; + public static com.kcl.api.Spec.Variable parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + public static com.kcl.api.Spec.Variable parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.Variable parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Variable parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - memoizedIsInitialized = 1; - return true; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.Variable prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < info_.size(); i++) { - output.writeMessage(2, info_.get(i)); + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message representing a variable.
+     * 
+ * + * Protobuf type {@code com.kcl.api.Variable} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.Variable) + com.kcl.api.Spec.VariableOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Variable_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Variable_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Variable.class, com.kcl.api.Spec.Variable.Builder.class); + } + + // Construct using com.kcl.api.Spec.Variable.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + value_ = ""; + typeName_ = ""; + opSym_ = ""; + if (listItemsBuilder_ == null) { + listItems_ = java.util.Collections.emptyList(); + } else { + listItems_ = null; + listItemsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + if (dictEntriesBuilder_ == null) { + dictEntries_ = java.util.Collections.emptyList(); + } else { + dictEntries_ = null; + dictEntriesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Variable_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.Variable getDefaultInstanceForType() { + return com.kcl.api.Spec.Variable.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.Variable build() { + com.kcl.api.Spec.Variable result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.Variable buildPartial() { + com.kcl.api.Spec.Variable result = new com.kcl.api.Spec.Variable(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.Variable result) { + if (listItemsBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + listItems_ = java.util.Collections.unmodifiableList(listItems_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.listItems_ = listItems_; + } else { + result.listItems_ = listItemsBuilder_.build(); + } + if (dictEntriesBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0)) { + dictEntries_ = java.util.Collections.unmodifiableList(dictEntries_); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.dictEntries_ = dictEntries_; + } else { + result.dictEntries_ = dictEntriesBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.Variable result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.value_ = value_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.typeName_ = typeName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.opSym_ = opSym_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.Variable) { + return mergeFrom((com.kcl.api.Spec.Variable)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.Variable other) { + if (other == com.kcl.api.Spec.Variable.getDefaultInstance()) return this; + if (!other.getValue().isEmpty()) { + value_ = other.value_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getTypeName().isEmpty()) { + typeName_ = other.typeName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getOpSym().isEmpty()) { + opSym_ = other.opSym_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (listItemsBuilder_ == null) { + if (!other.listItems_.isEmpty()) { + if (listItems_.isEmpty()) { + listItems_ = other.listItems_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureListItemsIsMutable(); + listItems_.addAll(other.listItems_); + } + onChanged(); + } + } else { + if (!other.listItems_.isEmpty()) { + if (listItemsBuilder_.isEmpty()) { + listItemsBuilder_.dispose(); + listItemsBuilder_ = null; + listItems_ = other.listItems_; + bitField0_ = (bitField0_ & ~0x00000008); + listItemsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetListItemsFieldBuilder() : null; + } else { + listItemsBuilder_.addAllMessages(other.listItems_); } - getUnknownFields().writeTo(output); + } } + if (dictEntriesBuilder_ == null) { + if (!other.dictEntries_.isEmpty()) { + if (dictEntries_.isEmpty()) { + dictEntries_ = other.dictEntries_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureDictEntriesIsMutable(); + dictEntries_.addAll(other.dictEntries_); + } + onChanged(); + } + } else { + if (!other.dictEntries_.isEmpty()) { + if (dictEntriesBuilder_.isEmpty()) { + dictEntriesBuilder_.dispose(); + dictEntriesBuilder_ = null; + dictEntries_ = other.dictEntries_; + bitField0_ = (bitField0_ & ~0x00000010); + dictEntriesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetDictEntriesFieldBuilder() : null; + } else { + dictEntriesBuilder_.addAllMessages(other.dictEntries_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + value_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + typeName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + opSym_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + com.kcl.api.Spec.Variable m = + input.readMessage( + com.kcl.api.Spec.Variable.parser(), + extensionRegistry); + if (listItemsBuilder_ == null) { + ensureListItemsIsMutable(); + listItems_.add(m); + } else { + listItemsBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + com.kcl.api.Spec.MapEntry m = + input.readMessage( + com.kcl.api.Spec.MapEntry.parser(), + extensionRegistry); + if (dictEntriesBuilder_ == null) { + ensureDictEntriesIsMutable(); + dictEntries_.add(m); + } else { + dictEntriesBuilder_.addMessage(m); + } + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object value_ = ""; + /** + *
+       * Value of the variable.
+       * 
+ * + * string value = 1; + * @return The value. + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Value of the variable.
+       * 
+ * + * string value = 1; + * @return The bytes for value. + */ + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Value of the variable.
+       * 
+ * + * string value = 1; + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + value_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Value of the variable.
+       * 
+ * + * string value = 1; + * @return This builder for chaining. + */ + public Builder clearValue() { + value_ = getDefaultInstance().getValue(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Value of the variable.
+       * 
+ * + * string value = 1; + * @param value The bytes for value to set. + * @return This builder for chaining. + */ + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + value_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object typeName_ = ""; + /** + *
+       * Type name of the variable.
+       * 
+ * + * string type_name = 2; + * @return The typeName. + */ + public java.lang.String getTypeName() { + java.lang.Object ref = typeName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + typeName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Type name of the variable.
+       * 
+ * + * string type_name = 2; + * @return The bytes for typeName. + */ + public com.google.protobuf.ByteString + getTypeNameBytes() { + java.lang.Object ref = typeName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + typeName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Type name of the variable.
+       * 
+ * + * string type_name = 2; + * @param value The typeName to set. + * @return This builder for chaining. + */ + public Builder setTypeName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + typeName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Type name of the variable.
+       * 
+ * + * string type_name = 2; + * @return This builder for chaining. + */ + public Builder clearTypeName() { + typeName_ = getDefaultInstance().getTypeName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Type name of the variable.
+       * 
+ * + * string type_name = 2; + * @param value The bytes for typeName to set. + * @return This builder for chaining. + */ + public Builder setTypeNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + typeName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object opSym_ = ""; + /** + *
+       * Operation symbol associated with the variable.
+       * 
+ * + * string op_sym = 3; + * @return The opSym. + */ + public java.lang.String getOpSym() { + java.lang.Object ref = opSym_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + opSym_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Operation symbol associated with the variable.
+       * 
+ * + * string op_sym = 3; + * @return The bytes for opSym. + */ + public com.google.protobuf.ByteString + getOpSymBytes() { + java.lang.Object ref = opSym_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + opSym_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Operation symbol associated with the variable.
+       * 
+ * + * string op_sym = 3; + * @param value The opSym to set. + * @return This builder for chaining. + */ + public Builder setOpSym( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + opSym_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Operation symbol associated with the variable.
+       * 
+ * + * string op_sym = 3; + * @return This builder for chaining. + */ + public Builder clearOpSym() { + opSym_ = getDefaultInstance().getOpSym(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+       * Operation symbol associated with the variable.
+       * 
+ * + * string op_sym = 3; + * @param value The bytes for opSym to set. + * @return This builder for chaining. + */ + public Builder setOpSymBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + opSym_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.util.List listItems_ = + java.util.Collections.emptyList(); + private void ensureListItemsIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + listItems_ = new java.util.ArrayList(listItems_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Variable, com.kcl.api.Spec.Variable.Builder, com.kcl.api.Spec.VariableOrBuilder> listItemsBuilder_; + + /** + *
+       * List items if the variable is a list.
+       * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + public java.util.List getListItemsList() { + if (listItemsBuilder_ == null) { + return java.util.Collections.unmodifiableList(listItems_); + } else { + return listItemsBuilder_.getMessageList(); + } + } + /** + *
+       * List items if the variable is a list.
+       * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + public int getListItemsCount() { + if (listItemsBuilder_ == null) { + return listItems_.size(); + } else { + return listItemsBuilder_.getCount(); + } + } + /** + *
+       * List items if the variable is a list.
+       * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + public com.kcl.api.Spec.Variable getListItems(int index) { + if (listItemsBuilder_ == null) { + return listItems_.get(index); + } else { + return listItemsBuilder_.getMessage(index); + } + } + /** + *
+       * List items if the variable is a list.
+       * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + public Builder setListItems( + int index, com.kcl.api.Spec.Variable value) { + if (listItemsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureListItemsIsMutable(); + listItems_.set(index, value); + onChanged(); + } else { + listItemsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * List items if the variable is a list.
+       * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + public Builder setListItems( + int index, com.kcl.api.Spec.Variable.Builder builderForValue) { + if (listItemsBuilder_ == null) { + ensureListItemsIsMutable(); + listItems_.set(index, builderForValue.build()); + onChanged(); + } else { + listItemsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List items if the variable is a list.
+       * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + public Builder addListItems(com.kcl.api.Spec.Variable value) { + if (listItemsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureListItemsIsMutable(); + listItems_.add(value); + onChanged(); + } else { + listItemsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * List items if the variable is a list.
+       * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + public Builder addListItems( + int index, com.kcl.api.Spec.Variable value) { + if (listItemsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureListItemsIsMutable(); + listItems_.add(index, value); + onChanged(); + } else { + listItemsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * List items if the variable is a list.
+       * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + public Builder addListItems( + com.kcl.api.Spec.Variable.Builder builderForValue) { + if (listItemsBuilder_ == null) { + ensureListItemsIsMutable(); + listItems_.add(builderForValue.build()); + onChanged(); + } else { + listItemsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * List items if the variable is a list.
+       * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + public Builder addListItems( + int index, com.kcl.api.Spec.Variable.Builder builderForValue) { + if (listItemsBuilder_ == null) { + ensureListItemsIsMutable(); + listItems_.add(index, builderForValue.build()); + onChanged(); + } else { + listItemsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List items if the variable is a list.
+       * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + public Builder addAllListItems( + java.lang.Iterable values) { + if (listItemsBuilder_ == null) { + ensureListItemsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, listItems_); + onChanged(); + } else { + listItemsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * List items if the variable is a list.
+       * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + public Builder clearListItems() { + if (listItemsBuilder_ == null) { + listItems_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + listItemsBuilder_.clear(); + } + return this; + } + /** + *
+       * List items if the variable is a list.
+       * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + public Builder removeListItems(int index) { + if (listItemsBuilder_ == null) { + ensureListItemsIsMutable(); + listItems_.remove(index); + onChanged(); + } else { + listItemsBuilder_.remove(index); + } + return this; + } + /** + *
+       * List items if the variable is a list.
+       * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + public com.kcl.api.Spec.Variable.Builder getListItemsBuilder( + int index) { + return internalGetListItemsFieldBuilder().getBuilder(index); + } + /** + *
+       * List items if the variable is a list.
+       * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + public com.kcl.api.Spec.VariableOrBuilder getListItemsOrBuilder( + int index) { + if (listItemsBuilder_ == null) { + return listItems_.get(index); } else { + return listItemsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * List items if the variable is a list.
+       * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + public java.util.List + getListItemsOrBuilderList() { + if (listItemsBuilder_ != null) { + return listItemsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(listItems_); + } + } + /** + *
+       * List items if the variable is a list.
+       * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + public com.kcl.api.Spec.Variable.Builder addListItemsBuilder() { + return internalGetListItemsFieldBuilder().addBuilder( + com.kcl.api.Spec.Variable.getDefaultInstance()); + } + /** + *
+       * List items if the variable is a list.
+       * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + public com.kcl.api.Spec.Variable.Builder addListItemsBuilder( + int index) { + return internalGetListItemsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.Variable.getDefaultInstance()); + } + /** + *
+       * List items if the variable is a list.
+       * 
+ * + * repeated .com.kcl.api.Variable list_items = 4; + */ + public java.util.List + getListItemsBuilderList() { + return internalGetListItemsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Variable, com.kcl.api.Spec.Variable.Builder, com.kcl.api.Spec.VariableOrBuilder> + internalGetListItemsFieldBuilder() { + if (listItemsBuilder_ == null) { + listItemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Variable, com.kcl.api.Spec.Variable.Builder, com.kcl.api.Spec.VariableOrBuilder>( + listItems_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + listItems_ = null; + } + return listItemsBuilder_; + } + + private java.util.List dictEntries_ = + java.util.Collections.emptyList(); + private void ensureDictEntriesIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + dictEntries_ = new java.util.ArrayList(dictEntries_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.MapEntry, com.kcl.api.Spec.MapEntry.Builder, com.kcl.api.Spec.MapEntryOrBuilder> dictEntriesBuilder_; + + /** + *
+       * Dictionary entries if the variable is a dictionary.
+       * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + public java.util.List getDictEntriesList() { + if (dictEntriesBuilder_ == null) { + return java.util.Collections.unmodifiableList(dictEntries_); + } else { + return dictEntriesBuilder_.getMessageList(); + } + } + /** + *
+       * Dictionary entries if the variable is a dictionary.
+       * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + public int getDictEntriesCount() { + if (dictEntriesBuilder_ == null) { + return dictEntries_.size(); + } else { + return dictEntriesBuilder_.getCount(); + } + } + /** + *
+       * Dictionary entries if the variable is a dictionary.
+       * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + public com.kcl.api.Spec.MapEntry getDictEntries(int index) { + if (dictEntriesBuilder_ == null) { + return dictEntries_.get(index); + } else { + return dictEntriesBuilder_.getMessage(index); + } + } + /** + *
+       * Dictionary entries if the variable is a dictionary.
+       * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + public Builder setDictEntries( + int index, com.kcl.api.Spec.MapEntry value) { + if (dictEntriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDictEntriesIsMutable(); + dictEntries_.set(index, value); + onChanged(); + } else { + dictEntriesBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * Dictionary entries if the variable is a dictionary.
+       * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + public Builder setDictEntries( + int index, com.kcl.api.Spec.MapEntry.Builder builderForValue) { + if (dictEntriesBuilder_ == null) { + ensureDictEntriesIsMutable(); + dictEntries_.set(index, builderForValue.build()); + onChanged(); + } else { + dictEntriesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Dictionary entries if the variable is a dictionary.
+       * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + public Builder addDictEntries(com.kcl.api.Spec.MapEntry value) { + if (dictEntriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDictEntriesIsMutable(); + dictEntries_.add(value); + onChanged(); + } else { + dictEntriesBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * Dictionary entries if the variable is a dictionary.
+       * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + public Builder addDictEntries( + int index, com.kcl.api.Spec.MapEntry value) { + if (dictEntriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDictEntriesIsMutable(); + dictEntries_.add(index, value); + onChanged(); + } else { + dictEntriesBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * Dictionary entries if the variable is a dictionary.
+       * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + public Builder addDictEntries( + com.kcl.api.Spec.MapEntry.Builder builderForValue) { + if (dictEntriesBuilder_ == null) { + ensureDictEntriesIsMutable(); + dictEntries_.add(builderForValue.build()); + onChanged(); + } else { + dictEntriesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * Dictionary entries if the variable is a dictionary.
+       * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + public Builder addDictEntries( + int index, com.kcl.api.Spec.MapEntry.Builder builderForValue) { + if (dictEntriesBuilder_ == null) { + ensureDictEntriesIsMutable(); + dictEntries_.add(index, builderForValue.build()); + onChanged(); + } else { + dictEntriesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Dictionary entries if the variable is a dictionary.
+       * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + public Builder addAllDictEntries( + java.lang.Iterable values) { + if (dictEntriesBuilder_ == null) { + ensureDictEntriesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dictEntries_); + onChanged(); + } else { + dictEntriesBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * Dictionary entries if the variable is a dictionary.
+       * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + public Builder clearDictEntries() { + if (dictEntriesBuilder_ == null) { + dictEntries_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + } else { + dictEntriesBuilder_.clear(); + } + return this; + } + /** + *
+       * Dictionary entries if the variable is a dictionary.
+       * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + public Builder removeDictEntries(int index) { + if (dictEntriesBuilder_ == null) { + ensureDictEntriesIsMutable(); + dictEntries_.remove(index); + onChanged(); + } else { + dictEntriesBuilder_.remove(index); + } + return this; + } + /** + *
+       * Dictionary entries if the variable is a dictionary.
+       * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + public com.kcl.api.Spec.MapEntry.Builder getDictEntriesBuilder( + int index) { + return internalGetDictEntriesFieldBuilder().getBuilder(index); + } + /** + *
+       * Dictionary entries if the variable is a dictionary.
+       * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + public com.kcl.api.Spec.MapEntryOrBuilder getDictEntriesOrBuilder( + int index) { + if (dictEntriesBuilder_ == null) { + return dictEntries_.get(index); } else { + return dictEntriesBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * Dictionary entries if the variable is a dictionary.
+       * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + public java.util.List + getDictEntriesOrBuilderList() { + if (dictEntriesBuilder_ != null) { + return dictEntriesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(dictEntries_); + } + } + /** + *
+       * Dictionary entries if the variable is a dictionary.
+       * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + public com.kcl.api.Spec.MapEntry.Builder addDictEntriesBuilder() { + return internalGetDictEntriesFieldBuilder().addBuilder( + com.kcl.api.Spec.MapEntry.getDefaultInstance()); + } + /** + *
+       * Dictionary entries if the variable is a dictionary.
+       * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + public com.kcl.api.Spec.MapEntry.Builder addDictEntriesBuilder( + int index) { + return internalGetDictEntriesFieldBuilder().addBuilder( + index, com.kcl.api.Spec.MapEntry.getDefaultInstance()); + } + /** + *
+       * Dictionary entries if the variable is a dictionary.
+       * 
+ * + * repeated .com.kcl.api.MapEntry dict_entries = 5; + */ + public java.util.List + getDictEntriesBuilderList() { + return internalGetDictEntriesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.MapEntry, com.kcl.api.Spec.MapEntry.Builder, com.kcl.api.Spec.MapEntryOrBuilder> + internalGetDictEntriesFieldBuilder() { + if (dictEntriesBuilder_ == null) { + dictEntriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.MapEntry, com.kcl.api.Spec.MapEntry.Builder, com.kcl.api.Spec.MapEntryOrBuilder>( + dictEntries_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); + dictEntries_ = null; + } + return dictEntriesBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.Variable) + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - for (int i = 0; i < info_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, info_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.Variable) + private static final com.kcl.api.Spec.Variable DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.Variable(); + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Test_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.Test_Result other = (com.kcl.api.Spec.Test_Result) obj; + public static com.kcl.api.Spec.Variable getDefaultInstance() { + return DEFAULT_INSTANCE; + } - if (!getInfoList().equals(other.getInfoList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Variable parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getInfoCount() > 0) { - hash = (37 * hash) + INFO_FIELD_NUMBER; - hash = (53 * hash) + getInfoList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static com.kcl.api.Spec.Test_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public com.kcl.api.Spec.Variable getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.Test_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + } - public static com.kcl.api.Spec.Test_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public interface MapEntryOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.MapEntry) + com.google.protobuf.MessageOrBuilder { - public static com.kcl.api.Spec.Test_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + /** + *
+     * Key of the map entry.
+     * 
+ * + * string key = 1; + * @return The key. + */ + java.lang.String getKey(); + /** + *
+     * Key of the map entry.
+     * 
+ * + * string key = 1; + * @return The bytes for key. + */ + com.google.protobuf.ByteString + getKeyBytes(); - public static com.kcl.api.Spec.Test_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + /** + *
+     * Value of the map entry.
+     * 
+ * + * .com.kcl.api.Variable value = 2; + * @return Whether the value field is set. + */ + boolean hasValue(); + /** + *
+     * Value of the map entry.
+     * 
+ * + * .com.kcl.api.Variable value = 2; + * @return The value. + */ + com.kcl.api.Spec.Variable getValue(); + /** + *
+     * Value of the map entry.
+     * 
+ * + * .com.kcl.api.Variable value = 2; + */ + com.kcl.api.Spec.VariableOrBuilder getValueOrBuilder(); + } + /** + *
+   * Message representing a map entry.
+   * 
+ * + * Protobuf type {@code com.kcl.api.MapEntry} + */ + public static final class MapEntry extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.MapEntry) + MapEntryOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "MapEntry"); + } + // Use MapEntry.newBuilder() to construct. + private MapEntry(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private MapEntry() { + key_ = ""; + } - public static com.kcl.api.Spec.Test_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_MapEntry_descriptor; + } - public static com.kcl.api.Spec.Test_Result parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_MapEntry_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.MapEntry.class, com.kcl.api.Spec.MapEntry.Builder.class); + } - public static com.kcl.api.Spec.Test_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + private int bitField0_; + public static final int KEY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object key_ = ""; + /** + *
+     * Key of the map entry.
+     * 
+ * + * string key = 1; + * @return The key. + */ + @java.lang.Override + public java.lang.String getKey() { + java.lang.Object ref = key_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + key_ = s; + return s; + } + } + /** + *
+     * Key of the map entry.
+     * 
+ * + * string key = 1; + * @return The bytes for key. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getKeyBytes() { + java.lang.Object ref = key_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + key_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static com.kcl.api.Spec.Test_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } + public static final int VALUE_FIELD_NUMBER = 2; + private com.kcl.api.Spec.Variable value_; + /** + *
+     * Value of the map entry.
+     * 
+ * + * .com.kcl.api.Variable value = 2; + * @return Whether the value field is set. + */ + @java.lang.Override + public boolean hasValue() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * Value of the map entry.
+     * 
+ * + * .com.kcl.api.Variable value = 2; + * @return The value. + */ + @java.lang.Override + public com.kcl.api.Spec.Variable getValue() { + return value_ == null ? com.kcl.api.Spec.Variable.getDefaultInstance() : value_; + } + /** + *
+     * Value of the map entry.
+     * 
+ * + * .com.kcl.api.Variable value = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.VariableOrBuilder getValueOrBuilder() { + return value_ == null ? com.kcl.api.Spec.Variable.getDefaultInstance() : value_; + } - public static com.kcl.api.Spec.Test_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static com.kcl.api.Spec.Test_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + memoizedIsInitialized = 1; + return true; + } - public static com.kcl.api.Spec.Test_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(key_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, key_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getValue()); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(key_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, key_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getValue()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.MapEntry)) { + return super.equals(obj); + } + com.kcl.api.Spec.MapEntry other = (com.kcl.api.Spec.MapEntry) obj; + + if (!getKey() + .equals(other.getKey())) return false; + if (hasValue() != other.hasValue()) return false; + if (hasValue()) { + if (!getValue() + .equals(other.getValue())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static Builder newBuilder(com.kcl.api.Spec.Test_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + KEY_FIELD_NUMBER; + hash = (53 * hash) + getKey().hashCode(); + if (hasValue()) { + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.kcl.api.Spec.MapEntry parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.MapEntry parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.MapEntry parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.MapEntry parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.MapEntry parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.MapEntry parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.MapEntry parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.MapEntry parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.kcl.api.Spec.MapEntry parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + public static com.kcl.api.Spec.MapEntry parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.MapEntry parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.MapEntry parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for test response.
-         * 
- * - * Protobuf type {@code com.kcl.api.Test_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Test_Result) - com.kcl.api.Spec.Test_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Result_descriptor; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.MapEntry prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Test_Result.class, - com.kcl.api.Spec.Test_Result.Builder.class); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message representing a map entry.
+     * 
+ * + * Protobuf type {@code com.kcl.api.MapEntry} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.MapEntry) + com.kcl.api.Spec.MapEntryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_MapEntry_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_MapEntry_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.MapEntry.class, com.kcl.api.Spec.MapEntry.Builder.class); + } + + // Construct using com.kcl.api.Spec.MapEntry.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + internalGetValueFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + key_ = ""; + value_ = null; + if (valueBuilder_ != null) { + valueBuilder_.dispose(); + valueBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_MapEntry_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.MapEntry getDefaultInstanceForType() { + return com.kcl.api.Spec.MapEntry.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.MapEntry build() { + com.kcl.api.Spec.MapEntry result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.MapEntry buildPartial() { + com.kcl.api.Spec.MapEntry result = new com.kcl.api.Spec.MapEntry(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.MapEntry result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.key_ = key_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.value_ = valueBuilder_ == null + ? value_ + : valueBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.MapEntry) { + return mergeFrom((com.kcl.api.Spec.MapEntry)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.MapEntry other) { + if (other == com.kcl.api.Spec.MapEntry.getDefaultInstance()) return this; + if (!other.getKey().isEmpty()) { + key_ = other.key_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasValue()) { + mergeValue(other.getValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + key_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + internalGetValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object key_ = ""; + /** + *
+       * Key of the map entry.
+       * 
+ * + * string key = 1; + * @return The key. + */ + public java.lang.String getKey() { + java.lang.Object ref = key_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + key_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Key of the map entry.
+       * 
+ * + * string key = 1; + * @return The bytes for key. + */ + public com.google.protobuf.ByteString + getKeyBytes() { + java.lang.Object ref = key_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + key_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Key of the map entry.
+       * 
+ * + * string key = 1; + * @param value The key to set. + * @return This builder for chaining. + */ + public Builder setKey( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + key_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Key of the map entry.
+       * 
+ * + * string key = 1; + * @return This builder for chaining. + */ + public Builder clearKey() { + key_ = getDefaultInstance().getKey(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Key of the map entry.
+       * 
+ * + * string key = 1; + * @param value The bytes for key to set. + * @return This builder for chaining. + */ + public Builder setKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + key_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.kcl.api.Spec.Variable value_; + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.Variable, com.kcl.api.Spec.Variable.Builder, com.kcl.api.Spec.VariableOrBuilder> valueBuilder_; + /** + *
+       * Value of the map entry.
+       * 
+ * + * .com.kcl.api.Variable value = 2; + * @return Whether the value field is set. + */ + public boolean hasValue() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+       * Value of the map entry.
+       * 
+ * + * .com.kcl.api.Variable value = 2; + * @return The value. + */ + public com.kcl.api.Spec.Variable getValue() { + if (valueBuilder_ == null) { + return value_ == null ? com.kcl.api.Spec.Variable.getDefaultInstance() : value_; + } else { + return valueBuilder_.getMessage(); + } + } + /** + *
+       * Value of the map entry.
+       * 
+ * + * .com.kcl.api.Variable value = 2; + */ + public Builder setValue(com.kcl.api.Spec.Variable value) { + if (valueBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + value_ = value; + } else { + valueBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Value of the map entry.
+       * 
+ * + * .com.kcl.api.Variable value = 2; + */ + public Builder setValue( + com.kcl.api.Spec.Variable.Builder builderForValue) { + if (valueBuilder_ == null) { + value_ = builderForValue.build(); + } else { + valueBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Value of the map entry.
+       * 
+ * + * .com.kcl.api.Variable value = 2; + */ + public Builder mergeValue(com.kcl.api.Spec.Variable value) { + if (valueBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + value_ != null && + value_ != com.kcl.api.Spec.Variable.getDefaultInstance()) { + getValueBuilder().mergeFrom(value); + } else { + value_ = value; + } + } else { + valueBuilder_.mergeFrom(value); + } + if (value_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + *
+       * Value of the map entry.
+       * 
+ * + * .com.kcl.api.Variable value = 2; + */ + public Builder clearValue() { + bitField0_ = (bitField0_ & ~0x00000002); + value_ = null; + if (valueBuilder_ != null) { + valueBuilder_.dispose(); + valueBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * Value of the map entry.
+       * 
+ * + * .com.kcl.api.Variable value = 2; + */ + public com.kcl.api.Spec.Variable.Builder getValueBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return internalGetValueFieldBuilder().getBuilder(); + } + /** + *
+       * Value of the map entry.
+       * 
+ * + * .com.kcl.api.Variable value = 2; + */ + public com.kcl.api.Spec.VariableOrBuilder getValueOrBuilder() { + if (valueBuilder_ != null) { + return valueBuilder_.getMessageOrBuilder(); + } else { + return value_ == null ? + com.kcl.api.Spec.Variable.getDefaultInstance() : value_; + } + } + /** + *
+       * Value of the map entry.
+       * 
+ * + * .com.kcl.api.Variable value = 2; + */ + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.Variable, com.kcl.api.Spec.Variable.Builder, com.kcl.api.Spec.VariableOrBuilder> + internalGetValueFieldBuilder() { + if (valueBuilder_ == null) { + valueBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.Variable, com.kcl.api.Spec.Variable.Builder, com.kcl.api.Spec.VariableOrBuilder>( + getValue(), + getParentForChildren(), + isClean()); + value_ = null; + } + return valueBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.MapEntry) + } - // Construct using com.kcl.api.Spec.Test_Result.newBuilder() - private Builder() { + // @@protoc_insertion_point(class_scope:com.kcl.api.MapEntry) + private static final com.kcl.api.Spec.MapEntry DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.MapEntry(); + } - } + public static com.kcl.api.Spec.MapEntry getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MapEntry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - if (infoBuilder_ == null) { - info_ = java.util.Collections.emptyList(); - } else { - info_ = null; - infoBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } + @java.lang.Override + public com.kcl.api.Spec.MapEntry getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Result_descriptor; - } + } - @java.lang.Override - public com.kcl.api.Spec.Test_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.Test_Result.getDefaultInstance(); - } + public interface GetSchemaTypeMappingArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.GetSchemaTypeMappingArgs) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public com.kcl.api.Spec.Test_Result build() { - com.kcl.api.Spec.Test_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + /** + *
+     * Arguments for executing the program.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + * @return Whether the execArgs field is set. + */ + boolean hasExecArgs(); + /** + *
+     * Arguments for executing the program.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + * @return The execArgs. + */ + com.kcl.api.Spec.ExecProgramArgs getExecArgs(); + /** + *
+     * Arguments for executing the program.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder(); - @java.lang.Override - public com.kcl.api.Spec.Test_Result buildPartial() { - com.kcl.api.Spec.Test_Result result = new com.kcl.api.Spec.Test_Result(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + /** + *
+     * Name of the schema.
+     * 
+ * + * string schema_name = 2; + * @return The schemaName. + */ + java.lang.String getSchemaName(); + /** + *
+     * Name of the schema.
+     * 
+ * + * string schema_name = 2; + * @return The bytes for schemaName. + */ + com.google.protobuf.ByteString + getSchemaNameBytes(); + } + /** + *
+   * Message for get schema type mapping request arguments.
+   * 
+ * + * Protobuf type {@code com.kcl.api.GetSchemaTypeMappingArgs} + */ + public static final class GetSchemaTypeMappingArgs extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.GetSchemaTypeMappingArgs) + GetSchemaTypeMappingArgsOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "GetSchemaTypeMappingArgs"); + } + // Use GetSchemaTypeMappingArgs.newBuilder() to construct. + private GetSchemaTypeMappingArgs(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private GetSchemaTypeMappingArgs() { + schemaName_ = ""; + } - private void buildPartialRepeatedFields(com.kcl.api.Spec.Test_Result result) { - if (infoBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - info_ = java.util.Collections.unmodifiableList(info_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.info_ = info_; - } else { - result.info_ = infoBuilder_.build(); - } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingArgs_descriptor; + } - private void buildPartial0(com.kcl.api.Spec.Test_Result result) { - int from_bitField0_ = bitField0_; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.GetSchemaTypeMappingArgs.class, com.kcl.api.Spec.GetSchemaTypeMappingArgs.Builder.class); + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Test_Result) { - return mergeFrom((com.kcl.api.Spec.Test_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } + private int bitField0_; + public static final int EXEC_ARGS_FIELD_NUMBER = 1; + private com.kcl.api.Spec.ExecProgramArgs execArgs_; + /** + *
+     * Arguments for executing the program.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + * @return Whether the execArgs field is set. + */ + @java.lang.Override + public boolean hasExecArgs() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * Arguments for executing the program.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + * @return The execArgs. + */ + @java.lang.Override + public com.kcl.api.Spec.ExecProgramArgs getExecArgs() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; + } + /** + *
+     * Arguments for executing the program.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; + } - public Builder mergeFrom(com.kcl.api.Spec.Test_Result other) { - if (other == com.kcl.api.Spec.Test_Result.getDefaultInstance()) - return this; - if (infoBuilder_ == null) { - if (!other.info_.isEmpty()) { - if (info_.isEmpty()) { - info_ = other.info_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureInfoIsMutable(); - info_.addAll(other.info_); - } - onChanged(); - } - } else { - if (!other.info_.isEmpty()) { - if (infoBuilder_.isEmpty()) { - infoBuilder_.dispose(); - infoBuilder_ = null; - info_ = other.info_; - bitField0_ = (bitField0_ & ~0x00000001); - infoBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getInfoFieldBuilder() : null; - } else { - infoBuilder_.addAllMessages(other.info_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + public static final int SCHEMA_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object schemaName_ = ""; + /** + *
+     * Name of the schema.
+     * 
+ * + * string schema_name = 2; + * @return The schemaName. + */ + @java.lang.Override + public java.lang.String getSchemaName() { + java.lang.Object ref = schemaName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schemaName_ = s; + return s; + } + } + /** + *
+     * Name of the schema.
+     * 
+ * + * string schema_name = 2; + * @return The bytes for schemaName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSchemaNameBytes() { + java.lang.Object ref = schemaName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schemaName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 18: { - com.kcl.api.Spec.TestCaseInfo m = input.readMessage(com.kcl.api.Spec.TestCaseInfo.parser(), - extensionRegistry); - if (infoBuilder_ == null) { - ensureInfoIsMutable(); - info_.add(m); - } else { - infoBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + memoizedIsInitialized = 1; + return true; + } - private int bitField0_; + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getExecArgs()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(schemaName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, schemaName_); + } + getUnknownFields().writeTo(output); + } - private java.util.List info_ = java.util.Collections.emptyList(); + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExecArgs()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(schemaName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, schemaName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - private void ensureInfoIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - info_ = new java.util.ArrayList(info_); - bitField0_ |= 0x00000001; - } - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.GetSchemaTypeMappingArgs)) { + return super.equals(obj); + } + com.kcl.api.Spec.GetSchemaTypeMappingArgs other = (com.kcl.api.Spec.GetSchemaTypeMappingArgs) obj; + + if (hasExecArgs() != other.hasExecArgs()) return false; + if (hasExecArgs()) { + if (!getExecArgs() + .equals(other.getExecArgs())) return false; + } + if (!getSchemaName() + .equals(other.getSchemaName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - private com.google.protobuf.RepeatedFieldBuilder infoBuilder_; + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasExecArgs()) { + hash = (37 * hash) + EXEC_ARGS_FIELD_NUMBER; + hash = (53 * hash) + getExecArgs().hashCode(); + } + hash = (37 * hash) + SCHEMA_NAME_FIELD_NUMBER; + hash = (53 * hash) + getSchemaName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-             * List of test case information.
-             * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public java.util.List getInfoList() { - if (infoBuilder_ == null) { - return java.util.Collections.unmodifiableList(info_); - } else { - return infoBuilder_.getMessageList(); - } - } + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * List of test case information.
-             * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public int getInfoCount() { - if (infoBuilder_ == null) { - return info_.size(); - } else { - return infoBuilder_.getCount(); - } - } + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * List of test case information.
-             * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public com.kcl.api.Spec.TestCaseInfo getInfo(int index) { - if (infoBuilder_ == null) { - return info_.get(index); - } else { - return infoBuilder_.getMessage(index); - } - } + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * List of test case information.
-             * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public Builder setInfo(int index, com.kcl.api.Spec.TestCaseInfo value) { - if (infoBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureInfoIsMutable(); - info_.set(index, value); - onChanged(); - } else { - infoBuilder_.setMessage(index, value); - } - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.GetSchemaTypeMappingArgs prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * List of test case information.
-             * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public Builder setInfo(int index, com.kcl.api.Spec.TestCaseInfo.Builder builderForValue) { - if (infoBuilder_ == null) { - ensureInfoIsMutable(); - info_.set(index, builderForValue.build()); - onChanged(); - } else { - infoBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for get schema type mapping request arguments.
+     * 
+ * + * Protobuf type {@code com.kcl.api.GetSchemaTypeMappingArgs} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.GetSchemaTypeMappingArgs) + com.kcl.api.Spec.GetSchemaTypeMappingArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingArgs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.GetSchemaTypeMappingArgs.class, com.kcl.api.Spec.GetSchemaTypeMappingArgs.Builder.class); + } + + // Construct using com.kcl.api.Spec.GetSchemaTypeMappingArgs.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + internalGetExecArgsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + execArgs_ = null; + if (execArgsBuilder_ != null) { + execArgsBuilder_.dispose(); + execArgsBuilder_ = null; + } + schemaName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingArgs_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMappingArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.GetSchemaTypeMappingArgs.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMappingArgs build() { + com.kcl.api.Spec.GetSchemaTypeMappingArgs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMappingArgs buildPartial() { + com.kcl.api.Spec.GetSchemaTypeMappingArgs result = new com.kcl.api.Spec.GetSchemaTypeMappingArgs(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.GetSchemaTypeMappingArgs result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.execArgs_ = execArgsBuilder_ == null + ? execArgs_ + : execArgsBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.schemaName_ = schemaName_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.GetSchemaTypeMappingArgs) { + return mergeFrom((com.kcl.api.Spec.GetSchemaTypeMappingArgs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.GetSchemaTypeMappingArgs other) { + if (other == com.kcl.api.Spec.GetSchemaTypeMappingArgs.getDefaultInstance()) return this; + if (other.hasExecArgs()) { + mergeExecArgs(other.getExecArgs()); + } + if (!other.getSchemaName().isEmpty()) { + schemaName_ = other.schemaName_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + internalGetExecArgsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + schemaName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.kcl.api.Spec.ExecProgramArgs execArgs_; + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder> execArgsBuilder_; + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + * @return Whether the execArgs field is set. + */ + public boolean hasExecArgs() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + * @return The execArgs. + */ + public com.kcl.api.Spec.ExecProgramArgs getExecArgs() { + if (execArgsBuilder_ == null) { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; + } else { + return execArgsBuilder_.getMessage(); + } + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + public Builder setExecArgs(com.kcl.api.Spec.ExecProgramArgs value) { + if (execArgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + execArgs_ = value; + } else { + execArgsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + public Builder setExecArgs( + com.kcl.api.Spec.ExecProgramArgs.Builder builderForValue) { + if (execArgsBuilder_ == null) { + execArgs_ = builderForValue.build(); + } else { + execArgsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgramArgs value) { + if (execArgsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + execArgs_ != null && + execArgs_ != com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance()) { + getExecArgsBuilder().mergeFrom(value); + } else { + execArgs_ = value; + } + } else { + execArgsBuilder_.mergeFrom(value); + } + if (execArgs_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + public Builder clearExecArgs() { + bitField0_ = (bitField0_ & ~0x00000001); + execArgs_ = null; + if (execArgsBuilder_ != null) { + execArgsBuilder_.dispose(); + execArgsBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + public com.kcl.api.Spec.ExecProgramArgs.Builder getExecArgsBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetExecArgsFieldBuilder().getBuilder(); + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + public com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder() { + if (execArgsBuilder_ != null) { + return execArgsBuilder_.getMessageOrBuilder(); + } else { + return execArgs_ == null ? + com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; + } + } + /** + *
+       * Arguments for executing the program.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder> + internalGetExecArgsFieldBuilder() { + if (execArgsBuilder_ == null) { + execArgsBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder>( + getExecArgs(), + getParentForChildren(), + isClean()); + execArgs_ = null; + } + return execArgsBuilder_; + } + + private java.lang.Object schemaName_ = ""; + /** + *
+       * Name of the schema.
+       * 
+ * + * string schema_name = 2; + * @return The schemaName. + */ + public java.lang.String getSchemaName() { + java.lang.Object ref = schemaName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schemaName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Name of the schema.
+       * 
+ * + * string schema_name = 2; + * @return The bytes for schemaName. + */ + public com.google.protobuf.ByteString + getSchemaNameBytes() { + java.lang.Object ref = schemaName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schemaName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Name of the schema.
+       * 
+ * + * string schema_name = 2; + * @param value The schemaName to set. + * @return This builder for chaining. + */ + public Builder setSchemaName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + schemaName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Name of the schema.
+       * 
+ * + * string schema_name = 2; + * @return This builder for chaining. + */ + public Builder clearSchemaName() { + schemaName_ = getDefaultInstance().getSchemaName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Name of the schema.
+       * 
+ * + * string schema_name = 2; + * @param value The bytes for schemaName to set. + * @return This builder for chaining. + */ + public Builder setSchemaNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + schemaName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.GetSchemaTypeMappingArgs) + } - /** - *
-             * List of test case information.
-             * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public Builder addInfo(com.kcl.api.Spec.TestCaseInfo value) { - if (infoBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureInfoIsMutable(); - info_.add(value); - onChanged(); - } else { - infoBuilder_.addMessage(value); - } - return this; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.GetSchemaTypeMappingArgs) + private static final com.kcl.api.Spec.GetSchemaTypeMappingArgs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.GetSchemaTypeMappingArgs(); + } - /** - *
-             * List of test case information.
-             * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public Builder addInfo(int index, com.kcl.api.Spec.TestCaseInfo value) { - if (infoBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureInfoIsMutable(); - info_.add(index, value); - onChanged(); - } else { - infoBuilder_.addMessage(index, value); - } - return this; - } + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-             * List of test case information.
-             * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public Builder addInfo(com.kcl.api.Spec.TestCaseInfo.Builder builderForValue) { - if (infoBuilder_ == null) { - ensureInfoIsMutable(); - info_.add(builderForValue.build()); - onChanged(); - } else { - infoBuilder_.addMessage(builderForValue.build()); - } - return this; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSchemaTypeMappingArgs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - *
-             * List of test case information.
-             * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public Builder addInfo(int index, com.kcl.api.Spec.TestCaseInfo.Builder builderForValue) { - if (infoBuilder_ == null) { - ensureInfoIsMutable(); - info_.add(index, builderForValue.build()); - onChanged(); - } else { - infoBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-             * List of test case information.
-             * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public Builder addAllInfo(java.lang.Iterable values) { - if (infoBuilder_ == null) { - ensureInfoIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, info_); - onChanged(); - } else { - infoBuilder_.addAllMessages(values); - } - return this; - } + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMappingArgs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-             * List of test case information.
-             * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public Builder clearInfo() { - if (infoBuilder_ == null) { - info_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - infoBuilder_.clear(); - } - return this; - } + } - /** - *
-             * List of test case information.
-             * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public Builder removeInfo(int index) { - if (infoBuilder_ == null) { - ensureInfoIsMutable(); - info_.remove(index); - onChanged(); - } else { - infoBuilder_.remove(index); - } - return this; - } + public interface GetSchemaTypeMappingResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.GetSchemaTypeMappingResult) + com.google.protobuf.MessageOrBuilder { - /** - *
-             * List of test case information.
-             * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public com.kcl.api.Spec.TestCaseInfo.Builder getInfoBuilder(int index) { - return getInfoFieldBuilder().getBuilder(index); - } + /** + *
+     * Map of schema type mappings.
+     * 
+ * + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + int getSchemaTypeMappingCount(); + /** + *
+     * Map of schema type mappings.
+     * 
+ * + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + boolean containsSchemaTypeMapping( + java.lang.String key); + /** + * Use {@link #getSchemaTypeMappingMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getSchemaTypeMapping(); + /** + *
+     * Map of schema type mappings.
+     * 
+ * + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + java.util.Map + getSchemaTypeMappingMap(); + /** + *
+     * Map of schema type mappings.
+     * 
+ * + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + /* nullable */ +com.kcl.api.Spec.KclType getSchemaTypeMappingOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.KclType defaultValue); + /** + *
+     * Map of schema type mappings.
+     * 
+ * + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + com.kcl.api.Spec.KclType getSchemaTypeMappingOrThrow( + java.lang.String key); + } + /** + *
+   * Message for get schema type mapping response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.GetSchemaTypeMappingResult} + */ + public static final class GetSchemaTypeMappingResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.GetSchemaTypeMappingResult) + GetSchemaTypeMappingResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "GetSchemaTypeMappingResult"); + } + // Use GetSchemaTypeMappingResult.newBuilder() to construct. + private GetSchemaTypeMappingResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private GetSchemaTypeMappingResult() { + } - /** - *
-             * List of test case information.
-             * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public com.kcl.api.Spec.TestCaseInfoOrBuilder getInfoOrBuilder(int index) { - if (infoBuilder_ == null) { - return info_.get(index); - } else { - return infoBuilder_.getMessageOrBuilder(index); - } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingResult_descriptor; + } - /** - *
-             * List of test case information.
-             * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public java.util.List getInfoOrBuilderList() { - if (infoBuilder_ != null) { - return infoBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(info_); - } - } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetSchemaTypeMapping(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.GetSchemaTypeMappingResult.class, com.kcl.api.Spec.GetSchemaTypeMappingResult.Builder.class); + } - /** - *
-             * List of test case information.
-             * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public com.kcl.api.Spec.TestCaseInfo.Builder addInfoBuilder() { - return getInfoFieldBuilder().addBuilder(com.kcl.api.Spec.TestCaseInfo.getDefaultInstance()); - } + public static final int SCHEMA_TYPE_MAPPING_FIELD_NUMBER = 1; + private static final class SchemaTypeMappingDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.kcl.api.Spec.KclType> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingResult_SchemaTypeMappingEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.kcl.api.Spec.KclType.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.kcl.api.Spec.KclType> schemaTypeMapping_; + private com.google.protobuf.MapField + internalGetSchemaTypeMapping() { + if (schemaTypeMapping_ == null) { + return com.google.protobuf.MapField.emptyMapField( + SchemaTypeMappingDefaultEntryHolder.defaultEntry); + } + return schemaTypeMapping_; + } + public int getSchemaTypeMappingCount() { + return internalGetSchemaTypeMapping().getMap().size(); + } + /** + *
+     * Map of schema type mappings.
+     * 
+ * + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + @java.lang.Override + public boolean containsSchemaTypeMapping( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetSchemaTypeMapping().getMap().containsKey(key); + } + /** + * Use {@link #getSchemaTypeMappingMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSchemaTypeMapping() { + return getSchemaTypeMappingMap(); + } + /** + *
+     * Map of schema type mappings.
+     * 
+ * + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + @java.lang.Override + public java.util.Map getSchemaTypeMappingMap() { + return internalGetSchemaTypeMapping().getMap(); + } + /** + *
+     * Map of schema type mappings.
+     * 
+ * + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.KclType getSchemaTypeMappingOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.KclType defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSchemaTypeMapping().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Map of schema type mappings.
+     * 
+ * + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.KclType getSchemaTypeMappingOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSchemaTypeMapping().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - /** - *
-             * List of test case information.
-             * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public com.kcl.api.Spec.TestCaseInfo.Builder addInfoBuilder(int index) { - return getInfoFieldBuilder().addBuilder(index, com.kcl.api.Spec.TestCaseInfo.getDefaultInstance()); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * List of test case information.
-             * 
- * - * repeated .com.kcl.api.TestCaseInfo info = 2; - */ - public java.util.List getInfoBuilderList() { - return getInfoFieldBuilder().getBuilderList(); - } + memoizedIsInitialized = 1; + return true; + } - private com.google.protobuf.RepeatedFieldBuilder getInfoFieldBuilder() { - if (infoBuilder_ == null) { - infoBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - info_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - info_ = null; - } - return infoBuilder_; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessage + .serializeStringMapTo( + output, + internalGetSchemaTypeMapping(), + SchemaTypeMappingDefaultEntryHolder.defaultEntry, + 1); + getUnknownFields().writeTo(output); + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.Test_Result) - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry entry + : internalGetSchemaTypeMapping().getMap().entrySet()) { + com.google.protobuf.MapEntry + schemaTypeMapping__ = SchemaTypeMappingDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, schemaTypeMapping__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.Test_Result) - private static final com.kcl.api.Spec.Test_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Test_Result(); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.GetSchemaTypeMappingResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.GetSchemaTypeMappingResult other = (com.kcl.api.Spec.GetSchemaTypeMappingResult) obj; + + if (!internalGetSchemaTypeMapping().equals( + other.internalGetSchemaTypeMapping())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static com.kcl.api.Spec.Test_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetSchemaTypeMapping().getMap().isEmpty()) { + hash = (37 * hash) + SCHEMA_TYPE_MAPPING_FIELD_NUMBER; + hash = (53 * hash) + internalGetSchemaTypeMapping().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Test_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public com.kcl.api.Spec.Test_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TestCaseInfoOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.TestCaseInfo) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Name of the test case.
-         * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - - /** - *
-         * Name of the test case.
-         * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - *
-         * Error message if any.
-         * 
- * - * string error = 2; - * - * @return The error. - */ - java.lang.String getError(); - - /** - *
-         * Error message if any.
-         * 
- * - * string error = 2; - * - * @return The bytes for error. - */ - com.google.protobuf.ByteString getErrorBytes(); - - /** - *
-         * Duration of the test case in microseconds.
-         * 
- * - * uint64 duration = 3; - * - * @return The duration. - */ - long getDuration(); - - /** - *
-         * Log message from the test case.
-         * 
- * - * string log_message = 4; - * - * @return The logMessage. - */ - java.lang.String getLogMessage(); - - /** - *
-         * Log message from the test case.
-         * 
- * - * string log_message = 4; - * - * @return The bytes for logMessage. - */ - com.google.protobuf.ByteString getLogMessageBytes(); + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.GetSchemaTypeMappingResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** *
-     * Message representing information about a single test case.
+     * Message for get schema type mapping response.
      * 
* - * Protobuf type {@code com.kcl.api.TestCaseInfo} + * Protobuf type {@code com.kcl.api.GetSchemaTypeMappingResult} */ - public static final class TestCaseInfo extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.TestCaseInfo) - TestCaseInfoOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", TestCaseInfo.class.getName()); - } - - // Use TestCaseInfo.newBuilder() to construct. - private TestCaseInfo(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private TestCaseInfo() { - name_ = ""; - error_ = ""; - logMessage_ = ""; - } + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.GetSchemaTypeMappingResult) + com.kcl.api.Spec.GetSchemaTypeMappingResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingResult_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetSchemaTypeMapping(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetMutableSchemaTypeMapping(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.GetSchemaTypeMappingResult.class, com.kcl.api.Spec.GetSchemaTypeMappingResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.GetSchemaTypeMappingResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + internalGetMutableSchemaTypeMapping().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMappingResult getDefaultInstanceForType() { + return com.kcl.api.Spec.GetSchemaTypeMappingResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMappingResult build() { + com.kcl.api.Spec.GetSchemaTypeMappingResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMappingResult buildPartial() { + com.kcl.api.Spec.GetSchemaTypeMappingResult result = new com.kcl.api.Spec.GetSchemaTypeMappingResult(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.GetSchemaTypeMappingResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.schemaTypeMapping_ = internalGetSchemaTypeMapping().build(SchemaTypeMappingDefaultEntryHolder.defaultEntry); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.GetSchemaTypeMappingResult) { + return mergeFrom((com.kcl.api.Spec.GetSchemaTypeMappingResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.GetSchemaTypeMappingResult other) { + if (other == com.kcl.api.Spec.GetSchemaTypeMappingResult.getDefaultInstance()) return this; + internalGetMutableSchemaTypeMapping().mergeFrom( + other.internalGetSchemaTypeMapping()); + bitField0_ |= 0x00000001; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.MapEntry + schemaTypeMapping__ = input.readMessage( + SchemaTypeMappingDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableSchemaTypeMapping().ensureBuilderMap().put( + schemaTypeMapping__.getKey(), schemaTypeMapping__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private static final class SchemaTypeMappingConverter implements com.google.protobuf.MapFieldBuilder.Converter { + @java.lang.Override + public com.kcl.api.Spec.KclType build(com.kcl.api.Spec.KclTypeOrBuilder val) { + if (val instanceof com.kcl.api.Spec.KclType) { return (com.kcl.api.Spec.KclType) val; } + return ((com.kcl.api.Spec.KclType.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry defaultEntry() { + return SchemaTypeMappingDefaultEntryHolder.defaultEntry; + } + }; + private static final SchemaTypeMappingConverter schemaTypeMappingConverter = new SchemaTypeMappingConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, com.kcl.api.Spec.KclTypeOrBuilder, com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder> schemaTypeMapping_; + private com.google.protobuf.MapFieldBuilder + internalGetSchemaTypeMapping() { + if (schemaTypeMapping_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(schemaTypeMappingConverter); + } + return schemaTypeMapping_; + } + private com.google.protobuf.MapFieldBuilder + internalGetMutableSchemaTypeMapping() { + if (schemaTypeMapping_ == null) { + schemaTypeMapping_ = new com.google.protobuf.MapFieldBuilder<>(schemaTypeMappingConverter); + } + bitField0_ |= 0x00000001; + onChanged(); + return schemaTypeMapping_; + } + public int getSchemaTypeMappingCount() { + return internalGetSchemaTypeMapping().ensureBuilderMap().size(); + } + /** + *
+       * Map of schema type mappings.
+       * 
+ * + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + @java.lang.Override + public boolean containsSchemaTypeMapping( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetSchemaTypeMapping().ensureBuilderMap().containsKey(key); + } + /** + * Use {@link #getSchemaTypeMappingMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSchemaTypeMapping() { + return getSchemaTypeMappingMap(); + } + /** + *
+       * Map of schema type mappings.
+       * 
+ * + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + @java.lang.Override + public java.util.Map getSchemaTypeMappingMap() { + return internalGetSchemaTypeMapping().getImmutableMap(); + } + /** + *
+       * Map of schema type mappings.
+       * 
+ * + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.KclType getSchemaTypeMappingOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.KclType defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableSchemaTypeMapping().ensureBuilderMap(); + return map.containsKey(key) ? schemaTypeMappingConverter.build(map.get(key)) : defaultValue; + } + /** + *
+       * Map of schema type mappings.
+       * 
+ * + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.KclType getSchemaTypeMappingOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableSchemaTypeMapping().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return schemaTypeMappingConverter.build(map.get(key)); + } + public Builder clearSchemaTypeMapping() { + bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableSchemaTypeMapping().clear(); + return this; + } + /** + *
+       * Map of schema type mappings.
+       * 
+ * + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + public Builder removeSchemaTypeMapping( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableSchemaTypeMapping().ensureBuilderMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableSchemaTypeMapping() { + bitField0_ |= 0x00000001; + return internalGetMutableSchemaTypeMapping().ensureMessageMap(); + } + /** + *
+       * Map of schema type mappings.
+       * 
+ * + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + public Builder putSchemaTypeMapping( + java.lang.String key, + com.kcl.api.Spec.KclType value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableSchemaTypeMapping().ensureBuilderMap() + .put(key, value); + bitField0_ |= 0x00000001; + return this; + } + /** + *
+       * Map of schema type mappings.
+       * 
+ * + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + public Builder putAllSchemaTypeMapping( + java.util.Map values) { + for (java.util.Map.Entry e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableSchemaTypeMapping().ensureBuilderMap() + .putAll(values); + bitField0_ |= 0x00000001; + return this; + } + /** + *
+       * Map of schema type mappings.
+       * 
+ * + * map<string, .com.kcl.api.KclType> schema_type_mapping = 1; + */ + public com.kcl.api.Spec.KclType.Builder putSchemaTypeMappingBuilderIfAbsent( + java.lang.String key) { + java.util.Map builderMap = internalGetMutableSchemaTypeMapping().ensureBuilderMap(); + com.kcl.api.Spec.KclTypeOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.kcl.api.Spec.KclType.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.kcl.api.Spec.KclType) { + entry = ((com.kcl.api.Spec.KclType) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.kcl.api.Spec.KclType.Builder) entry; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.GetSchemaTypeMappingResult) + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_TestCaseInfo_descriptor; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.GetSchemaTypeMappingResult) + private static final com.kcl.api.Spec.GetSchemaTypeMappingResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.GetSchemaTypeMappingResult(); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_TestCaseInfo_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.TestCaseInfo.class, - com.kcl.api.Spec.TestCaseInfo.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - - /** - *
-         * Name of the test case.
-         * 
- * - * string name = 1; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } + public static com.kcl.api.Spec.GetSchemaTypeMappingResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-         * Name of the test case.
-         * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSchemaTypeMappingResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static final int ERROR_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object error_ = ""; + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-         * Error message if any.
-         * 
- * - * string error = 2; - * - * @return The error. - */ - @java.lang.Override - public java.lang.String getError() { - java.lang.Object ref = error_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - error_ = s; - return s; - } - } + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMappingResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-         * Error message if any.
-         * 
- * - * string error = 2; - * - * @return The bytes for error. - */ - @java.lang.Override - public com.google.protobuf.ByteString getErrorBytes() { - java.lang.Object ref = error_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - error_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + } - public static final int DURATION_FIELD_NUMBER = 3; - private long duration_ = 0L; + public interface GetSchemaTypeMappingUnderPathResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.GetSchemaTypeMappingUnderPathResult) + com.google.protobuf.MessageOrBuilder { - /** - *
-         * Duration of the test case in microseconds.
-         * 
- * - * uint64 duration = 3; - * - * @return The duration. - */ - @java.lang.Override - public long getDuration() { - return duration_; - } - - public static final int LOG_MESSAGE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private volatile java.lang.Object logMessage_ = ""; - - /** - *
-         * Log message from the test case.
-         * 
- * - * string log_message = 4; - * - * @return The logMessage. - */ - @java.lang.Override - public java.lang.String getLogMessage() { - java.lang.Object ref = logMessage_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - logMessage_ = s; - return s; - } - } + /** + *
+     * Map of pkg and schema types mappings.
+     * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + int getSchemaTypeMappingCount(); + /** + *
+     * Map of pkg and schema types mappings.
+     * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + boolean containsSchemaTypeMapping( + java.lang.String key); + /** + * Use {@link #getSchemaTypeMappingMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getSchemaTypeMapping(); + /** + *
+     * Map of pkg and schema types mappings.
+     * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + java.util.Map + getSchemaTypeMappingMap(); + /** + *
+     * Map of pkg and schema types mappings.
+     * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + /* nullable */ +com.kcl.api.Spec.SchemaTypes getSchemaTypeMappingOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.SchemaTypes defaultValue); + /** + *
+     * Map of pkg and schema types mappings.
+     * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + com.kcl.api.Spec.SchemaTypes getSchemaTypeMappingOrThrow( + java.lang.String key); + } + /** + *
+   * Message for get schema type mapping response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.GetSchemaTypeMappingUnderPathResult} + */ + public static final class GetSchemaTypeMappingUnderPathResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.GetSchemaTypeMappingUnderPathResult) + GetSchemaTypeMappingUnderPathResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "GetSchemaTypeMappingUnderPathResult"); + } + // Use GetSchemaTypeMappingUnderPathResult.newBuilder() to construct. + private GetSchemaTypeMappingUnderPathResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private GetSchemaTypeMappingUnderPathResult() { + } - /** - *
-         * Log message from the test case.
-         * 
- * - * string log_message = 4; - * - * @return The bytes for logMessage. - */ - @java.lang.Override - public com.google.protobuf.ByteString getLogMessageBytes() { - java.lang.Object ref = logMessage_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - logMessage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_descriptor; + } - private byte memoizedIsInitialized = -1; + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetSchemaTypeMapping(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult.class, com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult.Builder.class); + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + public static final int SCHEMA_TYPE_MAPPING_FIELD_NUMBER = 1; + private static final class SchemaTypeMappingDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.kcl.api.Spec.SchemaTypes> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_SchemaTypeMappingEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.kcl.api.Spec.SchemaTypes.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.kcl.api.Spec.SchemaTypes> schemaTypeMapping_; + private com.google.protobuf.MapField + internalGetSchemaTypeMapping() { + if (schemaTypeMapping_ == null) { + return com.google.protobuf.MapField.emptyMapField( + SchemaTypeMappingDefaultEntryHolder.defaultEntry); + } + return schemaTypeMapping_; + } + public int getSchemaTypeMappingCount() { + return internalGetSchemaTypeMapping().getMap().size(); + } + /** + *
+     * Map of pkg and schema types mappings.
+     * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + @java.lang.Override + public boolean containsSchemaTypeMapping( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetSchemaTypeMapping().getMap().containsKey(key); + } + /** + * Use {@link #getSchemaTypeMappingMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSchemaTypeMapping() { + return getSchemaTypeMappingMap(); + } + /** + *
+     * Map of pkg and schema types mappings.
+     * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + @java.lang.Override + public java.util.Map getSchemaTypeMappingMap() { + return internalGetSchemaTypeMapping().getMap(); + } + /** + *
+     * Map of pkg and schema types mappings.
+     * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.SchemaTypes getSchemaTypeMappingOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.SchemaTypes defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSchemaTypeMapping().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Map of pkg and schema types mappings.
+     * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.SchemaTypes getSchemaTypeMappingOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSchemaTypeMapping().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - memoizedIsInitialized = 1; - return true; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(error_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, error_); - } - if (duration_ != 0L) { - output.writeUInt64(3, duration_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logMessage_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 4, logMessage_); - } - getUnknownFields().writeTo(output); - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(error_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, error_); - } - if (duration_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeUInt64Size(3, duration_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logMessage_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(4, logMessage_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessage + .serializeStringMapTo( + output, + internalGetSchemaTypeMapping(), + SchemaTypeMappingDefaultEntryHolder.defaultEntry, + 1); + getUnknownFields().writeTo(output); + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.TestCaseInfo)) { - return super.equals(obj); - } - com.kcl.api.Spec.TestCaseInfo other = (com.kcl.api.Spec.TestCaseInfo) obj; + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry entry + : internalGetSchemaTypeMapping().getMap().entrySet()) { + com.google.protobuf.MapEntry + schemaTypeMapping__ = SchemaTypeMappingDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, schemaTypeMapping__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - if (!getName().equals(other.getName())) - return false; - if (!getError().equals(other.getError())) - return false; - if (getDuration() != other.getDuration()) - return false; - if (!getLogMessage().equals(other.getLogMessage())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult other = (com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult) obj; + + if (!internalGetSchemaTypeMapping().equals( + other.internalGetSchemaTypeMapping())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + ERROR_FIELD_NUMBER; - hash = (53 * hash) + getError().hashCode(); - hash = (37 * hash) + DURATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDuration()); - hash = (37 * hash) + LOG_MESSAGE_FIELD_NUMBER; - hash = (53 * hash) + getLogMessage().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetSchemaTypeMapping().getMap().isEmpty()) { + hash = (37 * hash) + SCHEMA_TYPE_MAPPING_FIELD_NUMBER; + hash = (53 * hash) + internalGetSchemaTypeMapping().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public static com.kcl.api.Spec.TestCaseInfo parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.kcl.api.Spec.TestCaseInfo parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - public static com.kcl.api.Spec.TestCaseInfo parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.kcl.api.Spec.TestCaseInfo parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - public static com.kcl.api.Spec.TestCaseInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for get schema type mapping response.
+     * 
+ * + * Protobuf type {@code com.kcl.api.GetSchemaTypeMappingUnderPathResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.GetSchemaTypeMappingUnderPathResult) + com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetSchemaTypeMapping(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetMutableSchemaTypeMapping(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult.class, com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + internalGetMutableSchemaTypeMapping().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult getDefaultInstanceForType() { + return com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult build() { + com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult buildPartial() { + com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult result = new com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.schemaTypeMapping_ = internalGetSchemaTypeMapping().build(SchemaTypeMappingDefaultEntryHolder.defaultEntry); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult) { + return mergeFrom((com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult other) { + if (other == com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult.getDefaultInstance()) return this; + internalGetMutableSchemaTypeMapping().mergeFrom( + other.internalGetSchemaTypeMapping()); + bitField0_ |= 0x00000001; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.MapEntry + schemaTypeMapping__ = input.readMessage( + SchemaTypeMappingDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableSchemaTypeMapping().ensureBuilderMap().put( + schemaTypeMapping__.getKey(), schemaTypeMapping__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private static final class SchemaTypeMappingConverter implements com.google.protobuf.MapFieldBuilder.Converter { + @java.lang.Override + public com.kcl.api.Spec.SchemaTypes build(com.kcl.api.Spec.SchemaTypesOrBuilder val) { + if (val instanceof com.kcl.api.Spec.SchemaTypes) { return (com.kcl.api.Spec.SchemaTypes) val; } + return ((com.kcl.api.Spec.SchemaTypes.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry defaultEntry() { + return SchemaTypeMappingDefaultEntryHolder.defaultEntry; + } + }; + private static final SchemaTypeMappingConverter schemaTypeMappingConverter = new SchemaTypeMappingConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, com.kcl.api.Spec.SchemaTypesOrBuilder, com.kcl.api.Spec.SchemaTypes, com.kcl.api.Spec.SchemaTypes.Builder> schemaTypeMapping_; + private com.google.protobuf.MapFieldBuilder + internalGetSchemaTypeMapping() { + if (schemaTypeMapping_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(schemaTypeMappingConverter); + } + return schemaTypeMapping_; + } + private com.google.protobuf.MapFieldBuilder + internalGetMutableSchemaTypeMapping() { + if (schemaTypeMapping_ == null) { + schemaTypeMapping_ = new com.google.protobuf.MapFieldBuilder<>(schemaTypeMappingConverter); + } + bitField0_ |= 0x00000001; + onChanged(); + return schemaTypeMapping_; + } + public int getSchemaTypeMappingCount() { + return internalGetSchemaTypeMapping().ensureBuilderMap().size(); + } + /** + *
+       * Map of pkg and schema types mappings.
+       * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + @java.lang.Override + public boolean containsSchemaTypeMapping( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetSchemaTypeMapping().ensureBuilderMap().containsKey(key); + } + /** + * Use {@link #getSchemaTypeMappingMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSchemaTypeMapping() { + return getSchemaTypeMappingMap(); + } + /** + *
+       * Map of pkg and schema types mappings.
+       * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + @java.lang.Override + public java.util.Map getSchemaTypeMappingMap() { + return internalGetSchemaTypeMapping().getImmutableMap(); + } + /** + *
+       * Map of pkg and schema types mappings.
+       * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.SchemaTypes getSchemaTypeMappingOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.SchemaTypes defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableSchemaTypeMapping().ensureBuilderMap(); + return map.containsKey(key) ? schemaTypeMappingConverter.build(map.get(key)) : defaultValue; + } + /** + *
+       * Map of pkg and schema types mappings.
+       * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.SchemaTypes getSchemaTypeMappingOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableSchemaTypeMapping().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return schemaTypeMappingConverter.build(map.get(key)); + } + public Builder clearSchemaTypeMapping() { + bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableSchemaTypeMapping().clear(); + return this; + } + /** + *
+       * Map of pkg and schema types mappings.
+       * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + public Builder removeSchemaTypeMapping( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableSchemaTypeMapping().ensureBuilderMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableSchemaTypeMapping() { + bitField0_ |= 0x00000001; + return internalGetMutableSchemaTypeMapping().ensureMessageMap(); + } + /** + *
+       * Map of pkg and schema types mappings.
+       * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + public Builder putSchemaTypeMapping( + java.lang.String key, + com.kcl.api.Spec.SchemaTypes value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableSchemaTypeMapping().ensureBuilderMap() + .put(key, value); + bitField0_ |= 0x00000001; + return this; + } + /** + *
+       * Map of pkg and schema types mappings.
+       * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + public Builder putAllSchemaTypeMapping( + java.util.Map values) { + for (java.util.Map.Entry e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableSchemaTypeMapping().ensureBuilderMap() + .putAll(values); + bitField0_ |= 0x00000001; + return this; + } + /** + *
+       * Map of pkg and schema types mappings.
+       * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + public com.kcl.api.Spec.SchemaTypes.Builder putSchemaTypeMappingBuilderIfAbsent( + java.lang.String key) { + java.util.Map builderMap = internalGetMutableSchemaTypeMapping().ensureBuilderMap(); + com.kcl.api.Spec.SchemaTypesOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.kcl.api.Spec.SchemaTypes.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.kcl.api.Spec.SchemaTypes) { + entry = ((com.kcl.api.Spec.SchemaTypes) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.kcl.api.Spec.SchemaTypes.Builder) entry; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.GetSchemaTypeMappingUnderPathResult) + } - public static com.kcl.api.Spec.TestCaseInfo parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.GetSchemaTypeMappingUnderPathResult) + private static final com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult(); + } - public static com.kcl.api.Spec.TestCaseInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.TestCaseInfo parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSchemaTypeMappingUnderPathResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static com.kcl.api.Spec.TestCaseInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static com.kcl.api.Spec.TestCaseInfo parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.TestCaseInfo parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + } - public static com.kcl.api.Spec.TestCaseInfo parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + public interface SchemaTypesOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.SchemaTypes) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + /** + *
+     * List of schema type mappings.
+     * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + java.util.List + getSchemaTypeList(); + /** + *
+     * List of schema type mappings.
+     * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + com.kcl.api.Spec.KclType getSchemaType(int index); + /** + *
+     * List of schema type mappings.
+     * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + int getSchemaTypeCount(); + /** + *
+     * List of schema type mappings.
+     * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + java.util.List + getSchemaTypeOrBuilderList(); + /** + *
+     * List of schema type mappings.
+     * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + com.kcl.api.Spec.KclTypeOrBuilder getSchemaTypeOrBuilder( + int index); + } + /** + * Protobuf type {@code com.kcl.api.SchemaTypes} + */ + public static final class SchemaTypes extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.SchemaTypes) + SchemaTypesOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "SchemaTypes"); + } + // Use SchemaTypes.newBuilder() to construct. + private SchemaTypes(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private SchemaTypes() { + schemaType_ = java.util.Collections.emptyList(); + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_SchemaTypes_descriptor; + } - public static Builder newBuilder(com.kcl.api.Spec.TestCaseInfo prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_SchemaTypes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.SchemaTypes.class, com.kcl.api.Spec.SchemaTypes.Builder.class); + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + public static final int SCHEMA_TYPE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List schemaType_; + /** + *
+     * List of schema type mappings.
+     * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + @java.lang.Override + public java.util.List getSchemaTypeList() { + return schemaType_; + } + /** + *
+     * List of schema type mappings.
+     * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + @java.lang.Override + public java.util.List + getSchemaTypeOrBuilderList() { + return schemaType_; + } + /** + *
+     * List of schema type mappings.
+     * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + @java.lang.Override + public int getSchemaTypeCount() { + return schemaType_.size(); + } + /** + *
+     * List of schema type mappings.
+     * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.KclType getSchemaType(int index) { + return schemaType_.get(index); + } + /** + *
+     * List of schema type mappings.
+     * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.KclTypeOrBuilder getSchemaTypeOrBuilder( + int index) { + return schemaType_.get(index); + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message representing information about a single test case.
-         * 
- * - * Protobuf type {@code com.kcl.api.TestCaseInfo} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.TestCaseInfo) - com.kcl.api.Spec.TestCaseInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_TestCaseInfo_descriptor; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_TestCaseInfo_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.TestCaseInfo.class, - com.kcl.api.Spec.TestCaseInfo.Builder.class); - } + memoizedIsInitialized = 1; + return true; + } - // Construct using com.kcl.api.Spec.TestCaseInfo.newBuilder() - private Builder() { + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < schemaType_.size(); i++) { + output.writeMessage(1, schemaType_.get(i)); + } + getUnknownFields().writeTo(output); + } - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < schemaType_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, schemaType_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.SchemaTypes)) { + return super.equals(obj); + } + com.kcl.api.Spec.SchemaTypes other = (com.kcl.api.Spec.SchemaTypes) obj; + + if (!getSchemaTypeList() + .equals(other.getSchemaTypeList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getSchemaTypeCount() > 0) { + hash = (37 * hash) + SCHEMA_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getSchemaTypeList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - name_ = ""; - error_ = ""; - duration_ = 0L; - logMessage_ = ""; - return this; - } + public static com.kcl.api.Spec.SchemaTypes parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.SchemaTypes parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.SchemaTypes parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.SchemaTypes parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.SchemaTypes parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.SchemaTypes parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.SchemaTypes parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.SchemaTypes parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_TestCaseInfo_descriptor; - } + public static com.kcl.api.Spec.SchemaTypes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public com.kcl.api.Spec.TestCaseInfo getDefaultInstanceForType() { - return com.kcl.api.Spec.TestCaseInfo.getDefaultInstance(); - } + public static com.kcl.api.Spec.SchemaTypes parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.SchemaTypes parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.SchemaTypes parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public com.kcl.api.Spec.TestCaseInfo build() { - com.kcl.api.Spec.TestCaseInfo result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.SchemaTypes prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public com.kcl.api.Spec.TestCaseInfo buildPartial() { - com.kcl.api.Spec.TestCaseInfo result = new com.kcl.api.Spec.TestCaseInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.SchemaTypes} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.SchemaTypes) + com.kcl.api.Spec.SchemaTypesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_SchemaTypes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_SchemaTypes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.SchemaTypes.class, com.kcl.api.Spec.SchemaTypes.Builder.class); + } + + // Construct using com.kcl.api.Spec.SchemaTypes.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (schemaTypeBuilder_ == null) { + schemaType_ = java.util.Collections.emptyList(); + } else { + schemaType_ = null; + schemaTypeBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_SchemaTypes_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.SchemaTypes getDefaultInstanceForType() { + return com.kcl.api.Spec.SchemaTypes.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.SchemaTypes build() { + com.kcl.api.Spec.SchemaTypes result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.SchemaTypes buildPartial() { + com.kcl.api.Spec.SchemaTypes result = new com.kcl.api.Spec.SchemaTypes(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.SchemaTypes result) { + if (schemaTypeBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + schemaType_ = java.util.Collections.unmodifiableList(schemaType_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.schemaType_ = schemaType_; + } else { + result.schemaType_ = schemaTypeBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.SchemaTypes result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.SchemaTypes) { + return mergeFrom((com.kcl.api.Spec.SchemaTypes)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.SchemaTypes other) { + if (other == com.kcl.api.Spec.SchemaTypes.getDefaultInstance()) return this; + if (schemaTypeBuilder_ == null) { + if (!other.schemaType_.isEmpty()) { + if (schemaType_.isEmpty()) { + schemaType_ = other.schemaType_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureSchemaTypeIsMutable(); + schemaType_.addAll(other.schemaType_); + } + onChanged(); + } + } else { + if (!other.schemaType_.isEmpty()) { + if (schemaTypeBuilder_.isEmpty()) { + schemaTypeBuilder_.dispose(); + schemaTypeBuilder_ = null; + schemaType_ = other.schemaType_; + bitField0_ = (bitField0_ & ~0x00000001); + schemaTypeBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetSchemaTypeFieldBuilder() : null; + } else { + schemaTypeBuilder_.addAllMessages(other.schemaType_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.kcl.api.Spec.KclType m = + input.readMessage( + com.kcl.api.Spec.KclType.parser(), + extensionRegistry); + if (schemaTypeBuilder_ == null) { + ensureSchemaTypeIsMutable(); + schemaType_.add(m); + } else { + schemaTypeBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List schemaType_ = + java.util.Collections.emptyList(); + private void ensureSchemaTypeIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + schemaType_ = new java.util.ArrayList(schemaType_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> schemaTypeBuilder_; + + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public java.util.List getSchemaTypeList() { + if (schemaTypeBuilder_ == null) { + return java.util.Collections.unmodifiableList(schemaType_); + } else { + return schemaTypeBuilder_.getMessageList(); + } + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public int getSchemaTypeCount() { + if (schemaTypeBuilder_ == null) { + return schemaType_.size(); + } else { + return schemaTypeBuilder_.getCount(); + } + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public com.kcl.api.Spec.KclType getSchemaType(int index) { + if (schemaTypeBuilder_ == null) { + return schemaType_.get(index); + } else { + return schemaTypeBuilder_.getMessage(index); + } + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public Builder setSchemaType( + int index, com.kcl.api.Spec.KclType value) { + if (schemaTypeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSchemaTypeIsMutable(); + schemaType_.set(index, value); + onChanged(); + } else { + schemaTypeBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public Builder setSchemaType( + int index, com.kcl.api.Spec.KclType.Builder builderForValue) { + if (schemaTypeBuilder_ == null) { + ensureSchemaTypeIsMutable(); + schemaType_.set(index, builderForValue.build()); + onChanged(); + } else { + schemaTypeBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public Builder addSchemaType(com.kcl.api.Spec.KclType value) { + if (schemaTypeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSchemaTypeIsMutable(); + schemaType_.add(value); + onChanged(); + } else { + schemaTypeBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public Builder addSchemaType( + int index, com.kcl.api.Spec.KclType value) { + if (schemaTypeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSchemaTypeIsMutable(); + schemaType_.add(index, value); + onChanged(); + } else { + schemaTypeBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public Builder addSchemaType( + com.kcl.api.Spec.KclType.Builder builderForValue) { + if (schemaTypeBuilder_ == null) { + ensureSchemaTypeIsMutable(); + schemaType_.add(builderForValue.build()); + onChanged(); + } else { + schemaTypeBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public Builder addSchemaType( + int index, com.kcl.api.Spec.KclType.Builder builderForValue) { + if (schemaTypeBuilder_ == null) { + ensureSchemaTypeIsMutable(); + schemaType_.add(index, builderForValue.build()); + onChanged(); + } else { + schemaTypeBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public Builder addAllSchemaType( + java.lang.Iterable values) { + if (schemaTypeBuilder_ == null) { + ensureSchemaTypeIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, schemaType_); + onChanged(); + } else { + schemaTypeBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public Builder clearSchemaType() { + if (schemaTypeBuilder_ == null) { + schemaType_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + schemaTypeBuilder_.clear(); + } + return this; + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public Builder removeSchemaType(int index) { + if (schemaTypeBuilder_ == null) { + ensureSchemaTypeIsMutable(); + schemaType_.remove(index); + onChanged(); + } else { + schemaTypeBuilder_.remove(index); + } + return this; + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public com.kcl.api.Spec.KclType.Builder getSchemaTypeBuilder( + int index) { + return internalGetSchemaTypeFieldBuilder().getBuilder(index); + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public com.kcl.api.Spec.KclTypeOrBuilder getSchemaTypeOrBuilder( + int index) { + if (schemaTypeBuilder_ == null) { + return schemaType_.get(index); } else { + return schemaTypeBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public java.util.List + getSchemaTypeOrBuilderList() { + if (schemaTypeBuilder_ != null) { + return schemaTypeBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(schemaType_); + } + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public com.kcl.api.Spec.KclType.Builder addSchemaTypeBuilder() { + return internalGetSchemaTypeFieldBuilder().addBuilder( + com.kcl.api.Spec.KclType.getDefaultInstance()); + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public com.kcl.api.Spec.KclType.Builder addSchemaTypeBuilder( + int index) { + return internalGetSchemaTypeFieldBuilder().addBuilder( + index, com.kcl.api.Spec.KclType.getDefaultInstance()); + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public java.util.List + getSchemaTypeBuilderList() { + return internalGetSchemaTypeFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> + internalGetSchemaTypeFieldBuilder() { + if (schemaTypeBuilder_ == null) { + schemaTypeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder>( + schemaType_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + schemaType_ = null; + } + return schemaTypeBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.SchemaTypes) + } - private void buildPartial0(com.kcl.api.Spec.TestCaseInfo result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.error_ = error_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.duration_ = duration_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.logMessage_ = logMessage_; - } - } + // @@protoc_insertion_point(class_scope:com.kcl.api.SchemaTypes) + private static final com.kcl.api.Spec.SchemaTypes DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.SchemaTypes(); + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.TestCaseInfo) { - return mergeFrom((com.kcl.api.Spec.TestCaseInfo) other); - } else { - super.mergeFrom(other); - return this; - } - } + public static com.kcl.api.Spec.SchemaTypes getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public Builder mergeFrom(com.kcl.api.Spec.TestCaseInfo other) { - if (other == com.kcl.api.Spec.TestCaseInfo.getDefaultInstance()) - return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getError().isEmpty()) { - error_ = other.error_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (other.getDuration() != 0L) { - setDuration(other.getDuration()); - } - if (!other.getLogMessage().isEmpty()) { - logMessage_ = other.logMessage_; - bitField0_ |= 0x00000008; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SchemaTypes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - error_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - duration_ = input.readUInt64(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - logMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + @java.lang.Override + public com.kcl.api.Spec.SchemaTypes getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - private int bitField0_; - - private java.lang.Object name_ = ""; - - /** - *
-             * Name of the test case.
-             * 
- * - * string name = 1; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + } - /** - *
-             * Name of the test case.
-             * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public interface ValidateCodeArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ValidateCodeArgs) + com.google.protobuf.MessageOrBuilder { - /** - *
-             * Name of the test case.
-             * 
- * - * string name = 1; - * - * @param value - * The name to set. - * - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + /** + *
+     * Path to the data file.
+     * 
+ * + * string datafile = 1; + * @return The datafile. + */ + java.lang.String getDatafile(); + /** + *
+     * Path to the data file.
+     * 
+ * + * string datafile = 1; + * @return The bytes for datafile. + */ + com.google.protobuf.ByteString + getDatafileBytes(); - /** - *
-             * Name of the test case.
-             * 
- * - * string name = 1; - * - * @return This builder for chaining. - */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + /** + *
+     * Data content.
+     * 
+ * + * string data = 2; + * @return The data. + */ + java.lang.String getData(); + /** + *
+     * Data content.
+     * 
+ * + * string data = 2; + * @return The bytes for data. + */ + com.google.protobuf.ByteString + getDataBytes(); - /** - *
-             * Name of the test case.
-             * 
- * - * string name = 1; - * - * @param value - * The bytes for name to set. - * - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + /** + *
+     * Path to the code file.
+     * 
+ * + * string file = 3; + * @return The file. + */ + java.lang.String getFile(); + /** + *
+     * Path to the code file.
+     * 
+ * + * string file = 3; + * @return The bytes for file. + */ + com.google.protobuf.ByteString + getFileBytes(); - private java.lang.Object error_ = ""; - - /** - *
-             * Error message if any.
-             * 
- * - * string error = 2; - * - * @return The error. - */ - public java.lang.String getError() { - java.lang.Object ref = error_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - error_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + /** + *
+     * Source code content.
+     * 
+ * + * string code = 4; + * @return The code. + */ + java.lang.String getCode(); + /** + *
+     * Source code content.
+     * 
+ * + * string code = 4; + * @return The bytes for code. + */ + com.google.protobuf.ByteString + getCodeBytes(); - /** - *
-             * Error message if any.
-             * 
- * - * string error = 2; - * - * @return The bytes for error. - */ - public com.google.protobuf.ByteString getErrorBytes() { - java.lang.Object ref = error_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - error_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + *
+     * Name of the schema.
+     * 
+ * + * string schema = 5; + * @return The schema. + */ + java.lang.String getSchema(); + /** + *
+     * Name of the schema.
+     * 
+ * + * string schema = 5; + * @return The bytes for schema. + */ + com.google.protobuf.ByteString + getSchemaBytes(); - /** - *
-             * Error message if any.
-             * 
- * - * string error = 2; - * - * @param value - * The error to set. - * - * @return This builder for chaining. - */ - public Builder setError(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - error_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + /** + *
+     * Name of the attribute.
+     * 
+ * + * string attribute_name = 6; + * @return The attributeName. + */ + java.lang.String getAttributeName(); + /** + *
+     * Name of the attribute.
+     * 
+ * + * string attribute_name = 6; + * @return The bytes for attributeName. + */ + com.google.protobuf.ByteString + getAttributeNameBytes(); - /** - *
-             * Error message if any.
-             * 
- * - * string error = 2; - * - * @return This builder for chaining. - */ - public Builder clearError() { - error_ = getDefaultInstance().getError(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } + /** + *
+     * Format of the validation (e.g., "json", "yaml").
+     * 
+ * + * string format = 7; + * @return The format. + */ + java.lang.String getFormat(); + /** + *
+     * Format of the validation (e.g., "json", "yaml").
+     * 
+ * + * string format = 7; + * @return The bytes for format. + */ + com.google.protobuf.ByteString + getFormatBytes(); - /** - *
-             * Error message if any.
-             * 
- * - * string error = 2; - * - * @param value - * The bytes for error to set. - * - * @return This builder for chaining. - */ - public Builder setErrorBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - error_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + /** + *
+     * List of external packages updated.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + java.util.List + getExternalPkgsList(); + /** + *
+     * List of external packages updated.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index); + /** + *
+     * List of external packages updated.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + int getExternalPkgsCount(); + /** + *
+     * List of external packages updated.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + java.util.List + getExternalPkgsOrBuilderList(); + /** + *
+     * List of external packages updated.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder( + int index); + } + /** + *
+   * Message for validate code request arguments.
+   * 
+ * + * Protobuf type {@code com.kcl.api.ValidateCodeArgs} + */ + public static final class ValidateCodeArgs extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ValidateCodeArgs) + ValidateCodeArgsOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "ValidateCodeArgs"); + } + // Use ValidateCodeArgs.newBuilder() to construct. + private ValidateCodeArgs(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ValidateCodeArgs() { + datafile_ = ""; + data_ = ""; + file_ = ""; + code_ = ""; + schema_ = ""; + attributeName_ = ""; + format_ = ""; + externalPkgs_ = java.util.Collections.emptyList(); + } - private long duration_; - - /** - *
-             * Duration of the test case in microseconds.
-             * 
- * - * uint64 duration = 3; - * - * @return The duration. - */ - @java.lang.Override - public long getDuration() { - return duration_; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCodeArgs_descriptor; + } - /** - *
-             * Duration of the test case in microseconds.
-             * 
- * - * uint64 duration = 3; - * - * @param value - * The duration to set. - * - * @return This builder for chaining. - */ - public Builder setDuration(long value) { - - duration_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCodeArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ValidateCodeArgs.class, com.kcl.api.Spec.ValidateCodeArgs.Builder.class); + } - /** - *
-             * Duration of the test case in microseconds.
-             * 
- * - * uint64 duration = 3; - * - * @return This builder for chaining. - */ - public Builder clearDuration() { - bitField0_ = (bitField0_ & ~0x00000004); - duration_ = 0L; - onChanged(); - return this; - } + public static final int DATAFILE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object datafile_ = ""; + /** + *
+     * Path to the data file.
+     * 
+ * + * string datafile = 1; + * @return The datafile. + */ + @java.lang.Override + public java.lang.String getDatafile() { + java.lang.Object ref = datafile_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + datafile_ = s; + return s; + } + } + /** + *
+     * Path to the data file.
+     * 
+ * + * string datafile = 1; + * @return The bytes for datafile. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDatafileBytes() { + java.lang.Object ref = datafile_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + datafile_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - private java.lang.Object logMessage_ = ""; - - /** - *
-             * Log message from the test case.
-             * 
- * - * string log_message = 4; - * - * @return The logMessage. - */ - public java.lang.String getLogMessage() { - java.lang.Object ref = logMessage_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - logMessage_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static final int DATA_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object data_ = ""; + /** + *
+     * Data content.
+     * 
+ * + * string data = 2; + * @return The data. + */ + @java.lang.Override + public java.lang.String getData() { + java.lang.Object ref = data_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + data_ = s; + return s; + } + } + /** + *
+     * Data content.
+     * 
+ * + * string data = 2; + * @return The bytes for data. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDataBytes() { + java.lang.Object ref = data_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + data_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * Log message from the test case.
-             * 
- * - * string log_message = 4; - * - * @return The bytes for logMessage. - */ - public com.google.protobuf.ByteString getLogMessageBytes() { - java.lang.Object ref = logMessage_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - logMessage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static final int FILE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object file_ = ""; + /** + *
+     * Path to the code file.
+     * 
+ * + * string file = 3; + * @return The file. + */ + @java.lang.Override + public java.lang.String getFile() { + java.lang.Object ref = file_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + file_ = s; + return s; + } + } + /** + *
+     * Path to the code file.
+     * 
+ * + * string file = 3; + * @return The bytes for file. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFileBytes() { + java.lang.Object ref = file_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + file_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * Log message from the test case.
-             * 
- * - * string log_message = 4; - * - * @param value - * The logMessage to set. - * - * @return This builder for chaining. - */ - public Builder setLogMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - logMessage_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + public static final int CODE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object code_ = ""; + /** + *
+     * Source code content.
+     * 
+ * + * string code = 4; + * @return The code. + */ + @java.lang.Override + public java.lang.String getCode() { + java.lang.Object ref = code_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + code_ = s; + return s; + } + } + /** + *
+     * Source code content.
+     * 
+ * + * string code = 4; + * @return The bytes for code. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCodeBytes() { + java.lang.Object ref = code_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + code_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * Log message from the test case.
-             * 
- * - * string log_message = 4; - * - * @return This builder for chaining. - */ - public Builder clearLogMessage() { - logMessage_ = getDefaultInstance().getLogMessage(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } + public static final int SCHEMA_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object schema_ = ""; + /** + *
+     * Name of the schema.
+     * 
+ * + * string schema = 5; + * @return The schema. + */ + @java.lang.Override + public java.lang.String getSchema() { + java.lang.Object ref = schema_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schema_ = s; + return s; + } + } + /** + *
+     * Name of the schema.
+     * 
+ * + * string schema = 5; + * @return The bytes for schema. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSchemaBytes() { + java.lang.Object ref = schema_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schema_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * Log message from the test case.
-             * 
- * - * string log_message = 4; - * - * @param value - * The bytes for logMessage to set. - * - * @return This builder for chaining. - */ - public Builder setLogMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - logMessage_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + public static final int ATTRIBUTE_NAME_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object attributeName_ = ""; + /** + *
+     * Name of the attribute.
+     * 
+ * + * string attribute_name = 6; + * @return The attributeName. + */ + @java.lang.Override + public java.lang.String getAttributeName() { + java.lang.Object ref = attributeName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + attributeName_ = s; + return s; + } + } + /** + *
+     * Name of the attribute.
+     * 
+ * + * string attribute_name = 6; + * @return The bytes for attributeName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAttributeNameBytes() { + java.lang.Object ref = attributeName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + attributeName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.TestCaseInfo) - } + public static final int FORMAT_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private volatile java.lang.Object format_ = ""; + /** + *
+     * Format of the validation (e.g., "json", "yaml").
+     * 
+ * + * string format = 7; + * @return The format. + */ + @java.lang.Override + public java.lang.String getFormat() { + java.lang.Object ref = format_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + format_ = s; + return s; + } + } + /** + *
+     * Format of the validation (e.g., "json", "yaml").
+     * 
+ * + * string format = 7; + * @return The bytes for format. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFormatBytes() { + java.lang.Object ref = format_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + format_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - // @@protoc_insertion_point(class_scope:com.kcl.api.TestCaseInfo) - private static final com.kcl.api.Spec.TestCaseInfo DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.TestCaseInfo(); - } + public static final int EXTERNAL_PKGS_FIELD_NUMBER = 8; + @SuppressWarnings("serial") + private java.util.List externalPkgs_; + /** + *
+     * List of external packages updated.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + @java.lang.Override + public java.util.List getExternalPkgsList() { + return externalPkgs_; + } + /** + *
+     * List of external packages updated.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + @java.lang.Override + public java.util.List + getExternalPkgsOrBuilderList() { + return externalPkgs_; + } + /** + *
+     * List of external packages updated.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + @java.lang.Override + public int getExternalPkgsCount() { + return externalPkgs_.size(); + } + /** + *
+     * List of external packages updated.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + @java.lang.Override + public com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index) { + return externalPkgs_.get(index); + } + /** + *
+     * List of external packages updated.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + @java.lang.Override + public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder( + int index) { + return externalPkgs_.get(index); + } - public static com.kcl.api.Spec.TestCaseInfo getDefaultInstance() { - return DEFAULT_INSTANCE; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TestCaseInfo parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + memoizedIsInitialized = 1; + return true; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(datafile_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, datafile_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(data_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, data_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(file_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, file_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(code_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, code_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(schema_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, schema_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(attributeName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, attributeName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(format_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, format_); + } + for (int i = 0; i < externalPkgs_.size(); i++) { + output.writeMessage(8, externalPkgs_.get(i)); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(datafile_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, datafile_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(data_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, data_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(file_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, file_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(code_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, code_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(schema_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, schema_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(attributeName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, attributeName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(format_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(7, format_); + } + for (int i = 0; i < externalPkgs_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, externalPkgs_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public com.kcl.api.Spec.TestCaseInfo getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ValidateCodeArgs)) { + return super.equals(obj); + } + com.kcl.api.Spec.ValidateCodeArgs other = (com.kcl.api.Spec.ValidateCodeArgs) obj; + + if (!getDatafile() + .equals(other.getDatafile())) return false; + if (!getData() + .equals(other.getData())) return false; + if (!getFile() + .equals(other.getFile())) return false; + if (!getCode() + .equals(other.getCode())) return false; + if (!getSchema() + .equals(other.getSchema())) return false; + if (!getAttributeName() + .equals(other.getAttributeName())) return false; + if (!getFormat() + .equals(other.getFormat())) return false; + if (!getExternalPkgsList() + .equals(other.getExternalPkgsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DATAFILE_FIELD_NUMBER; + hash = (53 * hash) + getDatafile().hashCode(); + hash = (37 * hash) + DATA_FIELD_NUMBER; + hash = (53 * hash) + getData().hashCode(); + hash = (37 * hash) + FILE_FIELD_NUMBER; + hash = (53 * hash) + getFile().hashCode(); + hash = (37 * hash) + CODE_FIELD_NUMBER; + hash = (53 * hash) + getCode().hashCode(); + hash = (37 * hash) + SCHEMA_FIELD_NUMBER; + hash = (53 * hash) + getSchema().hashCode(); + hash = (37 * hash) + ATTRIBUTE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getAttributeName().hashCode(); + hash = (37 * hash) + FORMAT_FIELD_NUMBER; + hash = (53 * hash) + getFormat().hashCode(); + if (getExternalPkgsCount() > 0) { + hash = (37 * hash) + EXTERNAL_PKGS_FIELD_NUMBER; + hash = (53 * hash) + getExternalPkgsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; } - public interface UpdateDependencies_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.UpdateDependencies_Args) - com.google.protobuf.MessageOrBuilder { + public static com.kcl.api.Spec.ValidateCodeArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ValidateCodeArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ValidateCodeArgs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ValidateCodeArgs parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ValidateCodeArgs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ValidateCodeArgs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ValidateCodeArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ValidateCodeArgs parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-         * Path to the manifest file.
-         * 
- * - * string manifest_path = 1; - * - * @return The manifestPath. - */ - java.lang.String getManifestPath(); + public static com.kcl.api.Spec.ValidateCodeArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-         * Path to the manifest file.
-         * 
- * - * string manifest_path = 1; - * - * @return The bytes for manifestPath. - */ - com.google.protobuf.ByteString getManifestPathBytes(); + public static com.kcl.api.Spec.ValidateCodeArgs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.ValidateCodeArgs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ValidateCodeArgs parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-         * Flag to vendor dependencies locally.
-         * 
- * - * bool vendor = 2; - * - * @return The vendor. - */ - boolean getVendor(); + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ValidateCodeArgs prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** *
-     * Message for update dependencies request arguments.
+     * Message for validate code request arguments.
      * 
* - * Protobuf type {@code com.kcl.api.UpdateDependencies_Args} + * Protobuf type {@code com.kcl.api.ValidateCodeArgs} */ - public static final class UpdateDependencies_Args extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.UpdateDependencies_Args) - UpdateDependencies_ArgsOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", UpdateDependencies_Args.class.getName()); - } - - // Use UpdateDependencies_Args.newBuilder() to construct. - private UpdateDependencies_Args(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private UpdateDependencies_Args() { - manifestPath_ = ""; - } + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ValidateCodeArgs) + com.kcl.api.Spec.ValidateCodeArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCodeArgs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCodeArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ValidateCodeArgs.class, com.kcl.api.Spec.ValidateCodeArgs.Builder.class); + } + + // Construct using com.kcl.api.Spec.ValidateCodeArgs.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + datafile_ = ""; + data_ = ""; + file_ = ""; + code_ = ""; + schema_ = ""; + attributeName_ = ""; + format_ = ""; + if (externalPkgsBuilder_ == null) { + externalPkgs_ = java.util.Collections.emptyList(); + } else { + externalPkgs_ = null; + externalPkgsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000080); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCodeArgs_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ValidateCodeArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.ValidateCodeArgs.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ValidateCodeArgs build() { + com.kcl.api.Spec.ValidateCodeArgs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ValidateCodeArgs buildPartial() { + com.kcl.api.Spec.ValidateCodeArgs result = new com.kcl.api.Spec.ValidateCodeArgs(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.ValidateCodeArgs result) { + if (externalPkgsBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0)) { + externalPkgs_ = java.util.Collections.unmodifiableList(externalPkgs_); + bitField0_ = (bitField0_ & ~0x00000080); + } + result.externalPkgs_ = externalPkgs_; + } else { + result.externalPkgs_ = externalPkgsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.ValidateCodeArgs result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.datafile_ = datafile_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.data_ = data_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.file_ = file_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.code_ = code_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.schema_ = schema_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.attributeName_ = attributeName_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.format_ = format_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ValidateCodeArgs) { + return mergeFrom((com.kcl.api.Spec.ValidateCodeArgs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ValidateCodeArgs other) { + if (other == com.kcl.api.Spec.ValidateCodeArgs.getDefaultInstance()) return this; + if (!other.getDatafile().isEmpty()) { + datafile_ = other.datafile_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getData().isEmpty()) { + data_ = other.data_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getFile().isEmpty()) { + file_ = other.file_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getCode().isEmpty()) { + code_ = other.code_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getSchema().isEmpty()) { + schema_ = other.schema_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getAttributeName().isEmpty()) { + attributeName_ = other.attributeName_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (!other.getFormat().isEmpty()) { + format_ = other.format_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (externalPkgsBuilder_ == null) { + if (!other.externalPkgs_.isEmpty()) { + if (externalPkgs_.isEmpty()) { + externalPkgs_ = other.externalPkgs_; + bitField0_ = (bitField0_ & ~0x00000080); + } else { + ensureExternalPkgsIsMutable(); + externalPkgs_.addAll(other.externalPkgs_); + } + onChanged(); + } + } else { + if (!other.externalPkgs_.isEmpty()) { + if (externalPkgsBuilder_.isEmpty()) { + externalPkgsBuilder_.dispose(); + externalPkgsBuilder_ = null; + externalPkgs_ = other.externalPkgs_; + bitField0_ = (bitField0_ & ~0x00000080); + externalPkgsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetExternalPkgsFieldBuilder() : null; + } else { + externalPkgsBuilder_.addAllMessages(other.externalPkgs_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + datafile_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + data_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + file_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + code_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + schema_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + attributeName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + format_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + com.kcl.api.Spec.ExternalPkg m = + input.readMessage( + com.kcl.api.Spec.ExternalPkg.parser(), + extensionRegistry); + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(m); + } else { + externalPkgsBuilder_.addMessage(m); + } + break; + } // case 66 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object datafile_ = ""; + /** + *
+       * Path to the data file.
+       * 
+ * + * string datafile = 1; + * @return The datafile. + */ + public java.lang.String getDatafile() { + java.lang.Object ref = datafile_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + datafile_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Path to the data file.
+       * 
+ * + * string datafile = 1; + * @return The bytes for datafile. + */ + public com.google.protobuf.ByteString + getDatafileBytes() { + java.lang.Object ref = datafile_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + datafile_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Path to the data file.
+       * 
+ * + * string datafile = 1; + * @param value The datafile to set. + * @return This builder for chaining. + */ + public Builder setDatafile( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + datafile_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Path to the data file.
+       * 
+ * + * string datafile = 1; + * @return This builder for chaining. + */ + public Builder clearDatafile() { + datafile_ = getDefaultInstance().getDatafile(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Path to the data file.
+       * 
+ * + * string datafile = 1; + * @param value The bytes for datafile to set. + * @return This builder for chaining. + */ + public Builder setDatafileBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + datafile_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object data_ = ""; + /** + *
+       * Data content.
+       * 
+ * + * string data = 2; + * @return The data. + */ + public java.lang.String getData() { + java.lang.Object ref = data_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + data_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Data content.
+       * 
+ * + * string data = 2; + * @return The bytes for data. + */ + public com.google.protobuf.ByteString + getDataBytes() { + java.lang.Object ref = data_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + data_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Data content.
+       * 
+ * + * string data = 2; + * @param value The data to set. + * @return This builder for chaining. + */ + public Builder setData( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + data_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Data content.
+       * 
+ * + * string data = 2; + * @return This builder for chaining. + */ + public Builder clearData() { + data_ = getDefaultInstance().getData(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Data content.
+       * 
+ * + * string data = 2; + * @param value The bytes for data to set. + * @return This builder for chaining. + */ + public Builder setDataBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + data_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object file_ = ""; + /** + *
+       * Path to the code file.
+       * 
+ * + * string file = 3; + * @return The file. + */ + public java.lang.String getFile() { + java.lang.Object ref = file_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + file_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Path to the code file.
+       * 
+ * + * string file = 3; + * @return The bytes for file. + */ + public com.google.protobuf.ByteString + getFileBytes() { + java.lang.Object ref = file_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + file_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Path to the code file.
+       * 
+ * + * string file = 3; + * @param value The file to set. + * @return This builder for chaining. + */ + public Builder setFile( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + file_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Path to the code file.
+       * 
+ * + * string file = 3; + * @return This builder for chaining. + */ + public Builder clearFile() { + file_ = getDefaultInstance().getFile(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+       * Path to the code file.
+       * 
+ * + * string file = 3; + * @param value The bytes for file to set. + * @return This builder for chaining. + */ + public Builder setFileBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + file_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object code_ = ""; + /** + *
+       * Source code content.
+       * 
+ * + * string code = 4; + * @return The code. + */ + public java.lang.String getCode() { + java.lang.Object ref = code_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + code_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Source code content.
+       * 
+ * + * string code = 4; + * @return The bytes for code. + */ + public com.google.protobuf.ByteString + getCodeBytes() { + java.lang.Object ref = code_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + code_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Source code content.
+       * 
+ * + * string code = 4; + * @param value The code to set. + * @return This builder for chaining. + */ + public Builder setCode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + code_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Source code content.
+       * 
+ * + * string code = 4; + * @return This builder for chaining. + */ + public Builder clearCode() { + code_ = getDefaultInstance().getCode(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+       * Source code content.
+       * 
+ * + * string code = 4; + * @param value The bytes for code to set. + * @return This builder for chaining. + */ + public Builder setCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + code_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object schema_ = ""; + /** + *
+       * Name of the schema.
+       * 
+ * + * string schema = 5; + * @return The schema. + */ + public java.lang.String getSchema() { + java.lang.Object ref = schema_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schema_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Name of the schema.
+       * 
+ * + * string schema = 5; + * @return The bytes for schema. + */ + public com.google.protobuf.ByteString + getSchemaBytes() { + java.lang.Object ref = schema_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schema_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Name of the schema.
+       * 
+ * + * string schema = 5; + * @param value The schema to set. + * @return This builder for chaining. + */ + public Builder setSchema( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + schema_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+       * Name of the schema.
+       * 
+ * + * string schema = 5; + * @return This builder for chaining. + */ + public Builder clearSchema() { + schema_ = getDefaultInstance().getSchema(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + *
+       * Name of the schema.
+       * 
+ * + * string schema = 5; + * @param value The bytes for schema to set. + * @return This builder for chaining. + */ + public Builder setSchemaBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + schema_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object attributeName_ = ""; + /** + *
+       * Name of the attribute.
+       * 
+ * + * string attribute_name = 6; + * @return The attributeName. + */ + public java.lang.String getAttributeName() { + java.lang.Object ref = attributeName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + attributeName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Name of the attribute.
+       * 
+ * + * string attribute_name = 6; + * @return The bytes for attributeName. + */ + public com.google.protobuf.ByteString + getAttributeNameBytes() { + java.lang.Object ref = attributeName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + attributeName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Name of the attribute.
+       * 
+ * + * string attribute_name = 6; + * @param value The attributeName to set. + * @return This builder for chaining. + */ + public Builder setAttributeName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + attributeName_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+       * Name of the attribute.
+       * 
+ * + * string attribute_name = 6; + * @return This builder for chaining. + */ + public Builder clearAttributeName() { + attributeName_ = getDefaultInstance().getAttributeName(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + *
+       * Name of the attribute.
+       * 
+ * + * string attribute_name = 6; + * @param value The bytes for attributeName to set. + * @return This builder for chaining. + */ + public Builder setAttributeNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + attributeName_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private java.lang.Object format_ = ""; + /** + *
+       * Format of the validation (e.g., "json", "yaml").
+       * 
+ * + * string format = 7; + * @return The format. + */ + public java.lang.String getFormat() { + java.lang.Object ref = format_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + format_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Format of the validation (e.g., "json", "yaml").
+       * 
+ * + * string format = 7; + * @return The bytes for format. + */ + public com.google.protobuf.ByteString + getFormatBytes() { + java.lang.Object ref = format_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + format_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Format of the validation (e.g., "json", "yaml").
+       * 
+ * + * string format = 7; + * @param value The format to set. + * @return This builder for chaining. + */ + public Builder setFormat( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + format_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+       * Format of the validation (e.g., "json", "yaml").
+       * 
+ * + * string format = 7; + * @return This builder for chaining. + */ + public Builder clearFormat() { + format_ = getDefaultInstance().getFormat(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + *
+       * Format of the validation (e.g., "json", "yaml").
+       * 
+ * + * string format = 7; + * @param value The bytes for format to set. + * @return This builder for chaining. + */ + public Builder setFormatBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + format_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private java.util.List externalPkgs_ = + java.util.Collections.emptyList(); + private void ensureExternalPkgsIsMutable() { + if (!((bitField0_ & 0x00000080) != 0)) { + externalPkgs_ = new java.util.ArrayList(externalPkgs_); + bitField0_ |= 0x00000080; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder> externalPkgsBuilder_; + + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + public java.util.List getExternalPkgsList() { + if (externalPkgsBuilder_ == null) { + return java.util.Collections.unmodifiableList(externalPkgs_); + } else { + return externalPkgsBuilder_.getMessageList(); + } + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + public int getExternalPkgsCount() { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.size(); + } else { + return externalPkgsBuilder_.getCount(); + } + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + public com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index) { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.get(index); + } else { + return externalPkgsBuilder_.getMessage(index); + } + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + public Builder setExternalPkgs( + int index, com.kcl.api.Spec.ExternalPkg value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.set(index, value); + onChanged(); + } else { + externalPkgsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + public Builder setExternalPkgs( + int index, com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.set(index, builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + public Builder addExternalPkgs(com.kcl.api.Spec.ExternalPkg value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.add(value); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + public Builder addExternalPkgs( + int index, com.kcl.api.Spec.ExternalPkg value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.add(index, value); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + public Builder addExternalPkgs( + com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + public Builder addExternalPkgs( + int index, com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(index, builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + public Builder addAllExternalPkgs( + java.lang.Iterable values) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, externalPkgs_); + onChanged(); + } else { + externalPkgsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + public Builder clearExternalPkgs() { + if (externalPkgsBuilder_ == null) { + externalPkgs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + } else { + externalPkgsBuilder_.clear(); + } + return this; + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + public Builder removeExternalPkgs(int index) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.remove(index); + onChanged(); + } else { + externalPkgsBuilder_.remove(index); + } + return this; + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + public com.kcl.api.Spec.ExternalPkg.Builder getExternalPkgsBuilder( + int index) { + return internalGetExternalPkgsFieldBuilder().getBuilder(index); + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder( + int index) { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.get(index); } else { + return externalPkgsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + public java.util.List + getExternalPkgsOrBuilderList() { + if (externalPkgsBuilder_ != null) { + return externalPkgsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(externalPkgs_); + } + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder() { + return internalGetExternalPkgsFieldBuilder().addBuilder( + com.kcl.api.Spec.ExternalPkg.getDefaultInstance()); + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder( + int index) { + return internalGetExternalPkgsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.ExternalPkg.getDefaultInstance()); + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 8; + */ + public java.util.List + getExternalPkgsBuilderList() { + return internalGetExternalPkgsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder> + internalGetExternalPkgsFieldBuilder() { + if (externalPkgsBuilder_ == null) { + externalPkgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder>( + externalPkgs_, + ((bitField0_ & 0x00000080) != 0), + getParentForChildren(), + isClean()); + externalPkgs_ = null; + } + return externalPkgsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ValidateCodeArgs) + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependencies_Args_descriptor; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ValidateCodeArgs) + private static final com.kcl.api.Spec.ValidateCodeArgs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ValidateCodeArgs(); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependencies_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.UpdateDependencies_Args.class, - com.kcl.api.Spec.UpdateDependencies_Args.Builder.class); - } - - public static final int MANIFEST_PATH_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object manifestPath_ = ""; - - /** - *
-         * Path to the manifest file.
-         * 
- * - * string manifest_path = 1; - * - * @return The manifestPath. - */ - @java.lang.Override - public java.lang.String getManifestPath() { - java.lang.Object ref = manifestPath_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - manifestPath_ = s; - return s; - } - } + public static com.kcl.api.Spec.ValidateCodeArgs getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-         * Path to the manifest file.
-         * 
- * - * string manifest_path = 1; - * - * @return The bytes for manifestPath. - */ - @java.lang.Override - public com.google.protobuf.ByteString getManifestPathBytes() { - java.lang.Object ref = manifestPath_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - manifestPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ValidateCodeArgs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static final int VENDOR_FIELD_NUMBER = 2; - private boolean vendor_ = false; + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-         * Flag to vendor dependencies locally.
-         * 
- * - * bool vendor = 2; - * - * @return The vendor. - */ - @java.lang.Override - public boolean getVendor() { - return vendor_; - } + @java.lang.Override + public com.kcl.api.Spec.ValidateCodeArgs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - private byte memoizedIsInitialized = -1; + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + public interface ValidateCodeResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ValidateCodeResult) + com.google.protobuf.MessageOrBuilder { - memoizedIsInitialized = 1; - return true; - } + /** + *
+     * Flag indicating if validation was successful.
+     * 
+ * + * bool success = 1; + * @return The success. + */ + boolean getSuccess(); - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(manifestPath_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, manifestPath_); - } - if (vendor_ != false) { - output.writeBool(2, vendor_); - } - getUnknownFields().writeTo(output); - } + /** + *
+     * Error message from validation.
+     * 
+ * + * string err_message = 2; + * @return The errMessage. + */ + java.lang.String getErrMessage(); + /** + *
+     * Error message from validation.
+     * 
+ * + * string err_message = 2; + * @return The bytes for errMessage. + */ + com.google.protobuf.ByteString + getErrMessageBytes(); + } + /** + *
+   * Message for validate code response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.ValidateCodeResult} + */ + public static final class ValidateCodeResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ValidateCodeResult) + ValidateCodeResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "ValidateCodeResult"); + } + // Use ValidateCodeResult.newBuilder() to construct. + private ValidateCodeResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ValidateCodeResult() { + errMessage_ = ""; + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(manifestPath_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, manifestPath_); - } - if (vendor_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, vendor_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCodeResult_descriptor; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.UpdateDependencies_Args)) { - return super.equals(obj); - } - com.kcl.api.Spec.UpdateDependencies_Args other = (com.kcl.api.Spec.UpdateDependencies_Args) obj; + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCodeResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ValidateCodeResult.class, com.kcl.api.Spec.ValidateCodeResult.Builder.class); + } - if (!getManifestPath().equals(other.getManifestPath())) - return false; - if (getVendor() != other.getVendor()) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + public static final int SUCCESS_FIELD_NUMBER = 1; + private boolean success_ = false; + /** + *
+     * Flag indicating if validation was successful.
+     * 
+ * + * bool success = 1; + * @return The success. + */ + @java.lang.Override + public boolean getSuccess() { + return success_; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + MANIFEST_PATH_FIELD_NUMBER; - hash = (53 * hash) + getManifestPath().hashCode(); - hash = (37 * hash) + VENDOR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getVendor()); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + public static final int ERR_MESSAGE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object errMessage_ = ""; + /** + *
+     * Error message from validation.
+     * 
+ * + * string err_message = 2; + * @return The errMessage. + */ + @java.lang.Override + public java.lang.String getErrMessage() { + java.lang.Object ref = errMessage_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errMessage_ = s; + return s; + } + } + /** + *
+     * Error message from validation.
+     * 
+ * + * string err_message = 2; + * @return The bytes for errMessage. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getErrMessageBytes() { + java.lang.Object ref = errMessage_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static com.kcl.api.Spec.UpdateDependencies_Args parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static com.kcl.api.Spec.UpdateDependencies_Args parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + memoizedIsInitialized = 1; + return true; + } - public static com.kcl.api.Spec.UpdateDependencies_Args parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (success_ != false) { + output.writeBool(1, success_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errMessage_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, errMessage_); + } + getUnknownFields().writeTo(output); + } - public static com.kcl.api.Spec.UpdateDependencies_Args parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (success_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, success_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errMessage_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, errMessage_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static com.kcl.api.Spec.UpdateDependencies_Args parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ValidateCodeResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.ValidateCodeResult other = (com.kcl.api.Spec.ValidateCodeResult) obj; + + if (getSuccess() + != other.getSuccess()) return false; + if (!getErrMessage() + .equals(other.getErrMessage())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static com.kcl.api.Spec.UpdateDependencies_Args parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SUCCESS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSuccess()); + hash = (37 * hash) + ERR_MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getErrMessage().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public static com.kcl.api.Spec.UpdateDependencies_Args parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + public static com.kcl.api.Spec.ValidateCodeResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ValidateCodeResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ValidateCodeResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ValidateCodeResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ValidateCodeResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ValidateCodeResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ValidateCodeResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ValidateCodeResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.kcl.api.Spec.UpdateDependencies_Args parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + public static com.kcl.api.Spec.ValidateCodeResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - public static com.kcl.api.Spec.UpdateDependencies_Args parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } + public static com.kcl.api.Spec.ValidateCodeResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.ValidateCodeResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ValidateCodeResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.kcl.api.Spec.UpdateDependencies_Args parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ValidateCodeResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - public static com.kcl.api.Spec.UpdateDependencies_Args parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for validate code response.
+     * 
+ * + * Protobuf type {@code com.kcl.api.ValidateCodeResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ValidateCodeResult) + com.kcl.api.Spec.ValidateCodeResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCodeResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCodeResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ValidateCodeResult.class, com.kcl.api.Spec.ValidateCodeResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.ValidateCodeResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + success_ = false; + errMessage_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCodeResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ValidateCodeResult getDefaultInstanceForType() { + return com.kcl.api.Spec.ValidateCodeResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ValidateCodeResult build() { + com.kcl.api.Spec.ValidateCodeResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ValidateCodeResult buildPartial() { + com.kcl.api.Spec.ValidateCodeResult result = new com.kcl.api.Spec.ValidateCodeResult(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.ValidateCodeResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.success_ = success_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.errMessage_ = errMessage_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ValidateCodeResult) { + return mergeFrom((com.kcl.api.Spec.ValidateCodeResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ValidateCodeResult other) { + if (other == com.kcl.api.Spec.ValidateCodeResult.getDefaultInstance()) return this; + if (other.getSuccess() != false) { + setSuccess(other.getSuccess()); + } + if (!other.getErrMessage().isEmpty()) { + errMessage_ = other.errMessage_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + success_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + errMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private boolean success_ ; + /** + *
+       * Flag indicating if validation was successful.
+       * 
+ * + * bool success = 1; + * @return The success. + */ + @java.lang.Override + public boolean getSuccess() { + return success_; + } + /** + *
+       * Flag indicating if validation was successful.
+       * 
+ * + * bool success = 1; + * @param value The success to set. + * @return This builder for chaining. + */ + public Builder setSuccess(boolean value) { + + success_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Flag indicating if validation was successful.
+       * 
+ * + * bool success = 1; + * @return This builder for chaining. + */ + public Builder clearSuccess() { + bitField0_ = (bitField0_ & ~0x00000001); + success_ = false; + onChanged(); + return this; + } + + private java.lang.Object errMessage_ = ""; + /** + *
+       * Error message from validation.
+       * 
+ * + * string err_message = 2; + * @return The errMessage. + */ + public java.lang.String getErrMessage() { + java.lang.Object ref = errMessage_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errMessage_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Error message from validation.
+       * 
+ * + * string err_message = 2; + * @return The bytes for errMessage. + */ + public com.google.protobuf.ByteString + getErrMessageBytes() { + java.lang.Object ref = errMessage_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Error message from validation.
+       * 
+ * + * string err_message = 2; + * @param value The errMessage to set. + * @return This builder for chaining. + */ + public Builder setErrMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + errMessage_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Error message from validation.
+       * 
+ * + * string err_message = 2; + * @return This builder for chaining. + */ + public Builder clearErrMessage() { + errMessage_ = getDefaultInstance().getErrMessage(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Error message from validation.
+       * 
+ * + * string err_message = 2; + * @param value The bytes for errMessage to set. + * @return This builder for chaining. + */ + public Builder setErrMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + errMessage_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ValidateCodeResult) + } - public static com.kcl.api.Spec.UpdateDependencies_Args parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ValidateCodeResult) + private static final com.kcl.api.Spec.ValidateCodeResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ValidateCodeResult(); + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + public static com.kcl.api.Spec.ValidateCodeResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ValidateCodeResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static Builder newBuilder(com.kcl.api.Spec.UpdateDependencies_Args prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public com.kcl.api.Spec.ValidateCodeResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for update dependencies request arguments.
-         * 
- * - * Protobuf type {@code com.kcl.api.UpdateDependencies_Args} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.UpdateDependencies_Args) - com.kcl.api.Spec.UpdateDependencies_ArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependencies_Args_descriptor; - } + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependencies_Args_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.UpdateDependencies_Args.class, - com.kcl.api.Spec.UpdateDependencies_Args.Builder.class); - } + public interface PositionOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.Position) + com.google.protobuf.MessageOrBuilder { - // Construct using com.kcl.api.Spec.UpdateDependencies_Args.newBuilder() - private Builder() { + /** + *
+     * Line number.
+     * 
+ * + * int64 line = 1; + * @return The line. + */ + long getLine(); - } + /** + *
+     * Column number.
+     * 
+ * + * int64 column = 2; + * @return The column. + */ + long getColumn(); - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); + /** + *
+     * Filename the position refers to.
+     * 
+ * + * string filename = 3; + * @return The filename. + */ + java.lang.String getFilename(); + /** + *
+     * Filename the position refers to.
+     * 
+ * + * string filename = 3; + * @return The bytes for filename. + */ + com.google.protobuf.ByteString + getFilenameBytes(); + } + /** + *
+   * Message representing a position in the source code.
+   * 
+ * + * Protobuf type {@code com.kcl.api.Position} + */ + public static final class Position extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.Position) + PositionOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "Position"); + } + // Use Position.newBuilder() to construct. + private Position(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private Position() { + filename_ = ""; + } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Position_descriptor; + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - manifestPath_ = ""; - vendor_ = false; - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Position_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Position.class, com.kcl.api.Spec.Position.Builder.class); + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependencies_Args_descriptor; - } + public static final int LINE_FIELD_NUMBER = 1; + private long line_ = 0L; + /** + *
+     * Line number.
+     * 
+ * + * int64 line = 1; + * @return The line. + */ + @java.lang.Override + public long getLine() { + return line_; + } - @java.lang.Override - public com.kcl.api.Spec.UpdateDependencies_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.UpdateDependencies_Args.getDefaultInstance(); - } + public static final int COLUMN_FIELD_NUMBER = 2; + private long column_ = 0L; + /** + *
+     * Column number.
+     * 
+ * + * int64 column = 2; + * @return The column. + */ + @java.lang.Override + public long getColumn() { + return column_; + } - @java.lang.Override - public com.kcl.api.Spec.UpdateDependencies_Args build() { - com.kcl.api.Spec.UpdateDependencies_Args result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + public static final int FILENAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object filename_ = ""; + /** + *
+     * Filename the position refers to.
+     * 
+ * + * string filename = 3; + * @return The filename. + */ + @java.lang.Override + public java.lang.String getFilename() { + java.lang.Object ref = filename_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filename_ = s; + return s; + } + } + /** + *
+     * Filename the position refers to.
+     * 
+ * + * string filename = 3; + * @return The bytes for filename. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFilenameBytes() { + java.lang.Object ref = filename_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + filename_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public com.kcl.api.Spec.UpdateDependencies_Args buildPartial() { - com.kcl.api.Spec.UpdateDependencies_Args result = new com.kcl.api.Spec.UpdateDependencies_Args(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private void buildPartial0(com.kcl.api.Spec.UpdateDependencies_Args result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.manifestPath_ = manifestPath_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.vendor_ = vendor_; - } - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.UpdateDependencies_Args) { - return mergeFrom((com.kcl.api.Spec.UpdateDependencies_Args) other); - } else { - super.mergeFrom(other); - return this; - } - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (line_ != 0L) { + output.writeInt64(1, line_); + } + if (column_ != 0L) { + output.writeInt64(2, column_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filename_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, filename_); + } + getUnknownFields().writeTo(output); + } - public Builder mergeFrom(com.kcl.api.Spec.UpdateDependencies_Args other) { - if (other == com.kcl.api.Spec.UpdateDependencies_Args.getDefaultInstance()) - return this; - if (!other.getManifestPath().isEmpty()) { - manifestPath_ = other.manifestPath_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (other.getVendor() != false) { - setVendor(other.getVendor()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (line_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, line_); + } + if (column_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, column_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filename_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, filename_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.Position)) { + return super.equals(obj); + } + com.kcl.api.Spec.Position other = (com.kcl.api.Spec.Position) obj; + + if (getLine() + != other.getLine()) return false; + if (getColumn() + != other.getColumn()) return false; + if (!getFilename() + .equals(other.getFilename())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - manifestPath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - vendor_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + LINE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLine()); + hash = (37 * hash) + COLUMN_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getColumn()); + hash = (37 * hash) + FILENAME_FIELD_NUMBER; + hash = (53 * hash) + getFilename().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - private int bitField0_; - - private java.lang.Object manifestPath_ = ""; - - /** - *
-             * Path to the manifest file.
-             * 
- * - * string manifest_path = 1; - * - * @return The manifestPath. - */ - public java.lang.String getManifestPath() { - java.lang.Object ref = manifestPath_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - manifestPath_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static com.kcl.api.Spec.Position parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Position parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Position parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Position parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Position parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Position parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Position parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Position parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Path to the manifest file.
-             * 
- * - * string manifest_path = 1; - * - * @return The bytes for manifestPath. - */ - public com.google.protobuf.ByteString getManifestPathBytes() { - java.lang.Object ref = manifestPath_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - manifestPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static com.kcl.api.Spec.Position parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * Path to the manifest file.
-             * 
- * - * string manifest_path = 1; - * - * @param value - * The manifestPath to set. - * - * @return This builder for chaining. - */ - public Builder setManifestPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - manifestPath_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + public static com.kcl.api.Spec.Position parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.Position parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Position parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Path to the manifest file.
-             * 
- * - * string manifest_path = 1; - * - * @return This builder for chaining. - */ - public Builder clearManifestPath() { - manifestPath_ = getDefaultInstance().getManifestPath(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.Position prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * Path to the manifest file.
-             * 
- * - * string manifest_path = 1; - * - * @param value - * The bytes for manifestPath to set. - * - * @return This builder for chaining. - */ - public Builder setManifestPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - manifestPath_ = value; + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message representing a position in the source code.
+     * 
+ * + * Protobuf type {@code com.kcl.api.Position} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.Position) + com.kcl.api.Spec.PositionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Position_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Position_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Position.class, com.kcl.api.Spec.Position.Builder.class); + } + + // Construct using com.kcl.api.Spec.Position.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + line_ = 0L; + column_ = 0L; + filename_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Position_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.Position getDefaultInstanceForType() { + return com.kcl.api.Spec.Position.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.Position build() { + com.kcl.api.Spec.Position result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.Position buildPartial() { + com.kcl.api.Spec.Position result = new com.kcl.api.Spec.Position(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.Position result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.line_ = line_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.column_ = column_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.filename_ = filename_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.Position) { + return mergeFrom((com.kcl.api.Spec.Position)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.Position other) { + if (other == com.kcl.api.Spec.Position.getDefaultInstance()) return this; + if (other.getLine() != 0L) { + setLine(other.getLine()); + } + if (other.getColumn() != 0L) { + setColumn(other.getColumn()); + } + if (!other.getFilename().isEmpty()) { + filename_ = other.filename_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + line_ = input.readInt64(); bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private boolean vendor_; - - /** - *
-             * Flag to vendor dependencies locally.
-             * 
- * - * bool vendor = 2; - * - * @return The vendor. - */ - @java.lang.Override - public boolean getVendor() { - return vendor_; - } - - /** - *
-             * Flag to vendor dependencies locally.
-             * 
- * - * bool vendor = 2; - * - * @param value - * The vendor to set. - * - * @return This builder for chaining. - */ - public Builder setVendor(boolean value) { - - vendor_ = value; + break; + } // case 8 + case 16: { + column_ = input.readInt64(); bitField0_ |= 0x00000002; - onChanged(); - return this; - } + break; + } // case 16 + case 26: { + filename_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private long line_ ; + /** + *
+       * Line number.
+       * 
+ * + * int64 line = 1; + * @return The line. + */ + @java.lang.Override + public long getLine() { + return line_; + } + /** + *
+       * Line number.
+       * 
+ * + * int64 line = 1; + * @param value The line to set. + * @return This builder for chaining. + */ + public Builder setLine(long value) { + + line_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Line number.
+       * 
+ * + * int64 line = 1; + * @return This builder for chaining. + */ + public Builder clearLine() { + bitField0_ = (bitField0_ & ~0x00000001); + line_ = 0L; + onChanged(); + return this; + } + + private long column_ ; + /** + *
+       * Column number.
+       * 
+ * + * int64 column = 2; + * @return The column. + */ + @java.lang.Override + public long getColumn() { + return column_; + } + /** + *
+       * Column number.
+       * 
+ * + * int64 column = 2; + * @param value The column to set. + * @return This builder for chaining. + */ + public Builder setColumn(long value) { + + column_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Column number.
+       * 
+ * + * int64 column = 2; + * @return This builder for chaining. + */ + public Builder clearColumn() { + bitField0_ = (bitField0_ & ~0x00000002); + column_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object filename_ = ""; + /** + *
+       * Filename the position refers to.
+       * 
+ * + * string filename = 3; + * @return The filename. + */ + public java.lang.String getFilename() { + java.lang.Object ref = filename_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filename_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Filename the position refers to.
+       * 
+ * + * string filename = 3; + * @return The bytes for filename. + */ + public com.google.protobuf.ByteString + getFilenameBytes() { + java.lang.Object ref = filename_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + filename_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Filename the position refers to.
+       * 
+ * + * string filename = 3; + * @param value The filename to set. + * @return This builder for chaining. + */ + public Builder setFilename( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + filename_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Filename the position refers to.
+       * 
+ * + * string filename = 3; + * @return This builder for chaining. + */ + public Builder clearFilename() { + filename_ = getDefaultInstance().getFilename(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+       * Filename the position refers to.
+       * 
+ * + * string filename = 3; + * @param value The bytes for filename to set. + * @return This builder for chaining. + */ + public Builder setFilenameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + filename_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.Position) + } - /** - *
-             * Flag to vendor dependencies locally.
-             * 
- * - * bool vendor = 2; - * - * @return This builder for chaining. - */ - public Builder clearVendor() { - bitField0_ = (bitField0_ & ~0x00000002); - vendor_ = false; - onChanged(); - return this; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.Position) + private static final com.kcl.api.Spec.Position DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.Position(); + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.UpdateDependencies_Args) - } + public static com.kcl.api.Spec.Position getDefaultInstance() { + return DEFAULT_INSTANCE; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.UpdateDependencies_Args) - private static final com.kcl.api.Spec.UpdateDependencies_Args DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.UpdateDependencies_Args(); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Position parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static com.kcl.api.Spec.UpdateDependencies_Args getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDependencies_Args parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + @java.lang.Override + public com.kcl.api.Spec.Position getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public interface ListDepFilesArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ListDepFilesArgs) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public com.kcl.api.Spec.UpdateDependencies_Args getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface UpdateDependencies_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.UpdateDependencies_Result) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * List of external packages updated.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - java.util.List getExternalPkgsList(); - - /** - *
-         * List of external packages updated.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index); - - /** - *
-         * List of external packages updated.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - int getExternalPkgsCount(); - - /** - *
-         * List of external packages updated.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - java.util.List getExternalPkgsOrBuilderList(); - - /** - *
-         * List of external packages updated.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder(int index); - } + /** + *
+     * Working directory.
+     * 
+ * + * string work_dir = 1; + * @return The workDir. + */ + java.lang.String getWorkDir(); + /** + *
+     * Working directory.
+     * 
+ * + * string work_dir = 1; + * @return The bytes for workDir. + */ + com.google.protobuf.ByteString + getWorkDirBytes(); /** *
-     * Message for update dependencies response.
+     * Flag to use absolute paths.
      * 
* - * Protobuf type {@code com.kcl.api.UpdateDependencies_Result} + * bool use_abs_path = 2; + * @return The useAbsPath. */ - public static final class UpdateDependencies_Result extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.UpdateDependencies_Result) - UpdateDependencies_ResultOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", UpdateDependencies_Result.class.getName()); - } + boolean getUseAbsPath(); - // Use UpdateDependencies_Result.newBuilder() to construct. - private UpdateDependencies_Result(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } + /** + *
+     * Flag to include all files.
+     * 
+ * + * bool include_all = 3; + * @return The includeAll. + */ + boolean getIncludeAll(); - private UpdateDependencies_Result() { - externalPkgs_ = java.util.Collections.emptyList(); - } + /** + *
+     * Flag to use fast parser.
+     * 
+ * + * bool use_fast_parser = 4; + * @return The useFastParser. + */ + boolean getUseFastParser(); + } + /** + *
+   * Message for list dependency files request arguments.
+   * 
+ * + * Protobuf type {@code com.kcl.api.ListDepFilesArgs} + */ + public static final class ListDepFilesArgs extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ListDepFilesArgs) + ListDepFilesArgsOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "ListDepFilesArgs"); + } + // Use ListDepFilesArgs.newBuilder() to construct. + private ListDepFilesArgs(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ListDepFilesArgs() { + workDir_ = ""; + } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependencies_Result_descriptor; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFilesArgs_descriptor; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependencies_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.UpdateDependencies_Result.class, - com.kcl.api.Spec.UpdateDependencies_Result.Builder.class); - } - - public static final int EXTERNAL_PKGS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private java.util.List externalPkgs_; - - /** - *
-         * List of external packages updated.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - @java.lang.Override - public java.util.List getExternalPkgsList() { - return externalPkgs_; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFilesArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListDepFilesArgs.class, com.kcl.api.Spec.ListDepFilesArgs.Builder.class); + } - /** - *
-         * List of external packages updated.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - @java.lang.Override - public java.util.List getExternalPkgsOrBuilderList() { - return externalPkgs_; - } + public static final int WORK_DIR_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object workDir_ = ""; + /** + *
+     * Working directory.
+     * 
+ * + * string work_dir = 1; + * @return The workDir. + */ + @java.lang.Override + public java.lang.String getWorkDir() { + java.lang.Object ref = workDir_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workDir_ = s; + return s; + } + } + /** + *
+     * Working directory.
+     * 
+ * + * string work_dir = 1; + * @return The bytes for workDir. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getWorkDirBytes() { + java.lang.Object ref = workDir_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workDir_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-         * List of external packages updated.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - @java.lang.Override - public int getExternalPkgsCount() { - return externalPkgs_.size(); - } + public static final int USE_ABS_PATH_FIELD_NUMBER = 2; + private boolean useAbsPath_ = false; + /** + *
+     * Flag to use absolute paths.
+     * 
+ * + * bool use_abs_path = 2; + * @return The useAbsPath. + */ + @java.lang.Override + public boolean getUseAbsPath() { + return useAbsPath_; + } - /** - *
-         * List of external packages updated.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index) { - return externalPkgs_.get(index); - } + public static final int INCLUDE_ALL_FIELD_NUMBER = 3; + private boolean includeAll_ = false; + /** + *
+     * Flag to include all files.
+     * 
+ * + * bool include_all = 3; + * @return The includeAll. + */ + @java.lang.Override + public boolean getIncludeAll() { + return includeAll_; + } - /** - *
-         * List of external packages updated.
-         * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - @java.lang.Override - public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder(int index) { - return externalPkgs_.get(index); - } + public static final int USE_FAST_PARSER_FIELD_NUMBER = 4; + private boolean useFastParser_ = false; + /** + *
+     * Flag to use fast parser.
+     * 
+ * + * bool use_fast_parser = 4; + * @return The useFastParser. + */ + @java.lang.Override + public boolean getUseFastParser() { + return useFastParser_; + } - private byte memoizedIsInitialized = -1; + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + memoizedIsInitialized = 1; + return true; + } - memoizedIsInitialized = 1; - return true; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workDir_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, workDir_); + } + if (useAbsPath_ != false) { + output.writeBool(2, useAbsPath_); + } + if (includeAll_ != false) { + output.writeBool(3, includeAll_); + } + if (useFastParser_ != false) { + output.writeBool(4, useFastParser_); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < externalPkgs_.size(); i++) { - output.writeMessage(3, externalPkgs_.get(i)); - } - getUnknownFields().writeTo(output); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workDir_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, workDir_); + } + if (useAbsPath_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, useAbsPath_); + } + if (includeAll_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, includeAll_); + } + if (useFastParser_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, useFastParser_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - for (int i = 0; i < externalPkgs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, externalPkgs_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ListDepFilesArgs)) { + return super.equals(obj); + } + com.kcl.api.Spec.ListDepFilesArgs other = (com.kcl.api.Spec.ListDepFilesArgs) obj; + + if (!getWorkDir() + .equals(other.getWorkDir())) return false; + if (getUseAbsPath() + != other.getUseAbsPath()) return false; + if (getIncludeAll() + != other.getIncludeAll()) return false; + if (getUseFastParser() + != other.getUseFastParser()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.UpdateDependencies_Result)) { - return super.equals(obj); - } - com.kcl.api.Spec.UpdateDependencies_Result other = (com.kcl.api.Spec.UpdateDependencies_Result) obj; + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + WORK_DIR_FIELD_NUMBER; + hash = (53 * hash) + getWorkDir().hashCode(); + hash = (37 * hash) + USE_ABS_PATH_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseAbsPath()); + hash = (37 * hash) + INCLUDE_ALL_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeAll()); + hash = (37 * hash) + USE_FAST_PARSER_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseFastParser()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - if (!getExternalPkgsList().equals(other.getExternalPkgsList())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + public static com.kcl.api.Spec.ListDepFilesArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListDepFilesArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListDepFilesArgs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListDepFilesArgs parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListDepFilesArgs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListDepFilesArgs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListDepFilesArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListDepFilesArgs parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getExternalPkgsCount() > 0) { - hash = (37 * hash) + EXTERNAL_PKGS_FIELD_NUMBER; - hash = (53 * hash) + getExternalPkgsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + public static com.kcl.api.Spec.ListDepFilesArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - public static com.kcl.api.Spec.UpdateDependencies_Result parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static com.kcl.api.Spec.ListDepFilesArgs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.ListDepFilesArgs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListDepFilesArgs parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.kcl.api.Spec.UpdateDependencies_Result parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ListDepFilesArgs prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - public static com.kcl.api.Spec.UpdateDependencies_Result parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for list dependency files request arguments.
+     * 
+ * + * Protobuf type {@code com.kcl.api.ListDepFilesArgs} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ListDepFilesArgs) + com.kcl.api.Spec.ListDepFilesArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFilesArgs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFilesArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListDepFilesArgs.class, com.kcl.api.Spec.ListDepFilesArgs.Builder.class); + } + + // Construct using com.kcl.api.Spec.ListDepFilesArgs.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + workDir_ = ""; + useAbsPath_ = false; + includeAll_ = false; + useFastParser_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFilesArgs_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ListDepFilesArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.ListDepFilesArgs.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ListDepFilesArgs build() { + com.kcl.api.Spec.ListDepFilesArgs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ListDepFilesArgs buildPartial() { + com.kcl.api.Spec.ListDepFilesArgs result = new com.kcl.api.Spec.ListDepFilesArgs(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.ListDepFilesArgs result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.workDir_ = workDir_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.useAbsPath_ = useAbsPath_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.includeAll_ = includeAll_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.useFastParser_ = useFastParser_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ListDepFilesArgs) { + return mergeFrom((com.kcl.api.Spec.ListDepFilesArgs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ListDepFilesArgs other) { + if (other == com.kcl.api.Spec.ListDepFilesArgs.getDefaultInstance()) return this; + if (!other.getWorkDir().isEmpty()) { + workDir_ = other.workDir_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getUseAbsPath() != false) { + setUseAbsPath(other.getUseAbsPath()); + } + if (other.getIncludeAll() != false) { + setIncludeAll(other.getIncludeAll()); + } + if (other.getUseFastParser() != false) { + setUseFastParser(other.getUseFastParser()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + workDir_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + useAbsPath_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + includeAll_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + useFastParser_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object workDir_ = ""; + /** + *
+       * Working directory.
+       * 
+ * + * string work_dir = 1; + * @return The workDir. + */ + public java.lang.String getWorkDir() { + java.lang.Object ref = workDir_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workDir_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Working directory.
+       * 
+ * + * string work_dir = 1; + * @return The bytes for workDir. + */ + public com.google.protobuf.ByteString + getWorkDirBytes() { + java.lang.Object ref = workDir_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workDir_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Working directory.
+       * 
+ * + * string work_dir = 1; + * @param value The workDir to set. + * @return This builder for chaining. + */ + public Builder setWorkDir( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + workDir_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Working directory.
+       * 
+ * + * string work_dir = 1; + * @return This builder for chaining. + */ + public Builder clearWorkDir() { + workDir_ = getDefaultInstance().getWorkDir(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Working directory.
+       * 
+ * + * string work_dir = 1; + * @param value The bytes for workDir to set. + * @return This builder for chaining. + */ + public Builder setWorkDirBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + workDir_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private boolean useAbsPath_ ; + /** + *
+       * Flag to use absolute paths.
+       * 
+ * + * bool use_abs_path = 2; + * @return The useAbsPath. + */ + @java.lang.Override + public boolean getUseAbsPath() { + return useAbsPath_; + } + /** + *
+       * Flag to use absolute paths.
+       * 
+ * + * bool use_abs_path = 2; + * @param value The useAbsPath to set. + * @return This builder for chaining. + */ + public Builder setUseAbsPath(boolean value) { + + useAbsPath_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Flag to use absolute paths.
+       * 
+ * + * bool use_abs_path = 2; + * @return This builder for chaining. + */ + public Builder clearUseAbsPath() { + bitField0_ = (bitField0_ & ~0x00000002); + useAbsPath_ = false; + onChanged(); + return this; + } + + private boolean includeAll_ ; + /** + *
+       * Flag to include all files.
+       * 
+ * + * bool include_all = 3; + * @return The includeAll. + */ + @java.lang.Override + public boolean getIncludeAll() { + return includeAll_; + } + /** + *
+       * Flag to include all files.
+       * 
+ * + * bool include_all = 3; + * @param value The includeAll to set. + * @return This builder for chaining. + */ + public Builder setIncludeAll(boolean value) { + + includeAll_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Flag to include all files.
+       * 
+ * + * bool include_all = 3; + * @return This builder for chaining. + */ + public Builder clearIncludeAll() { + bitField0_ = (bitField0_ & ~0x00000004); + includeAll_ = false; + onChanged(); + return this; + } + + private boolean useFastParser_ ; + /** + *
+       * Flag to use fast parser.
+       * 
+ * + * bool use_fast_parser = 4; + * @return The useFastParser. + */ + @java.lang.Override + public boolean getUseFastParser() { + return useFastParser_; + } + /** + *
+       * Flag to use fast parser.
+       * 
+ * + * bool use_fast_parser = 4; + * @param value The useFastParser to set. + * @return This builder for chaining. + */ + public Builder setUseFastParser(boolean value) { + + useFastParser_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Flag to use fast parser.
+       * 
+ * + * bool use_fast_parser = 4; + * @return This builder for chaining. + */ + public Builder clearUseFastParser() { + bitField0_ = (bitField0_ & ~0x00000008); + useFastParser_ = false; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ListDepFilesArgs) + } - public static com.kcl.api.Spec.UpdateDependencies_Result parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ListDepFilesArgs) + private static final com.kcl.api.Spec.ListDepFilesArgs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ListDepFilesArgs(); + } - public static com.kcl.api.Spec.UpdateDependencies_Result parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static com.kcl.api.Spec.ListDepFilesArgs getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.UpdateDependencies_Result parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDepFilesArgs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static com.kcl.api.Spec.UpdateDependencies_Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static com.kcl.api.Spec.UpdateDependencies_Result parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public com.kcl.api.Spec.ListDepFilesArgs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.UpdateDependencies_Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } + } - public static com.kcl.api.Spec.UpdateDependencies_Result parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } + public interface ListDepFilesResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ListDepFilesResult) + com.google.protobuf.MessageOrBuilder { - public static com.kcl.api.Spec.UpdateDependencies_Result parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + /** + *
+     * Root package path.
+     * 
+ * + * string pkgroot = 1; + * @return The pkgroot. + */ + java.lang.String getPkgroot(); + /** + *
+     * Root package path.
+     * 
+ * + * string pkgroot = 1; + * @return The bytes for pkgroot. + */ + com.google.protobuf.ByteString + getPkgrootBytes(); - public static com.kcl.api.Spec.UpdateDependencies_Result parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + /** + *
+     * Package path.
+     * 
+ * + * string pkgpath = 2; + * @return The pkgpath. + */ + java.lang.String getPkgpath(); + /** + *
+     * Package path.
+     * 
+ * + * string pkgpath = 2; + * @return The bytes for pkgpath. + */ + com.google.protobuf.ByteString + getPkgpathBytes(); - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + /** + *
+     * List of file paths in the package.
+     * 
+ * + * repeated string files = 3; + * @return A list containing the files. + */ + java.util.List + getFilesList(); + /** + *
+     * List of file paths in the package.
+     * 
+ * + * repeated string files = 3; + * @return The count of files. + */ + int getFilesCount(); + /** + *
+     * List of file paths in the package.
+     * 
+ * + * repeated string files = 3; + * @param index The index of the element to return. + * @return The files at the given index. + */ + java.lang.String getFiles(int index); + /** + *
+     * List of file paths in the package.
+     * 
+ * + * repeated string files = 3; + * @param index The index of the value to return. + * @return The bytes of the files at the given index. + */ + com.google.protobuf.ByteString + getFilesBytes(int index); + } + /** + *
+   * Message for list dependency files response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.ListDepFilesResult} + */ + public static final class ListDepFilesResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.ListDepFilesResult) + ListDepFilesResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "ListDepFilesResult"); + } + // Use ListDepFilesResult.newBuilder() to construct. + private ListDepFilesResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ListDepFilesResult() { + pkgroot_ = ""; + pkgpath_ = ""; + files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFilesResult_descriptor; + } - public static Builder newBuilder(com.kcl.api.Spec.UpdateDependencies_Result prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFilesResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListDepFilesResult.class, com.kcl.api.Spec.ListDepFilesResult.Builder.class); + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + public static final int PKGROOT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object pkgroot_ = ""; + /** + *
+     * Root package path.
+     * 
+ * + * string pkgroot = 1; + * @return The pkgroot. + */ + @java.lang.Override + public java.lang.String getPkgroot() { + java.lang.Object ref = pkgroot_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pkgroot_ = s; + return s; + } + } + /** + *
+     * Root package path.
+     * 
+ * + * string pkgroot = 1; + * @return The bytes for pkgroot. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPkgrootBytes() { + java.lang.Object ref = pkgroot_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pkgroot_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message for update dependencies response.
-         * 
- * - * Protobuf type {@code com.kcl.api.UpdateDependencies_Result} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.UpdateDependencies_Result) - com.kcl.api.Spec.UpdateDependencies_ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependencies_Result_descriptor; - } + public static final int PKGPATH_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object pkgpath_ = ""; + /** + *
+     * Package path.
+     * 
+ * + * string pkgpath = 2; + * @return The pkgpath. + */ + @java.lang.Override + public java.lang.String getPkgpath() { + java.lang.Object ref = pkgpath_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pkgpath_ = s; + return s; + } + } + /** + *
+     * Package path.
+     * 
+ * + * string pkgpath = 2; + * @return The bytes for pkgpath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPkgpathBytes() { + java.lang.Object ref = pkgpath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pkgpath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependencies_Result_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.UpdateDependencies_Result.class, - com.kcl.api.Spec.UpdateDependencies_Result.Builder.class); - } + public static final int FILES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * List of file paths in the package.
+     * 
+ * + * repeated string files = 3; + * @return A list containing the files. + */ + public com.google.protobuf.ProtocolStringList + getFilesList() { + return files_; + } + /** + *
+     * List of file paths in the package.
+     * 
+ * + * repeated string files = 3; + * @return The count of files. + */ + public int getFilesCount() { + return files_.size(); + } + /** + *
+     * List of file paths in the package.
+     * 
+ * + * repeated string files = 3; + * @param index The index of the element to return. + * @return The files at the given index. + */ + public java.lang.String getFiles(int index) { + return files_.get(index); + } + /** + *
+     * List of file paths in the package.
+     * 
+ * + * repeated string files = 3; + * @param index The index of the value to return. + * @return The bytes of the files at the given index. + */ + public com.google.protobuf.ByteString + getFilesBytes(int index) { + return files_.getByteString(index); + } - // Construct using com.kcl.api.Spec.UpdateDependencies_Result.newBuilder() - private Builder() { + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - } + memoizedIsInitialized = 1; + return true; + } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pkgroot_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, pkgroot_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pkgpath_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, pkgpath_); + } + for (int i = 0; i < files_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, files_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pkgroot_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, pkgroot_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pkgpath_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, pkgpath_); + } + { + int dataSize = 0; + for (int i = 0; i < files_.size(); i++) { + dataSize += computeStringSizeNoTag(files_.getRaw(i)); + } + size += dataSize; + size += 1 * getFilesList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - if (externalPkgsBuilder_ == null) { - externalPkgs_ = java.util.Collections.emptyList(); - } else { - externalPkgs_ = null; - externalPkgsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.ListDepFilesResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.ListDepFilesResult other = (com.kcl.api.Spec.ListDepFilesResult) obj; + + if (!getPkgroot() + .equals(other.getPkgroot())) return false; + if (!getPkgpath() + .equals(other.getPkgpath())) return false; + if (!getFilesList() + .equals(other.getFilesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependencies_Result_descriptor; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PKGROOT_FIELD_NUMBER; + hash = (53 * hash) + getPkgroot().hashCode(); + hash = (37 * hash) + PKGPATH_FIELD_NUMBER; + hash = (53 * hash) + getPkgpath().hashCode(); + if (getFilesCount() > 0) { + hash = (37 * hash) + FILES_FIELD_NUMBER; + hash = (53 * hash) + getFilesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public com.kcl.api.Spec.UpdateDependencies_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.UpdateDependencies_Result.getDefaultInstance(); - } + public static com.kcl.api.Spec.ListDepFilesResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListDepFilesResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListDepFilesResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListDepFilesResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListDepFilesResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.ListDepFilesResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.ListDepFilesResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListDepFilesResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public com.kcl.api.Spec.UpdateDependencies_Result build() { - com.kcl.api.Spec.UpdateDependencies_Result result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + public static com.kcl.api.Spec.ListDepFilesResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public com.kcl.api.Spec.UpdateDependencies_Result buildPartial() { - com.kcl.api.Spec.UpdateDependencies_Result result = new com.kcl.api.Spec.UpdateDependencies_Result( - this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + public static com.kcl.api.Spec.ListDepFilesResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.ListDepFilesResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.ListDepFilesResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - private void buildPartialRepeatedFields(com.kcl.api.Spec.UpdateDependencies_Result result) { - if (externalPkgsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - externalPkgs_ = java.util.Collections.unmodifiableList(externalPkgs_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.externalPkgs_ = externalPkgs_; - } else { - result.externalPkgs_ = externalPkgsBuilder_.build(); - } - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.ListDepFilesResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - private void buildPartial0(com.kcl.api.Spec.UpdateDependencies_Result result) { - int from_bitField0_ = bitField0_; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for list dependency files response.
+     * 
+ * + * Protobuf type {@code com.kcl.api.ListDepFilesResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.ListDepFilesResult) + com.kcl.api.Spec.ListDepFilesResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFilesResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFilesResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.ListDepFilesResult.class, com.kcl.api.Spec.ListDepFilesResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.ListDepFilesResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + pkgroot_ = ""; + pkgpath_ = ""; + files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFilesResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.ListDepFilesResult getDefaultInstanceForType() { + return com.kcl.api.Spec.ListDepFilesResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.ListDepFilesResult build() { + com.kcl.api.Spec.ListDepFilesResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.ListDepFilesResult buildPartial() { + com.kcl.api.Spec.ListDepFilesResult result = new com.kcl.api.Spec.ListDepFilesResult(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.ListDepFilesResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.pkgroot_ = pkgroot_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.pkgpath_ = pkgpath_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + files_.makeImmutable(); + result.files_ = files_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.ListDepFilesResult) { + return mergeFrom((com.kcl.api.Spec.ListDepFilesResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.ListDepFilesResult other) { + if (other == com.kcl.api.Spec.ListDepFilesResult.getDefaultInstance()) return this; + if (!other.getPkgroot().isEmpty()) { + pkgroot_ = other.pkgroot_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getPkgpath().isEmpty()) { + pkgpath_ = other.pkgpath_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.files_.isEmpty()) { + if (files_.isEmpty()) { + files_ = other.files_; + bitField0_ |= 0x00000004; + } else { + ensureFilesIsMutable(); + files_.addAll(other.files_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + pkgroot_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + pkgpath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFilesIsMutable(); + files_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object pkgroot_ = ""; + /** + *
+       * Root package path.
+       * 
+ * + * string pkgroot = 1; + * @return The pkgroot. + */ + public java.lang.String getPkgroot() { + java.lang.Object ref = pkgroot_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pkgroot_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Root package path.
+       * 
+ * + * string pkgroot = 1; + * @return The bytes for pkgroot. + */ + public com.google.protobuf.ByteString + getPkgrootBytes() { + java.lang.Object ref = pkgroot_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pkgroot_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Root package path.
+       * 
+ * + * string pkgroot = 1; + * @param value The pkgroot to set. + * @return This builder for chaining. + */ + public Builder setPkgroot( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + pkgroot_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Root package path.
+       * 
+ * + * string pkgroot = 1; + * @return This builder for chaining. + */ + public Builder clearPkgroot() { + pkgroot_ = getDefaultInstance().getPkgroot(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Root package path.
+       * 
+ * + * string pkgroot = 1; + * @param value The bytes for pkgroot to set. + * @return This builder for chaining. + */ + public Builder setPkgrootBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + pkgroot_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object pkgpath_ = ""; + /** + *
+       * Package path.
+       * 
+ * + * string pkgpath = 2; + * @return The pkgpath. + */ + public java.lang.String getPkgpath() { + java.lang.Object ref = pkgpath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pkgpath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Package path.
+       * 
+ * + * string pkgpath = 2; + * @return The bytes for pkgpath. + */ + public com.google.protobuf.ByteString + getPkgpathBytes() { + java.lang.Object ref = pkgpath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pkgpath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Package path.
+       * 
+ * + * string pkgpath = 2; + * @param value The pkgpath to set. + * @return This builder for chaining. + */ + public Builder setPkgpath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + pkgpath_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Package path.
+       * 
+ * + * string pkgpath = 2; + * @return This builder for chaining. + */ + public Builder clearPkgpath() { + pkgpath_ = getDefaultInstance().getPkgpath(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Package path.
+       * 
+ * + * string pkgpath = 2; + * @param value The bytes for pkgpath to set. + * @return This builder for chaining. + */ + public Builder setPkgpathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + pkgpath_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFilesIsMutable() { + if (!files_.isModifiable()) { + files_ = new com.google.protobuf.LazyStringArrayList(files_); + } + bitField0_ |= 0x00000004; + } + /** + *
+       * List of file paths in the package.
+       * 
+ * + * repeated string files = 3; + * @return A list containing the files. + */ + public com.google.protobuf.ProtocolStringList + getFilesList() { + files_.makeImmutable(); + return files_; + } + /** + *
+       * List of file paths in the package.
+       * 
+ * + * repeated string files = 3; + * @return The count of files. + */ + public int getFilesCount() { + return files_.size(); + } + /** + *
+       * List of file paths in the package.
+       * 
+ * + * repeated string files = 3; + * @param index The index of the element to return. + * @return The files at the given index. + */ + public java.lang.String getFiles(int index) { + return files_.get(index); + } + /** + *
+       * List of file paths in the package.
+       * 
+ * + * repeated string files = 3; + * @param index The index of the value to return. + * @return The bytes of the files at the given index. + */ + public com.google.protobuf.ByteString + getFilesBytes(int index) { + return files_.getByteString(index); + } + /** + *
+       * List of file paths in the package.
+       * 
+ * + * repeated string files = 3; + * @param index The index to set the value at. + * @param value The files to set. + * @return This builder for chaining. + */ + public Builder setFiles( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureFilesIsMutable(); + files_.set(index, value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * List of file paths in the package.
+       * 
+ * + * repeated string files = 3; + * @param value The files to add. + * @return This builder for chaining. + */ + public Builder addFiles( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureFilesIsMutable(); + files_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * List of file paths in the package.
+       * 
+ * + * repeated string files = 3; + * @param values The files to add. + * @return This builder for chaining. + */ + public Builder addAllFiles( + java.lang.Iterable values) { + ensureFilesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, files_); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * List of file paths in the package.
+       * 
+ * + * repeated string files = 3; + * @return This builder for chaining. + */ + public Builder clearFiles() { + files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; + onChanged(); + return this; + } + /** + *
+       * List of file paths in the package.
+       * 
+ * + * repeated string files = 3; + * @param value The bytes of the files to add. + * @return This builder for chaining. + */ + public Builder addFilesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureFilesIsMutable(); + files_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.ListDepFilesResult) + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.UpdateDependencies_Result) { - return mergeFrom((com.kcl.api.Spec.UpdateDependencies_Result) other); - } else { - super.mergeFrom(other); - return this; - } - } + // @@protoc_insertion_point(class_scope:com.kcl.api.ListDepFilesResult) + private static final com.kcl.api.Spec.ListDepFilesResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.ListDepFilesResult(); + } - public Builder mergeFrom(com.kcl.api.Spec.UpdateDependencies_Result other) { - if (other == com.kcl.api.Spec.UpdateDependencies_Result.getDefaultInstance()) - return this; - if (externalPkgsBuilder_ == null) { - if (!other.externalPkgs_.isEmpty()) { - if (externalPkgs_.isEmpty()) { - externalPkgs_ = other.externalPkgs_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureExternalPkgsIsMutable(); - externalPkgs_.addAll(other.externalPkgs_); - } - onChanged(); - } - } else { - if (!other.externalPkgs_.isEmpty()) { - if (externalPkgsBuilder_.isEmpty()) { - externalPkgsBuilder_.dispose(); - externalPkgsBuilder_ = null; - externalPkgs_ = other.externalPkgs_; - bitField0_ = (bitField0_ & ~0x00000001); - externalPkgsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getExternalPkgsFieldBuilder() : null; - } else { - externalPkgsBuilder_.addAllMessages(other.externalPkgs_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + public static com.kcl.api.Spec.ListDepFilesResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDepFilesResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 26: { - com.kcl.api.Spec.ExternalPkg m = input.readMessage(com.kcl.api.Spec.ExternalPkg.parser(), - extensionRegistry); - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(m); - } else { - externalPkgsBuilder_.addMessage(m); - } - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - private int bitField0_; + @java.lang.Override + public com.kcl.api.Spec.ListDepFilesResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - private java.util.List externalPkgs_ = java.util.Collections.emptyList(); + } - private void ensureExternalPkgsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - externalPkgs_ = new java.util.ArrayList(externalPkgs_); - bitField0_ |= 0x00000001; - } - } + public interface LoadSettingsFilesArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadSettingsFilesArgs) + com.google.protobuf.MessageOrBuilder { - private com.google.protobuf.RepeatedFieldBuilder externalPkgsBuilder_; + /** + *
+     * Working directory.
+     * 
+ * + * string work_dir = 1; + * @return The workDir. + */ + java.lang.String getWorkDir(); + /** + *
+     * Working directory.
+     * 
+ * + * string work_dir = 1; + * @return The bytes for workDir. + */ + com.google.protobuf.ByteString + getWorkDirBytes(); - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public java.util.List getExternalPkgsList() { - if (externalPkgsBuilder_ == null) { - return java.util.Collections.unmodifiableList(externalPkgs_); - } else { - return externalPkgsBuilder_.getMessageList(); - } - } + /** + *
+     * Setting files to load.
+     * 
+ * + * repeated string files = 2; + * @return A list containing the files. + */ + java.util.List + getFilesList(); + /** + *
+     * Setting files to load.
+     * 
+ * + * repeated string files = 2; + * @return The count of files. + */ + int getFilesCount(); + /** + *
+     * Setting files to load.
+     * 
+ * + * repeated string files = 2; + * @param index The index of the element to return. + * @return The files at the given index. + */ + java.lang.String getFiles(int index); + /** + *
+     * Setting files to load.
+     * 
+ * + * repeated string files = 2; + * @param index The index of the value to return. + * @return The bytes of the files at the given index. + */ + com.google.protobuf.ByteString + getFilesBytes(int index); + } + /** + *
+   * Message for load settings files request arguments.
+   * 
+ * + * Protobuf type {@code com.kcl.api.LoadSettingsFilesArgs} + */ + public static final class LoadSettingsFilesArgs extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.LoadSettingsFilesArgs) + LoadSettingsFilesArgsOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "LoadSettingsFilesArgs"); + } + // Use LoadSettingsFilesArgs.newBuilder() to construct. + private LoadSettingsFilesArgs(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private LoadSettingsFilesArgs() { + workDir_ = ""; + files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public int getExternalPkgsCount() { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.size(); - } else { - return externalPkgsBuilder_.getCount(); - } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFilesArgs_descriptor; + } - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index) { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.get(index); - } else { - return externalPkgsBuilder_.getMessage(index); - } - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFilesArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LoadSettingsFilesArgs.class, com.kcl.api.Spec.LoadSettingsFilesArgs.Builder.class); + } - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder setExternalPkgs(int index, com.kcl.api.Spec.ExternalPkg value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.set(index, value); - onChanged(); - } else { - externalPkgsBuilder_.setMessage(index, value); - } - return this; - } + public static final int WORK_DIR_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object workDir_ = ""; + /** + *
+     * Working directory.
+     * 
+ * + * string work_dir = 1; + * @return The workDir. + */ + @java.lang.Override + public java.lang.String getWorkDir() { + java.lang.Object ref = workDir_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workDir_ = s; + return s; + } + } + /** + *
+     * Working directory.
+     * 
+ * + * string work_dir = 1; + * @return The bytes for workDir. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getWorkDirBytes() { + java.lang.Object ref = workDir_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workDir_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder setExternalPkgs(int index, com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.set(index, builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } + public static final int FILES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * Setting files to load.
+     * 
+ * + * repeated string files = 2; + * @return A list containing the files. + */ + public com.google.protobuf.ProtocolStringList + getFilesList() { + return files_; + } + /** + *
+     * Setting files to load.
+     * 
+ * + * repeated string files = 2; + * @return The count of files. + */ + public int getFilesCount() { + return files_.size(); + } + /** + *
+     * Setting files to load.
+     * 
+ * + * repeated string files = 2; + * @param index The index of the element to return. + * @return The files at the given index. + */ + public java.lang.String getFiles(int index) { + return files_.get(index); + } + /** + *
+     * Setting files to load.
+     * 
+ * + * repeated string files = 2; + * @param index The index of the value to return. + * @return The bytes of the files at the given index. + */ + public com.google.protobuf.ByteString + getFilesBytes(int index) { + return files_.getByteString(index); + } - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder addExternalPkgs(com.kcl.api.Spec.ExternalPkg value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.add(value); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(value); - } - return this; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder addExternalPkgs(int index, com.kcl.api.Spec.ExternalPkg value) { - if (externalPkgsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalPkgsIsMutable(); - externalPkgs_.add(index, value); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(index, value); - } - return this; - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder addExternalPkgs(com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(builderForValue.build()); - } - return this; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workDir_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, workDir_); + } + for (int i = 0; i < files_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, files_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder addExternalPkgs(int index, com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.add(index, builderForValue.build()); - onChanged(); - } else { - externalPkgsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workDir_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, workDir_); + } + { + int dataSize = 0; + for (int i = 0; i < files_.size(); i++) { + dataSize += computeStringSizeNoTag(files_.getRaw(i)); + } + size += dataSize; + size += 1 * getFilesList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder addAllExternalPkgs(java.lang.Iterable values) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, externalPkgs_); - onChanged(); - } else { - externalPkgsBuilder_.addAllMessages(values); - } - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.LoadSettingsFilesArgs)) { + return super.equals(obj); + } + com.kcl.api.Spec.LoadSettingsFilesArgs other = (com.kcl.api.Spec.LoadSettingsFilesArgs) obj; + + if (!getWorkDir() + .equals(other.getWorkDir())) return false; + if (!getFilesList() + .equals(other.getFilesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder clearExternalPkgs() { - if (externalPkgsBuilder_ == null) { - externalPkgs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - externalPkgsBuilder_.clear(); - } - return this; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + WORK_DIR_FIELD_NUMBER; + hash = (53 * hash) + getWorkDir().hashCode(); + if (getFilesCount() > 0) { + hash = (37 * hash) + FILES_FIELD_NUMBER; + hash = (53 * hash) + getFilesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public Builder removeExternalPkgs(int index) { - if (externalPkgsBuilder_ == null) { - ensureExternalPkgsIsMutable(); - externalPkgs_.remove(index); - onChanged(); - } else { - externalPkgsBuilder_.remove(index); - } - return this; - } + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public com.kcl.api.Spec.ExternalPkg.Builder getExternalPkgsBuilder(int index) { - return getExternalPkgsFieldBuilder().getBuilder(index); - } + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder(int index) { - if (externalPkgsBuilder_ == null) { - return externalPkgs_.get(index); - } else { - return externalPkgsBuilder_.getMessageOrBuilder(index); - } - } + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public java.util.List getExternalPkgsOrBuilderList() { - if (externalPkgsBuilder_ != null) { - return externalPkgsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(externalPkgs_); - } - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.LoadSettingsFilesArgs prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder() { - return getExternalPkgsFieldBuilder().addBuilder(com.kcl.api.Spec.ExternalPkg.getDefaultInstance()); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for load settings files request arguments.
+     * 
+ * + * Protobuf type {@code com.kcl.api.LoadSettingsFilesArgs} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadSettingsFilesArgs) + com.kcl.api.Spec.LoadSettingsFilesArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFilesArgs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFilesArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LoadSettingsFilesArgs.class, com.kcl.api.Spec.LoadSettingsFilesArgs.Builder.class); + } + + // Construct using com.kcl.api.Spec.LoadSettingsFilesArgs.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + workDir_ = ""; + files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFilesArgs_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.LoadSettingsFilesArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.LoadSettingsFilesArgs.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.LoadSettingsFilesArgs build() { + com.kcl.api.Spec.LoadSettingsFilesArgs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.LoadSettingsFilesArgs buildPartial() { + com.kcl.api.Spec.LoadSettingsFilesArgs result = new com.kcl.api.Spec.LoadSettingsFilesArgs(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.LoadSettingsFilesArgs result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.workDir_ = workDir_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + files_.makeImmutable(); + result.files_ = files_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.LoadSettingsFilesArgs) { + return mergeFrom((com.kcl.api.Spec.LoadSettingsFilesArgs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.LoadSettingsFilesArgs other) { + if (other == com.kcl.api.Spec.LoadSettingsFilesArgs.getDefaultInstance()) return this; + if (!other.getWorkDir().isEmpty()) { + workDir_ = other.workDir_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.files_.isEmpty()) { + if (files_.isEmpty()) { + files_ = other.files_; + bitField0_ |= 0x00000002; + } else { + ensureFilesIsMutable(); + files_.addAll(other.files_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + workDir_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFilesIsMutable(); + files_.add(s); + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object workDir_ = ""; + /** + *
+       * Working directory.
+       * 
+ * + * string work_dir = 1; + * @return The workDir. + */ + public java.lang.String getWorkDir() { + java.lang.Object ref = workDir_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workDir_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Working directory.
+       * 
+ * + * string work_dir = 1; + * @return The bytes for workDir. + */ + public com.google.protobuf.ByteString + getWorkDirBytes() { + java.lang.Object ref = workDir_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workDir_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Working directory.
+       * 
+ * + * string work_dir = 1; + * @param value The workDir to set. + * @return This builder for chaining. + */ + public Builder setWorkDir( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + workDir_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Working directory.
+       * 
+ * + * string work_dir = 1; + * @return This builder for chaining. + */ + public Builder clearWorkDir() { + workDir_ = getDefaultInstance().getWorkDir(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Working directory.
+       * 
+ * + * string work_dir = 1; + * @param value The bytes for workDir to set. + * @return This builder for chaining. + */ + public Builder setWorkDirBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + workDir_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFilesIsMutable() { + if (!files_.isModifiable()) { + files_ = new com.google.protobuf.LazyStringArrayList(files_); + } + bitField0_ |= 0x00000002; + } + /** + *
+       * Setting files to load.
+       * 
+ * + * repeated string files = 2; + * @return A list containing the files. + */ + public com.google.protobuf.ProtocolStringList + getFilesList() { + files_.makeImmutable(); + return files_; + } + /** + *
+       * Setting files to load.
+       * 
+ * + * repeated string files = 2; + * @return The count of files. + */ + public int getFilesCount() { + return files_.size(); + } + /** + *
+       * Setting files to load.
+       * 
+ * + * repeated string files = 2; + * @param index The index of the element to return. + * @return The files at the given index. + */ + public java.lang.String getFiles(int index) { + return files_.get(index); + } + /** + *
+       * Setting files to load.
+       * 
+ * + * repeated string files = 2; + * @param index The index of the value to return. + * @return The bytes of the files at the given index. + */ + public com.google.protobuf.ByteString + getFilesBytes(int index) { + return files_.getByteString(index); + } + /** + *
+       * Setting files to load.
+       * 
+ * + * repeated string files = 2; + * @param index The index to set the value at. + * @param value The files to set. + * @return This builder for chaining. + */ + public Builder setFiles( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureFilesIsMutable(); + files_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Setting files to load.
+       * 
+ * + * repeated string files = 2; + * @param value The files to add. + * @return This builder for chaining. + */ + public Builder addFiles( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureFilesIsMutable(); + files_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Setting files to load.
+       * 
+ * + * repeated string files = 2; + * @param values The files to add. + * @return This builder for chaining. + */ + public Builder addAllFiles( + java.lang.Iterable values) { + ensureFilesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, files_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Setting files to load.
+       * 
+ * + * repeated string files = 2; + * @return This builder for chaining. + */ + public Builder clearFiles() { + files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + *
+       * Setting files to load.
+       * 
+ * + * repeated string files = 2; + * @param value The bytes of the files to add. + * @return This builder for chaining. + */ + public Builder addFilesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureFilesIsMutable(); + files_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadSettingsFilesArgs) + } - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder(int index) { - return getExternalPkgsFieldBuilder().addBuilder(index, - com.kcl.api.Spec.ExternalPkg.getDefaultInstance()); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.LoadSettingsFilesArgs) + private static final com.kcl.api.Spec.LoadSettingsFilesArgs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadSettingsFilesArgs(); + } - /** - *
-             * List of external packages updated.
-             * 
- * - * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; - */ - public java.util.List getExternalPkgsBuilderList() { - return getExternalPkgsFieldBuilder().getBuilderList(); - } + public static com.kcl.api.Spec.LoadSettingsFilesArgs getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private com.google.protobuf.RepeatedFieldBuilder getExternalPkgsFieldBuilder() { - if (externalPkgsBuilder_ == null) { - externalPkgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - externalPkgs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - externalPkgs_ = null; - } - return externalPkgsBuilder_; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoadSettingsFilesArgs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.UpdateDependencies_Result) - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.UpdateDependencies_Result) - private static final com.kcl.api.Spec.UpdateDependencies_Result DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.UpdateDependencies_Result(); - } + @java.lang.Override + public com.kcl.api.Spec.LoadSettingsFilesArgs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.UpdateDependencies_Result getDefaultInstance() { - return DEFAULT_INSTANCE; - } + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDependencies_Result parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + public interface LoadSettingsFilesResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadSettingsFilesResult) + com.google.protobuf.MessageOrBuilder { - public static com.google.protobuf.Parser parser() { - return PARSER; - } + /** + *
+     * KCL CLI configuration.
+     * 
+ * + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + * @return Whether the kclCliConfigs field is set. + */ + boolean hasKclCliConfigs(); + /** + *
+     * KCL CLI configuration.
+     * 
+ * + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + * @return The kclCliConfigs. + */ + com.kcl.api.Spec.CliConfig getKclCliConfigs(); + /** + *
+     * KCL CLI configuration.
+     * 
+ * + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + */ + com.kcl.api.Spec.CliConfigOrBuilder getKclCliConfigsOrBuilder(); - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + /** + *
+     * List of KCL options as key-value pairs.
+     * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + java.util.List + getKclOptionsList(); + /** + *
+     * List of KCL options as key-value pairs.
+     * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + com.kcl.api.Spec.KeyValuePair getKclOptions(int index); + /** + *
+     * List of KCL options as key-value pairs.
+     * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + int getKclOptionsCount(); + /** + *
+     * List of KCL options as key-value pairs.
+     * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + java.util.List + getKclOptionsOrBuilderList(); + /** + *
+     * List of KCL options as key-value pairs.
+     * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + com.kcl.api.Spec.KeyValuePairOrBuilder getKclOptionsOrBuilder( + int index); + } + /** + *
+   * Message for load settings files response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.LoadSettingsFilesResult} + */ + public static final class LoadSettingsFilesResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.LoadSettingsFilesResult) + LoadSettingsFilesResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "LoadSettingsFilesResult"); + } + // Use LoadSettingsFilesResult.newBuilder() to construct. + private LoadSettingsFilesResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private LoadSettingsFilesResult() { + kclOptions_ = java.util.Collections.emptyList(); + } - @java.lang.Override - public com.kcl.api.Spec.UpdateDependencies_Result getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface KclTypeOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.KclType) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Type name (e.g., schema, dict, list, str, int, float, bool, any, union, number_multiplier).
-         * 
- * - * string type = 1; - * - * @return The type. - */ - java.lang.String getType(); - - /** - *
-         * Type name (e.g., schema, dict, list, str, int, float, bool, any, union, number_multiplier).
-         * 
- * - * string type = 1; - * - * @return The bytes for type. - */ - com.google.protobuf.ByteString getTypeBytes(); - - /** - *
-         * Union types if applicable.
-         * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - java.util.List getUnionTypesList(); - - /** - *
-         * Union types if applicable.
-         * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - com.kcl.api.Spec.KclType getUnionTypes(int index); - - /** - *
-         * Union types if applicable.
-         * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - int getUnionTypesCount(); - - /** - *
-         * Union types if applicable.
-         * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - java.util.List getUnionTypesOrBuilderList(); - - /** - *
-         * Union types if applicable.
-         * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - com.kcl.api.Spec.KclTypeOrBuilder getUnionTypesOrBuilder(int index); - - /** - *
-         * Default value of the type.
-         * 
- * - * string default = 3; - * - * @return The default. - */ - java.lang.String getDefault(); - - /** - *
-         * Default value of the type.
-         * 
- * - * string default = 3; - * - * @return The bytes for default. - */ - com.google.protobuf.ByteString getDefaultBytes(); - - /** - *
-         * Name of the schema if applicable.
-         * 
- * - * string schema_name = 4; - * - * @return The schemaName. - */ - java.lang.String getSchemaName(); - - /** - *
-         * Name of the schema if applicable.
-         * 
- * - * string schema_name = 4; - * - * @return The bytes for schemaName. - */ - com.google.protobuf.ByteString getSchemaNameBytes(); - - /** - *
-         * Documentation for the schema.
-         * 
- * - * string schema_doc = 5; - * - * @return The schemaDoc. - */ - java.lang.String getSchemaDoc(); - - /** - *
-         * Documentation for the schema.
-         * 
- * - * string schema_doc = 5; - * - * @return The bytes for schemaDoc. - */ - com.google.protobuf.ByteString getSchemaDocBytes(); - - /** - *
-         * Properties of the schema as a map with property name as key.
-         * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - int getPropertiesCount(); - - /** - *
-         * Properties of the schema as a map with property name as key.
-         * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - boolean containsProperties(java.lang.String key); - - /** - * Use {@link #getPropertiesMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getProperties(); - - /** - *
-         * Properties of the schema as a map with property name as key.
-         * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - java.util.Map getPropertiesMap(); - - /** - *
-         * Properties of the schema as a map with property name as key.
-         * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - /* nullable */ - com.kcl.api.Spec.KclType getPropertiesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.KclType defaultValue); - - /** - *
-         * Properties of the schema as a map with property name as key.
-         * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - com.kcl.api.Spec.KclType getPropertiesOrThrow(java.lang.String key); - - /** - *
-         * List of required schema properties.
-         * 
- * - * repeated string required = 7; - * - * @return A list containing the required. - */ - java.util.List getRequiredList(); - - /** - *
-         * List of required schema properties.
-         * 
- * - * repeated string required = 7; - * - * @return The count of required. - */ - int getRequiredCount(); - - /** - *
-         * List of required schema properties.
-         * 
- * - * repeated string required = 7; - * - * @param index - * The index of the element to return. - * - * @return The required at the given index. - */ - java.lang.String getRequired(int index); - - /** - *
-         * List of required schema properties.
-         * 
- * - * repeated string required = 7; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the required at the given index. - */ - com.google.protobuf.ByteString getRequiredBytes(int index); - - /** - *
-         * Key type if the KclType is a dictionary.
-         * 
- * - * .com.kcl.api.KclType key = 8; - * - * @return Whether the key field is set. - */ - boolean hasKey(); - - /** - *
-         * Key type if the KclType is a dictionary.
-         * 
- * - * .com.kcl.api.KclType key = 8; - * - * @return The key. - */ - com.kcl.api.Spec.KclType getKey(); - - /** - *
-         * Key type if the KclType is a dictionary.
-         * 
- * - * .com.kcl.api.KclType key = 8; - */ - com.kcl.api.Spec.KclTypeOrBuilder getKeyOrBuilder(); - - /** - *
-         * Item type if the KclType is a list or dictionary.
-         * 
- * - * .com.kcl.api.KclType item = 9; - * - * @return Whether the item field is set. - */ - boolean hasItem(); - - /** - *
-         * Item type if the KclType is a list or dictionary.
-         * 
- * - * .com.kcl.api.KclType item = 9; - * - * @return The item. - */ - com.kcl.api.Spec.KclType getItem(); - - /** - *
-         * Item type if the KclType is a list or dictionary.
-         * 
- * - * .com.kcl.api.KclType item = 9; - */ - com.kcl.api.Spec.KclTypeOrBuilder getItemOrBuilder(); - - /** - *
-         * Line number where the type is defined.
-         * 
- * - * int32 line = 10; - * - * @return The line. - */ - int getLine(); - - /** - *
-         * List of decorators for the schema.
-         * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - java.util.List getDecoratorsList(); - - /** - *
-         * List of decorators for the schema.
-         * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - com.kcl.api.Spec.Decorator getDecorators(int index); - - /** - *
-         * List of decorators for the schema.
-         * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - int getDecoratorsCount(); - - /** - *
-         * List of decorators for the schema.
-         * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - java.util.List getDecoratorsOrBuilderList(); - - /** - *
-         * List of decorators for the schema.
-         * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - com.kcl.api.Spec.DecoratorOrBuilder getDecoratorsOrBuilder(int index); - - /** - *
-         * Absolute path of the file where the attribute is located.
-         * 
- * - * string filename = 12; - * - * @return The filename. - */ - java.lang.String getFilename(); - - /** - *
-         * Absolute path of the file where the attribute is located.
-         * 
- * - * string filename = 12; - * - * @return The bytes for filename. - */ - com.google.protobuf.ByteString getFilenameBytes(); - - /** - *
-         * Path of the package where the attribute is located.
-         * 
- * - * string pkg_path = 13; - * - * @return The pkgPath. - */ - java.lang.String getPkgPath(); - - /** - *
-         * Path of the package where the attribute is located.
-         * 
- * - * string pkg_path = 13; - * - * @return The bytes for pkgPath. - */ - com.google.protobuf.ByteString getPkgPathBytes(); - - /** - *
-         * Documentation for the attribute.
-         * 
- * - * string description = 14; - * - * @return The description. - */ - java.lang.String getDescription(); - - /** - *
-         * Documentation for the attribute.
-         * 
- * - * string description = 14; - * - * @return The bytes for description. - */ - com.google.protobuf.ByteString getDescriptionBytes(); - - /** - *
-         * Map of examples with example name as key.
-         * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - int getExamplesCount(); - - /** - *
-         * Map of examples with example name as key.
-         * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - boolean containsExamples(java.lang.String key); - - /** - * Use {@link #getExamplesMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getExamples(); - - /** - *
-         * Map of examples with example name as key.
-         * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - java.util.Map getExamplesMap(); - - /** - *
-         * Map of examples with example name as key.
-         * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - /* nullable */ - com.kcl.api.Spec.Example getExamplesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.Example defaultValue); - - /** - *
-         * Map of examples with example name as key.
-         * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - com.kcl.api.Spec.Example getExamplesOrThrow(java.lang.String key); - - /** - *
-         * Base schema if applicable.
-         * 
- * - * .com.kcl.api.KclType base_schema = 16; - * - * @return Whether the baseSchema field is set. - */ - boolean hasBaseSchema(); - - /** - *
-         * Base schema if applicable.
-         * 
- * - * .com.kcl.api.KclType base_schema = 16; - * - * @return The baseSchema. - */ - com.kcl.api.Spec.KclType getBaseSchema(); - - /** - *
-         * Base schema if applicable.
-         * 
- * - * .com.kcl.api.KclType base_schema = 16; - */ - com.kcl.api.Spec.KclTypeOrBuilder getBaseSchemaOrBuilder(); + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFilesResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFilesResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LoadSettingsFilesResult.class, com.kcl.api.Spec.LoadSettingsFilesResult.Builder.class); } + private int bitField0_; + public static final int KCL_CLI_CONFIGS_FIELD_NUMBER = 1; + private com.kcl.api.Spec.CliConfig kclCliConfigs_; /** *
-     * Message representing a KCL type.
+     * KCL CLI configuration.
      * 
* - * Protobuf type {@code com.kcl.api.KclType} + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + * @return Whether the kclCliConfigs field is set. */ - public static final class KclType extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.KclType) - KclTypeOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", KclType.class.getName()); - } + @java.lang.Override + public boolean hasKclCliConfigs() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * KCL CLI configuration.
+     * 
+ * + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + * @return The kclCliConfigs. + */ + @java.lang.Override + public com.kcl.api.Spec.CliConfig getKclCliConfigs() { + return kclCliConfigs_ == null ? com.kcl.api.Spec.CliConfig.getDefaultInstance() : kclCliConfigs_; + } + /** + *
+     * KCL CLI configuration.
+     * 
+ * + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.CliConfigOrBuilder getKclCliConfigsOrBuilder() { + return kclCliConfigs_ == null ? com.kcl.api.Spec.CliConfig.getDefaultInstance() : kclCliConfigs_; + } - // Use KclType.newBuilder() to construct. - private KclType(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } + public static final int KCL_OPTIONS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List kclOptions_; + /** + *
+     * List of KCL options as key-value pairs.
+     * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + @java.lang.Override + public java.util.List getKclOptionsList() { + return kclOptions_; + } + /** + *
+     * List of KCL options as key-value pairs.
+     * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + @java.lang.Override + public java.util.List + getKclOptionsOrBuilderList() { + return kclOptions_; + } + /** + *
+     * List of KCL options as key-value pairs.
+     * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + @java.lang.Override + public int getKclOptionsCount() { + return kclOptions_.size(); + } + /** + *
+     * List of KCL options as key-value pairs.
+     * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.KeyValuePair getKclOptions(int index) { + return kclOptions_.get(index); + } + /** + *
+     * List of KCL options as key-value pairs.
+     * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.KeyValuePairOrBuilder getKclOptionsOrBuilder( + int index) { + return kclOptions_.get(index); + } - private KclType() { - type_ = ""; - unionTypes_ = java.util.Collections.emptyList(); - default_ = ""; - schemaName_ = ""; - schemaDoc_ = ""; - required_ = com.google.protobuf.LazyStringArrayList.emptyList(); - decorators_ = java.util.Collections.emptyList(); - filename_ = ""; - pkgPath_ = ""; - description_ = ""; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_KclType_descriptor; - } + memoizedIsInitialized = 1; + return true; + } - @SuppressWarnings({ "rawtypes" }) - @java.lang.Override - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 6: - return internalGetProperties(); - case 15: - return internalGetExamples(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getKclCliConfigs()); + } + for (int i = 0; i < kclOptions_.size(); i++) { + output.writeMessage(2, kclOptions_.get(i)); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_KclType_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.KclType.class, - com.kcl.api.Spec.KclType.Builder.class); - } - - private int bitField0_; - public static final int TYPE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object type_ = ""; - - /** - *
-         * Type name (e.g., schema, dict, list, str, int, float, bool, any, union, number_multiplier).
-         * 
- * - * string type = 1; - * - * @return The type. - */ - @java.lang.Override - public java.lang.String getType() { - java.lang.Object ref = type_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - type_ = s; - return s; - } - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getKclCliConfigs()); + } + for (int i = 0; i < kclOptions_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, kclOptions_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-         * Type name (e.g., schema, dict, list, str, int, float, bool, any, union, number_multiplier).
-         * 
- * - * string type = 1; - * - * @return The bytes for type. - */ - @java.lang.Override - public com.google.protobuf.ByteString getTypeBytes() { - java.lang.Object ref = type_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - type_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.LoadSettingsFilesResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.LoadSettingsFilesResult other = (com.kcl.api.Spec.LoadSettingsFilesResult) obj; + + if (hasKclCliConfigs() != other.hasKclCliConfigs()) return false; + if (hasKclCliConfigs()) { + if (!getKclCliConfigs() + .equals(other.getKclCliConfigs())) return false; + } + if (!getKclOptionsList() + .equals(other.getKclOptionsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasKclCliConfigs()) { + hash = (37 * hash) + KCL_CLI_CONFIGS_FIELD_NUMBER; + hash = (53 * hash) + getKclCliConfigs().hashCode(); + } + if (getKclOptionsCount() > 0) { + hash = (37 * hash) + KCL_OPTIONS_FIELD_NUMBER; + hash = (53 * hash) + getKclOptionsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.kcl.api.Spec.LoadSettingsFilesResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadSettingsFilesResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadSettingsFilesResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadSettingsFilesResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadSettingsFilesResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.LoadSettingsFilesResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.LoadSettingsFilesResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LoadSettingsFilesResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static final int UNION_TYPES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private java.util.List unionTypes_; + public static com.kcl.api.Spec.LoadSettingsFilesResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-         * Union types if applicable.
-         * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - @java.lang.Override - public java.util.List getUnionTypesList() { - return unionTypes_; - } + public static com.kcl.api.Spec.LoadSettingsFilesResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.LoadSettingsFilesResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.LoadSettingsFilesResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-         * Union types if applicable.
-         * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - @java.lang.Override - public java.util.List getUnionTypesOrBuilderList() { - return unionTypes_; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.LoadSettingsFilesResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-         * Union types if applicable.
-         * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - @java.lang.Override - public int getUnionTypesCount() { - return unionTypes_.size(); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for load settings files response.
+     * 
+ * + * Protobuf type {@code com.kcl.api.LoadSettingsFilesResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadSettingsFilesResult) + com.kcl.api.Spec.LoadSettingsFilesResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFilesResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFilesResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.LoadSettingsFilesResult.class, com.kcl.api.Spec.LoadSettingsFilesResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.LoadSettingsFilesResult.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + internalGetKclCliConfigsFieldBuilder(); + internalGetKclOptionsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + kclCliConfigs_ = null; + if (kclCliConfigsBuilder_ != null) { + kclCliConfigsBuilder_.dispose(); + kclCliConfigsBuilder_ = null; + } + if (kclOptionsBuilder_ == null) { + kclOptions_ = java.util.Collections.emptyList(); + } else { + kclOptions_ = null; + kclOptionsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFilesResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.LoadSettingsFilesResult getDefaultInstanceForType() { + return com.kcl.api.Spec.LoadSettingsFilesResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.LoadSettingsFilesResult build() { + com.kcl.api.Spec.LoadSettingsFilesResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.LoadSettingsFilesResult buildPartial() { + com.kcl.api.Spec.LoadSettingsFilesResult result = new com.kcl.api.Spec.LoadSettingsFilesResult(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.LoadSettingsFilesResult result) { + if (kclOptionsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + kclOptions_ = java.util.Collections.unmodifiableList(kclOptions_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.kclOptions_ = kclOptions_; + } else { + result.kclOptions_ = kclOptionsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.LoadSettingsFilesResult result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.kclCliConfigs_ = kclCliConfigsBuilder_ == null + ? kclCliConfigs_ + : kclCliConfigsBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.LoadSettingsFilesResult) { + return mergeFrom((com.kcl.api.Spec.LoadSettingsFilesResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.LoadSettingsFilesResult other) { + if (other == com.kcl.api.Spec.LoadSettingsFilesResult.getDefaultInstance()) return this; + if (other.hasKclCliConfigs()) { + mergeKclCliConfigs(other.getKclCliConfigs()); + } + if (kclOptionsBuilder_ == null) { + if (!other.kclOptions_.isEmpty()) { + if (kclOptions_.isEmpty()) { + kclOptions_ = other.kclOptions_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureKclOptionsIsMutable(); + kclOptions_.addAll(other.kclOptions_); + } + onChanged(); + } + } else { + if (!other.kclOptions_.isEmpty()) { + if (kclOptionsBuilder_.isEmpty()) { + kclOptionsBuilder_.dispose(); + kclOptionsBuilder_ = null; + kclOptions_ = other.kclOptions_; + bitField0_ = (bitField0_ & ~0x00000002); + kclOptionsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetKclOptionsFieldBuilder() : null; + } else { + kclOptionsBuilder_.addAllMessages(other.kclOptions_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + internalGetKclCliConfigsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.kcl.api.Spec.KeyValuePair m = + input.readMessage( + com.kcl.api.Spec.KeyValuePair.parser(), + extensionRegistry); + if (kclOptionsBuilder_ == null) { + ensureKclOptionsIsMutable(); + kclOptions_.add(m); + } else { + kclOptionsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.kcl.api.Spec.CliConfig kclCliConfigs_; + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.CliConfig, com.kcl.api.Spec.CliConfig.Builder, com.kcl.api.Spec.CliConfigOrBuilder> kclCliConfigsBuilder_; + /** + *
+       * KCL CLI configuration.
+       * 
+ * + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + * @return Whether the kclCliConfigs field is set. + */ + public boolean hasKclCliConfigs() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+       * KCL CLI configuration.
+       * 
+ * + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + * @return The kclCliConfigs. + */ + public com.kcl.api.Spec.CliConfig getKclCliConfigs() { + if (kclCliConfigsBuilder_ == null) { + return kclCliConfigs_ == null ? com.kcl.api.Spec.CliConfig.getDefaultInstance() : kclCliConfigs_; + } else { + return kclCliConfigsBuilder_.getMessage(); + } + } + /** + *
+       * KCL CLI configuration.
+       * 
+ * + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + */ + public Builder setKclCliConfigs(com.kcl.api.Spec.CliConfig value) { + if (kclCliConfigsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + kclCliConfigs_ = value; + } else { + kclCliConfigsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * KCL CLI configuration.
+       * 
+ * + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + */ + public Builder setKclCliConfigs( + com.kcl.api.Spec.CliConfig.Builder builderForValue) { + if (kclCliConfigsBuilder_ == null) { + kclCliConfigs_ = builderForValue.build(); + } else { + kclCliConfigsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * KCL CLI configuration.
+       * 
+ * + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + */ + public Builder mergeKclCliConfigs(com.kcl.api.Spec.CliConfig value) { + if (kclCliConfigsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + kclCliConfigs_ != null && + kclCliConfigs_ != com.kcl.api.Spec.CliConfig.getDefaultInstance()) { + getKclCliConfigsBuilder().mergeFrom(value); + } else { + kclCliConfigs_ = value; + } + } else { + kclCliConfigsBuilder_.mergeFrom(value); + } + if (kclCliConfigs_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + *
+       * KCL CLI configuration.
+       * 
+ * + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + */ + public Builder clearKclCliConfigs() { + bitField0_ = (bitField0_ & ~0x00000001); + kclCliConfigs_ = null; + if (kclCliConfigsBuilder_ != null) { + kclCliConfigsBuilder_.dispose(); + kclCliConfigsBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * KCL CLI configuration.
+       * 
+ * + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + */ + public com.kcl.api.Spec.CliConfig.Builder getKclCliConfigsBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetKclCliConfigsFieldBuilder().getBuilder(); + } + /** + *
+       * KCL CLI configuration.
+       * 
+ * + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + */ + public com.kcl.api.Spec.CliConfigOrBuilder getKclCliConfigsOrBuilder() { + if (kclCliConfigsBuilder_ != null) { + return kclCliConfigsBuilder_.getMessageOrBuilder(); + } else { + return kclCliConfigs_ == null ? + com.kcl.api.Spec.CliConfig.getDefaultInstance() : kclCliConfigs_; + } + } + /** + *
+       * KCL CLI configuration.
+       * 
+ * + * .com.kcl.api.CliConfig kcl_cli_configs = 1; + */ + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.CliConfig, com.kcl.api.Spec.CliConfig.Builder, com.kcl.api.Spec.CliConfigOrBuilder> + internalGetKclCliConfigsFieldBuilder() { + if (kclCliConfigsBuilder_ == null) { + kclCliConfigsBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.CliConfig, com.kcl.api.Spec.CliConfig.Builder, com.kcl.api.Spec.CliConfigOrBuilder>( + getKclCliConfigs(), + getParentForChildren(), + isClean()); + kclCliConfigs_ = null; + } + return kclCliConfigsBuilder_; + } + + private java.util.List kclOptions_ = + java.util.Collections.emptyList(); + private void ensureKclOptionsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + kclOptions_ = new java.util.ArrayList(kclOptions_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.KeyValuePair, com.kcl.api.Spec.KeyValuePair.Builder, com.kcl.api.Spec.KeyValuePairOrBuilder> kclOptionsBuilder_; + + /** + *
+       * List of KCL options as key-value pairs.
+       * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public java.util.List getKclOptionsList() { + if (kclOptionsBuilder_ == null) { + return java.util.Collections.unmodifiableList(kclOptions_); + } else { + return kclOptionsBuilder_.getMessageList(); + } + } + /** + *
+       * List of KCL options as key-value pairs.
+       * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public int getKclOptionsCount() { + if (kclOptionsBuilder_ == null) { + return kclOptions_.size(); + } else { + return kclOptionsBuilder_.getCount(); + } + } + /** + *
+       * List of KCL options as key-value pairs.
+       * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public com.kcl.api.Spec.KeyValuePair getKclOptions(int index) { + if (kclOptionsBuilder_ == null) { + return kclOptions_.get(index); + } else { + return kclOptionsBuilder_.getMessage(index); + } + } + /** + *
+       * List of KCL options as key-value pairs.
+       * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public Builder setKclOptions( + int index, com.kcl.api.Spec.KeyValuePair value) { + if (kclOptionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureKclOptionsIsMutable(); + kclOptions_.set(index, value); + onChanged(); + } else { + kclOptionsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * List of KCL options as key-value pairs.
+       * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public Builder setKclOptions( + int index, com.kcl.api.Spec.KeyValuePair.Builder builderForValue) { + if (kclOptionsBuilder_ == null) { + ensureKclOptionsIsMutable(); + kclOptions_.set(index, builderForValue.build()); + onChanged(); + } else { + kclOptionsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of KCL options as key-value pairs.
+       * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public Builder addKclOptions(com.kcl.api.Spec.KeyValuePair value) { + if (kclOptionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureKclOptionsIsMutable(); + kclOptions_.add(value); + onChanged(); + } else { + kclOptionsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * List of KCL options as key-value pairs.
+       * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public Builder addKclOptions( + int index, com.kcl.api.Spec.KeyValuePair value) { + if (kclOptionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureKclOptionsIsMutable(); + kclOptions_.add(index, value); + onChanged(); + } else { + kclOptionsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * List of KCL options as key-value pairs.
+       * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public Builder addKclOptions( + com.kcl.api.Spec.KeyValuePair.Builder builderForValue) { + if (kclOptionsBuilder_ == null) { + ensureKclOptionsIsMutable(); + kclOptions_.add(builderForValue.build()); + onChanged(); + } else { + kclOptionsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * List of KCL options as key-value pairs.
+       * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public Builder addKclOptions( + int index, com.kcl.api.Spec.KeyValuePair.Builder builderForValue) { + if (kclOptionsBuilder_ == null) { + ensureKclOptionsIsMutable(); + kclOptions_.add(index, builderForValue.build()); + onChanged(); + } else { + kclOptionsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of KCL options as key-value pairs.
+       * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public Builder addAllKclOptions( + java.lang.Iterable values) { + if (kclOptionsBuilder_ == null) { + ensureKclOptionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, kclOptions_); + onChanged(); + } else { + kclOptionsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * List of KCL options as key-value pairs.
+       * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public Builder clearKclOptions() { + if (kclOptionsBuilder_ == null) { + kclOptions_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + kclOptionsBuilder_.clear(); + } + return this; + } + /** + *
+       * List of KCL options as key-value pairs.
+       * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public Builder removeKclOptions(int index) { + if (kclOptionsBuilder_ == null) { + ensureKclOptionsIsMutable(); + kclOptions_.remove(index); + onChanged(); + } else { + kclOptionsBuilder_.remove(index); + } + return this; + } + /** + *
+       * List of KCL options as key-value pairs.
+       * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public com.kcl.api.Spec.KeyValuePair.Builder getKclOptionsBuilder( + int index) { + return internalGetKclOptionsFieldBuilder().getBuilder(index); + } + /** + *
+       * List of KCL options as key-value pairs.
+       * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public com.kcl.api.Spec.KeyValuePairOrBuilder getKclOptionsOrBuilder( + int index) { + if (kclOptionsBuilder_ == null) { + return kclOptions_.get(index); } else { + return kclOptionsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * List of KCL options as key-value pairs.
+       * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public java.util.List + getKclOptionsOrBuilderList() { + if (kclOptionsBuilder_ != null) { + return kclOptionsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(kclOptions_); + } + } + /** + *
+       * List of KCL options as key-value pairs.
+       * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public com.kcl.api.Spec.KeyValuePair.Builder addKclOptionsBuilder() { + return internalGetKclOptionsFieldBuilder().addBuilder( + com.kcl.api.Spec.KeyValuePair.getDefaultInstance()); + } + /** + *
+       * List of KCL options as key-value pairs.
+       * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public com.kcl.api.Spec.KeyValuePair.Builder addKclOptionsBuilder( + int index) { + return internalGetKclOptionsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.KeyValuePair.getDefaultInstance()); + } + /** + *
+       * List of KCL options as key-value pairs.
+       * 
+ * + * repeated .com.kcl.api.KeyValuePair kcl_options = 2; + */ + public java.util.List + getKclOptionsBuilderList() { + return internalGetKclOptionsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.KeyValuePair, com.kcl.api.Spec.KeyValuePair.Builder, com.kcl.api.Spec.KeyValuePairOrBuilder> + internalGetKclOptionsFieldBuilder() { + if (kclOptionsBuilder_ == null) { + kclOptionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.KeyValuePair, com.kcl.api.Spec.KeyValuePair.Builder, com.kcl.api.Spec.KeyValuePairOrBuilder>( + kclOptions_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + kclOptions_ = null; + } + return kclOptionsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadSettingsFilesResult) + } - /** - *
-         * Union types if applicable.
-         * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.KclType getUnionTypes(int index) { - return unionTypes_.get(index); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.LoadSettingsFilesResult) + private static final com.kcl.api.Spec.LoadSettingsFilesResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadSettingsFilesResult(); + } - /** - *
-         * Union types if applicable.
-         * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - @java.lang.Override - public com.kcl.api.Spec.KclTypeOrBuilder getUnionTypesOrBuilder(int index) { - return unionTypes_.get(index); - } - - public static final int DEFAULT_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object default_ = ""; - - /** - *
-         * Default value of the type.
-         * 
- * - * string default = 3; - * - * @return The default. - */ - @java.lang.Override - public java.lang.String getDefault() { - java.lang.Object ref = default_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - default_ = s; - return s; - } - } + public static com.kcl.api.Spec.LoadSettingsFilesResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-         * Default value of the type.
-         * 
- * - * string default = 3; - * - * @return The bytes for default. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDefaultBytes() { - java.lang.Object ref = default_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - default_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoadSettingsFilesResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static final int SCHEMA_NAME_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private volatile java.lang.Object schemaName_ = ""; + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-         * Name of the schema if applicable.
-         * 
- * - * string schema_name = 4; - * - * @return The schemaName. - */ - @java.lang.Override - public java.lang.String getSchemaName() { - java.lang.Object ref = schemaName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schemaName_ = s; - return s; - } - } + @java.lang.Override + public com.kcl.api.Spec.LoadSettingsFilesResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-         * Name of the schema if applicable.
-         * 
- * - * string schema_name = 4; - * - * @return The bytes for schemaName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSchemaNameBytes() { - java.lang.Object ref = schemaName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - schemaName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + } - public static final int SCHEMA_DOC_FIELD_NUMBER = 5; - @SuppressWarnings("serial") - private volatile java.lang.Object schemaDoc_ = ""; + public interface CliConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.CliConfig) + com.google.protobuf.MessageOrBuilder { - /** - *
-         * Documentation for the schema.
-         * 
- * - * string schema_doc = 5; - * - * @return The schemaDoc. - */ - @java.lang.Override - public java.lang.String getSchemaDoc() { - java.lang.Object ref = schemaDoc_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schemaDoc_ = s; - return s; - } - } + /** + *
+     * List of files.
+     * 
+ * + * repeated string files = 1; + * @return A list containing the files. + */ + java.util.List + getFilesList(); + /** + *
+     * List of files.
+     * 
+ * + * repeated string files = 1; + * @return The count of files. + */ + int getFilesCount(); + /** + *
+     * List of files.
+     * 
+ * + * repeated string files = 1; + * @param index The index of the element to return. + * @return The files at the given index. + */ + java.lang.String getFiles(int index); + /** + *
+     * List of files.
+     * 
+ * + * repeated string files = 1; + * @param index The index of the value to return. + * @return The bytes of the files at the given index. + */ + com.google.protobuf.ByteString + getFilesBytes(int index); - /** - *
-         * Documentation for the schema.
-         * 
- * - * string schema_doc = 5; - * - * @return The bytes for schemaDoc. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSchemaDocBytes() { - java.lang.Object ref = schemaDoc_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - schemaDoc_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + *
+     * Output path.
+     * 
+ * + * string output = 2; + * @return The output. + */ + java.lang.String getOutput(); + /** + *
+     * Output path.
+     * 
+ * + * string output = 2; + * @return The bytes for output. + */ + com.google.protobuf.ByteString + getOutputBytes(); - public static final int PROPERTIES_FIELD_NUMBER = 6; + /** + *
+     * List of overrides.
+     * 
+ * + * repeated string overrides = 3; + * @return A list containing the overrides. + */ + java.util.List + getOverridesList(); + /** + *
+     * List of overrides.
+     * 
+ * + * repeated string overrides = 3; + * @return The count of overrides. + */ + int getOverridesCount(); + /** + *
+     * List of overrides.
+     * 
+ * + * repeated string overrides = 3; + * @param index The index of the element to return. + * @return The overrides at the given index. + */ + java.lang.String getOverrides(int index); + /** + *
+     * List of overrides.
+     * 
+ * + * repeated string overrides = 3; + * @param index The index of the value to return. + * @return The bytes of the overrides at the given index. + */ + com.google.protobuf.ByteString + getOverridesBytes(int index); - private static final class PropertiesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_KclType_PropertiesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, com.kcl.api.Spec.KclType.getDefaultInstance()); - } + /** + *
+     * Path selectors.
+     * 
+ * + * repeated string path_selector = 4; + * @return A list containing the pathSelector. + */ + java.util.List + getPathSelectorList(); + /** + *
+     * Path selectors.
+     * 
+ * + * repeated string path_selector = 4; + * @return The count of pathSelector. + */ + int getPathSelectorCount(); + /** + *
+     * Path selectors.
+     * 
+ * + * repeated string path_selector = 4; + * @param index The index of the element to return. + * @return The pathSelector at the given index. + */ + java.lang.String getPathSelector(int index); + /** + *
+     * Path selectors.
+     * 
+ * + * repeated string path_selector = 4; + * @param index The index of the value to return. + * @return The bytes of the pathSelector at the given index. + */ + com.google.protobuf.ByteString + getPathSelectorBytes(int index); - @SuppressWarnings("serial") - private com.google.protobuf.MapField properties_; + /** + *
+     * Flag for strict range check.
+     * 
+ * + * bool strict_range_check = 5; + * @return The strictRangeCheck. + */ + boolean getStrictRangeCheck(); - private com.google.protobuf.MapField internalGetProperties() { - if (properties_ == null) { - return com.google.protobuf.MapField.emptyMapField(PropertiesDefaultEntryHolder.defaultEntry); - } - return properties_; - } + /** + *
+     * Flag to disable none values.
+     * 
+ * + * bool disable_none = 6; + * @return The disableNone. + */ + boolean getDisableNone(); - public int getPropertiesCount() { - return internalGetProperties().getMap().size(); - } + /** + *
+     * Verbose level.
+     * 
+ * + * int64 verbose = 7; + * @return The verbose. + */ + long getVerbose(); - /** - *
-         * Properties of the schema as a map with property name as key.
-         * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - @java.lang.Override - public boolean containsProperties(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetProperties().getMap().containsKey(key); - } + /** + *
+     * Debug flag.
+     * 
+ * + * bool debug = 8; + * @return The debug. + */ + boolean getDebug(); - /** - * Use {@link #getPropertiesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getProperties() { - return getPropertiesMap(); - } - - /** - *
-         * Properties of the schema as a map with property name as key.
-         * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - @java.lang.Override - public java.util.Map getPropertiesMap() { - return internalGetProperties().getMap(); - } + /** + *
+     * Flag to sort keys in YAML/JSON results.
+     * 
+ * + * bool sort_keys = 9; + * @return The sortKeys. + */ + boolean getSortKeys(); - /** - *
-         * Properties of the schema as a map with property name as key.
-         * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.KclType getPropertiesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.KclType defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetProperties().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } + /** + *
+     * Flag to show hidden attributes.
+     * 
+ * + * bool show_hidden = 10; + * @return The showHidden. + */ + boolean getShowHidden(); - /** - *
-         * Properties of the schema as a map with property name as key.
-         * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - @java.lang.Override - public com.kcl.api.Spec.KclType getPropertiesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetProperties().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int REQUIRED_FIELD_NUMBER = 7; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList required_ = com.google.protobuf.LazyStringArrayList.emptyList(); - - /** - *
-         * List of required schema properties.
-         * 
- * - * repeated string required = 7; - * - * @return A list containing the required. - */ - public com.google.protobuf.ProtocolStringList getRequiredList() { - return required_; - } - - /** - *
-         * List of required schema properties.
-         * 
- * - * repeated string required = 7; - * - * @return The count of required. - */ - public int getRequiredCount() { - return required_.size(); - } - - /** - *
-         * List of required schema properties.
-         * 
- * - * repeated string required = 7; - * - * @param index - * The index of the element to return. - * - * @return The required at the given index. - */ - public java.lang.String getRequired(int index) { - return required_.get(index); - } - - /** - *
-         * List of required schema properties.
-         * 
- * - * repeated string required = 7; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the required at the given index. - */ - public com.google.protobuf.ByteString getRequiredBytes(int index) { - return required_.getByteString(index); - } - - public static final int KEY_FIELD_NUMBER = 8; - private com.kcl.api.Spec.KclType key_; - - /** - *
-         * Key type if the KclType is a dictionary.
-         * 
- * - * .com.kcl.api.KclType key = 8; - * - * @return Whether the key field is set. - */ - @java.lang.Override - public boolean hasKey() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - *
-         * Key type if the KclType is a dictionary.
-         * 
- * - * .com.kcl.api.KclType key = 8; - * - * @return The key. - */ - @java.lang.Override - public com.kcl.api.Spec.KclType getKey() { - return key_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : key_; - } + /** + *
+     * Flag to include schema type path in results.
+     * 
+ * + * bool include_schema_type_path = 11; + * @return The includeSchemaTypePath. + */ + boolean getIncludeSchemaTypePath(); - /** - *
-         * Key type if the KclType is a dictionary.
-         * 
- * - * .com.kcl.api.KclType key = 8; - */ - @java.lang.Override - public com.kcl.api.Spec.KclTypeOrBuilder getKeyOrBuilder() { - return key_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : key_; - } - - public static final int ITEM_FIELD_NUMBER = 9; - private com.kcl.api.Spec.KclType item_; - - /** - *
-         * Item type if the KclType is a list or dictionary.
-         * 
- * - * .com.kcl.api.KclType item = 9; - * - * @return Whether the item field is set. - */ - @java.lang.Override - public boolean hasItem() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - *
-         * Item type if the KclType is a list or dictionary.
-         * 
- * - * .com.kcl.api.KclType item = 9; - * - * @return The item. - */ - @java.lang.Override - public com.kcl.api.Spec.KclType getItem() { - return item_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : item_; - } + /** + *
+     * Flag for fast evaluation.
+     * 
+ * + * bool fast_eval = 12; + * @return The fastEval. + */ + boolean getFastEval(); + } + /** + *
+   * Message representing KCL CLI configuration.
+   * 
+ * + * Protobuf type {@code com.kcl.api.CliConfig} + */ + public static final class CliConfig extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.CliConfig) + CliConfigOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "CliConfig"); + } + // Use CliConfig.newBuilder() to construct. + private CliConfig(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private CliConfig() { + files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + output_ = ""; + overrides_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + pathSelector_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - /** - *
-         * Item type if the KclType is a list or dictionary.
-         * 
- * - * .com.kcl.api.KclType item = 9; - */ - @java.lang.Override - public com.kcl.api.Spec.KclTypeOrBuilder getItemOrBuilder() { - return item_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : item_; - } - - public static final int LINE_FIELD_NUMBER = 10; - private int line_ = 0; - - /** - *
-         * Line number where the type is defined.
-         * 
- * - * int32 line = 10; - * - * @return The line. - */ - @java.lang.Override - public int getLine() { - return line_; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_CliConfig_descriptor; + } - public static final int DECORATORS_FIELD_NUMBER = 11; - @SuppressWarnings("serial") - private java.util.List decorators_; + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_CliConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.CliConfig.class, com.kcl.api.Spec.CliConfig.Builder.class); + } - /** - *
-         * List of decorators for the schema.
-         * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - @java.lang.Override - public java.util.List getDecoratorsList() { - return decorators_; - } + public static final int FILES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * List of files.
+     * 
+ * + * repeated string files = 1; + * @return A list containing the files. + */ + public com.google.protobuf.ProtocolStringList + getFilesList() { + return files_; + } + /** + *
+     * List of files.
+     * 
+ * + * repeated string files = 1; + * @return The count of files. + */ + public int getFilesCount() { + return files_.size(); + } + /** + *
+     * List of files.
+     * 
+ * + * repeated string files = 1; + * @param index The index of the element to return. + * @return The files at the given index. + */ + public java.lang.String getFiles(int index) { + return files_.get(index); + } + /** + *
+     * List of files.
+     * 
+ * + * repeated string files = 1; + * @param index The index of the value to return. + * @return The bytes of the files at the given index. + */ + public com.google.protobuf.ByteString + getFilesBytes(int index) { + return files_.getByteString(index); + } - /** - *
-         * List of decorators for the schema.
-         * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - @java.lang.Override - public java.util.List getDecoratorsOrBuilderList() { - return decorators_; - } + public static final int OUTPUT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object output_ = ""; + /** + *
+     * Output path.
+     * 
+ * + * string output = 2; + * @return The output. + */ + @java.lang.Override + public java.lang.String getOutput() { + java.lang.Object ref = output_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + output_ = s; + return s; + } + } + /** + *
+     * Output path.
+     * 
+ * + * string output = 2; + * @return The bytes for output. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOutputBytes() { + java.lang.Object ref = output_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + output_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-         * List of decorators for the schema.
-         * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - @java.lang.Override - public int getDecoratorsCount() { - return decorators_.size(); - } + public static final int OVERRIDES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList overrides_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * List of overrides.
+     * 
+ * + * repeated string overrides = 3; + * @return A list containing the overrides. + */ + public com.google.protobuf.ProtocolStringList + getOverridesList() { + return overrides_; + } + /** + *
+     * List of overrides.
+     * 
+ * + * repeated string overrides = 3; + * @return The count of overrides. + */ + public int getOverridesCount() { + return overrides_.size(); + } + /** + *
+     * List of overrides.
+     * 
+ * + * repeated string overrides = 3; + * @param index The index of the element to return. + * @return The overrides at the given index. + */ + public java.lang.String getOverrides(int index) { + return overrides_.get(index); + } + /** + *
+     * List of overrides.
+     * 
+ * + * repeated string overrides = 3; + * @param index The index of the value to return. + * @return The bytes of the overrides at the given index. + */ + public com.google.protobuf.ByteString + getOverridesBytes(int index) { + return overrides_.getByteString(index); + } - /** - *
-         * List of decorators for the schema.
-         * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - @java.lang.Override - public com.kcl.api.Spec.Decorator getDecorators(int index) { - return decorators_.get(index); - } + public static final int PATH_SELECTOR_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList pathSelector_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * Path selectors.
+     * 
+ * + * repeated string path_selector = 4; + * @return A list containing the pathSelector. + */ + public com.google.protobuf.ProtocolStringList + getPathSelectorList() { + return pathSelector_; + } + /** + *
+     * Path selectors.
+     * 
+ * + * repeated string path_selector = 4; + * @return The count of pathSelector. + */ + public int getPathSelectorCount() { + return pathSelector_.size(); + } + /** + *
+     * Path selectors.
+     * 
+ * + * repeated string path_selector = 4; + * @param index The index of the element to return. + * @return The pathSelector at the given index. + */ + public java.lang.String getPathSelector(int index) { + return pathSelector_.get(index); + } + /** + *
+     * Path selectors.
+     * 
+ * + * repeated string path_selector = 4; + * @param index The index of the value to return. + * @return The bytes of the pathSelector at the given index. + */ + public com.google.protobuf.ByteString + getPathSelectorBytes(int index) { + return pathSelector_.getByteString(index); + } - /** - *
-         * List of decorators for the schema.
-         * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - @java.lang.Override - public com.kcl.api.Spec.DecoratorOrBuilder getDecoratorsOrBuilder(int index) { - return decorators_.get(index); - } - - public static final int FILENAME_FIELD_NUMBER = 12; - @SuppressWarnings("serial") - private volatile java.lang.Object filename_ = ""; - - /** - *
-         * Absolute path of the file where the attribute is located.
-         * 
- * - * string filename = 12; - * - * @return The filename. - */ - @java.lang.Override - public java.lang.String getFilename() { - java.lang.Object ref = filename_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filename_ = s; - return s; - } - } + public static final int STRICT_RANGE_CHECK_FIELD_NUMBER = 5; + private boolean strictRangeCheck_ = false; + /** + *
+     * Flag for strict range check.
+     * 
+ * + * bool strict_range_check = 5; + * @return The strictRangeCheck. + */ + @java.lang.Override + public boolean getStrictRangeCheck() { + return strictRangeCheck_; + } - /** - *
-         * Absolute path of the file where the attribute is located.
-         * 
- * - * string filename = 12; - * - * @return The bytes for filename. - */ - @java.lang.Override - public com.google.protobuf.ByteString getFilenameBytes() { - java.lang.Object ref = filename_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - filename_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static final int DISABLE_NONE_FIELD_NUMBER = 6; + private boolean disableNone_ = false; + /** + *
+     * Flag to disable none values.
+     * 
+ * + * bool disable_none = 6; + * @return The disableNone. + */ + @java.lang.Override + public boolean getDisableNone() { + return disableNone_; + } - public static final int PKG_PATH_FIELD_NUMBER = 13; - @SuppressWarnings("serial") - private volatile java.lang.Object pkgPath_ = ""; + public static final int VERBOSE_FIELD_NUMBER = 7; + private long verbose_ = 0L; + /** + *
+     * Verbose level.
+     * 
+ * + * int64 verbose = 7; + * @return The verbose. + */ + @java.lang.Override + public long getVerbose() { + return verbose_; + } - /** - *
-         * Path of the package where the attribute is located.
-         * 
- * - * string pkg_path = 13; - * - * @return The pkgPath. - */ - @java.lang.Override - public java.lang.String getPkgPath() { - java.lang.Object ref = pkgPath_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pkgPath_ = s; - return s; - } - } + public static final int DEBUG_FIELD_NUMBER = 8; + private boolean debug_ = false; + /** + *
+     * Debug flag.
+     * 
+ * + * bool debug = 8; + * @return The debug. + */ + @java.lang.Override + public boolean getDebug() { + return debug_; + } - /** - *
-         * Path of the package where the attribute is located.
-         * 
- * - * string pkg_path = 13; - * - * @return The bytes for pkgPath. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPkgPathBytes() { - java.lang.Object ref = pkgPath_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pkgPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static final int SORT_KEYS_FIELD_NUMBER = 9; + private boolean sortKeys_ = false; + /** + *
+     * Flag to sort keys in YAML/JSON results.
+     * 
+ * + * bool sort_keys = 9; + * @return The sortKeys. + */ + @java.lang.Override + public boolean getSortKeys() { + return sortKeys_; + } - public static final int DESCRIPTION_FIELD_NUMBER = 14; - @SuppressWarnings("serial") - private volatile java.lang.Object description_ = ""; + public static final int SHOW_HIDDEN_FIELD_NUMBER = 10; + private boolean showHidden_ = false; + /** + *
+     * Flag to show hidden attributes.
+     * 
+ * + * bool show_hidden = 10; + * @return The showHidden. + */ + @java.lang.Override + public boolean getShowHidden() { + return showHidden_; + } - /** - *
-         * Documentation for the attribute.
-         * 
- * - * string description = 14; - * - * @return The description. - */ - @java.lang.Override - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } - } + public static final int INCLUDE_SCHEMA_TYPE_PATH_FIELD_NUMBER = 11; + private boolean includeSchemaTypePath_ = false; + /** + *
+     * Flag to include schema type path in results.
+     * 
+ * + * bool include_schema_type_path = 11; + * @return The includeSchemaTypePath. + */ + @java.lang.Override + public boolean getIncludeSchemaTypePath() { + return includeSchemaTypePath_; + } - /** - *
-         * Documentation for the attribute.
-         * 
- * - * string description = 14; - * - * @return The bytes for description. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static final int FAST_EVAL_FIELD_NUMBER = 12; + private boolean fastEval_ = false; + /** + *
+     * Flag for fast evaluation.
+     * 
+ * + * bool fast_eval = 12; + * @return The fastEval. + */ + @java.lang.Override + public boolean getFastEval() { + return fastEval_; + } - public static final int EXAMPLES_FIELD_NUMBER = 15; + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private static final class ExamplesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_KclType_ExamplesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, com.kcl.api.Spec.Example.getDefaultInstance()); - } + memoizedIsInitialized = 1; + return true; + } - @SuppressWarnings("serial") - private com.google.protobuf.MapField examples_; + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < files_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, files_.getRaw(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(output_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, output_); + } + for (int i = 0; i < overrides_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, overrides_.getRaw(i)); + } + for (int i = 0; i < pathSelector_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, pathSelector_.getRaw(i)); + } + if (strictRangeCheck_ != false) { + output.writeBool(5, strictRangeCheck_); + } + if (disableNone_ != false) { + output.writeBool(6, disableNone_); + } + if (verbose_ != 0L) { + output.writeInt64(7, verbose_); + } + if (debug_ != false) { + output.writeBool(8, debug_); + } + if (sortKeys_ != false) { + output.writeBool(9, sortKeys_); + } + if (showHidden_ != false) { + output.writeBool(10, showHidden_); + } + if (includeSchemaTypePath_ != false) { + output.writeBool(11, includeSchemaTypePath_); + } + if (fastEval_ != false) { + output.writeBool(12, fastEval_); + } + getUnknownFields().writeTo(output); + } - private com.google.protobuf.MapField internalGetExamples() { - if (examples_ == null) { - return com.google.protobuf.MapField.emptyMapField(ExamplesDefaultEntryHolder.defaultEntry); - } - return examples_; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < files_.size(); i++) { + dataSize += computeStringSizeNoTag(files_.getRaw(i)); + } + size += dataSize; + size += 1 * getFilesList().size(); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(output_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, output_); + } + { + int dataSize = 0; + for (int i = 0; i < overrides_.size(); i++) { + dataSize += computeStringSizeNoTag(overrides_.getRaw(i)); + } + size += dataSize; + size += 1 * getOverridesList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < pathSelector_.size(); i++) { + dataSize += computeStringSizeNoTag(pathSelector_.getRaw(i)); + } + size += dataSize; + size += 1 * getPathSelectorList().size(); + } + if (strictRangeCheck_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, strictRangeCheck_); + } + if (disableNone_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, disableNone_); + } + if (verbose_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(7, verbose_); + } + if (debug_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(8, debug_); + } + if (sortKeys_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(9, sortKeys_); + } + if (showHidden_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(10, showHidden_); + } + if (includeSchemaTypePath_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(11, includeSchemaTypePath_); + } + if (fastEval_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(12, fastEval_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public int getExamplesCount() { - return internalGetExamples().getMap().size(); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.CliConfig)) { + return super.equals(obj); + } + com.kcl.api.Spec.CliConfig other = (com.kcl.api.Spec.CliConfig) obj; + + if (!getFilesList() + .equals(other.getFilesList())) return false; + if (!getOutput() + .equals(other.getOutput())) return false; + if (!getOverridesList() + .equals(other.getOverridesList())) return false; + if (!getPathSelectorList() + .equals(other.getPathSelectorList())) return false; + if (getStrictRangeCheck() + != other.getStrictRangeCheck()) return false; + if (getDisableNone() + != other.getDisableNone()) return false; + if (getVerbose() + != other.getVerbose()) return false; + if (getDebug() + != other.getDebug()) return false; + if (getSortKeys() + != other.getSortKeys()) return false; + if (getShowHidden() + != other.getShowHidden()) return false; + if (getIncludeSchemaTypePath() + != other.getIncludeSchemaTypePath()) return false; + if (getFastEval() + != other.getFastEval()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-         * Map of examples with example name as key.
-         * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - @java.lang.Override - public boolean containsExamples(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetExamples().getMap().containsKey(key); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getFilesCount() > 0) { + hash = (37 * hash) + FILES_FIELD_NUMBER; + hash = (53 * hash) + getFilesList().hashCode(); + } + hash = (37 * hash) + OUTPUT_FIELD_NUMBER; + hash = (53 * hash) + getOutput().hashCode(); + if (getOverridesCount() > 0) { + hash = (37 * hash) + OVERRIDES_FIELD_NUMBER; + hash = (53 * hash) + getOverridesList().hashCode(); + } + if (getPathSelectorCount() > 0) { + hash = (37 * hash) + PATH_SELECTOR_FIELD_NUMBER; + hash = (53 * hash) + getPathSelectorList().hashCode(); + } + hash = (37 * hash) + STRICT_RANGE_CHECK_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStrictRangeCheck()); + hash = (37 * hash) + DISABLE_NONE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisableNone()); + hash = (37 * hash) + VERBOSE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getVerbose()); + hash = (37 * hash) + DEBUG_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDebug()); + hash = (37 * hash) + SORT_KEYS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSortKeys()); + hash = (37 * hash) + SHOW_HIDDEN_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getShowHidden()); + hash = (37 * hash) + INCLUDE_SCHEMA_TYPE_PATH_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeSchemaTypePath()); + hash = (37 * hash) + FAST_EVAL_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFastEval()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - * Use {@link #getExamplesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getExamples() { - return getExamplesMap(); - } - - /** - *
-         * Map of examples with example name as key.
-         * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - @java.lang.Override - public java.util.Map getExamplesMap() { - return internalGetExamples().getMap(); - } + public static com.kcl.api.Spec.CliConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.CliConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.CliConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.CliConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.CliConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.CliConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.CliConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.CliConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-         * Map of examples with example name as key.
-         * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.Example getExamplesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.Example defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetExamples().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } + public static com.kcl.api.Spec.CliConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-         * Map of examples with example name as key.
-         * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - @java.lang.Override - public com.kcl.api.Spec.Example getExamplesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetExamples().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } + public static com.kcl.api.Spec.CliConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.CliConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.CliConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static final int BASE_SCHEMA_FIELD_NUMBER = 16; - private com.kcl.api.Spec.KclType baseSchema_; + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.CliConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-         * Base schema if applicable.
-         * 
- * - * .com.kcl.api.KclType base_schema = 16; - * - * @return Whether the baseSchema field is set. - */ - @java.lang.Override - public boolean hasBaseSchema() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - *
-         * Base schema if applicable.
-         * 
- * - * .com.kcl.api.KclType base_schema = 16; - * - * @return The baseSchema. - */ - @java.lang.Override - public com.kcl.api.Spec.KclType getBaseSchema() { - return baseSchema_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : baseSchema_; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message representing KCL CLI configuration.
+     * 
+ * + * Protobuf type {@code com.kcl.api.CliConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.CliConfig) + com.kcl.api.Spec.CliConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_CliConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_CliConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.CliConfig.class, com.kcl.api.Spec.CliConfig.Builder.class); + } + + // Construct using com.kcl.api.Spec.CliConfig.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + output_ = ""; + overrides_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + pathSelector_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + strictRangeCheck_ = false; + disableNone_ = false; + verbose_ = 0L; + debug_ = false; + sortKeys_ = false; + showHidden_ = false; + includeSchemaTypePath_ = false; + fastEval_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_CliConfig_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.CliConfig getDefaultInstanceForType() { + return com.kcl.api.Spec.CliConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.CliConfig build() { + com.kcl.api.Spec.CliConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.CliConfig buildPartial() { + com.kcl.api.Spec.CliConfig result = new com.kcl.api.Spec.CliConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.CliConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + files_.makeImmutable(); + result.files_ = files_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.output_ = output_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + overrides_.makeImmutable(); + result.overrides_ = overrides_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + pathSelector_.makeImmutable(); + result.pathSelector_ = pathSelector_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.strictRangeCheck_ = strictRangeCheck_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.disableNone_ = disableNone_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.verbose_ = verbose_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.debug_ = debug_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.sortKeys_ = sortKeys_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.showHidden_ = showHidden_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.includeSchemaTypePath_ = includeSchemaTypePath_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.fastEval_ = fastEval_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.CliConfig) { + return mergeFrom((com.kcl.api.Spec.CliConfig)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.CliConfig other) { + if (other == com.kcl.api.Spec.CliConfig.getDefaultInstance()) return this; + if (!other.files_.isEmpty()) { + if (files_.isEmpty()) { + files_ = other.files_; + bitField0_ |= 0x00000001; + } else { + ensureFilesIsMutable(); + files_.addAll(other.files_); + } + onChanged(); + } + if (!other.getOutput().isEmpty()) { + output_ = other.output_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.overrides_.isEmpty()) { + if (overrides_.isEmpty()) { + overrides_ = other.overrides_; + bitField0_ |= 0x00000004; + } else { + ensureOverridesIsMutable(); + overrides_.addAll(other.overrides_); + } + onChanged(); + } + if (!other.pathSelector_.isEmpty()) { + if (pathSelector_.isEmpty()) { + pathSelector_ = other.pathSelector_; + bitField0_ |= 0x00000008; + } else { + ensurePathSelectorIsMutable(); + pathSelector_.addAll(other.pathSelector_); + } + onChanged(); + } + if (other.getStrictRangeCheck() != false) { + setStrictRangeCheck(other.getStrictRangeCheck()); + } + if (other.getDisableNone() != false) { + setDisableNone(other.getDisableNone()); + } + if (other.getVerbose() != 0L) { + setVerbose(other.getVerbose()); + } + if (other.getDebug() != false) { + setDebug(other.getDebug()); + } + if (other.getSortKeys() != false) { + setSortKeys(other.getSortKeys()); + } + if (other.getShowHidden() != false) { + setShowHidden(other.getShowHidden()); + } + if (other.getIncludeSchemaTypePath() != false) { + setIncludeSchemaTypePath(other.getIncludeSchemaTypePath()); + } + if (other.getFastEval() != false) { + setFastEval(other.getFastEval()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFilesIsMutable(); + files_.add(s); + break; + } // case 10 + case 18: { + output_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureOverridesIsMutable(); + overrides_.add(s); + break; + } // case 26 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePathSelectorIsMutable(); + pathSelector_.add(s); + break; + } // case 34 + case 40: { + strictRangeCheck_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: { + disableNone_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: { + verbose_ = input.readInt64(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: { + debug_ = input.readBool(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 72: { + sortKeys_ = input.readBool(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 80: { + showHidden_ = input.readBool(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 88: { + includeSchemaTypePath_ = input.readBool(); + bitField0_ |= 0x00000400; + break; + } // case 88 + case 96: { + fastEval_ = input.readBool(); + bitField0_ |= 0x00000800; + break; + } // case 96 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFilesIsMutable() { + if (!files_.isModifiable()) { + files_ = new com.google.protobuf.LazyStringArrayList(files_); + } + bitField0_ |= 0x00000001; + } + /** + *
+       * List of files.
+       * 
+ * + * repeated string files = 1; + * @return A list containing the files. + */ + public com.google.protobuf.ProtocolStringList + getFilesList() { + files_.makeImmutable(); + return files_; + } + /** + *
+       * List of files.
+       * 
+ * + * repeated string files = 1; + * @return The count of files. + */ + public int getFilesCount() { + return files_.size(); + } + /** + *
+       * List of files.
+       * 
+ * + * repeated string files = 1; + * @param index The index of the element to return. + * @return The files at the given index. + */ + public java.lang.String getFiles(int index) { + return files_.get(index); + } + /** + *
+       * List of files.
+       * 
+ * + * repeated string files = 1; + * @param index The index of the value to return. + * @return The bytes of the files at the given index. + */ + public com.google.protobuf.ByteString + getFilesBytes(int index) { + return files_.getByteString(index); + } + /** + *
+       * List of files.
+       * 
+ * + * repeated string files = 1; + * @param index The index to set the value at. + * @param value The files to set. + * @return This builder for chaining. + */ + public Builder setFiles( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureFilesIsMutable(); + files_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * List of files.
+       * 
+ * + * repeated string files = 1; + * @param value The files to add. + * @return This builder for chaining. + */ + public Builder addFiles( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureFilesIsMutable(); + files_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * List of files.
+       * 
+ * + * repeated string files = 1; + * @param values The files to add. + * @return This builder for chaining. + */ + public Builder addAllFiles( + java.lang.Iterable values) { + ensureFilesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, files_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * List of files.
+       * 
+ * + * repeated string files = 1; + * @return This builder for chaining. + */ + public Builder clearFiles() { + files_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; + onChanged(); + return this; + } + /** + *
+       * List of files.
+       * 
+ * + * repeated string files = 1; + * @param value The bytes of the files to add. + * @return This builder for chaining. + */ + public Builder addFilesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureFilesIsMutable(); + files_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object output_ = ""; + /** + *
+       * Output path.
+       * 
+ * + * string output = 2; + * @return The output. + */ + public java.lang.String getOutput() { + java.lang.Object ref = output_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + output_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Output path.
+       * 
+ * + * string output = 2; + * @return The bytes for output. + */ + public com.google.protobuf.ByteString + getOutputBytes() { + java.lang.Object ref = output_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + output_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Output path.
+       * 
+ * + * string output = 2; + * @param value The output to set. + * @return This builder for chaining. + */ + public Builder setOutput( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + output_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Output path.
+       * 
+ * + * string output = 2; + * @return This builder for chaining. + */ + public Builder clearOutput() { + output_ = getDefaultInstance().getOutput(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Output path.
+       * 
+ * + * string output = 2; + * @param value The bytes for output to set. + * @return This builder for chaining. + */ + public Builder setOutputBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + output_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList overrides_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureOverridesIsMutable() { + if (!overrides_.isModifiable()) { + overrides_ = new com.google.protobuf.LazyStringArrayList(overrides_); + } + bitField0_ |= 0x00000004; + } + /** + *
+       * List of overrides.
+       * 
+ * + * repeated string overrides = 3; + * @return A list containing the overrides. + */ + public com.google.protobuf.ProtocolStringList + getOverridesList() { + overrides_.makeImmutable(); + return overrides_; + } + /** + *
+       * List of overrides.
+       * 
+ * + * repeated string overrides = 3; + * @return The count of overrides. + */ + public int getOverridesCount() { + return overrides_.size(); + } + /** + *
+       * List of overrides.
+       * 
+ * + * repeated string overrides = 3; + * @param index The index of the element to return. + * @return The overrides at the given index. + */ + public java.lang.String getOverrides(int index) { + return overrides_.get(index); + } + /** + *
+       * List of overrides.
+       * 
+ * + * repeated string overrides = 3; + * @param index The index of the value to return. + * @return The bytes of the overrides at the given index. + */ + public com.google.protobuf.ByteString + getOverridesBytes(int index) { + return overrides_.getByteString(index); + } + /** + *
+       * List of overrides.
+       * 
+ * + * repeated string overrides = 3; + * @param index The index to set the value at. + * @param value The overrides to set. + * @return This builder for chaining. + */ + public Builder setOverrides( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureOverridesIsMutable(); + overrides_.set(index, value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * List of overrides.
+       * 
+ * + * repeated string overrides = 3; + * @param value The overrides to add. + * @return This builder for chaining. + */ + public Builder addOverrides( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureOverridesIsMutable(); + overrides_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * List of overrides.
+       * 
+ * + * repeated string overrides = 3; + * @param values The overrides to add. + * @return This builder for chaining. + */ + public Builder addAllOverrides( + java.lang.Iterable values) { + ensureOverridesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, overrides_); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * List of overrides.
+       * 
+ * + * repeated string overrides = 3; + * @return This builder for chaining. + */ + public Builder clearOverrides() { + overrides_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; + onChanged(); + return this; + } + /** + *
+       * List of overrides.
+       * 
+ * + * repeated string overrides = 3; + * @param value The bytes of the overrides to add. + * @return This builder for chaining. + */ + public Builder addOverridesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureOverridesIsMutable(); + overrides_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList pathSelector_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePathSelectorIsMutable() { + if (!pathSelector_.isModifiable()) { + pathSelector_ = new com.google.protobuf.LazyStringArrayList(pathSelector_); + } + bitField0_ |= 0x00000008; + } + /** + *
+       * Path selectors.
+       * 
+ * + * repeated string path_selector = 4; + * @return A list containing the pathSelector. + */ + public com.google.protobuf.ProtocolStringList + getPathSelectorList() { + pathSelector_.makeImmutable(); + return pathSelector_; + } + /** + *
+       * Path selectors.
+       * 
+ * + * repeated string path_selector = 4; + * @return The count of pathSelector. + */ + public int getPathSelectorCount() { + return pathSelector_.size(); + } + /** + *
+       * Path selectors.
+       * 
+ * + * repeated string path_selector = 4; + * @param index The index of the element to return. + * @return The pathSelector at the given index. + */ + public java.lang.String getPathSelector(int index) { + return pathSelector_.get(index); + } + /** + *
+       * Path selectors.
+       * 
+ * + * repeated string path_selector = 4; + * @param index The index of the value to return. + * @return The bytes of the pathSelector at the given index. + */ + public com.google.protobuf.ByteString + getPathSelectorBytes(int index) { + return pathSelector_.getByteString(index); + } + /** + *
+       * Path selectors.
+       * 
+ * + * repeated string path_selector = 4; + * @param index The index to set the value at. + * @param value The pathSelector to set. + * @return This builder for chaining. + */ + public Builder setPathSelector( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathSelectorIsMutable(); + pathSelector_.set(index, value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Path selectors.
+       * 
+ * + * repeated string path_selector = 4; + * @param value The pathSelector to add. + * @return This builder for chaining. + */ + public Builder addPathSelector( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePathSelectorIsMutable(); + pathSelector_.add(value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Path selectors.
+       * 
+ * + * repeated string path_selector = 4; + * @param values The pathSelector to add. + * @return This builder for chaining. + */ + public Builder addAllPathSelector( + java.lang.Iterable values) { + ensurePathSelectorIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, pathSelector_); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Path selectors.
+       * 
+ * + * repeated string path_selector = 4; + * @return This builder for chaining. + */ + public Builder clearPathSelector() { + pathSelector_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008);; + onChanged(); + return this; + } + /** + *
+       * Path selectors.
+       * 
+ * + * repeated string path_selector = 4; + * @param value The bytes of the pathSelector to add. + * @return This builder for chaining. + */ + public Builder addPathSelectorBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensurePathSelectorIsMutable(); + pathSelector_.add(value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private boolean strictRangeCheck_ ; + /** + *
+       * Flag for strict range check.
+       * 
+ * + * bool strict_range_check = 5; + * @return The strictRangeCheck. + */ + @java.lang.Override + public boolean getStrictRangeCheck() { + return strictRangeCheck_; + } + /** + *
+       * Flag for strict range check.
+       * 
+ * + * bool strict_range_check = 5; + * @param value The strictRangeCheck to set. + * @return This builder for chaining. + */ + public Builder setStrictRangeCheck(boolean value) { + + strictRangeCheck_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+       * Flag for strict range check.
+       * 
+ * + * bool strict_range_check = 5; + * @return This builder for chaining. + */ + public Builder clearStrictRangeCheck() { + bitField0_ = (bitField0_ & ~0x00000010); + strictRangeCheck_ = false; + onChanged(); + return this; + } + + private boolean disableNone_ ; + /** + *
+       * Flag to disable none values.
+       * 
+ * + * bool disable_none = 6; + * @return The disableNone. + */ + @java.lang.Override + public boolean getDisableNone() { + return disableNone_; + } + /** + *
+       * Flag to disable none values.
+       * 
+ * + * bool disable_none = 6; + * @param value The disableNone to set. + * @return This builder for chaining. + */ + public Builder setDisableNone(boolean value) { + + disableNone_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+       * Flag to disable none values.
+       * 
+ * + * bool disable_none = 6; + * @return This builder for chaining. + */ + public Builder clearDisableNone() { + bitField0_ = (bitField0_ & ~0x00000020); + disableNone_ = false; + onChanged(); + return this; + } + + private long verbose_ ; + /** + *
+       * Verbose level.
+       * 
+ * + * int64 verbose = 7; + * @return The verbose. + */ + @java.lang.Override + public long getVerbose() { + return verbose_; + } + /** + *
+       * Verbose level.
+       * 
+ * + * int64 verbose = 7; + * @param value The verbose to set. + * @return This builder for chaining. + */ + public Builder setVerbose(long value) { + + verbose_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+       * Verbose level.
+       * 
+ * + * int64 verbose = 7; + * @return This builder for chaining. + */ + public Builder clearVerbose() { + bitField0_ = (bitField0_ & ~0x00000040); + verbose_ = 0L; + onChanged(); + return this; + } + + private boolean debug_ ; + /** + *
+       * Debug flag.
+       * 
+ * + * bool debug = 8; + * @return The debug. + */ + @java.lang.Override + public boolean getDebug() { + return debug_; + } + /** + *
+       * Debug flag.
+       * 
+ * + * bool debug = 8; + * @param value The debug to set. + * @return This builder for chaining. + */ + public Builder setDebug(boolean value) { + + debug_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+       * Debug flag.
+       * 
+ * + * bool debug = 8; + * @return This builder for chaining. + */ + public Builder clearDebug() { + bitField0_ = (bitField0_ & ~0x00000080); + debug_ = false; + onChanged(); + return this; + } + + private boolean sortKeys_ ; + /** + *
+       * Flag to sort keys in YAML/JSON results.
+       * 
+ * + * bool sort_keys = 9; + * @return The sortKeys. + */ + @java.lang.Override + public boolean getSortKeys() { + return sortKeys_; + } + /** + *
+       * Flag to sort keys in YAML/JSON results.
+       * 
+ * + * bool sort_keys = 9; + * @param value The sortKeys to set. + * @return This builder for chaining. + */ + public Builder setSortKeys(boolean value) { + + sortKeys_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + *
+       * Flag to sort keys in YAML/JSON results.
+       * 
+ * + * bool sort_keys = 9; + * @return This builder for chaining. + */ + public Builder clearSortKeys() { + bitField0_ = (bitField0_ & ~0x00000100); + sortKeys_ = false; + onChanged(); + return this; + } + + private boolean showHidden_ ; + /** + *
+       * Flag to show hidden attributes.
+       * 
+ * + * bool show_hidden = 10; + * @return The showHidden. + */ + @java.lang.Override + public boolean getShowHidden() { + return showHidden_; + } + /** + *
+       * Flag to show hidden attributes.
+       * 
+ * + * bool show_hidden = 10; + * @param value The showHidden to set. + * @return This builder for chaining. + */ + public Builder setShowHidden(boolean value) { + + showHidden_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + *
+       * Flag to show hidden attributes.
+       * 
+ * + * bool show_hidden = 10; + * @return This builder for chaining. + */ + public Builder clearShowHidden() { + bitField0_ = (bitField0_ & ~0x00000200); + showHidden_ = false; + onChanged(); + return this; + } + + private boolean includeSchemaTypePath_ ; + /** + *
+       * Flag to include schema type path in results.
+       * 
+ * + * bool include_schema_type_path = 11; + * @return The includeSchemaTypePath. + */ + @java.lang.Override + public boolean getIncludeSchemaTypePath() { + return includeSchemaTypePath_; + } + /** + *
+       * Flag to include schema type path in results.
+       * 
+ * + * bool include_schema_type_path = 11; + * @param value The includeSchemaTypePath to set. + * @return This builder for chaining. + */ + public Builder setIncludeSchemaTypePath(boolean value) { + + includeSchemaTypePath_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + *
+       * Flag to include schema type path in results.
+       * 
+ * + * bool include_schema_type_path = 11; + * @return This builder for chaining. + */ + public Builder clearIncludeSchemaTypePath() { + bitField0_ = (bitField0_ & ~0x00000400); + includeSchemaTypePath_ = false; + onChanged(); + return this; + } + + private boolean fastEval_ ; + /** + *
+       * Flag for fast evaluation.
+       * 
+ * + * bool fast_eval = 12; + * @return The fastEval. + */ + @java.lang.Override + public boolean getFastEval() { + return fastEval_; + } + /** + *
+       * Flag for fast evaluation.
+       * 
+ * + * bool fast_eval = 12; + * @param value The fastEval to set. + * @return This builder for chaining. + */ + public Builder setFastEval(boolean value) { + + fastEval_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + *
+       * Flag for fast evaluation.
+       * 
+ * + * bool fast_eval = 12; + * @return This builder for chaining. + */ + public Builder clearFastEval() { + bitField0_ = (bitField0_ & ~0x00000800); + fastEval_ = false; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.CliConfig) + } - /** - *
-         * Base schema if applicable.
-         * 
- * - * .com.kcl.api.KclType base_schema = 16; - */ - @java.lang.Override - public com.kcl.api.Spec.KclTypeOrBuilder getBaseSchemaOrBuilder() { - return baseSchema_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : baseSchema_; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.CliConfig) + private static final com.kcl.api.Spec.CliConfig DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.CliConfig(); + } - private byte memoizedIsInitialized = -1; + public static com.kcl.api.Spec.CliConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CliConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - memoizedIsInitialized = 1; - return true; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, type_); - } - for (int i = 0; i < unionTypes_.size(); i++) { - output.writeMessage(2, unionTypes_.get(i)); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(default_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, default_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(schemaName_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 4, schemaName_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(schemaDoc_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 5, schemaDoc_); - } - com.google.protobuf.GeneratedMessage.serializeStringMapTo(output, internalGetProperties(), - PropertiesDefaultEntryHolder.defaultEntry, 6); - for (int i = 0; i < required_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 7, required_.getRaw(i)); - } - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(8, getKey()); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeMessage(9, getItem()); - } - if (line_ != 0) { - output.writeInt32(10, line_); - } - for (int i = 0; i < decorators_.size(); i++) { - output.writeMessage(11, decorators_.get(i)); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filename_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 12, filename_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pkgPath_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 13, pkgPath_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 14, description_); - } - com.google.protobuf.GeneratedMessage.serializeStringMapTo(output, internalGetExamples(), - ExamplesDefaultEntryHolder.defaultEntry, 15); - if (((bitField0_ & 0x00000004) != 0)) { - output.writeMessage(16, getBaseSchema()); - } - getUnknownFields().writeTo(output); - } + @java.lang.Override + public com.kcl.api.Spec.CliConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, type_); - } - for (int i = 0; i < unionTypes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, unionTypes_.get(i)); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(default_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, default_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(schemaName_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(4, schemaName_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(schemaDoc_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(5, schemaDoc_); - } - for (java.util.Map.Entry entry : internalGetProperties() - .getMap().entrySet()) { - com.google.protobuf.MapEntry properties__ = PropertiesDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, properties__); - } - { - int dataSize = 0; - for (int i = 0; i < required_.size(); i++) { - dataSize += computeStringSizeNoTag(required_.getRaw(i)); - } - size += dataSize; - size += 1 * getRequiredList().size(); - } - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getKey()); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getItem()); - } - if (line_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, line_); - } - for (int i = 0; i < decorators_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, decorators_.get(i)); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filename_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(12, filename_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pkgPath_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(13, pkgPath_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(14, description_); - } - for (java.util.Map.Entry entry : internalGetExamples().getMap() - .entrySet()) { - com.google.protobuf.MapEntry examples__ = ExamplesDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, examples__); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getBaseSchema()); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.KclType)) { - return super.equals(obj); - } - com.kcl.api.Spec.KclType other = (com.kcl.api.Spec.KclType) obj; - - if (!getType().equals(other.getType())) - return false; - if (!getUnionTypesList().equals(other.getUnionTypesList())) - return false; - if (!getDefault().equals(other.getDefault())) - return false; - if (!getSchemaName().equals(other.getSchemaName())) - return false; - if (!getSchemaDoc().equals(other.getSchemaDoc())) - return false; - if (!internalGetProperties().equals(other.internalGetProperties())) - return false; - if (!getRequiredList().equals(other.getRequiredList())) - return false; - if (hasKey() != other.hasKey()) - return false; - if (hasKey()) { - if (!getKey().equals(other.getKey())) - return false; - } - if (hasItem() != other.hasItem()) - return false; - if (hasItem()) { - if (!getItem().equals(other.getItem())) - return false; - } - if (getLine() != other.getLine()) - return false; - if (!getDecoratorsList().equals(other.getDecoratorsList())) - return false; - if (!getFilename().equals(other.getFilename())) - return false; - if (!getPkgPath().equals(other.getPkgPath())) - return false; - if (!getDescription().equals(other.getDescription())) - return false; - if (!internalGetExamples().equals(other.internalGetExamples())) - return false; - if (hasBaseSchema() != other.hasBaseSchema()) - return false; - if (hasBaseSchema()) { - if (!getBaseSchema().equals(other.getBaseSchema())) - return false; - } - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + public interface KeyValuePairOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.KeyValuePair) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + getType().hashCode(); - if (getUnionTypesCount() > 0) { - hash = (37 * hash) + UNION_TYPES_FIELD_NUMBER; - hash = (53 * hash) + getUnionTypesList().hashCode(); - } - hash = (37 * hash) + DEFAULT_FIELD_NUMBER; - hash = (53 * hash) + getDefault().hashCode(); - hash = (37 * hash) + SCHEMA_NAME_FIELD_NUMBER; - hash = (53 * hash) + getSchemaName().hashCode(); - hash = (37 * hash) + SCHEMA_DOC_FIELD_NUMBER; - hash = (53 * hash) + getSchemaDoc().hashCode(); - if (!internalGetProperties().getMap().isEmpty()) { - hash = (37 * hash) + PROPERTIES_FIELD_NUMBER; - hash = (53 * hash) + internalGetProperties().hashCode(); - } - if (getRequiredCount() > 0) { - hash = (37 * hash) + REQUIRED_FIELD_NUMBER; - hash = (53 * hash) + getRequiredList().hashCode(); - } - if (hasKey()) { - hash = (37 * hash) + KEY_FIELD_NUMBER; - hash = (53 * hash) + getKey().hashCode(); - } - if (hasItem()) { - hash = (37 * hash) + ITEM_FIELD_NUMBER; - hash = (53 * hash) + getItem().hashCode(); - } - hash = (37 * hash) + LINE_FIELD_NUMBER; - hash = (53 * hash) + getLine(); - if (getDecoratorsCount() > 0) { - hash = (37 * hash) + DECORATORS_FIELD_NUMBER; - hash = (53 * hash) + getDecoratorsList().hashCode(); - } - hash = (37 * hash) + FILENAME_FIELD_NUMBER; - hash = (53 * hash) + getFilename().hashCode(); - hash = (37 * hash) + PKG_PATH_FIELD_NUMBER; - hash = (53 * hash) + getPkgPath().hashCode(); - hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getDescription().hashCode(); - if (!internalGetExamples().getMap().isEmpty()) { - hash = (37 * hash) + EXAMPLES_FIELD_NUMBER; - hash = (53 * hash) + internalGetExamples().hashCode(); - } - if (hasBaseSchema()) { - hash = (37 * hash) + BASE_SCHEMA_FIELD_NUMBER; - hash = (53 * hash) + getBaseSchema().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + /** + *
+     * Key of the pair.
+     * 
+ * + * string key = 1; + * @return The key. + */ + java.lang.String getKey(); + /** + *
+     * Key of the pair.
+     * 
+ * + * string key = 1; + * @return The bytes for key. + */ + com.google.protobuf.ByteString + getKeyBytes(); - public static com.kcl.api.Spec.KclType parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + /** + *
+     * Value of the pair.
+     * 
+ * + * string value = 2; + * @return The value. + */ + java.lang.String getValue(); + /** + *
+     * Value of the pair.
+     * 
+ * + * string value = 2; + * @return The bytes for value. + */ + com.google.protobuf.ByteString + getValueBytes(); + } + /** + *
+   * Message representing a key-value pair.
+   * 
+ * + * Protobuf type {@code com.kcl.api.KeyValuePair} + */ + public static final class KeyValuePair extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.KeyValuePair) + KeyValuePairOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "KeyValuePair"); + } + // Use KeyValuePair.newBuilder() to construct. + private KeyValuePair(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private KeyValuePair() { + key_ = ""; + value_ = ""; + } - public static com.kcl.api.Spec.KclType parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_KeyValuePair_descriptor; + } - public static com.kcl.api.Spec.KclType parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_KeyValuePair_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.KeyValuePair.class, com.kcl.api.Spec.KeyValuePair.Builder.class); + } - public static com.kcl.api.Spec.KclType parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + public static final int KEY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object key_ = ""; + /** + *
+     * Key of the pair.
+     * 
+ * + * string key = 1; + * @return The key. + */ + @java.lang.Override + public java.lang.String getKey() { + java.lang.Object ref = key_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + key_ = s; + return s; + } + } + /** + *
+     * Key of the pair.
+     * 
+ * + * string key = 1; + * @return The bytes for key. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getKeyBytes() { + java.lang.Object ref = key_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + key_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static com.kcl.api.Spec.KclType parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static final int VALUE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object value_ = ""; + /** + *
+     * Value of the pair.
+     * 
+ * + * string value = 2; + * @return The value. + */ + @java.lang.Override + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } + } + /** + *
+     * Value of the pair.
+     * 
+ * + * string value = 2; + * @return The bytes for value. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static com.kcl.api.Spec.KclType parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static com.kcl.api.Spec.KclType parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + memoizedIsInitialized = 1; + return true; + } - public static com.kcl.api.Spec.KclType parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(key_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, key_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, value_); + } + getUnknownFields().writeTo(output); + } - public static com.kcl.api.Spec.KclType parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(key_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, key_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, value_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static com.kcl.api.Spec.KclType parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.KeyValuePair)) { + return super.equals(obj); + } + com.kcl.api.Spec.KeyValuePair other = (com.kcl.api.Spec.KeyValuePair) obj; + + if (!getKey() + .equals(other.getKey())) return false; + if (!getValue() + .equals(other.getValue())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static com.kcl.api.Spec.KclType parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + KEY_FIELD_NUMBER; + hash = (53 * hash) + getKey().hashCode(); + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public static com.kcl.api.Spec.KclType parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + public static com.kcl.api.Spec.KeyValuePair parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.KeyValuePair parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.KeyValuePair parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.KeyValuePair parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.KeyValuePair parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.KeyValuePair parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.KeyValuePair parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.KeyValuePair parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + public static com.kcl.api.Spec.KeyValuePair parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + public static com.kcl.api.Spec.KeyValuePair parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.KeyValuePair parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.KeyValuePair parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static Builder newBuilder(com.kcl.api.Spec.KclType prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.KeyValuePair prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message representing a key-value pair.
+     * 
+ * + * Protobuf type {@code com.kcl.api.KeyValuePair} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.KeyValuePair) + com.kcl.api.Spec.KeyValuePairOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_KeyValuePair_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_KeyValuePair_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.KeyValuePair.class, com.kcl.api.Spec.KeyValuePair.Builder.class); + } + + // Construct using com.kcl.api.Spec.KeyValuePair.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + key_ = ""; + value_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_KeyValuePair_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.KeyValuePair getDefaultInstanceForType() { + return com.kcl.api.Spec.KeyValuePair.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.KeyValuePair build() { + com.kcl.api.Spec.KeyValuePair result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.KeyValuePair buildPartial() { + com.kcl.api.Spec.KeyValuePair result = new com.kcl.api.Spec.KeyValuePair(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.KeyValuePair result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.key_ = key_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.value_ = value_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.KeyValuePair) { + return mergeFrom((com.kcl.api.Spec.KeyValuePair)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.KeyValuePair other) { + if (other == com.kcl.api.Spec.KeyValuePair.getDefaultInstance()) return this; + if (!other.getKey().isEmpty()) { + key_ = other.key_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getValue().isEmpty()) { + value_ = other.value_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + key_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + value_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object key_ = ""; + /** + *
+       * Key of the pair.
+       * 
+ * + * string key = 1; + * @return The key. + */ + public java.lang.String getKey() { + java.lang.Object ref = key_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + key_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Key of the pair.
+       * 
+ * + * string key = 1; + * @return The bytes for key. + */ + public com.google.protobuf.ByteString + getKeyBytes() { + java.lang.Object ref = key_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + key_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Key of the pair.
+       * 
+ * + * string key = 1; + * @param value The key to set. + * @return This builder for chaining. + */ + public Builder setKey( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + key_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Key of the pair.
+       * 
+ * + * string key = 1; + * @return This builder for chaining. + */ + public Builder clearKey() { + key_ = getDefaultInstance().getKey(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Key of the pair.
+       * 
+ * + * string key = 1; + * @param value The bytes for key to set. + * @return This builder for chaining. + */ + public Builder setKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + key_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object value_ = ""; + /** + *
+       * Value of the pair.
+       * 
+ * + * string value = 2; + * @return The value. + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Value of the pair.
+       * 
+ * + * string value = 2; + * @return The bytes for value. + */ + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Value of the pair.
+       * 
+ * + * string value = 2; + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + value_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Value of the pair.
+       * 
+ * + * string value = 2; + * @return This builder for chaining. + */ + public Builder clearValue() { + value_ = getDefaultInstance().getValue(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Value of the pair.
+       * 
+ * + * string value = 2; + * @param value The bytes for value to set. + * @return This builder for chaining. + */ + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + value_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.KeyValuePair) + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message representing a KCL type.
-         * 
- * - * Protobuf type {@code com.kcl.api.KclType} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.KclType) - com.kcl.api.Spec.KclTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_KclType_descriptor; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.KeyValuePair) + private static final com.kcl.api.Spec.KeyValuePair DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.KeyValuePair(); + } - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 6: - return internalGetProperties(); - case 15: - return internalGetExamples(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + public static com.kcl.api.Spec.KeyValuePair getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) { - switch (number) { - case 6: - return internalGetMutableProperties(); - case 15: - return internalGetMutableExamples(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KeyValuePair parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_KclType_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.KclType.class, - com.kcl.api.Spec.KclType.Builder.class); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - // Construct using com.kcl.api.Spec.KclType.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + @java.lang.Override + public com.kcl.api.Spec.KeyValuePair getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } + } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - getUnionTypesFieldBuilder(); - getKeyFieldBuilder(); - getItemFieldBuilder(); - getDecoratorsFieldBuilder(); - getBaseSchemaFieldBuilder(); - } - } + public interface RenameArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.RenameArgs) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - type_ = ""; - if (unionTypesBuilder_ == null) { - unionTypes_ = java.util.Collections.emptyList(); - } else { - unionTypes_ = null; - unionTypesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - default_ = ""; - schemaName_ = ""; - schemaDoc_ = ""; - internalGetMutableProperties().clear(); - required_ = com.google.protobuf.LazyStringArrayList.emptyList(); - key_ = null; - if (keyBuilder_ != null) { - keyBuilder_.dispose(); - keyBuilder_ = null; - } - item_ = null; - if (itemBuilder_ != null) { - itemBuilder_.dispose(); - itemBuilder_ = null; - } - line_ = 0; - if (decoratorsBuilder_ == null) { - decorators_ = java.util.Collections.emptyList(); - } else { - decorators_ = null; - decoratorsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000400); - filename_ = ""; - pkgPath_ = ""; - description_ = ""; - internalGetMutableExamples().clear(); - baseSchema_ = null; - if (baseSchemaBuilder_ != null) { - baseSchemaBuilder_.dispose(); - baseSchemaBuilder_ = null; - } - return this; - } + /** + *
+     * File path to the package root.
+     * 
+ * + * string package_root = 1; + * @return The packageRoot. + */ + java.lang.String getPackageRoot(); + /** + *
+     * File path to the package root.
+     * 
+ * + * string package_root = 1; + * @return The bytes for packageRoot. + */ + com.google.protobuf.ByteString + getPackageRootBytes(); - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_KclType_descriptor; - } + /** + *
+     * Path to the target symbol to be renamed.
+     * 
+ * + * string symbol_path = 2; + * @return The symbolPath. + */ + java.lang.String getSymbolPath(); + /** + *
+     * Path to the target symbol to be renamed.
+     * 
+ * + * string symbol_path = 2; + * @return The bytes for symbolPath. + */ + com.google.protobuf.ByteString + getSymbolPathBytes(); - @java.lang.Override - public com.kcl.api.Spec.KclType getDefaultInstanceForType() { - return com.kcl.api.Spec.KclType.getDefaultInstance(); - } + /** + *
+     * Paths to the source code files.
+     * 
+ * + * repeated string file_paths = 3; + * @return A list containing the filePaths. + */ + java.util.List + getFilePathsList(); + /** + *
+     * Paths to the source code files.
+     * 
+ * + * repeated string file_paths = 3; + * @return The count of filePaths. + */ + int getFilePathsCount(); + /** + *
+     * Paths to the source code files.
+     * 
+ * + * repeated string file_paths = 3; + * @param index The index of the element to return. + * @return The filePaths at the given index. + */ + java.lang.String getFilePaths(int index); + /** + *
+     * Paths to the source code files.
+     * 
+ * + * repeated string file_paths = 3; + * @param index The index of the value to return. + * @return The bytes of the filePaths at the given index. + */ + com.google.protobuf.ByteString + getFilePathsBytes(int index); - @java.lang.Override - public com.kcl.api.Spec.KclType build() { - com.kcl.api.Spec.KclType result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + /** + *
+     * New name of the symbol.
+     * 
+ * + * string new_name = 4; + * @return The newName. + */ + java.lang.String getNewName(); + /** + *
+     * New name of the symbol.
+     * 
+ * + * string new_name = 4; + * @return The bytes for newName. + */ + com.google.protobuf.ByteString + getNewNameBytes(); + } + /** + *
+   * Message for rename request arguments.
+   * 
+ * + * Protobuf type {@code com.kcl.api.RenameArgs} + */ + public static final class RenameArgs extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.RenameArgs) + RenameArgsOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "RenameArgs"); + } + // Use RenameArgs.newBuilder() to construct. + private RenameArgs(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private RenameArgs() { + packageRoot_ = ""; + symbolPath_ = ""; + filePaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + newName_ = ""; + } - @java.lang.Override - public com.kcl.api.Spec.KclType buildPartial() { - com.kcl.api.Spec.KclType result = new com.kcl.api.Spec.KclType(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameArgs_descriptor; + } - private void buildPartialRepeatedFields(com.kcl.api.Spec.KclType result) { - if (unionTypesBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - unionTypes_ = java.util.Collections.unmodifiableList(unionTypes_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.unionTypes_ = unionTypes_; - } else { - result.unionTypes_ = unionTypesBuilder_.build(); - } - if (decoratorsBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0)) { - decorators_ = java.util.Collections.unmodifiableList(decorators_); - bitField0_ = (bitField0_ & ~0x00000400); - } - result.decorators_ = decorators_; - } else { - result.decorators_ = decoratorsBuilder_.build(); - } - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.RenameArgs.class, com.kcl.api.Spec.RenameArgs.Builder.class); + } - private void buildPartial0(com.kcl.api.Spec.KclType result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.type_ = type_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.default_ = default_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.schemaName_ = schemaName_; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.schemaDoc_ = schemaDoc_; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.properties_ = internalGetProperties().build(PropertiesDefaultEntryHolder.defaultEntry); - } - if (((from_bitField0_ & 0x00000040) != 0)) { - required_.makeImmutable(); - result.required_ = required_; - } - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000080) != 0)) { - result.key_ = keyBuilder_ == null ? key_ : keyBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000100) != 0)) { - result.item_ = itemBuilder_ == null ? item_ : itemBuilder_.build(); - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000200) != 0)) { - result.line_ = line_; - } - if (((from_bitField0_ & 0x00000800) != 0)) { - result.filename_ = filename_; - } - if (((from_bitField0_ & 0x00001000) != 0)) { - result.pkgPath_ = pkgPath_; - } - if (((from_bitField0_ & 0x00002000) != 0)) { - result.description_ = description_; - } - if (((from_bitField0_ & 0x00004000) != 0)) { - result.examples_ = internalGetExamples().build(ExamplesDefaultEntryHolder.defaultEntry); - } - if (((from_bitField0_ & 0x00008000) != 0)) { - result.baseSchema_ = baseSchemaBuilder_ == null ? baseSchema_ : baseSchemaBuilder_.build(); - to_bitField0_ |= 0x00000004; - } - result.bitField0_ |= to_bitField0_; - } + public static final int PACKAGE_ROOT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object packageRoot_ = ""; + /** + *
+     * File path to the package root.
+     * 
+ * + * string package_root = 1; + * @return The packageRoot. + */ + @java.lang.Override + public java.lang.String getPackageRoot() { + java.lang.Object ref = packageRoot_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + packageRoot_ = s; + return s; + } + } + /** + *
+     * File path to the package root.
+     * 
+ * + * string package_root = 1; + * @return The bytes for packageRoot. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPackageRootBytes() { + java.lang.Object ref = packageRoot_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + packageRoot_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.KclType) { - return mergeFrom((com.kcl.api.Spec.KclType) other); - } else { - super.mergeFrom(other); - return this; - } - } + public static final int SYMBOL_PATH_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object symbolPath_ = ""; + /** + *
+     * Path to the target symbol to be renamed.
+     * 
+ * + * string symbol_path = 2; + * @return The symbolPath. + */ + @java.lang.Override + public java.lang.String getSymbolPath() { + java.lang.Object ref = symbolPath_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + symbolPath_ = s; + return s; + } + } + /** + *
+     * Path to the target symbol to be renamed.
+     * 
+ * + * string symbol_path = 2; + * @return The bytes for symbolPath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSymbolPathBytes() { + java.lang.Object ref = symbolPath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + symbolPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public Builder mergeFrom(com.kcl.api.Spec.KclType other) { - if (other == com.kcl.api.Spec.KclType.getDefaultInstance()) - return this; - if (!other.getType().isEmpty()) { - type_ = other.type_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (unionTypesBuilder_ == null) { - if (!other.unionTypes_.isEmpty()) { - if (unionTypes_.isEmpty()) { - unionTypes_ = other.unionTypes_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureUnionTypesIsMutable(); - unionTypes_.addAll(other.unionTypes_); - } - onChanged(); - } - } else { - if (!other.unionTypes_.isEmpty()) { - if (unionTypesBuilder_.isEmpty()) { - unionTypesBuilder_.dispose(); - unionTypesBuilder_ = null; - unionTypes_ = other.unionTypes_; - bitField0_ = (bitField0_ & ~0x00000002); - unionTypesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getUnionTypesFieldBuilder() : null; - } else { - unionTypesBuilder_.addAllMessages(other.unionTypes_); - } - } - } - if (!other.getDefault().isEmpty()) { - default_ = other.default_; - bitField0_ |= 0x00000004; - onChanged(); - } - if (!other.getSchemaName().isEmpty()) { - schemaName_ = other.schemaName_; - bitField0_ |= 0x00000008; - onChanged(); - } - if (!other.getSchemaDoc().isEmpty()) { - schemaDoc_ = other.schemaDoc_; - bitField0_ |= 0x00000010; - onChanged(); - } - internalGetMutableProperties().mergeFrom(other.internalGetProperties()); - bitField0_ |= 0x00000020; - if (!other.required_.isEmpty()) { - if (required_.isEmpty()) { - required_ = other.required_; - bitField0_ |= 0x00000040; - } else { - ensureRequiredIsMutable(); - required_.addAll(other.required_); - } - onChanged(); - } - if (other.hasKey()) { - mergeKey(other.getKey()); - } - if (other.hasItem()) { - mergeItem(other.getItem()); - } - if (other.getLine() != 0) { - setLine(other.getLine()); - } - if (decoratorsBuilder_ == null) { - if (!other.decorators_.isEmpty()) { - if (decorators_.isEmpty()) { - decorators_ = other.decorators_; - bitField0_ = (bitField0_ & ~0x00000400); - } else { - ensureDecoratorsIsMutable(); - decorators_.addAll(other.decorators_); - } - onChanged(); - } - } else { - if (!other.decorators_.isEmpty()) { - if (decoratorsBuilder_.isEmpty()) { - decoratorsBuilder_.dispose(); - decoratorsBuilder_ = null; - decorators_ = other.decorators_; - bitField0_ = (bitField0_ & ~0x00000400); - decoratorsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? getDecoratorsFieldBuilder() : null; - } else { - decoratorsBuilder_.addAllMessages(other.decorators_); - } - } - } - if (!other.getFilename().isEmpty()) { - filename_ = other.filename_; - bitField0_ |= 0x00000800; - onChanged(); - } - if (!other.getPkgPath().isEmpty()) { - pkgPath_ = other.pkgPath_; - bitField0_ |= 0x00001000; - onChanged(); - } - if (!other.getDescription().isEmpty()) { - description_ = other.description_; - bitField0_ |= 0x00002000; - onChanged(); - } - internalGetMutableExamples().mergeFrom(other.internalGetExamples()); - bitField0_ |= 0x00004000; - if (other.hasBaseSchema()) { - mergeBaseSchema(other.getBaseSchema()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + public static final int FILE_PATHS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList filePaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * Paths to the source code files.
+     * 
+ * + * repeated string file_paths = 3; + * @return A list containing the filePaths. + */ + public com.google.protobuf.ProtocolStringList + getFilePathsList() { + return filePaths_; + } + /** + *
+     * Paths to the source code files.
+     * 
+ * + * repeated string file_paths = 3; + * @return The count of filePaths. + */ + public int getFilePathsCount() { + return filePaths_.size(); + } + /** + *
+     * Paths to the source code files.
+     * 
+ * + * repeated string file_paths = 3; + * @param index The index of the element to return. + * @return The filePaths at the given index. + */ + public java.lang.String getFilePaths(int index) { + return filePaths_.get(index); + } + /** + *
+     * Paths to the source code files.
+     * 
+ * + * repeated string file_paths = 3; + * @param index The index of the value to return. + * @return The bytes of the filePaths at the given index. + */ + public com.google.protobuf.ByteString + getFilePathsBytes(int index) { + return filePaths_.getByteString(index); + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + public static final int NEW_NAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object newName_ = ""; + /** + *
+     * New name of the symbol.
+     * 
+ * + * string new_name = 4; + * @return The newName. + */ + @java.lang.Override + public java.lang.String getNewName() { + java.lang.Object ref = newName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + newName_ = s; + return s; + } + } + /** + *
+     * New name of the symbol.
+     * 
+ * + * string new_name = 4; + * @return The bytes for newName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNewNameBytes() { + java.lang.Object ref = newName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + newName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - type_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.kcl.api.Spec.KclType m = input.readMessage(com.kcl.api.Spec.KclType.parser(), - extensionRegistry); - if (unionTypesBuilder_ == null) { - ensureUnionTypesIsMutable(); - unionTypes_.add(m); - } else { - unionTypesBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - default_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - schemaName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - schemaDoc_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - com.google.protobuf.MapEntry properties__ = input - .readMessage(PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableProperties().ensureBuilderMap().put(properties__.getKey(), - properties__.getValue()); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - ensureRequiredIsMutable(); - required_.add(s); - break; - } // case 58 - case 66: { - input.readMessage(getKeyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 74: { - input.readMessage(getItemFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 80: { - line_ = input.readInt32(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 90: { - com.kcl.api.Spec.Decorator m = input.readMessage(com.kcl.api.Spec.Decorator.parser(), - extensionRegistry); - if (decoratorsBuilder_ == null) { - ensureDecoratorsIsMutable(); - decorators_.add(m); - } else { - decoratorsBuilder_.addMessage(m); - } - break; - } // case 90 - case 98: { - filename_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 98 - case 106: { - pkgPath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 106 - case 114: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; - break; - } // case 114 - case 122: { - com.google.protobuf.MapEntry examples__ = input - .readMessage(ExamplesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableExamples().ensureBuilderMap().put(examples__.getKey(), - examples__.getValue()); - bitField0_ |= 0x00004000; - break; - } // case 122 - case 130: { - input.readMessage(getBaseSchemaFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00008000; - break; - } // case 130 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private int bitField0_; - - private java.lang.Object type_ = ""; - - /** - *
-             * Type name (e.g., schema, dict, list, str, int, float, bool, any, union, number_multiplier).
-             * 
- * - * string type = 1; - * - * @return The type. - */ - public java.lang.String getType() { - java.lang.Object ref = type_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - type_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-             * Type name (e.g., schema, dict, list, str, int, float, bool, any, union, number_multiplier).
-             * 
- * - * string type = 1; - * - * @return The bytes for type. - */ - public com.google.protobuf.ByteString getTypeBytes() { - java.lang.Object ref = type_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - type_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(packageRoot_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, packageRoot_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(symbolPath_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, symbolPath_); + } + for (int i = 0; i < filePaths_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, filePaths_.getRaw(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(newName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, newName_); + } + getUnknownFields().writeTo(output); + } - /** - *
-             * Type name (e.g., schema, dict, list, str, int, float, bool, any, union, number_multiplier).
-             * 
- * - * string type = 1; - * - * @param value - * The type to set. - * - * @return This builder for chaining. - */ - public Builder setType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - type_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(packageRoot_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, packageRoot_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(symbolPath_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, symbolPath_); + } + { + int dataSize = 0; + for (int i = 0; i < filePaths_.size(); i++) { + dataSize += computeStringSizeNoTag(filePaths_.getRaw(i)); + } + size += dataSize; + size += 1 * getFilePathsList().size(); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(newName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, newName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-             * Type name (e.g., schema, dict, list, str, int, float, bool, any, union, number_multiplier).
-             * 
- * - * string type = 1; - * - * @return This builder for chaining. - */ - public Builder clearType() { - type_ = getDefaultInstance().getType(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.RenameArgs)) { + return super.equals(obj); + } + com.kcl.api.Spec.RenameArgs other = (com.kcl.api.Spec.RenameArgs) obj; + + if (!getPackageRoot() + .equals(other.getPackageRoot())) return false; + if (!getSymbolPath() + .equals(other.getSymbolPath())) return false; + if (!getFilePathsList() + .equals(other.getFilePathsList())) return false; + if (!getNewName() + .equals(other.getNewName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-             * Type name (e.g., schema, dict, list, str, int, float, bool, any, union, number_multiplier).
-             * 
- * - * string type = 1; - * - * @param value - * The bytes for type to set. - * - * @return This builder for chaining. - */ - public Builder setTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - type_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PACKAGE_ROOT_FIELD_NUMBER; + hash = (53 * hash) + getPackageRoot().hashCode(); + hash = (37 * hash) + SYMBOL_PATH_FIELD_NUMBER; + hash = (53 * hash) + getSymbolPath().hashCode(); + if (getFilePathsCount() > 0) { + hash = (37 * hash) + FILE_PATHS_FIELD_NUMBER; + hash = (53 * hash) + getFilePathsList().hashCode(); + } + hash = (37 * hash) + NEW_NAME_FIELD_NUMBER; + hash = (53 * hash) + getNewName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - private java.util.List unionTypes_ = java.util.Collections.emptyList(); + public static com.kcl.api.Spec.RenameArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.RenameArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.RenameArgs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.RenameArgs parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.RenameArgs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.RenameArgs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.RenameArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.RenameArgs parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - private void ensureUnionTypesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - unionTypes_ = new java.util.ArrayList(unionTypes_); - bitField0_ |= 0x00000002; - } - } + public static com.kcl.api.Spec.RenameArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - private com.google.protobuf.RepeatedFieldBuilder unionTypesBuilder_; + public static com.kcl.api.Spec.RenameArgs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.RenameArgs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.RenameArgs parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Union types if applicable.
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public java.util.List getUnionTypesList() { - if (unionTypesBuilder_ == null) { - return java.util.Collections.unmodifiableList(unionTypes_); - } else { - return unionTypesBuilder_.getMessageList(); - } - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.RenameArgs prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * Union types if applicable.
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public int getUnionTypesCount() { - if (unionTypesBuilder_ == null) { - return unionTypes_.size(); - } else { - return unionTypesBuilder_.getCount(); - } - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for rename request arguments.
+     * 
+ * + * Protobuf type {@code com.kcl.api.RenameArgs} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.RenameArgs) + com.kcl.api.Spec.RenameArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameArgs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.RenameArgs.class, com.kcl.api.Spec.RenameArgs.Builder.class); + } + + // Construct using com.kcl.api.Spec.RenameArgs.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + packageRoot_ = ""; + symbolPath_ = ""; + filePaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + newName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameArgs_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.RenameArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.RenameArgs.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.RenameArgs build() { + com.kcl.api.Spec.RenameArgs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.RenameArgs buildPartial() { + com.kcl.api.Spec.RenameArgs result = new com.kcl.api.Spec.RenameArgs(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.RenameArgs result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.packageRoot_ = packageRoot_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.symbolPath_ = symbolPath_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + filePaths_.makeImmutable(); + result.filePaths_ = filePaths_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.newName_ = newName_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.RenameArgs) { + return mergeFrom((com.kcl.api.Spec.RenameArgs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.RenameArgs other) { + if (other == com.kcl.api.Spec.RenameArgs.getDefaultInstance()) return this; + if (!other.getPackageRoot().isEmpty()) { + packageRoot_ = other.packageRoot_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSymbolPath().isEmpty()) { + symbolPath_ = other.symbolPath_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.filePaths_.isEmpty()) { + if (filePaths_.isEmpty()) { + filePaths_ = other.filePaths_; + bitField0_ |= 0x00000004; + } else { + ensureFilePathsIsMutable(); + filePaths_.addAll(other.filePaths_); + } + onChanged(); + } + if (!other.getNewName().isEmpty()) { + newName_ = other.newName_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + packageRoot_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + symbolPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFilePathsIsMutable(); + filePaths_.add(s); + break; + } // case 26 + case 34: { + newName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object packageRoot_ = ""; + /** + *
+       * File path to the package root.
+       * 
+ * + * string package_root = 1; + * @return The packageRoot. + */ + public java.lang.String getPackageRoot() { + java.lang.Object ref = packageRoot_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + packageRoot_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * File path to the package root.
+       * 
+ * + * string package_root = 1; + * @return The bytes for packageRoot. + */ + public com.google.protobuf.ByteString + getPackageRootBytes() { + java.lang.Object ref = packageRoot_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + packageRoot_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * File path to the package root.
+       * 
+ * + * string package_root = 1; + * @param value The packageRoot to set. + * @return This builder for chaining. + */ + public Builder setPackageRoot( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + packageRoot_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * File path to the package root.
+       * 
+ * + * string package_root = 1; + * @return This builder for chaining. + */ + public Builder clearPackageRoot() { + packageRoot_ = getDefaultInstance().getPackageRoot(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * File path to the package root.
+       * 
+ * + * string package_root = 1; + * @param value The bytes for packageRoot to set. + * @return This builder for chaining. + */ + public Builder setPackageRootBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + packageRoot_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object symbolPath_ = ""; + /** + *
+       * Path to the target symbol to be renamed.
+       * 
+ * + * string symbol_path = 2; + * @return The symbolPath. + */ + public java.lang.String getSymbolPath() { + java.lang.Object ref = symbolPath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + symbolPath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Path to the target symbol to be renamed.
+       * 
+ * + * string symbol_path = 2; + * @return The bytes for symbolPath. + */ + public com.google.protobuf.ByteString + getSymbolPathBytes() { + java.lang.Object ref = symbolPath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + symbolPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Path to the target symbol to be renamed.
+       * 
+ * + * string symbol_path = 2; + * @param value The symbolPath to set. + * @return This builder for chaining. + */ + public Builder setSymbolPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + symbolPath_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Path to the target symbol to be renamed.
+       * 
+ * + * string symbol_path = 2; + * @return This builder for chaining. + */ + public Builder clearSymbolPath() { + symbolPath_ = getDefaultInstance().getSymbolPath(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Path to the target symbol to be renamed.
+       * 
+ * + * string symbol_path = 2; + * @param value The bytes for symbolPath to set. + * @return This builder for chaining. + */ + public Builder setSymbolPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + symbolPath_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList filePaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFilePathsIsMutable() { + if (!filePaths_.isModifiable()) { + filePaths_ = new com.google.protobuf.LazyStringArrayList(filePaths_); + } + bitField0_ |= 0x00000004; + } + /** + *
+       * Paths to the source code files.
+       * 
+ * + * repeated string file_paths = 3; + * @return A list containing the filePaths. + */ + public com.google.protobuf.ProtocolStringList + getFilePathsList() { + filePaths_.makeImmutable(); + return filePaths_; + } + /** + *
+       * Paths to the source code files.
+       * 
+ * + * repeated string file_paths = 3; + * @return The count of filePaths. + */ + public int getFilePathsCount() { + return filePaths_.size(); + } + /** + *
+       * Paths to the source code files.
+       * 
+ * + * repeated string file_paths = 3; + * @param index The index of the element to return. + * @return The filePaths at the given index. + */ + public java.lang.String getFilePaths(int index) { + return filePaths_.get(index); + } + /** + *
+       * Paths to the source code files.
+       * 
+ * + * repeated string file_paths = 3; + * @param index The index of the value to return. + * @return The bytes of the filePaths at the given index. + */ + public com.google.protobuf.ByteString + getFilePathsBytes(int index) { + return filePaths_.getByteString(index); + } + /** + *
+       * Paths to the source code files.
+       * 
+ * + * repeated string file_paths = 3; + * @param index The index to set the value at. + * @param value The filePaths to set. + * @return This builder for chaining. + */ + public Builder setFilePaths( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureFilePathsIsMutable(); + filePaths_.set(index, value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Paths to the source code files.
+       * 
+ * + * repeated string file_paths = 3; + * @param value The filePaths to add. + * @return This builder for chaining. + */ + public Builder addFilePaths( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureFilePathsIsMutable(); + filePaths_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Paths to the source code files.
+       * 
+ * + * repeated string file_paths = 3; + * @param values The filePaths to add. + * @return This builder for chaining. + */ + public Builder addAllFilePaths( + java.lang.Iterable values) { + ensureFilePathsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, filePaths_); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Paths to the source code files.
+       * 
+ * + * repeated string file_paths = 3; + * @return This builder for chaining. + */ + public Builder clearFilePaths() { + filePaths_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; + onChanged(); + return this; + } + /** + *
+       * Paths to the source code files.
+       * 
+ * + * repeated string file_paths = 3; + * @param value The bytes of the filePaths to add. + * @return This builder for chaining. + */ + public Builder addFilePathsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureFilePathsIsMutable(); + filePaths_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object newName_ = ""; + /** + *
+       * New name of the symbol.
+       * 
+ * + * string new_name = 4; + * @return The newName. + */ + public java.lang.String getNewName() { + java.lang.Object ref = newName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + newName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * New name of the symbol.
+       * 
+ * + * string new_name = 4; + * @return The bytes for newName. + */ + public com.google.protobuf.ByteString + getNewNameBytes() { + java.lang.Object ref = newName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + newName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * New name of the symbol.
+       * 
+ * + * string new_name = 4; + * @param value The newName to set. + * @return This builder for chaining. + */ + public Builder setNewName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + newName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * New name of the symbol.
+       * 
+ * + * string new_name = 4; + * @return This builder for chaining. + */ + public Builder clearNewName() { + newName_ = getDefaultInstance().getNewName(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+       * New name of the symbol.
+       * 
+ * + * string new_name = 4; + * @param value The bytes for newName to set. + * @return This builder for chaining. + */ + public Builder setNewNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + newName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.RenameArgs) + } - /** - *
-             * Union types if applicable.
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public com.kcl.api.Spec.KclType getUnionTypes(int index) { - if (unionTypesBuilder_ == null) { - return unionTypes_.get(index); - } else { - return unionTypesBuilder_.getMessage(index); - } - } + // @@protoc_insertion_point(class_scope:com.kcl.api.RenameArgs) + private static final com.kcl.api.Spec.RenameArgs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.RenameArgs(); + } - /** - *
-             * Union types if applicable.
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public Builder setUnionTypes(int index, com.kcl.api.Spec.KclType value) { - if (unionTypesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureUnionTypesIsMutable(); - unionTypes_.set(index, value); - onChanged(); - } else { - unionTypesBuilder_.setMessage(index, value); - } - return this; - } + public static com.kcl.api.Spec.RenameArgs getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-             * Union types if applicable.
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public Builder setUnionTypes(int index, com.kcl.api.Spec.KclType.Builder builderForValue) { - if (unionTypesBuilder_ == null) { - ensureUnionTypesIsMutable(); - unionTypes_.set(index, builderForValue.build()); - onChanged(); - } else { - unionTypesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RenameArgs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - *
-             * Union types if applicable.
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public Builder addUnionTypes(com.kcl.api.Spec.KclType value) { - if (unionTypesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureUnionTypesIsMutable(); - unionTypes_.add(value); - onChanged(); - } else { - unionTypesBuilder_.addMessage(value); - } - return this; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-             * Union types if applicable.
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public Builder addUnionTypes(int index, com.kcl.api.Spec.KclType value) { - if (unionTypesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureUnionTypesIsMutable(); - unionTypes_.add(index, value); - onChanged(); - } else { - unionTypesBuilder_.addMessage(index, value); - } - return this; - } + @java.lang.Override + public com.kcl.api.Spec.RenameArgs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-             * Union types if applicable.
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public Builder addUnionTypes(com.kcl.api.Spec.KclType.Builder builderForValue) { - if (unionTypesBuilder_ == null) { - ensureUnionTypesIsMutable(); - unionTypes_.add(builderForValue.build()); - onChanged(); - } else { - unionTypesBuilder_.addMessage(builderForValue.build()); - } - return this; - } + } - /** - *
-             * Union types if applicable.
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public Builder addUnionTypes(int index, com.kcl.api.Spec.KclType.Builder builderForValue) { - if (unionTypesBuilder_ == null) { - ensureUnionTypesIsMutable(); - unionTypes_.add(index, builderForValue.build()); - onChanged(); - } else { - unionTypesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } + public interface RenameResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.RenameResult) + com.google.protobuf.MessageOrBuilder { - /** - *
-             * Union types if applicable.
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public Builder addAllUnionTypes(java.lang.Iterable values) { - if (unionTypesBuilder_ == null) { - ensureUnionTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unionTypes_); - onChanged(); - } else { - unionTypesBuilder_.addAllMessages(values); - } - return this; - } + /** + *
+     * List of file paths that got changed.
+     * 
+ * + * repeated string changed_files = 1; + * @return A list containing the changedFiles. + */ + java.util.List + getChangedFilesList(); + /** + *
+     * List of file paths that got changed.
+     * 
+ * + * repeated string changed_files = 1; + * @return The count of changedFiles. + */ + int getChangedFilesCount(); + /** + *
+     * List of file paths that got changed.
+     * 
+ * + * repeated string changed_files = 1; + * @param index The index of the element to return. + * @return The changedFiles at the given index. + */ + java.lang.String getChangedFiles(int index); + /** + *
+     * List of file paths that got changed.
+     * 
+ * + * repeated string changed_files = 1; + * @param index The index of the value to return. + * @return The bytes of the changedFiles at the given index. + */ + com.google.protobuf.ByteString + getChangedFilesBytes(int index); + } + /** + *
+   * Message for rename response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.RenameResult} + */ + public static final class RenameResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.RenameResult) + RenameResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "RenameResult"); + } + // Use RenameResult.newBuilder() to construct. + private RenameResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private RenameResult() { + changedFiles_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - /** - *
-             * Union types if applicable.
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public Builder clearUnionTypes() { - if (unionTypesBuilder_ == null) { - unionTypes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - unionTypesBuilder_.clear(); - } - return this; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameResult_descriptor; + } - /** - *
-             * Union types if applicable.
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public Builder removeUnionTypes(int index) { - if (unionTypesBuilder_ == null) { - ensureUnionTypesIsMutable(); - unionTypes_.remove(index); - onChanged(); - } else { - unionTypesBuilder_.remove(index); - } - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.RenameResult.class, com.kcl.api.Spec.RenameResult.Builder.class); + } - /** - *
-             * Union types if applicable.
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public com.kcl.api.Spec.KclType.Builder getUnionTypesBuilder(int index) { - return getUnionTypesFieldBuilder().getBuilder(index); - } + public static final int CHANGED_FILES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList changedFiles_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * List of file paths that got changed.
+     * 
+ * + * repeated string changed_files = 1; + * @return A list containing the changedFiles. + */ + public com.google.protobuf.ProtocolStringList + getChangedFilesList() { + return changedFiles_; + } + /** + *
+     * List of file paths that got changed.
+     * 
+ * + * repeated string changed_files = 1; + * @return The count of changedFiles. + */ + public int getChangedFilesCount() { + return changedFiles_.size(); + } + /** + *
+     * List of file paths that got changed.
+     * 
+ * + * repeated string changed_files = 1; + * @param index The index of the element to return. + * @return The changedFiles at the given index. + */ + public java.lang.String getChangedFiles(int index) { + return changedFiles_.get(index); + } + /** + *
+     * List of file paths that got changed.
+     * 
+ * + * repeated string changed_files = 1; + * @param index The index of the value to return. + * @return The bytes of the changedFiles at the given index. + */ + public com.google.protobuf.ByteString + getChangedFilesBytes(int index) { + return changedFiles_.getByteString(index); + } - /** - *
-             * Union types if applicable.
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public com.kcl.api.Spec.KclTypeOrBuilder getUnionTypesOrBuilder(int index) { - if (unionTypesBuilder_ == null) { - return unionTypes_.get(index); - } else { - return unionTypesBuilder_.getMessageOrBuilder(index); - } - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * Union types if applicable.
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public java.util.List getUnionTypesOrBuilderList() { - if (unionTypesBuilder_ != null) { - return unionTypesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(unionTypes_); - } - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-             * Union types if applicable.
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public com.kcl.api.Spec.KclType.Builder addUnionTypesBuilder() { - return getUnionTypesFieldBuilder().addBuilder(com.kcl.api.Spec.KclType.getDefaultInstance()); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < changedFiles_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, changedFiles_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } - /** - *
-             * Union types if applicable.
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public com.kcl.api.Spec.KclType.Builder addUnionTypesBuilder(int index) { - return getUnionTypesFieldBuilder().addBuilder(index, com.kcl.api.Spec.KclType.getDefaultInstance()); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < changedFiles_.size(); i++) { + dataSize += computeStringSizeNoTag(changedFiles_.getRaw(i)); + } + size += dataSize; + size += 1 * getChangedFilesList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-             * Union types if applicable.
-             * 
- * - * repeated .com.kcl.api.KclType union_types = 2; - */ - public java.util.List getUnionTypesBuilderList() { - return getUnionTypesFieldBuilder().getBuilderList(); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.RenameResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.RenameResult other = (com.kcl.api.Spec.RenameResult) obj; + + if (!getChangedFilesList() + .equals(other.getChangedFilesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - private com.google.protobuf.RepeatedFieldBuilder getUnionTypesFieldBuilder() { - if (unionTypesBuilder_ == null) { - unionTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - unionTypes_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); - unionTypes_ = null; - } - return unionTypesBuilder_; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getChangedFilesCount() > 0) { + hash = (37 * hash) + CHANGED_FILES_FIELD_NUMBER; + hash = (53 * hash) + getChangedFilesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - private java.lang.Object default_ = ""; - - /** - *
-             * Default value of the type.
-             * 
- * - * string default = 3; - * - * @return The default. - */ - public java.lang.String getDefault() { - java.lang.Object ref = default_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - default_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static com.kcl.api.Spec.RenameResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.RenameResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.RenameResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.RenameResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.RenameResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.RenameResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.RenameResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.RenameResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Default value of the type.
-             * 
- * - * string default = 3; - * - * @return The bytes for default. - */ - public com.google.protobuf.ByteString getDefaultBytes() { - java.lang.Object ref = default_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - default_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static com.kcl.api.Spec.RenameResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * Default value of the type.
-             * 
- * - * string default = 3; - * - * @param value - * The default to set. - * - * @return This builder for chaining. - */ - public Builder setDefault(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - default_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + public static com.kcl.api.Spec.RenameResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.RenameResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.RenameResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Default value of the type.
-             * 
- * - * string default = 3; - * - * @return This builder for chaining. - */ - public Builder clearDefault() { - default_ = getDefaultInstance().getDefault(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.RenameResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * Default value of the type.
-             * 
- * - * string default = 3; - * - * @param value - * The bytes for default to set. - * - * @return This builder for chaining. - */ - public Builder setDefaultBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - default_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for rename response.
+     * 
+ * + * Protobuf type {@code com.kcl.api.RenameResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.RenameResult) + com.kcl.api.Spec.RenameResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.RenameResult.class, com.kcl.api.Spec.RenameResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.RenameResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + changedFiles_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.RenameResult getDefaultInstanceForType() { + return com.kcl.api.Spec.RenameResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.RenameResult build() { + com.kcl.api.Spec.RenameResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.RenameResult buildPartial() { + com.kcl.api.Spec.RenameResult result = new com.kcl.api.Spec.RenameResult(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.RenameResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + changedFiles_.makeImmutable(); + result.changedFiles_ = changedFiles_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.RenameResult) { + return mergeFrom((com.kcl.api.Spec.RenameResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.RenameResult other) { + if (other == com.kcl.api.Spec.RenameResult.getDefaultInstance()) return this; + if (!other.changedFiles_.isEmpty()) { + if (changedFiles_.isEmpty()) { + changedFiles_ = other.changedFiles_; + bitField0_ |= 0x00000001; + } else { + ensureChangedFilesIsMutable(); + changedFiles_.addAll(other.changedFiles_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureChangedFilesIsMutable(); + changedFiles_.add(s); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList changedFiles_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureChangedFilesIsMutable() { + if (!changedFiles_.isModifiable()) { + changedFiles_ = new com.google.protobuf.LazyStringArrayList(changedFiles_); + } + bitField0_ |= 0x00000001; + } + /** + *
+       * List of file paths that got changed.
+       * 
+ * + * repeated string changed_files = 1; + * @return A list containing the changedFiles. + */ + public com.google.protobuf.ProtocolStringList + getChangedFilesList() { + changedFiles_.makeImmutable(); + return changedFiles_; + } + /** + *
+       * List of file paths that got changed.
+       * 
+ * + * repeated string changed_files = 1; + * @return The count of changedFiles. + */ + public int getChangedFilesCount() { + return changedFiles_.size(); + } + /** + *
+       * List of file paths that got changed.
+       * 
+ * + * repeated string changed_files = 1; + * @param index The index of the element to return. + * @return The changedFiles at the given index. + */ + public java.lang.String getChangedFiles(int index) { + return changedFiles_.get(index); + } + /** + *
+       * List of file paths that got changed.
+       * 
+ * + * repeated string changed_files = 1; + * @param index The index of the value to return. + * @return The bytes of the changedFiles at the given index. + */ + public com.google.protobuf.ByteString + getChangedFilesBytes(int index) { + return changedFiles_.getByteString(index); + } + /** + *
+       * List of file paths that got changed.
+       * 
+ * + * repeated string changed_files = 1; + * @param index The index to set the value at. + * @param value The changedFiles to set. + * @return This builder for chaining. + */ + public Builder setChangedFiles( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureChangedFilesIsMutable(); + changedFiles_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * List of file paths that got changed.
+       * 
+ * + * repeated string changed_files = 1; + * @param value The changedFiles to add. + * @return This builder for chaining. + */ + public Builder addChangedFiles( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureChangedFilesIsMutable(); + changedFiles_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * List of file paths that got changed.
+       * 
+ * + * repeated string changed_files = 1; + * @param values The changedFiles to add. + * @return This builder for chaining. + */ + public Builder addAllChangedFiles( + java.lang.Iterable values) { + ensureChangedFilesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, changedFiles_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * List of file paths that got changed.
+       * 
+ * + * repeated string changed_files = 1; + * @return This builder for chaining. + */ + public Builder clearChangedFiles() { + changedFiles_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; + onChanged(); + return this; + } + /** + *
+       * List of file paths that got changed.
+       * 
+ * + * repeated string changed_files = 1; + * @param value The bytes of the changedFiles to add. + * @return This builder for chaining. + */ + public Builder addChangedFilesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureChangedFilesIsMutable(); + changedFiles_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.RenameResult) + } - private java.lang.Object schemaName_ = ""; - - /** - *
-             * Name of the schema if applicable.
-             * 
- * - * string schema_name = 4; - * - * @return The schemaName. - */ - public java.lang.String getSchemaName() { - java.lang.Object ref = schemaName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schemaName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + // @@protoc_insertion_point(class_scope:com.kcl.api.RenameResult) + private static final com.kcl.api.Spec.RenameResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.RenameResult(); + } - /** - *
-             * Name of the schema if applicable.
-             * 
- * - * string schema_name = 4; - * - * @return The bytes for schemaName. - */ - public com.google.protobuf.ByteString getSchemaNameBytes() { - java.lang.Object ref = schemaName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - schemaName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static com.kcl.api.Spec.RenameResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-             * Name of the schema if applicable.
-             * 
- * - * string schema_name = 4; - * - * @param value - * The schemaName to set. - * - * @return This builder for chaining. - */ - public Builder setSchemaName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - schemaName_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RenameResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - *
-             * Name of the schema if applicable.
-             * 
- * - * string schema_name = 4; - * - * @return This builder for chaining. - */ - public Builder clearSchemaName() { - schemaName_ = getDefaultInstance().getSchemaName(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-             * Name of the schema if applicable.
-             * 
- * - * string schema_name = 4; - * - * @param value - * The bytes for schemaName to set. - * - * @return This builder for chaining. - */ - public Builder setSchemaNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - schemaName_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } + @java.lang.Override + public com.kcl.api.Spec.RenameResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - private java.lang.Object schemaDoc_ = ""; - - /** - *
-             * Documentation for the schema.
-             * 
- * - * string schema_doc = 5; - * - * @return The schemaDoc. - */ - public java.lang.String getSchemaDoc() { - java.lang.Object ref = schemaDoc_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schemaDoc_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + } - /** - *
-             * Documentation for the schema.
-             * 
- * - * string schema_doc = 5; - * - * @return The bytes for schemaDoc. - */ - public com.google.protobuf.ByteString getSchemaDocBytes() { - java.lang.Object ref = schemaDoc_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - schemaDoc_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public interface RenameCodeArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.RenameCodeArgs) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * File path to the package root.
+     * 
+ * + * string package_root = 1; + * @return The packageRoot. + */ + java.lang.String getPackageRoot(); + /** + *
+     * File path to the package root.
+     * 
+ * + * string package_root = 1; + * @return The bytes for packageRoot. + */ + com.google.protobuf.ByteString + getPackageRootBytes(); - /** - *
-             * Documentation for the schema.
-             * 
- * - * string schema_doc = 5; - * - * @param value - * The schemaDoc to set. - * - * @return This builder for chaining. - */ - public Builder setSchemaDoc(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - schemaDoc_ = value; - bitField0_ |= 0x00000010; - onChanged(); - return this; - } + /** + *
+     * Path to the target symbol to be renamed.
+     * 
+ * + * string symbol_path = 2; + * @return The symbolPath. + */ + java.lang.String getSymbolPath(); + /** + *
+     * Path to the target symbol to be renamed.
+     * 
+ * + * string symbol_path = 2; + * @return The bytes for symbolPath. + */ + com.google.protobuf.ByteString + getSymbolPathBytes(); - /** - *
-             * Documentation for the schema.
-             * 
- * - * string schema_doc = 5; - * - * @return This builder for chaining. - */ - public Builder clearSchemaDoc() { - schemaDoc_ = getDefaultInstance().getSchemaDoc(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - return this; - } + /** + *
+     * Map of source code with filename as key and code as value.
+     * 
+ * + * map<string, string> source_codes = 3; + */ + int getSourceCodesCount(); + /** + *
+     * Map of source code with filename as key and code as value.
+     * 
+ * + * map<string, string> source_codes = 3; + */ + boolean containsSourceCodes( + java.lang.String key); + /** + * Use {@link #getSourceCodesMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getSourceCodes(); + /** + *
+     * Map of source code with filename as key and code as value.
+     * 
+ * + * map<string, string> source_codes = 3; + */ + java.util.Map + getSourceCodesMap(); + /** + *
+     * Map of source code with filename as key and code as value.
+     * 
+ * + * map<string, string> source_codes = 3; + */ + /* nullable */ +java.lang.String getSourceCodesOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue); + /** + *
+     * Map of source code with filename as key and code as value.
+     * 
+ * + * map<string, string> source_codes = 3; + */ + java.lang.String getSourceCodesOrThrow( + java.lang.String key); - /** - *
-             * Documentation for the schema.
-             * 
- * - * string schema_doc = 5; - * - * @param value - * The bytes for schemaDoc to set. - * - * @return This builder for chaining. - */ - public Builder setSchemaDocBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - schemaDoc_ = value; - bitField0_ |= 0x00000010; - onChanged(); - return this; - } + /** + *
+     * New name of the symbol.
+     * 
+ * + * string new_name = 4; + * @return The newName. + */ + java.lang.String getNewName(); + /** + *
+     * New name of the symbol.
+     * 
+ * + * string new_name = 4; + * @return The bytes for newName. + */ + com.google.protobuf.ByteString + getNewNameBytes(); + } + /** + *
+   * Message for rename code request arguments.
+   * 
+ * + * Protobuf type {@code com.kcl.api.RenameCodeArgs} + */ + public static final class RenameCodeArgs extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.RenameCodeArgs) + RenameCodeArgsOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "RenameCodeArgs"); + } + // Use RenameCodeArgs.newBuilder() to construct. + private RenameCodeArgs(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private RenameCodeArgs() { + packageRoot_ = ""; + symbolPath_ = ""; + newName_ = ""; + } - private static final class PropertiesConverter implements - com.google.protobuf.MapFieldBuilder.Converter { - @java.lang.Override - public com.kcl.api.Spec.KclType build(com.kcl.api.Spec.KclTypeOrBuilder val) { - if (val instanceof com.kcl.api.Spec.KclType) { - return (com.kcl.api.Spec.KclType) val; - } - return ((com.kcl.api.Spec.KclType.Builder) val).build(); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeArgs_descriptor; + } - @java.lang.Override - public com.google.protobuf.MapEntry defaultEntry() { - return PropertiesDefaultEntryHolder.defaultEntry; - } - }; + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 3: + return internalGetSourceCodes(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.RenameCodeArgs.class, com.kcl.api.Spec.RenameCodeArgs.Builder.class); + } - private static final PropertiesConverter propertiesConverter = new PropertiesConverter(); + public static final int PACKAGE_ROOT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object packageRoot_ = ""; + /** + *
+     * File path to the package root.
+     * 
+ * + * string package_root = 1; + * @return The packageRoot. + */ + @java.lang.Override + public java.lang.String getPackageRoot() { + java.lang.Object ref = packageRoot_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + packageRoot_ = s; + return s; + } + } + /** + *
+     * File path to the package root.
+     * 
+ * + * string package_root = 1; + * @return The bytes for packageRoot. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPackageRootBytes() { + java.lang.Object ref = packageRoot_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + packageRoot_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - private com.google.protobuf.MapFieldBuilder properties_; + public static final int SYMBOL_PATH_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object symbolPath_ = ""; + /** + *
+     * Path to the target symbol to be renamed.
+     * 
+ * + * string symbol_path = 2; + * @return The symbolPath. + */ + @java.lang.Override + public java.lang.String getSymbolPath() { + java.lang.Object ref = symbolPath_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + symbolPath_ = s; + return s; + } + } + /** + *
+     * Path to the target symbol to be renamed.
+     * 
+ * + * string symbol_path = 2; + * @return The bytes for symbolPath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSymbolPathBytes() { + java.lang.Object ref = symbolPath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + symbolPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - private com.google.protobuf.MapFieldBuilder internalGetProperties() { - if (properties_ == null) { - return new com.google.protobuf.MapFieldBuilder<>(propertiesConverter); - } - return properties_; - } + public static final int SOURCE_CODES_FIELD_NUMBER = 3; + private static final class SourceCodesDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeArgs_SourceCodesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> sourceCodes_; + private com.google.protobuf.MapField + internalGetSourceCodes() { + if (sourceCodes_ == null) { + return com.google.protobuf.MapField.emptyMapField( + SourceCodesDefaultEntryHolder.defaultEntry); + } + return sourceCodes_; + } + public int getSourceCodesCount() { + return internalGetSourceCodes().getMap().size(); + } + /** + *
+     * Map of source code with filename as key and code as value.
+     * 
+ * + * map<string, string> source_codes = 3; + */ + @java.lang.Override + public boolean containsSourceCodes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetSourceCodes().getMap().containsKey(key); + } + /** + * Use {@link #getSourceCodesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSourceCodes() { + return getSourceCodesMap(); + } + /** + *
+     * Map of source code with filename as key and code as value.
+     * 
+ * + * map<string, string> source_codes = 3; + */ + @java.lang.Override + public java.util.Map getSourceCodesMap() { + return internalGetSourceCodes().getMap(); + } + /** + *
+     * Map of source code with filename as key and code as value.
+     * 
+ * + * map<string, string> source_codes = 3; + */ + @java.lang.Override + public /* nullable */ +java.lang.String getSourceCodesOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSourceCodes().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Map of source code with filename as key and code as value.
+     * 
+ * + * map<string, string> source_codes = 3; + */ + @java.lang.Override + public java.lang.String getSourceCodesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSourceCodes().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - private com.google.protobuf.MapFieldBuilder internalGetMutableProperties() { - if (properties_ == null) { - properties_ = new com.google.protobuf.MapFieldBuilder<>(propertiesConverter); - } - bitField0_ |= 0x00000020; - onChanged(); - return properties_; - } + public static final int NEW_NAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object newName_ = ""; + /** + *
+     * New name of the symbol.
+     * 
+ * + * string new_name = 4; + * @return The newName. + */ + @java.lang.Override + public java.lang.String getNewName() { + java.lang.Object ref = newName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + newName_ = s; + return s; + } + } + /** + *
+     * New name of the symbol.
+     * 
+ * + * string new_name = 4; + * @return The bytes for newName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNewNameBytes() { + java.lang.Object ref = newName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + newName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public int getPropertiesCount() { - return internalGetProperties().ensureBuilderMap().size(); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * Properties of the schema as a map with property name as key.
-             * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - @java.lang.Override - public boolean containsProperties(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetProperties().ensureBuilderMap().containsKey(key); - } + memoizedIsInitialized = 1; + return true; + } - /** - * Use {@link #getPropertiesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getProperties() { - return getPropertiesMap(); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(packageRoot_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, packageRoot_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(symbolPath_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, symbolPath_); + } + com.google.protobuf.GeneratedMessage + .serializeStringMapTo( + output, + internalGetSourceCodes(), + SourceCodesDefaultEntryHolder.defaultEntry, + 3); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(newName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, newName_); + } + getUnknownFields().writeTo(output); + } - /** - *
-             * Properties of the schema as a map with property name as key.
-             * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - @java.lang.Override - public java.util.Map getPropertiesMap() { - return internalGetProperties().getImmutableMap(); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(packageRoot_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, packageRoot_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(symbolPath_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, symbolPath_); + } + for (java.util.Map.Entry entry + : internalGetSourceCodes().getMap().entrySet()) { + com.google.protobuf.MapEntry + sourceCodes__ = SourceCodesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, sourceCodes__); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(newName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, newName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-             * Properties of the schema as a map with property name as key.
-             * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.KclType getPropertiesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.KclType defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableProperties() - .ensureBuilderMap(); - return map.containsKey(key) ? propertiesConverter.build(map.get(key)) : defaultValue; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.RenameCodeArgs)) { + return super.equals(obj); + } + com.kcl.api.Spec.RenameCodeArgs other = (com.kcl.api.Spec.RenameCodeArgs) obj; + + if (!getPackageRoot() + .equals(other.getPackageRoot())) return false; + if (!getSymbolPath() + .equals(other.getSymbolPath())) return false; + if (!internalGetSourceCodes().equals( + other.internalGetSourceCodes())) return false; + if (!getNewName() + .equals(other.getNewName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-             * Properties of the schema as a map with property name as key.
-             * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - @java.lang.Override - public com.kcl.api.Spec.KclType getPropertiesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableProperties() - .ensureBuilderMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return propertiesConverter.build(map.get(key)); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PACKAGE_ROOT_FIELD_NUMBER; + hash = (53 * hash) + getPackageRoot().hashCode(); + hash = (37 * hash) + SYMBOL_PATH_FIELD_NUMBER; + hash = (53 * hash) + getSymbolPath().hashCode(); + if (!internalGetSourceCodes().getMap().isEmpty()) { + hash = (37 * hash) + SOURCE_CODES_FIELD_NUMBER; + hash = (53 * hash) + internalGetSourceCodes().hashCode(); + } + hash = (37 * hash) + NEW_NAME_FIELD_NUMBER; + hash = (53 * hash) + getNewName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public Builder clearProperties() { - bitField0_ = (bitField0_ & ~0x00000020); - internalGetMutableProperties().clear(); - return this; - } + public static com.kcl.api.Spec.RenameCodeArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.RenameCodeArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.RenameCodeArgs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.RenameCodeArgs parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.RenameCodeArgs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.RenameCodeArgs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.RenameCodeArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.RenameCodeArgs parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Properties of the schema as a map with property name as key.
-             * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - public Builder removeProperties(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableProperties().ensureBuilderMap().remove(key); - return this; - } + public static com.kcl.api.Spec.RenameCodeArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableProperties() { - bitField0_ |= 0x00000020; - return internalGetMutableProperties().ensureMessageMap(); - } + public static com.kcl.api.Spec.RenameCodeArgs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.RenameCodeArgs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.RenameCodeArgs parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Properties of the schema as a map with property name as key.
-             * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - public Builder putProperties(java.lang.String key, com.kcl.api.Spec.KclType value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableProperties().ensureBuilderMap().put(key, value); - bitField0_ |= 0x00000020; - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.RenameCodeArgs prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * Properties of the schema as a map with property name as key.
-             * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - public Builder putAllProperties(java.util.Map values) { - for (java.util.Map.Entry e : values.entrySet()) { - if (e.getKey() == null || e.getValue() == null) { - throw new NullPointerException(); - } - } - internalGetMutableProperties().ensureBuilderMap().putAll(values); - bitField0_ |= 0x00000020; - return this; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for rename code request arguments.
+     * 
+ * + * Protobuf type {@code com.kcl.api.RenameCodeArgs} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.RenameCodeArgs) + com.kcl.api.Spec.RenameCodeArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeArgs_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 3: + return internalGetSourceCodes(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 3: + return internalGetMutableSourceCodes(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.RenameCodeArgs.class, com.kcl.api.Spec.RenameCodeArgs.Builder.class); + } + + // Construct using com.kcl.api.Spec.RenameCodeArgs.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + packageRoot_ = ""; + symbolPath_ = ""; + internalGetMutableSourceCodes().clear(); + newName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeArgs_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.RenameCodeArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.RenameCodeArgs.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.RenameCodeArgs build() { + com.kcl.api.Spec.RenameCodeArgs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.RenameCodeArgs buildPartial() { + com.kcl.api.Spec.RenameCodeArgs result = new com.kcl.api.Spec.RenameCodeArgs(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.RenameCodeArgs result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.packageRoot_ = packageRoot_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.symbolPath_ = symbolPath_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.sourceCodes_ = internalGetSourceCodes(); + result.sourceCodes_.makeImmutable(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.newName_ = newName_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.RenameCodeArgs) { + return mergeFrom((com.kcl.api.Spec.RenameCodeArgs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.RenameCodeArgs other) { + if (other == com.kcl.api.Spec.RenameCodeArgs.getDefaultInstance()) return this; + if (!other.getPackageRoot().isEmpty()) { + packageRoot_ = other.packageRoot_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSymbolPath().isEmpty()) { + symbolPath_ = other.symbolPath_; + bitField0_ |= 0x00000002; + onChanged(); + } + internalGetMutableSourceCodes().mergeFrom( + other.internalGetSourceCodes()); + bitField0_ |= 0x00000004; + if (!other.getNewName().isEmpty()) { + newName_ = other.newName_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + packageRoot_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + symbolPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + com.google.protobuf.MapEntry + sourceCodes__ = input.readMessage( + SourceCodesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableSourceCodes().getMutableMap().put( + sourceCodes__.getKey(), sourceCodes__.getValue()); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + newName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object packageRoot_ = ""; + /** + *
+       * File path to the package root.
+       * 
+ * + * string package_root = 1; + * @return The packageRoot. + */ + public java.lang.String getPackageRoot() { + java.lang.Object ref = packageRoot_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + packageRoot_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * File path to the package root.
+       * 
+ * + * string package_root = 1; + * @return The bytes for packageRoot. + */ + public com.google.protobuf.ByteString + getPackageRootBytes() { + java.lang.Object ref = packageRoot_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + packageRoot_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * File path to the package root.
+       * 
+ * + * string package_root = 1; + * @param value The packageRoot to set. + * @return This builder for chaining. + */ + public Builder setPackageRoot( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + packageRoot_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * File path to the package root.
+       * 
+ * + * string package_root = 1; + * @return This builder for chaining. + */ + public Builder clearPackageRoot() { + packageRoot_ = getDefaultInstance().getPackageRoot(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * File path to the package root.
+       * 
+ * + * string package_root = 1; + * @param value The bytes for packageRoot to set. + * @return This builder for chaining. + */ + public Builder setPackageRootBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + packageRoot_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object symbolPath_ = ""; + /** + *
+       * Path to the target symbol to be renamed.
+       * 
+ * + * string symbol_path = 2; + * @return The symbolPath. + */ + public java.lang.String getSymbolPath() { + java.lang.Object ref = symbolPath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + symbolPath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Path to the target symbol to be renamed.
+       * 
+ * + * string symbol_path = 2; + * @return The bytes for symbolPath. + */ + public com.google.protobuf.ByteString + getSymbolPathBytes() { + java.lang.Object ref = symbolPath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + symbolPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Path to the target symbol to be renamed.
+       * 
+ * + * string symbol_path = 2; + * @param value The symbolPath to set. + * @return This builder for chaining. + */ + public Builder setSymbolPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + symbolPath_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Path to the target symbol to be renamed.
+       * 
+ * + * string symbol_path = 2; + * @return This builder for chaining. + */ + public Builder clearSymbolPath() { + symbolPath_ = getDefaultInstance().getSymbolPath(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Path to the target symbol to be renamed.
+       * 
+ * + * string symbol_path = 2; + * @param value The bytes for symbolPath to set. + * @return This builder for chaining. + */ + public Builder setSymbolPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + symbolPath_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> sourceCodes_; + private com.google.protobuf.MapField + internalGetSourceCodes() { + if (sourceCodes_ == null) { + return com.google.protobuf.MapField.emptyMapField( + SourceCodesDefaultEntryHolder.defaultEntry); + } + return sourceCodes_; + } + private com.google.protobuf.MapField + internalGetMutableSourceCodes() { + if (sourceCodes_ == null) { + sourceCodes_ = com.google.protobuf.MapField.newMapField( + SourceCodesDefaultEntryHolder.defaultEntry); + } + if (!sourceCodes_.isMutable()) { + sourceCodes_ = sourceCodes_.copy(); + } + bitField0_ |= 0x00000004; + onChanged(); + return sourceCodes_; + } + public int getSourceCodesCount() { + return internalGetSourceCodes().getMap().size(); + } + /** + *
+       * Map of source code with filename as key and code as value.
+       * 
+ * + * map<string, string> source_codes = 3; + */ + @java.lang.Override + public boolean containsSourceCodes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetSourceCodes().getMap().containsKey(key); + } + /** + * Use {@link #getSourceCodesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSourceCodes() { + return getSourceCodesMap(); + } + /** + *
+       * Map of source code with filename as key and code as value.
+       * 
+ * + * map<string, string> source_codes = 3; + */ + @java.lang.Override + public java.util.Map getSourceCodesMap() { + return internalGetSourceCodes().getMap(); + } + /** + *
+       * Map of source code with filename as key and code as value.
+       * 
+ * + * map<string, string> source_codes = 3; + */ + @java.lang.Override + public /* nullable */ +java.lang.String getSourceCodesOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSourceCodes().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+       * Map of source code with filename as key and code as value.
+       * 
+ * + * map<string, string> source_codes = 3; + */ + @java.lang.Override + public java.lang.String getSourceCodesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSourceCodes().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearSourceCodes() { + bitField0_ = (bitField0_ & ~0x00000004); + internalGetMutableSourceCodes().getMutableMap() + .clear(); + return this; + } + /** + *
+       * Map of source code with filename as key and code as value.
+       * 
+ * + * map<string, string> source_codes = 3; + */ + public Builder removeSourceCodes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableSourceCodes().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableSourceCodes() { + bitField0_ |= 0x00000004; + return internalGetMutableSourceCodes().getMutableMap(); + } + /** + *
+       * Map of source code with filename as key and code as value.
+       * 
+ * + * map<string, string> source_codes = 3; + */ + public Builder putSourceCodes( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableSourceCodes().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000004; + return this; + } + /** + *
+       * Map of source code with filename as key and code as value.
+       * 
+ * + * map<string, string> source_codes = 3; + */ + public Builder putAllSourceCodes( + java.util.Map values) { + internalGetMutableSourceCodes().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000004; + return this; + } + + private java.lang.Object newName_ = ""; + /** + *
+       * New name of the symbol.
+       * 
+ * + * string new_name = 4; + * @return The newName. + */ + public java.lang.String getNewName() { + java.lang.Object ref = newName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + newName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * New name of the symbol.
+       * 
+ * + * string new_name = 4; + * @return The bytes for newName. + */ + public com.google.protobuf.ByteString + getNewNameBytes() { + java.lang.Object ref = newName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + newName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * New name of the symbol.
+       * 
+ * + * string new_name = 4; + * @param value The newName to set. + * @return This builder for chaining. + */ + public Builder setNewName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + newName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * New name of the symbol.
+       * 
+ * + * string new_name = 4; + * @return This builder for chaining. + */ + public Builder clearNewName() { + newName_ = getDefaultInstance().getNewName(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+       * New name of the symbol.
+       * 
+ * + * string new_name = 4; + * @param value The bytes for newName to set. + * @return This builder for chaining. + */ + public Builder setNewNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + newName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.RenameCodeArgs) + } - /** - *
-             * Properties of the schema as a map with property name as key.
-             * 
- * - * map<string, .com.kcl.api.KclType> properties = 6; - */ - public com.kcl.api.Spec.KclType.Builder putPropertiesBuilderIfAbsent(java.lang.String key) { - java.util.Map builderMap = internalGetMutableProperties() - .ensureBuilderMap(); - com.kcl.api.Spec.KclTypeOrBuilder entry = builderMap.get(key); - if (entry == null) { - entry = com.kcl.api.Spec.KclType.newBuilder(); - builderMap.put(key, entry); - } - if (entry instanceof com.kcl.api.Spec.KclType) { - entry = ((com.kcl.api.Spec.KclType) entry).toBuilder(); - builderMap.put(key, entry); - } - return (com.kcl.api.Spec.KclType.Builder) entry; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.RenameCodeArgs) + private static final com.kcl.api.Spec.RenameCodeArgs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.RenameCodeArgs(); + } - private com.google.protobuf.LazyStringArrayList required_ = com.google.protobuf.LazyStringArrayList - .emptyList(); + public static com.kcl.api.Spec.RenameCodeArgs getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private void ensureRequiredIsMutable() { - if (!required_.isModifiable()) { - required_ = new com.google.protobuf.LazyStringArrayList(required_); - } - bitField0_ |= 0x00000040; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RenameCodeArgs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - *
-             * List of required schema properties.
-             * 
- * - * repeated string required = 7; - * - * @return A list containing the required. - */ - public com.google.protobuf.ProtocolStringList getRequiredList() { - required_.makeImmutable(); - return required_; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-             * List of required schema properties.
-             * 
- * - * repeated string required = 7; - * - * @return The count of required. - */ - public int getRequiredCount() { - return required_.size(); - } + @java.lang.Override + public com.kcl.api.Spec.RenameCodeArgs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-             * List of required schema properties.
-             * 
- * - * repeated string required = 7; - * - * @param index - * The index of the element to return. - * - * @return The required at the given index. - */ - public java.lang.String getRequired(int index) { - return required_.get(index); - } + } - /** - *
-             * List of required schema properties.
-             * 
- * - * repeated string required = 7; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the required at the given index. - */ - public com.google.protobuf.ByteString getRequiredBytes(int index) { - return required_.getByteString(index); - } + public interface RenameCodeResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.RenameCodeResult) + com.google.protobuf.MessageOrBuilder { - /** - *
-             * List of required schema properties.
-             * 
- * - * repeated string required = 7; - * - * @param index - * The index to set the value at. - * @param value - * The required to set. - * - * @return This builder for chaining. - */ - public Builder setRequired(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureRequiredIsMutable(); - required_.set(index, value); - bitField0_ |= 0x00000040; - onChanged(); - return this; - } + /** + *
+     * Map of changed code with filename as key and modified code as value.
+     * 
+ * + * map<string, string> changed_codes = 1; + */ + int getChangedCodesCount(); + /** + *
+     * Map of changed code with filename as key and modified code as value.
+     * 
+ * + * map<string, string> changed_codes = 1; + */ + boolean containsChangedCodes( + java.lang.String key); + /** + * Use {@link #getChangedCodesMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getChangedCodes(); + /** + *
+     * Map of changed code with filename as key and modified code as value.
+     * 
+ * + * map<string, string> changed_codes = 1; + */ + java.util.Map + getChangedCodesMap(); + /** + *
+     * Map of changed code with filename as key and modified code as value.
+     * 
+ * + * map<string, string> changed_codes = 1; + */ + /* nullable */ +java.lang.String getChangedCodesOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue); + /** + *
+     * Map of changed code with filename as key and modified code as value.
+     * 
+ * + * map<string, string> changed_codes = 1; + */ + java.lang.String getChangedCodesOrThrow( + java.lang.String key); + } + /** + *
+   * Message for rename code response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.RenameCodeResult} + */ + public static final class RenameCodeResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.RenameCodeResult) + RenameCodeResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "RenameCodeResult"); + } + // Use RenameCodeResult.newBuilder() to construct. + private RenameCodeResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private RenameCodeResult() { + } - /** - *
-             * List of required schema properties.
-             * 
- * - * repeated string required = 7; - * - * @param value - * The required to add. - * - * @return This builder for chaining. - */ - public Builder addRequired(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureRequiredIsMutable(); - required_.add(value); - bitField0_ |= 0x00000040; - onChanged(); - return this; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeResult_descriptor; + } - /** - *
-             * List of required schema properties.
-             * 
- * - * repeated string required = 7; - * - * @param values - * The required to add. - * - * @return This builder for chaining. - */ - public Builder addAllRequired(java.lang.Iterable values) { - ensureRequiredIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, required_); - bitField0_ |= 0x00000040; - onChanged(); - return this; - } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetChangedCodes(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.RenameCodeResult.class, com.kcl.api.Spec.RenameCodeResult.Builder.class); + } - /** - *
-             * List of required schema properties.
-             * 
- * - * repeated string required = 7; - * - * @return This builder for chaining. - */ - public Builder clearRequired() { - required_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040); - ; - onChanged(); - return this; - } + public static final int CHANGED_CODES_FIELD_NUMBER = 1; + private static final class ChangedCodesDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeResult_ChangedCodesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> changedCodes_; + private com.google.protobuf.MapField + internalGetChangedCodes() { + if (changedCodes_ == null) { + return com.google.protobuf.MapField.emptyMapField( + ChangedCodesDefaultEntryHolder.defaultEntry); + } + return changedCodes_; + } + public int getChangedCodesCount() { + return internalGetChangedCodes().getMap().size(); + } + /** + *
+     * Map of changed code with filename as key and modified code as value.
+     * 
+ * + * map<string, string> changed_codes = 1; + */ + @java.lang.Override + public boolean containsChangedCodes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetChangedCodes().getMap().containsKey(key); + } + /** + * Use {@link #getChangedCodesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getChangedCodes() { + return getChangedCodesMap(); + } + /** + *
+     * Map of changed code with filename as key and modified code as value.
+     * 
+ * + * map<string, string> changed_codes = 1; + */ + @java.lang.Override + public java.util.Map getChangedCodesMap() { + return internalGetChangedCodes().getMap(); + } + /** + *
+     * Map of changed code with filename as key and modified code as value.
+     * 
+ * + * map<string, string> changed_codes = 1; + */ + @java.lang.Override + public /* nullable */ +java.lang.String getChangedCodesOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetChangedCodes().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Map of changed code with filename as key and modified code as value.
+     * 
+ * + * map<string, string> changed_codes = 1; + */ + @java.lang.Override + public java.lang.String getChangedCodesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetChangedCodes().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - /** - *
-             * List of required schema properties.
-             * 
- * - * repeated string required = 7; - * - * @param value - * The bytes of the required to add. - * - * @return This builder for chaining. - */ - public Builder addRequiredBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureRequiredIsMutable(); - required_.add(value); - bitField0_ |= 0x00000040; - onChanged(); - return this; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private com.kcl.api.Spec.KclType key_; - private com.google.protobuf.SingleFieldBuilder keyBuilder_; - - /** - *
-             * Key type if the KclType is a dictionary.
-             * 
- * - * .com.kcl.api.KclType key = 8; - * - * @return Whether the key field is set. - */ - public boolean hasKey() { - return ((bitField0_ & 0x00000080) != 0); - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-             * Key type if the KclType is a dictionary.
-             * 
- * - * .com.kcl.api.KclType key = 8; - * - * @return The key. - */ - public com.kcl.api.Spec.KclType getKey() { - if (keyBuilder_ == null) { - return key_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : key_; - } else { - return keyBuilder_.getMessage(); - } - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessage + .serializeStringMapTo( + output, + internalGetChangedCodes(), + ChangedCodesDefaultEntryHolder.defaultEntry, + 1); + getUnknownFields().writeTo(output); + } - /** - *
-             * Key type if the KclType is a dictionary.
-             * 
- * - * .com.kcl.api.KclType key = 8; - */ - public Builder setKey(com.kcl.api.Spec.KclType value) { - if (keyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - key_ = value; - } else { - keyBuilder_.setMessage(value); - } - bitField0_ |= 0x00000080; - onChanged(); - return this; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry entry + : internalGetChangedCodes().getMap().entrySet()) { + com.google.protobuf.MapEntry + changedCodes__ = ChangedCodesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, changedCodes__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-             * Key type if the KclType is a dictionary.
-             * 
- * - * .com.kcl.api.KclType key = 8; - */ - public Builder setKey(com.kcl.api.Spec.KclType.Builder builderForValue) { - if (keyBuilder_ == null) { - key_ = builderForValue.build(); - } else { - keyBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000080; - onChanged(); - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.RenameCodeResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.RenameCodeResult other = (com.kcl.api.Spec.RenameCodeResult) obj; + + if (!internalGetChangedCodes().equals( + other.internalGetChangedCodes())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-             * Key type if the KclType is a dictionary.
-             * 
- * - * .com.kcl.api.KclType key = 8; - */ - public Builder mergeKey(com.kcl.api.Spec.KclType value) { - if (keyBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && key_ != null - && key_ != com.kcl.api.Spec.KclType.getDefaultInstance()) { - getKeyBuilder().mergeFrom(value); - } else { - key_ = value; - } - } else { - keyBuilder_.mergeFrom(value); - } - if (key_ != null) { - bitField0_ |= 0x00000080; - onChanged(); - } - return this; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetChangedCodes().getMap().isEmpty()) { + hash = (37 * hash) + CHANGED_CODES_FIELD_NUMBER; + hash = (53 * hash) + internalGetChangedCodes().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-             * Key type if the KclType is a dictionary.
-             * 
- * - * .com.kcl.api.KclType key = 8; - */ - public Builder clearKey() { - bitField0_ = (bitField0_ & ~0x00000080); - key_ = null; - if (keyBuilder_ != null) { - keyBuilder_.dispose(); - keyBuilder_ = null; - } - onChanged(); - return this; - } + public static com.kcl.api.Spec.RenameCodeResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.RenameCodeResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.RenameCodeResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.RenameCodeResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.RenameCodeResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.RenameCodeResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.RenameCodeResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.RenameCodeResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Key type if the KclType is a dictionary.
-             * 
- * - * .com.kcl.api.KclType key = 8; - */ - public com.kcl.api.Spec.KclType.Builder getKeyBuilder() { - bitField0_ |= 0x00000080; - onChanged(); - return getKeyFieldBuilder().getBuilder(); - } + public static com.kcl.api.Spec.RenameCodeResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * Key type if the KclType is a dictionary.
-             * 
- * - * .com.kcl.api.KclType key = 8; - */ - public com.kcl.api.Spec.KclTypeOrBuilder getKeyOrBuilder() { - if (keyBuilder_ != null) { - return keyBuilder_.getMessageOrBuilder(); - } else { - return key_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : key_; - } - } + public static com.kcl.api.Spec.RenameCodeResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.RenameCodeResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.RenameCodeResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Key type if the KclType is a dictionary.
-             * 
- * - * .com.kcl.api.KclType key = 8; - */ - private com.google.protobuf.SingleFieldBuilder getKeyFieldBuilder() { - if (keyBuilder_ == null) { - keyBuilder_ = new com.google.protobuf.SingleFieldBuilder( - getKey(), getParentForChildren(), isClean()); - key_ = null; - } - return keyBuilder_; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.RenameCodeResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - private com.kcl.api.Spec.KclType item_; - private com.google.protobuf.SingleFieldBuilder itemBuilder_; - - /** - *
-             * Item type if the KclType is a list or dictionary.
-             * 
- * - * .com.kcl.api.KclType item = 9; - * - * @return Whether the item field is set. - */ - public boolean hasItem() { - return ((bitField0_ & 0x00000100) != 0); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for rename code response.
+     * 
+ * + * Protobuf type {@code com.kcl.api.RenameCodeResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.RenameCodeResult) + com.kcl.api.Spec.RenameCodeResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeResult_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetChangedCodes(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetMutableChangedCodes(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.RenameCodeResult.class, com.kcl.api.Spec.RenameCodeResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.RenameCodeResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + internalGetMutableChangedCodes().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.RenameCodeResult getDefaultInstanceForType() { + return com.kcl.api.Spec.RenameCodeResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.RenameCodeResult build() { + com.kcl.api.Spec.RenameCodeResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.RenameCodeResult buildPartial() { + com.kcl.api.Spec.RenameCodeResult result = new com.kcl.api.Spec.RenameCodeResult(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.RenameCodeResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.changedCodes_ = internalGetChangedCodes(); + result.changedCodes_.makeImmutable(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.RenameCodeResult) { + return mergeFrom((com.kcl.api.Spec.RenameCodeResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.RenameCodeResult other) { + if (other == com.kcl.api.Spec.RenameCodeResult.getDefaultInstance()) return this; + internalGetMutableChangedCodes().mergeFrom( + other.internalGetChangedCodes()); + bitField0_ |= 0x00000001; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.MapEntry + changedCodes__ = input.readMessage( + ChangedCodesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableChangedCodes().getMutableMap().put( + changedCodes__.getKey(), changedCodes__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> changedCodes_; + private com.google.protobuf.MapField + internalGetChangedCodes() { + if (changedCodes_ == null) { + return com.google.protobuf.MapField.emptyMapField( + ChangedCodesDefaultEntryHolder.defaultEntry); + } + return changedCodes_; + } + private com.google.protobuf.MapField + internalGetMutableChangedCodes() { + if (changedCodes_ == null) { + changedCodes_ = com.google.protobuf.MapField.newMapField( + ChangedCodesDefaultEntryHolder.defaultEntry); + } + if (!changedCodes_.isMutable()) { + changedCodes_ = changedCodes_.copy(); + } + bitField0_ |= 0x00000001; + onChanged(); + return changedCodes_; + } + public int getChangedCodesCount() { + return internalGetChangedCodes().getMap().size(); + } + /** + *
+       * Map of changed code with filename as key and modified code as value.
+       * 
+ * + * map<string, string> changed_codes = 1; + */ + @java.lang.Override + public boolean containsChangedCodes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetChangedCodes().getMap().containsKey(key); + } + /** + * Use {@link #getChangedCodesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getChangedCodes() { + return getChangedCodesMap(); + } + /** + *
+       * Map of changed code with filename as key and modified code as value.
+       * 
+ * + * map<string, string> changed_codes = 1; + */ + @java.lang.Override + public java.util.Map getChangedCodesMap() { + return internalGetChangedCodes().getMap(); + } + /** + *
+       * Map of changed code with filename as key and modified code as value.
+       * 
+ * + * map<string, string> changed_codes = 1; + */ + @java.lang.Override + public /* nullable */ +java.lang.String getChangedCodesOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetChangedCodes().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+       * Map of changed code with filename as key and modified code as value.
+       * 
+ * + * map<string, string> changed_codes = 1; + */ + @java.lang.Override + public java.lang.String getChangedCodesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetChangedCodes().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearChangedCodes() { + bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableChangedCodes().getMutableMap() + .clear(); + return this; + } + /** + *
+       * Map of changed code with filename as key and modified code as value.
+       * 
+ * + * map<string, string> changed_codes = 1; + */ + public Builder removeChangedCodes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableChangedCodes().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableChangedCodes() { + bitField0_ |= 0x00000001; + return internalGetMutableChangedCodes().getMutableMap(); + } + /** + *
+       * Map of changed code with filename as key and modified code as value.
+       * 
+ * + * map<string, string> changed_codes = 1; + */ + public Builder putChangedCodes( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableChangedCodes().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000001; + return this; + } + /** + *
+       * Map of changed code with filename as key and modified code as value.
+       * 
+ * + * map<string, string> changed_codes = 1; + */ + public Builder putAllChangedCodes( + java.util.Map values) { + internalGetMutableChangedCodes().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000001; + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.RenameCodeResult) + } - /** - *
-             * Item type if the KclType is a list or dictionary.
-             * 
- * - * .com.kcl.api.KclType item = 9; - * - * @return The item. - */ - public com.kcl.api.Spec.KclType getItem() { - if (itemBuilder_ == null) { - return item_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : item_; - } else { - return itemBuilder_.getMessage(); - } - } + // @@protoc_insertion_point(class_scope:com.kcl.api.RenameCodeResult) + private static final com.kcl.api.Spec.RenameCodeResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.RenameCodeResult(); + } - /** - *
-             * Item type if the KclType is a list or dictionary.
-             * 
- * - * .com.kcl.api.KclType item = 9; - */ - public Builder setItem(com.kcl.api.Spec.KclType value) { - if (itemBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - item_ = value; - } else { - itemBuilder_.setMessage(value); - } - bitField0_ |= 0x00000100; - onChanged(); - return this; - } + public static com.kcl.api.Spec.RenameCodeResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-             * Item type if the KclType is a list or dictionary.
-             * 
- * - * .com.kcl.api.KclType item = 9; - */ - public Builder setItem(com.kcl.api.Spec.KclType.Builder builderForValue) { - if (itemBuilder_ == null) { - item_ = builderForValue.build(); - } else { - itemBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000100; - onChanged(); - return this; - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RenameCodeResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - *
-             * Item type if the KclType is a list or dictionary.
-             * 
- * - * .com.kcl.api.KclType item = 9; - */ - public Builder mergeItem(com.kcl.api.Spec.KclType value) { - if (itemBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && item_ != null - && item_ != com.kcl.api.Spec.KclType.getDefaultInstance()) { - getItemBuilder().mergeFrom(value); - } else { - item_ = value; - } - } else { - itemBuilder_.mergeFrom(value); - } - if (item_ != null) { - bitField0_ |= 0x00000100; - onChanged(); - } - return this; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-             * Item type if the KclType is a list or dictionary.
-             * 
- * - * .com.kcl.api.KclType item = 9; - */ - public Builder clearItem() { - bitField0_ = (bitField0_ & ~0x00000100); - item_ = null; - if (itemBuilder_ != null) { - itemBuilder_.dispose(); - itemBuilder_ = null; - } - onChanged(); - return this; - } + @java.lang.Override + public com.kcl.api.Spec.RenameCodeResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-             * Item type if the KclType is a list or dictionary.
-             * 
- * - * .com.kcl.api.KclType item = 9; - */ - public com.kcl.api.Spec.KclType.Builder getItemBuilder() { - bitField0_ |= 0x00000100; - onChanged(); - return getItemFieldBuilder().getBuilder(); - } + } - /** - *
-             * Item type if the KclType is a list or dictionary.
-             * 
- * - * .com.kcl.api.KclType item = 9; - */ - public com.kcl.api.Spec.KclTypeOrBuilder getItemOrBuilder() { - if (itemBuilder_ != null) { - return itemBuilder_.getMessageOrBuilder(); - } else { - return item_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : item_; - } - } + public interface TestArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.TestArgs) + com.google.protobuf.MessageOrBuilder { - /** - *
-             * Item type if the KclType is a list or dictionary.
-             * 
- * - * .com.kcl.api.KclType item = 9; - */ - private com.google.protobuf.SingleFieldBuilder getItemFieldBuilder() { - if (itemBuilder_ == null) { - itemBuilder_ = new com.google.protobuf.SingleFieldBuilder( - getItem(), getParentForChildren(), isClean()); - item_ = null; - } - return itemBuilder_; - } + /** + *
+     * Execution program arguments.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + * @return Whether the execArgs field is set. + */ + boolean hasExecArgs(); + /** + *
+     * Execution program arguments.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + * @return The execArgs. + */ + com.kcl.api.Spec.ExecProgramArgs getExecArgs(); + /** + *
+     * Execution program arguments.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder(); - private int line_; - - /** - *
-             * Line number where the type is defined.
-             * 
- * - * int32 line = 10; - * - * @return The line. - */ - @java.lang.Override - public int getLine() { - return line_; - } + /** + *
+     * List of KCL package paths to be tested.
+     * 
+ * + * repeated string pkg_list = 2; + * @return A list containing the pkgList. + */ + java.util.List + getPkgListList(); + /** + *
+     * List of KCL package paths to be tested.
+     * 
+ * + * repeated string pkg_list = 2; + * @return The count of pkgList. + */ + int getPkgListCount(); + /** + *
+     * List of KCL package paths to be tested.
+     * 
+ * + * repeated string pkg_list = 2; + * @param index The index of the element to return. + * @return The pkgList at the given index. + */ + java.lang.String getPkgList(int index); + /** + *
+     * List of KCL package paths to be tested.
+     * 
+ * + * repeated string pkg_list = 2; + * @param index The index of the value to return. + * @return The bytes of the pkgList at the given index. + */ + com.google.protobuf.ByteString + getPkgListBytes(int index); - /** - *
-             * Line number where the type is defined.
-             * 
- * - * int32 line = 10; - * - * @param value - * The line to set. - * - * @return This builder for chaining. - */ - public Builder setLine(int value) { - - line_ = value; - bitField0_ |= 0x00000200; - onChanged(); - return this; - } + /** + *
+     * Regular expression for filtering tests to run.
+     * 
+ * + * string run_regexp = 3; + * @return The runRegexp. + */ + java.lang.String getRunRegexp(); + /** + *
+     * Regular expression for filtering tests to run.
+     * 
+ * + * string run_regexp = 3; + * @return The bytes for runRegexp. + */ + com.google.protobuf.ByteString + getRunRegexpBytes(); - /** - *
-             * Line number where the type is defined.
-             * 
- * - * int32 line = 10; - * - * @return This builder for chaining. - */ - public Builder clearLine() { - bitField0_ = (bitField0_ & ~0x00000200); - line_ = 0; - onChanged(); - return this; - } + /** + *
+     * Flag to stop the test run on the first failure.
+     * 
+ * + * bool fail_fast = 4; + * @return The failFast. + */ + boolean getFailFast(); + } + /** + *
+   * Message for test request arguments.
+   * 
+ * + * Protobuf type {@code com.kcl.api.TestArgs} + */ + public static final class TestArgs extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.TestArgs) + TestArgsOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "TestArgs"); + } + // Use TestArgs.newBuilder() to construct. + private TestArgs(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private TestArgs() { + pkgList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + runRegexp_ = ""; + } - private java.util.List decorators_ = java.util.Collections.emptyList(); + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_TestArgs_descriptor; + } - private void ensureDecoratorsIsMutable() { - if (!((bitField0_ & 0x00000400) != 0)) { - decorators_ = new java.util.ArrayList(decorators_); - bitField0_ |= 0x00000400; - } - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_TestArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.TestArgs.class, com.kcl.api.Spec.TestArgs.Builder.class); + } + + private int bitField0_; + public static final int EXEC_ARGS_FIELD_NUMBER = 1; + private com.kcl.api.Spec.ExecProgramArgs execArgs_; + /** + *
+     * Execution program arguments.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + * @return Whether the execArgs field is set. + */ + @java.lang.Override + public boolean hasExecArgs() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * Execution program arguments.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + * @return The execArgs. + */ + @java.lang.Override + public com.kcl.api.Spec.ExecProgramArgs getExecArgs() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; + } + /** + *
+     * Execution program arguments.
+     * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; + } - private com.google.protobuf.RepeatedFieldBuilder decoratorsBuilder_; + public static final int PKG_LIST_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList pkgList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * List of KCL package paths to be tested.
+     * 
+ * + * repeated string pkg_list = 2; + * @return A list containing the pkgList. + */ + public com.google.protobuf.ProtocolStringList + getPkgListList() { + return pkgList_; + } + /** + *
+     * List of KCL package paths to be tested.
+     * 
+ * + * repeated string pkg_list = 2; + * @return The count of pkgList. + */ + public int getPkgListCount() { + return pkgList_.size(); + } + /** + *
+     * List of KCL package paths to be tested.
+     * 
+ * + * repeated string pkg_list = 2; + * @param index The index of the element to return. + * @return The pkgList at the given index. + */ + public java.lang.String getPkgList(int index) { + return pkgList_.get(index); + } + /** + *
+     * List of KCL package paths to be tested.
+     * 
+ * + * repeated string pkg_list = 2; + * @param index The index of the value to return. + * @return The bytes of the pkgList at the given index. + */ + public com.google.protobuf.ByteString + getPkgListBytes(int index) { + return pkgList_.getByteString(index); + } - /** - *
-             * List of decorators for the schema.
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public java.util.List getDecoratorsList() { - if (decoratorsBuilder_ == null) { - return java.util.Collections.unmodifiableList(decorators_); - } else { - return decoratorsBuilder_.getMessageList(); - } - } + public static final int RUN_REGEXP_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object runRegexp_ = ""; + /** + *
+     * Regular expression for filtering tests to run.
+     * 
+ * + * string run_regexp = 3; + * @return The runRegexp. + */ + @java.lang.Override + public java.lang.String getRunRegexp() { + java.lang.Object ref = runRegexp_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + runRegexp_ = s; + return s; + } + } + /** + *
+     * Regular expression for filtering tests to run.
+     * 
+ * + * string run_regexp = 3; + * @return The bytes for runRegexp. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRunRegexpBytes() { + java.lang.Object ref = runRegexp_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + runRegexp_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * List of decorators for the schema.
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public int getDecoratorsCount() { - if (decoratorsBuilder_ == null) { - return decorators_.size(); - } else { - return decoratorsBuilder_.getCount(); - } - } + public static final int FAIL_FAST_FIELD_NUMBER = 4; + private boolean failFast_ = false; + /** + *
+     * Flag to stop the test run on the first failure.
+     * 
+ * + * bool fail_fast = 4; + * @return The failFast. + */ + @java.lang.Override + public boolean getFailFast() { + return failFast_; + } - /** - *
-             * List of decorators for the schema.
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public com.kcl.api.Spec.Decorator getDecorators(int index) { - if (decoratorsBuilder_ == null) { - return decorators_.get(index); - } else { - return decoratorsBuilder_.getMessage(index); - } - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * List of decorators for the schema.
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public Builder setDecorators(int index, com.kcl.api.Spec.Decorator value) { - if (decoratorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDecoratorsIsMutable(); - decorators_.set(index, value); - onChanged(); - } else { - decoratorsBuilder_.setMessage(index, value); - } - return this; - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-             * List of decorators for the schema.
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public Builder setDecorators(int index, com.kcl.api.Spec.Decorator.Builder builderForValue) { - if (decoratorsBuilder_ == null) { - ensureDecoratorsIsMutable(); - decorators_.set(index, builderForValue.build()); - onChanged(); - } else { - decoratorsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getExecArgs()); + } + for (int i = 0; i < pkgList_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, pkgList_.getRaw(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(runRegexp_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, runRegexp_); + } + if (failFast_ != false) { + output.writeBool(4, failFast_); + } + getUnknownFields().writeTo(output); + } - /** - *
-             * List of decorators for the schema.
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public Builder addDecorators(com.kcl.api.Spec.Decorator value) { - if (decoratorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDecoratorsIsMutable(); - decorators_.add(value); - onChanged(); - } else { - decoratorsBuilder_.addMessage(value); - } - return this; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExecArgs()); + } + { + int dataSize = 0; + for (int i = 0; i < pkgList_.size(); i++) { + dataSize += computeStringSizeNoTag(pkgList_.getRaw(i)); + } + size += dataSize; + size += 1 * getPkgListList().size(); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(runRegexp_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, runRegexp_); + } + if (failFast_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, failFast_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-             * List of decorators for the schema.
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public Builder addDecorators(int index, com.kcl.api.Spec.Decorator value) { - if (decoratorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDecoratorsIsMutable(); - decorators_.add(index, value); - onChanged(); - } else { - decoratorsBuilder_.addMessage(index, value); - } - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.TestArgs)) { + return super.equals(obj); + } + com.kcl.api.Spec.TestArgs other = (com.kcl.api.Spec.TestArgs) obj; + + if (hasExecArgs() != other.hasExecArgs()) return false; + if (hasExecArgs()) { + if (!getExecArgs() + .equals(other.getExecArgs())) return false; + } + if (!getPkgListList() + .equals(other.getPkgListList())) return false; + if (!getRunRegexp() + .equals(other.getRunRegexp())) return false; + if (getFailFast() + != other.getFailFast()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-             * List of decorators for the schema.
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public Builder addDecorators(com.kcl.api.Spec.Decorator.Builder builderForValue) { - if (decoratorsBuilder_ == null) { - ensureDecoratorsIsMutable(); - decorators_.add(builderForValue.build()); - onChanged(); - } else { - decoratorsBuilder_.addMessage(builderForValue.build()); - } - return this; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasExecArgs()) { + hash = (37 * hash) + EXEC_ARGS_FIELD_NUMBER; + hash = (53 * hash) + getExecArgs().hashCode(); + } + if (getPkgListCount() > 0) { + hash = (37 * hash) + PKG_LIST_FIELD_NUMBER; + hash = (53 * hash) + getPkgListList().hashCode(); + } + hash = (37 * hash) + RUN_REGEXP_FIELD_NUMBER; + hash = (53 * hash) + getRunRegexp().hashCode(); + hash = (37 * hash) + FAIL_FAST_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFailFast()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-             * List of decorators for the schema.
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public Builder addDecorators(int index, com.kcl.api.Spec.Decorator.Builder builderForValue) { - if (decoratorsBuilder_ == null) { - ensureDecoratorsIsMutable(); - decorators_.add(index, builderForValue.build()); - onChanged(); - } else { - decoratorsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } + public static com.kcl.api.Spec.TestArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.TestArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.TestArgs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.TestArgs parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.TestArgs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.TestArgs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.TestArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.TestArgs parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * List of decorators for the schema.
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public Builder addAllDecorators(java.lang.Iterable values) { - if (decoratorsBuilder_ == null) { - ensureDecoratorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, decorators_); - onChanged(); - } else { - decoratorsBuilder_.addAllMessages(values); - } - return this; - } + public static com.kcl.api.Spec.TestArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * List of decorators for the schema.
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public Builder clearDecorators() { - if (decoratorsBuilder_ == null) { - decorators_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000400); - onChanged(); - } else { - decoratorsBuilder_.clear(); - } - return this; - } + public static com.kcl.api.Spec.TestArgs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.TestArgs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.TestArgs parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * List of decorators for the schema.
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public Builder removeDecorators(int index) { - if (decoratorsBuilder_ == null) { - ensureDecoratorsIsMutable(); - decorators_.remove(index); - onChanged(); - } else { - decoratorsBuilder_.remove(index); - } - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.TestArgs prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * List of decorators for the schema.
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public com.kcl.api.Spec.Decorator.Builder getDecoratorsBuilder(int index) { - return getDecoratorsFieldBuilder().getBuilder(index); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for test request arguments.
+     * 
+ * + * Protobuf type {@code com.kcl.api.TestArgs} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.TestArgs) + com.kcl.api.Spec.TestArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_TestArgs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_TestArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.TestArgs.class, com.kcl.api.Spec.TestArgs.Builder.class); + } + + // Construct using com.kcl.api.Spec.TestArgs.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + internalGetExecArgsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + execArgs_ = null; + if (execArgsBuilder_ != null) { + execArgsBuilder_.dispose(); + execArgsBuilder_ = null; + } + pkgList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + runRegexp_ = ""; + failFast_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_TestArgs_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.TestArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.TestArgs.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.TestArgs build() { + com.kcl.api.Spec.TestArgs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.TestArgs buildPartial() { + com.kcl.api.Spec.TestArgs result = new com.kcl.api.Spec.TestArgs(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.TestArgs result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.execArgs_ = execArgsBuilder_ == null + ? execArgs_ + : execArgsBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + pkgList_.makeImmutable(); + result.pkgList_ = pkgList_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.runRegexp_ = runRegexp_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.failFast_ = failFast_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.TestArgs) { + return mergeFrom((com.kcl.api.Spec.TestArgs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.TestArgs other) { + if (other == com.kcl.api.Spec.TestArgs.getDefaultInstance()) return this; + if (other.hasExecArgs()) { + mergeExecArgs(other.getExecArgs()); + } + if (!other.pkgList_.isEmpty()) { + if (pkgList_.isEmpty()) { + pkgList_ = other.pkgList_; + bitField0_ |= 0x00000002; + } else { + ensurePkgListIsMutable(); + pkgList_.addAll(other.pkgList_); + } + onChanged(); + } + if (!other.getRunRegexp().isEmpty()) { + runRegexp_ = other.runRegexp_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.getFailFast() != false) { + setFailFast(other.getFailFast()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + internalGetExecArgsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePkgListIsMutable(); + pkgList_.add(s); + break; + } // case 18 + case 26: { + runRegexp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + failFast_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.kcl.api.Spec.ExecProgramArgs execArgs_; + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder> execArgsBuilder_; + /** + *
+       * Execution program arguments.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + * @return Whether the execArgs field is set. + */ + public boolean hasExecArgs() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+       * Execution program arguments.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + * @return The execArgs. + */ + public com.kcl.api.Spec.ExecProgramArgs getExecArgs() { + if (execArgsBuilder_ == null) { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; + } else { + return execArgsBuilder_.getMessage(); + } + } + /** + *
+       * Execution program arguments.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + public Builder setExecArgs(com.kcl.api.Spec.ExecProgramArgs value) { + if (execArgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + execArgs_ = value; + } else { + execArgsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Execution program arguments.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + public Builder setExecArgs( + com.kcl.api.Spec.ExecProgramArgs.Builder builderForValue) { + if (execArgsBuilder_ == null) { + execArgs_ = builderForValue.build(); + } else { + execArgsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Execution program arguments.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgramArgs value) { + if (execArgsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + execArgs_ != null && + execArgs_ != com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance()) { + getExecArgsBuilder().mergeFrom(value); + } else { + execArgs_ = value; + } + } else { + execArgsBuilder_.mergeFrom(value); + } + if (execArgs_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + *
+       * Execution program arguments.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + public Builder clearExecArgs() { + bitField0_ = (bitField0_ & ~0x00000001); + execArgs_ = null; + if (execArgsBuilder_ != null) { + execArgsBuilder_.dispose(); + execArgsBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * Execution program arguments.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + public com.kcl.api.Spec.ExecProgramArgs.Builder getExecArgsBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetExecArgsFieldBuilder().getBuilder(); + } + /** + *
+       * Execution program arguments.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + public com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder() { + if (execArgsBuilder_ != null) { + return execArgsBuilder_.getMessageOrBuilder(); + } else { + return execArgs_ == null ? + com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; + } + } + /** + *
+       * Execution program arguments.
+       * 
+ * + * .com.kcl.api.ExecProgramArgs exec_args = 1; + */ + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder> + internalGetExecArgsFieldBuilder() { + if (execArgsBuilder_ == null) { + execArgsBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder>( + getExecArgs(), + getParentForChildren(), + isClean()); + execArgs_ = null; + } + return execArgsBuilder_; + } + + private com.google.protobuf.LazyStringArrayList pkgList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePkgListIsMutable() { + if (!pkgList_.isModifiable()) { + pkgList_ = new com.google.protobuf.LazyStringArrayList(pkgList_); + } + bitField0_ |= 0x00000002; + } + /** + *
+       * List of KCL package paths to be tested.
+       * 
+ * + * repeated string pkg_list = 2; + * @return A list containing the pkgList. + */ + public com.google.protobuf.ProtocolStringList + getPkgListList() { + pkgList_.makeImmutable(); + return pkgList_; + } + /** + *
+       * List of KCL package paths to be tested.
+       * 
+ * + * repeated string pkg_list = 2; + * @return The count of pkgList. + */ + public int getPkgListCount() { + return pkgList_.size(); + } + /** + *
+       * List of KCL package paths to be tested.
+       * 
+ * + * repeated string pkg_list = 2; + * @param index The index of the element to return. + * @return The pkgList at the given index. + */ + public java.lang.String getPkgList(int index) { + return pkgList_.get(index); + } + /** + *
+       * List of KCL package paths to be tested.
+       * 
+ * + * repeated string pkg_list = 2; + * @param index The index of the value to return. + * @return The bytes of the pkgList at the given index. + */ + public com.google.protobuf.ByteString + getPkgListBytes(int index) { + return pkgList_.getByteString(index); + } + /** + *
+       * List of KCL package paths to be tested.
+       * 
+ * + * repeated string pkg_list = 2; + * @param index The index to set the value at. + * @param value The pkgList to set. + * @return This builder for chaining. + */ + public Builder setPkgList( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePkgListIsMutable(); + pkgList_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * List of KCL package paths to be tested.
+       * 
+ * + * repeated string pkg_list = 2; + * @param value The pkgList to add. + * @return This builder for chaining. + */ + public Builder addPkgList( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensurePkgListIsMutable(); + pkgList_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * List of KCL package paths to be tested.
+       * 
+ * + * repeated string pkg_list = 2; + * @param values The pkgList to add. + * @return This builder for chaining. + */ + public Builder addAllPkgList( + java.lang.Iterable values) { + ensurePkgListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, pkgList_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * List of KCL package paths to be tested.
+       * 
+ * + * repeated string pkg_list = 2; + * @return This builder for chaining. + */ + public Builder clearPkgList() { + pkgList_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + *
+       * List of KCL package paths to be tested.
+       * 
+ * + * repeated string pkg_list = 2; + * @param value The bytes of the pkgList to add. + * @return This builder for chaining. + */ + public Builder addPkgListBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensurePkgListIsMutable(); + pkgList_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object runRegexp_ = ""; + /** + *
+       * Regular expression for filtering tests to run.
+       * 
+ * + * string run_regexp = 3; + * @return The runRegexp. + */ + public java.lang.String getRunRegexp() { + java.lang.Object ref = runRegexp_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + runRegexp_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Regular expression for filtering tests to run.
+       * 
+ * + * string run_regexp = 3; + * @return The bytes for runRegexp. + */ + public com.google.protobuf.ByteString + getRunRegexpBytes() { + java.lang.Object ref = runRegexp_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + runRegexp_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Regular expression for filtering tests to run.
+       * 
+ * + * string run_regexp = 3; + * @param value The runRegexp to set. + * @return This builder for chaining. + */ + public Builder setRunRegexp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + runRegexp_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Regular expression for filtering tests to run.
+       * 
+ * + * string run_regexp = 3; + * @return This builder for chaining. + */ + public Builder clearRunRegexp() { + runRegexp_ = getDefaultInstance().getRunRegexp(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+       * Regular expression for filtering tests to run.
+       * 
+ * + * string run_regexp = 3; + * @param value The bytes for runRegexp to set. + * @return This builder for chaining. + */ + public Builder setRunRegexpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + runRegexp_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private boolean failFast_ ; + /** + *
+       * Flag to stop the test run on the first failure.
+       * 
+ * + * bool fail_fast = 4; + * @return The failFast. + */ + @java.lang.Override + public boolean getFailFast() { + return failFast_; + } + /** + *
+       * Flag to stop the test run on the first failure.
+       * 
+ * + * bool fail_fast = 4; + * @param value The failFast to set. + * @return This builder for chaining. + */ + public Builder setFailFast(boolean value) { + + failFast_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Flag to stop the test run on the first failure.
+       * 
+ * + * bool fail_fast = 4; + * @return This builder for chaining. + */ + public Builder clearFailFast() { + bitField0_ = (bitField0_ & ~0x00000008); + failFast_ = false; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.TestArgs) + } - /** - *
-             * List of decorators for the schema.
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public com.kcl.api.Spec.DecoratorOrBuilder getDecoratorsOrBuilder(int index) { - if (decoratorsBuilder_ == null) { - return decorators_.get(index); - } else { - return decoratorsBuilder_.getMessageOrBuilder(index); - } - } + // @@protoc_insertion_point(class_scope:com.kcl.api.TestArgs) + private static final com.kcl.api.Spec.TestArgs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.TestArgs(); + } - /** - *
-             * List of decorators for the schema.
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public java.util.List getDecoratorsOrBuilderList() { - if (decoratorsBuilder_ != null) { - return decoratorsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(decorators_); - } - } + public static com.kcl.api.Spec.TestArgs getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-             * List of decorators for the schema.
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public com.kcl.api.Spec.Decorator.Builder addDecoratorsBuilder() { - return getDecoratorsFieldBuilder().addBuilder(com.kcl.api.Spec.Decorator.getDefaultInstance()); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TestArgs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - /** - *
-             * List of decorators for the schema.
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public com.kcl.api.Spec.Decorator.Builder addDecoratorsBuilder(int index) { - return getDecoratorsFieldBuilder().addBuilder(index, com.kcl.api.Spec.Decorator.getDefaultInstance()); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-             * List of decorators for the schema.
-             * 
- * - * repeated .com.kcl.api.Decorator decorators = 11; - */ - public java.util.List getDecoratorsBuilderList() { - return getDecoratorsFieldBuilder().getBuilderList(); - } + @java.lang.Override + public com.kcl.api.Spec.TestArgs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - private com.google.protobuf.RepeatedFieldBuilder getDecoratorsFieldBuilder() { - if (decoratorsBuilder_ == null) { - decoratorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder( - decorators_, ((bitField0_ & 0x00000400) != 0), getParentForChildren(), isClean()); - decorators_ = null; - } - return decoratorsBuilder_; - } + } - private java.lang.Object filename_ = ""; - - /** - *
-             * Absolute path of the file where the attribute is located.
-             * 
- * - * string filename = 12; - * - * @return The filename. - */ - public java.lang.String getFilename() { - java.lang.Object ref = filename_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filename_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public interface TestResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.TestResult) + com.google.protobuf.MessageOrBuilder { - /** - *
-             * Absolute path of the file where the attribute is located.
-             * 
- * - * string filename = 12; - * - * @return The bytes for filename. - */ - public com.google.protobuf.ByteString getFilenameBytes() { - java.lang.Object ref = filename_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - filename_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + *
+     * List of test case information.
+     * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + java.util.List + getInfoList(); + /** + *
+     * List of test case information.
+     * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + com.kcl.api.Spec.TestCaseInfo getInfo(int index); + /** + *
+     * List of test case information.
+     * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + int getInfoCount(); + /** + *
+     * List of test case information.
+     * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + java.util.List + getInfoOrBuilderList(); + /** + *
+     * List of test case information.
+     * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + com.kcl.api.Spec.TestCaseInfoOrBuilder getInfoOrBuilder( + int index); + } + /** + *
+   * Message for test response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.TestResult} + */ + public static final class TestResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.TestResult) + TestResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "TestResult"); + } + // Use TestResult.newBuilder() to construct. + private TestResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private TestResult() { + info_ = java.util.Collections.emptyList(); + } - /** - *
-             * Absolute path of the file where the attribute is located.
-             * 
- * - * string filename = 12; - * - * @param value - * The filename to set. - * - * @return This builder for chaining. - */ - public Builder setFilename(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - filename_ = value; - bitField0_ |= 0x00000800; - onChanged(); - return this; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_TestResult_descriptor; + } - /** - *
-             * Absolute path of the file where the attribute is located.
-             * 
- * - * string filename = 12; - * - * @return This builder for chaining. - */ - public Builder clearFilename() { - filename_ = getDefaultInstance().getFilename(); - bitField0_ = (bitField0_ & ~0x00000800); - onChanged(); - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_TestResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.TestResult.class, com.kcl.api.Spec.TestResult.Builder.class); + } - /** - *
-             * Absolute path of the file where the attribute is located.
-             * 
- * - * string filename = 12; - * - * @param value - * The bytes for filename to set. - * - * @return This builder for chaining. - */ - public Builder setFilenameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - filename_ = value; - bitField0_ |= 0x00000800; - onChanged(); - return this; - } + public static final int INFO_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List info_; + /** + *
+     * List of test case information.
+     * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + @java.lang.Override + public java.util.List getInfoList() { + return info_; + } + /** + *
+     * List of test case information.
+     * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + @java.lang.Override + public java.util.List + getInfoOrBuilderList() { + return info_; + } + /** + *
+     * List of test case information.
+     * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + @java.lang.Override + public int getInfoCount() { + return info_.size(); + } + /** + *
+     * List of test case information.
+     * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.TestCaseInfo getInfo(int index) { + return info_.get(index); + } + /** + *
+     * List of test case information.
+     * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.TestCaseInfoOrBuilder getInfoOrBuilder( + int index) { + return info_.get(index); + } - private java.lang.Object pkgPath_ = ""; - - /** - *
-             * Path of the package where the attribute is located.
-             * 
- * - * string pkg_path = 13; - * - * @return The pkgPath. - */ - public java.lang.String getPkgPath() { - java.lang.Object ref = pkgPath_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pkgPath_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * Path of the package where the attribute is located.
-             * 
- * - * string pkg_path = 13; - * - * @return The bytes for pkgPath. - */ - public com.google.protobuf.ByteString getPkgPathBytes() { - java.lang.Object ref = pkgPath_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - pkgPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-             * Path of the package where the attribute is located.
-             * 
- * - * string pkg_path = 13; - * - * @param value - * The pkgPath to set. - * - * @return This builder for chaining. - */ - public Builder setPkgPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - pkgPath_ = value; - bitField0_ |= 0x00001000; - onChanged(); - return this; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < info_.size(); i++) { + output.writeMessage(2, info_.get(i)); + } + getUnknownFields().writeTo(output); + } - /** - *
-             * Path of the package where the attribute is located.
-             * 
- * - * string pkg_path = 13; - * - * @return This builder for chaining. - */ - public Builder clearPkgPath() { - pkgPath_ = getDefaultInstance().getPkgPath(); - bitField0_ = (bitField0_ & ~0x00001000); - onChanged(); - return this; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < info_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, info_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-             * Path of the package where the attribute is located.
-             * 
- * - * string pkg_path = 13; - * - * @param value - * The bytes for pkgPath to set. - * - * @return This builder for chaining. - */ - public Builder setPkgPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - pkgPath_ = value; - bitField0_ |= 0x00001000; - onChanged(); - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.TestResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.TestResult other = (com.kcl.api.Spec.TestResult) obj; + + if (!getInfoList() + .equals(other.getInfoList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - private java.lang.Object description_ = ""; - - /** - *
-             * Documentation for the attribute.
-             * 
- * - * string description = 14; - * - * @return The description. - */ - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getInfoCount() > 0) { + hash = (37 * hash) + INFO_FIELD_NUMBER; + hash = (53 * hash) + getInfoList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-             * Documentation for the attribute.
-             * 
- * - * string description = 14; - * - * @return The bytes for description. - */ - public com.google.protobuf.ByteString getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static com.kcl.api.Spec.TestResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.TestResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.TestResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.TestResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.TestResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.TestResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.TestResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.TestResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Documentation for the attribute.
-             * 
- * - * string description = 14; - * - * @param value - * The description to set. - * - * @return This builder for chaining. - */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - description_ = value; - bitField0_ |= 0x00002000; - onChanged(); - return this; - } + public static com.kcl.api.Spec.TestResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * Documentation for the attribute.
-             * 
- * - * string description = 14; - * - * @return This builder for chaining. - */ - public Builder clearDescription() { - description_ = getDefaultInstance().getDescription(); - bitField0_ = (bitField0_ & ~0x00002000); - onChanged(); - return this; - } + public static com.kcl.api.Spec.TestResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.TestResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.TestResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Documentation for the attribute.
-             * 
- * - * string description = 14; - * - * @param value - * The bytes for description to set. - * - * @return This builder for chaining. - */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - description_ = value; - bitField0_ |= 0x00002000; - onChanged(); - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.TestResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - private static final class ExamplesConverter implements - com.google.protobuf.MapFieldBuilder.Converter { - @java.lang.Override - public com.kcl.api.Spec.Example build(com.kcl.api.Spec.ExampleOrBuilder val) { - if (val instanceof com.kcl.api.Spec.Example) { - return (com.kcl.api.Spec.Example) val; - } - return ((com.kcl.api.Spec.Example.Builder) val).build(); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for test response.
+     * 
+ * + * Protobuf type {@code com.kcl.api.TestResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.TestResult) + com.kcl.api.Spec.TestResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_TestResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_TestResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.TestResult.class, com.kcl.api.Spec.TestResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.TestResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (infoBuilder_ == null) { + info_ = java.util.Collections.emptyList(); + } else { + info_ = null; + infoBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_TestResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.TestResult getDefaultInstanceForType() { + return com.kcl.api.Spec.TestResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.TestResult build() { + com.kcl.api.Spec.TestResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.TestResult buildPartial() { + com.kcl.api.Spec.TestResult result = new com.kcl.api.Spec.TestResult(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.TestResult result) { + if (infoBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + info_ = java.util.Collections.unmodifiableList(info_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.info_ = info_; + } else { + result.info_ = infoBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.TestResult result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.TestResult) { + return mergeFrom((com.kcl.api.Spec.TestResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.TestResult other) { + if (other == com.kcl.api.Spec.TestResult.getDefaultInstance()) return this; + if (infoBuilder_ == null) { + if (!other.info_.isEmpty()) { + if (info_.isEmpty()) { + info_ = other.info_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureInfoIsMutable(); + info_.addAll(other.info_); + } + onChanged(); + } + } else { + if (!other.info_.isEmpty()) { + if (infoBuilder_.isEmpty()) { + infoBuilder_.dispose(); + infoBuilder_ = null; + info_ = other.info_; + bitField0_ = (bitField0_ & ~0x00000001); + infoBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetInfoFieldBuilder() : null; + } else { + infoBuilder_.addAllMessages(other.info_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 18: { + com.kcl.api.Spec.TestCaseInfo m = + input.readMessage( + com.kcl.api.Spec.TestCaseInfo.parser(), + extensionRegistry); + if (infoBuilder_ == null) { + ensureInfoIsMutable(); + info_.add(m); + } else { + infoBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List info_ = + java.util.Collections.emptyList(); + private void ensureInfoIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + info_ = new java.util.ArrayList(info_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.TestCaseInfo, com.kcl.api.Spec.TestCaseInfo.Builder, com.kcl.api.Spec.TestCaseInfoOrBuilder> infoBuilder_; + + /** + *
+       * List of test case information.
+       * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public java.util.List getInfoList() { + if (infoBuilder_ == null) { + return java.util.Collections.unmodifiableList(info_); + } else { + return infoBuilder_.getMessageList(); + } + } + /** + *
+       * List of test case information.
+       * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public int getInfoCount() { + if (infoBuilder_ == null) { + return info_.size(); + } else { + return infoBuilder_.getCount(); + } + } + /** + *
+       * List of test case information.
+       * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public com.kcl.api.Spec.TestCaseInfo getInfo(int index) { + if (infoBuilder_ == null) { + return info_.get(index); + } else { + return infoBuilder_.getMessage(index); + } + } + /** + *
+       * List of test case information.
+       * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public Builder setInfo( + int index, com.kcl.api.Spec.TestCaseInfo value) { + if (infoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInfoIsMutable(); + info_.set(index, value); + onChanged(); + } else { + infoBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * List of test case information.
+       * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public Builder setInfo( + int index, com.kcl.api.Spec.TestCaseInfo.Builder builderForValue) { + if (infoBuilder_ == null) { + ensureInfoIsMutable(); + info_.set(index, builderForValue.build()); + onChanged(); + } else { + infoBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of test case information.
+       * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public Builder addInfo(com.kcl.api.Spec.TestCaseInfo value) { + if (infoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInfoIsMutable(); + info_.add(value); + onChanged(); + } else { + infoBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * List of test case information.
+       * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public Builder addInfo( + int index, com.kcl.api.Spec.TestCaseInfo value) { + if (infoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInfoIsMutable(); + info_.add(index, value); + onChanged(); + } else { + infoBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * List of test case information.
+       * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public Builder addInfo( + com.kcl.api.Spec.TestCaseInfo.Builder builderForValue) { + if (infoBuilder_ == null) { + ensureInfoIsMutable(); + info_.add(builderForValue.build()); + onChanged(); + } else { + infoBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * List of test case information.
+       * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public Builder addInfo( + int index, com.kcl.api.Spec.TestCaseInfo.Builder builderForValue) { + if (infoBuilder_ == null) { + ensureInfoIsMutable(); + info_.add(index, builderForValue.build()); + onChanged(); + } else { + infoBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of test case information.
+       * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public Builder addAllInfo( + java.lang.Iterable values) { + if (infoBuilder_ == null) { + ensureInfoIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, info_); + onChanged(); + } else { + infoBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * List of test case information.
+       * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public Builder clearInfo() { + if (infoBuilder_ == null) { + info_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + infoBuilder_.clear(); + } + return this; + } + /** + *
+       * List of test case information.
+       * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public Builder removeInfo(int index) { + if (infoBuilder_ == null) { + ensureInfoIsMutable(); + info_.remove(index); + onChanged(); + } else { + infoBuilder_.remove(index); + } + return this; + } + /** + *
+       * List of test case information.
+       * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public com.kcl.api.Spec.TestCaseInfo.Builder getInfoBuilder( + int index) { + return internalGetInfoFieldBuilder().getBuilder(index); + } + /** + *
+       * List of test case information.
+       * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public com.kcl.api.Spec.TestCaseInfoOrBuilder getInfoOrBuilder( + int index) { + if (infoBuilder_ == null) { + return info_.get(index); } else { + return infoBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * List of test case information.
+       * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public java.util.List + getInfoOrBuilderList() { + if (infoBuilder_ != null) { + return infoBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(info_); + } + } + /** + *
+       * List of test case information.
+       * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public com.kcl.api.Spec.TestCaseInfo.Builder addInfoBuilder() { + return internalGetInfoFieldBuilder().addBuilder( + com.kcl.api.Spec.TestCaseInfo.getDefaultInstance()); + } + /** + *
+       * List of test case information.
+       * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public com.kcl.api.Spec.TestCaseInfo.Builder addInfoBuilder( + int index) { + return internalGetInfoFieldBuilder().addBuilder( + index, com.kcl.api.Spec.TestCaseInfo.getDefaultInstance()); + } + /** + *
+       * List of test case information.
+       * 
+ * + * repeated .com.kcl.api.TestCaseInfo info = 2; + */ + public java.util.List + getInfoBuilderList() { + return internalGetInfoFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.TestCaseInfo, com.kcl.api.Spec.TestCaseInfo.Builder, com.kcl.api.Spec.TestCaseInfoOrBuilder> + internalGetInfoFieldBuilder() { + if (infoBuilder_ == null) { + infoBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.TestCaseInfo, com.kcl.api.Spec.TestCaseInfo.Builder, com.kcl.api.Spec.TestCaseInfoOrBuilder>( + info_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + info_ = null; + } + return infoBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.TestResult) + } - @java.lang.Override - public com.google.protobuf.MapEntry defaultEntry() { - return ExamplesDefaultEntryHolder.defaultEntry; - } - }; + // @@protoc_insertion_point(class_scope:com.kcl.api.TestResult) + private static final com.kcl.api.Spec.TestResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.TestResult(); + } - private static final ExamplesConverter examplesConverter = new ExamplesConverter(); + public static com.kcl.api.Spec.TestResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private com.google.protobuf.MapFieldBuilder examples_; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TestResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - private com.google.protobuf.MapFieldBuilder internalGetExamples() { - if (examples_ == null) { - return new com.google.protobuf.MapFieldBuilder<>(examplesConverter); - } - return examples_; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - private com.google.protobuf.MapFieldBuilder internalGetMutableExamples() { - if (examples_ == null) { - examples_ = new com.google.protobuf.MapFieldBuilder<>(examplesConverter); - } - bitField0_ |= 0x00004000; - onChanged(); - return examples_; - } + @java.lang.Override + public com.kcl.api.Spec.TestResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public int getExamplesCount() { - return internalGetExamples().ensureBuilderMap().size(); - } + } - /** - *
-             * Map of examples with example name as key.
-             * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - @java.lang.Override - public boolean containsExamples(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetExamples().ensureBuilderMap().containsKey(key); - } + public interface TestCaseInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.TestCaseInfo) + com.google.protobuf.MessageOrBuilder { - /** - * Use {@link #getExamplesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getExamples() { - return getExamplesMap(); - } + /** + *
+     * Name of the test case.
+     * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+     * Name of the test case.
+     * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+     * Error message if any.
+     * 
+ * + * string error = 2; + * @return The error. + */ + java.lang.String getError(); + /** + *
+     * Error message if any.
+     * 
+ * + * string error = 2; + * @return The bytes for error. + */ + com.google.protobuf.ByteString + getErrorBytes(); - /** - *
-             * Map of examples with example name as key.
-             * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - @java.lang.Override - public java.util.Map getExamplesMap() { - return internalGetExamples().getImmutableMap(); - } + /** + *
+     * Duration of the test case in microseconds.
+     * 
+ * + * uint64 duration = 3; + * @return The duration. + */ + long getDuration(); - /** - *
-             * Map of examples with example name as key.
-             * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - @java.lang.Override - public /* nullable */ - com.kcl.api.Spec.Example getExamplesOrDefault(java.lang.String key, - /* nullable */ - com.kcl.api.Spec.Example defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableExamples() - .ensureBuilderMap(); - return map.containsKey(key) ? examplesConverter.build(map.get(key)) : defaultValue; - } + /** + *
+     * Log message from the test case.
+     * 
+ * + * string log_message = 4; + * @return The logMessage. + */ + java.lang.String getLogMessage(); + /** + *
+     * Log message from the test case.
+     * 
+ * + * string log_message = 4; + * @return The bytes for logMessage. + */ + com.google.protobuf.ByteString + getLogMessageBytes(); + } + /** + *
+   * Message representing information about a single test case.
+   * 
+ * + * Protobuf type {@code com.kcl.api.TestCaseInfo} + */ + public static final class TestCaseInfo extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.TestCaseInfo) + TestCaseInfoOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "TestCaseInfo"); + } + // Use TestCaseInfo.newBuilder() to construct. + private TestCaseInfo(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private TestCaseInfo() { + name_ = ""; + error_ = ""; + logMessage_ = ""; + } - /** - *
-             * Map of examples with example name as key.
-             * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - @java.lang.Override - public com.kcl.api.Spec.Example getExamplesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMutableExamples() - .ensureBuilderMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return examplesConverter.build(map.get(key)); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_TestCaseInfo_descriptor; + } - public Builder clearExamples() { - bitField0_ = (bitField0_ & ~0x00004000); - internalGetMutableExamples().clear(); - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_TestCaseInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.TestCaseInfo.class, com.kcl.api.Spec.TestCaseInfo.Builder.class); + } - /** - *
-             * Map of examples with example name as key.
-             * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - public Builder removeExamples(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableExamples().ensureBuilderMap().remove(key); - return this; - } + public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + *
+     * Name of the test case.
+     * 
+ * + * string name = 1; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+     * Name of the test case.
+     * 
+ * + * string name = 1; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableExamples() { - bitField0_ |= 0x00004000; - return internalGetMutableExamples().ensureMessageMap(); - } + public static final int ERROR_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object error_ = ""; + /** + *
+     * Error message if any.
+     * 
+ * + * string error = 2; + * @return The error. + */ + @java.lang.Override + public java.lang.String getError() { + java.lang.Object ref = error_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + error_ = s; + return s; + } + } + /** + *
+     * Error message if any.
+     * 
+ * + * string error = 2; + * @return The bytes for error. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getErrorBytes() { + java.lang.Object ref = error_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + error_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * Map of examples with example name as key.
-             * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - public Builder putExamples(java.lang.String key, com.kcl.api.Spec.Example value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableExamples().ensureBuilderMap().put(key, value); - bitField0_ |= 0x00004000; - return this; - } + public static final int DURATION_FIELD_NUMBER = 3; + private long duration_ = 0L; + /** + *
+     * Duration of the test case in microseconds.
+     * 
+ * + * uint64 duration = 3; + * @return The duration. + */ + @java.lang.Override + public long getDuration() { + return duration_; + } - /** - *
-             * Map of examples with example name as key.
-             * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - public Builder putAllExamples(java.util.Map values) { - for (java.util.Map.Entry e : values.entrySet()) { - if (e.getKey() == null || e.getValue() == null) { - throw new NullPointerException(); - } - } - internalGetMutableExamples().ensureBuilderMap().putAll(values); - bitField0_ |= 0x00004000; - return this; - } + public static final int LOG_MESSAGE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object logMessage_ = ""; + /** + *
+     * Log message from the test case.
+     * 
+ * + * string log_message = 4; + * @return The logMessage. + */ + @java.lang.Override + public java.lang.String getLogMessage() { + java.lang.Object ref = logMessage_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + logMessage_ = s; + return s; + } + } + /** + *
+     * Log message from the test case.
+     * 
+ * + * string log_message = 4; + * @return The bytes for logMessage. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getLogMessageBytes() { + java.lang.Object ref = logMessage_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + logMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * Map of examples with example name as key.
-             * 
- * - * map<string, .com.kcl.api.Example> examples = 15; - */ - public com.kcl.api.Spec.Example.Builder putExamplesBuilderIfAbsent(java.lang.String key) { - java.util.Map builderMap = internalGetMutableExamples() - .ensureBuilderMap(); - com.kcl.api.Spec.ExampleOrBuilder entry = builderMap.get(key); - if (entry == null) { - entry = com.kcl.api.Spec.Example.newBuilder(); - builderMap.put(key, entry); - } - if (entry instanceof com.kcl.api.Spec.Example) { - entry = ((com.kcl.api.Spec.Example) entry).toBuilder(); - builderMap.put(key, entry); - } - return (com.kcl.api.Spec.Example.Builder) entry; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private com.kcl.api.Spec.KclType baseSchema_; - private com.google.protobuf.SingleFieldBuilder baseSchemaBuilder_; - - /** - *
-             * Base schema if applicable.
-             * 
- * - * .com.kcl.api.KclType base_schema = 16; - * - * @return Whether the baseSchema field is set. - */ - public boolean hasBaseSchema() { - return ((bitField0_ & 0x00008000) != 0); - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-             * Base schema if applicable.
-             * 
- * - * .com.kcl.api.KclType base_schema = 16; - * - * @return The baseSchema. - */ - public com.kcl.api.Spec.KclType getBaseSchema() { - if (baseSchemaBuilder_ == null) { - return baseSchema_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : baseSchema_; - } else { - return baseSchemaBuilder_.getMessage(); - } - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(error_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, error_); + } + if (duration_ != 0L) { + output.writeUInt64(3, duration_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logMessage_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, logMessage_); + } + getUnknownFields().writeTo(output); + } - /** - *
-             * Base schema if applicable.
-             * 
- * - * .com.kcl.api.KclType base_schema = 16; - */ - public Builder setBaseSchema(com.kcl.api.Spec.KclType value) { - if (baseSchemaBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - baseSchema_ = value; - } else { - baseSchemaBuilder_.setMessage(value); - } - bitField0_ |= 0x00008000; - onChanged(); - return this; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(error_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, error_); + } + if (duration_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(3, duration_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logMessage_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, logMessage_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-             * Base schema if applicable.
-             * 
- * - * .com.kcl.api.KclType base_schema = 16; - */ - public Builder setBaseSchema(com.kcl.api.Spec.KclType.Builder builderForValue) { - if (baseSchemaBuilder_ == null) { - baseSchema_ = builderForValue.build(); - } else { - baseSchemaBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00008000; - onChanged(); - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.TestCaseInfo)) { + return super.equals(obj); + } + com.kcl.api.Spec.TestCaseInfo other = (com.kcl.api.Spec.TestCaseInfo) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getError() + .equals(other.getError())) return false; + if (getDuration() + != other.getDuration()) return false; + if (!getLogMessage() + .equals(other.getLogMessage())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - *
-             * Base schema if applicable.
-             * 
- * - * .com.kcl.api.KclType base_schema = 16; - */ - public Builder mergeBaseSchema(com.kcl.api.Spec.KclType value) { - if (baseSchemaBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0) && baseSchema_ != null - && baseSchema_ != com.kcl.api.Spec.KclType.getDefaultInstance()) { - getBaseSchemaBuilder().mergeFrom(value); - } else { - baseSchema_ = value; - } - } else { - baseSchemaBuilder_.mergeFrom(value); - } - if (baseSchema_ != null) { - bitField0_ |= 0x00008000; - onChanged(); - } - return this; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + ERROR_FIELD_NUMBER; + hash = (53 * hash) + getError().hashCode(); + hash = (37 * hash) + DURATION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDuration()); + hash = (37 * hash) + LOG_MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getLogMessage().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - *
-             * Base schema if applicable.
-             * 
- * - * .com.kcl.api.KclType base_schema = 16; - */ - public Builder clearBaseSchema() { - bitField0_ = (bitField0_ & ~0x00008000); - baseSchema_ = null; - if (baseSchemaBuilder_ != null) { - baseSchemaBuilder_.dispose(); - baseSchemaBuilder_ = null; - } - onChanged(); - return this; - } + public static com.kcl.api.Spec.TestCaseInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.TestCaseInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.TestCaseInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.TestCaseInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.TestCaseInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.TestCaseInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.TestCaseInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.TestCaseInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Base schema if applicable.
-             * 
- * - * .com.kcl.api.KclType base_schema = 16; - */ - public com.kcl.api.Spec.KclType.Builder getBaseSchemaBuilder() { - bitField0_ |= 0x00008000; - onChanged(); - return getBaseSchemaFieldBuilder().getBuilder(); - } + public static com.kcl.api.Spec.TestCaseInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * Base schema if applicable.
-             * 
- * - * .com.kcl.api.KclType base_schema = 16; - */ - public com.kcl.api.Spec.KclTypeOrBuilder getBaseSchemaOrBuilder() { - if (baseSchemaBuilder_ != null) { - return baseSchemaBuilder_.getMessageOrBuilder(); - } else { - return baseSchema_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : baseSchema_; - } - } + public static com.kcl.api.Spec.TestCaseInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.TestCaseInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.TestCaseInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Base schema if applicable.
-             * 
- * - * .com.kcl.api.KclType base_schema = 16; - */ - private com.google.protobuf.SingleFieldBuilder getBaseSchemaFieldBuilder() { - if (baseSchemaBuilder_ == null) { - baseSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilder( - getBaseSchema(), getParentForChildren(), isClean()); - baseSchema_ = null; - } - return baseSchemaBuilder_; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.TestCaseInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.KclType) - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message representing information about a single test case.
+     * 
+ * + * Protobuf type {@code com.kcl.api.TestCaseInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.TestCaseInfo) + com.kcl.api.Spec.TestCaseInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_TestCaseInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_TestCaseInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.TestCaseInfo.class, com.kcl.api.Spec.TestCaseInfo.Builder.class); + } + + // Construct using com.kcl.api.Spec.TestCaseInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + error_ = ""; + duration_ = 0L; + logMessage_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_TestCaseInfo_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.TestCaseInfo getDefaultInstanceForType() { + return com.kcl.api.Spec.TestCaseInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.TestCaseInfo build() { + com.kcl.api.Spec.TestCaseInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.TestCaseInfo buildPartial() { + com.kcl.api.Spec.TestCaseInfo result = new com.kcl.api.Spec.TestCaseInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.TestCaseInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.error_ = error_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.duration_ = duration_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.logMessage_ = logMessage_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.TestCaseInfo) { + return mergeFrom((com.kcl.api.Spec.TestCaseInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.TestCaseInfo other) { + if (other == com.kcl.api.Spec.TestCaseInfo.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getError().isEmpty()) { + error_ = other.error_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getDuration() != 0L) { + setDuration(other.getDuration()); + } + if (!other.getLogMessage().isEmpty()) { + logMessage_ = other.logMessage_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + error_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + duration_ = input.readUInt64(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + logMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + *
+       * Name of the test case.
+       * 
+ * + * string name = 1; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Name of the test case.
+       * 
+ * + * string name = 1; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Name of the test case.
+       * 
+ * + * string name = 1; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Name of the test case.
+       * 
+ * + * string name = 1; + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Name of the test case.
+       * 
+ * + * string name = 1; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object error_ = ""; + /** + *
+       * Error message if any.
+       * 
+ * + * string error = 2; + * @return The error. + */ + public java.lang.String getError() { + java.lang.Object ref = error_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + error_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Error message if any.
+       * 
+ * + * string error = 2; + * @return The bytes for error. + */ + public com.google.protobuf.ByteString + getErrorBytes() { + java.lang.Object ref = error_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + error_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Error message if any.
+       * 
+ * + * string error = 2; + * @param value The error to set. + * @return This builder for chaining. + */ + public Builder setError( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + error_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Error message if any.
+       * 
+ * + * string error = 2; + * @return This builder for chaining. + */ + public Builder clearError() { + error_ = getDefaultInstance().getError(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Error message if any.
+       * 
+ * + * string error = 2; + * @param value The bytes for error to set. + * @return This builder for chaining. + */ + public Builder setErrorBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + error_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private long duration_ ; + /** + *
+       * Duration of the test case in microseconds.
+       * 
+ * + * uint64 duration = 3; + * @return The duration. + */ + @java.lang.Override + public long getDuration() { + return duration_; + } + /** + *
+       * Duration of the test case in microseconds.
+       * 
+ * + * uint64 duration = 3; + * @param value The duration to set. + * @return This builder for chaining. + */ + public Builder setDuration(long value) { + + duration_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Duration of the test case in microseconds.
+       * 
+ * + * uint64 duration = 3; + * @return This builder for chaining. + */ + public Builder clearDuration() { + bitField0_ = (bitField0_ & ~0x00000004); + duration_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object logMessage_ = ""; + /** + *
+       * Log message from the test case.
+       * 
+ * + * string log_message = 4; + * @return The logMessage. + */ + public java.lang.String getLogMessage() { + java.lang.Object ref = logMessage_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + logMessage_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Log message from the test case.
+       * 
+ * + * string log_message = 4; + * @return The bytes for logMessage. + */ + public com.google.protobuf.ByteString + getLogMessageBytes() { + java.lang.Object ref = logMessage_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + logMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Log message from the test case.
+       * 
+ * + * string log_message = 4; + * @param value The logMessage to set. + * @return This builder for chaining. + */ + public Builder setLogMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + logMessage_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Log message from the test case.
+       * 
+ * + * string log_message = 4; + * @return This builder for chaining. + */ + public Builder clearLogMessage() { + logMessage_ = getDefaultInstance().getLogMessage(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+       * Log message from the test case.
+       * 
+ * + * string log_message = 4; + * @param value The bytes for logMessage to set. + * @return This builder for chaining. + */ + public Builder setLogMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + logMessage_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.TestCaseInfo) + } - // @@protoc_insertion_point(class_scope:com.kcl.api.KclType) - private static final com.kcl.api.Spec.KclType DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.KclType(); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.TestCaseInfo) + private static final com.kcl.api.Spec.TestCaseInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.TestCaseInfo(); + } - public static com.kcl.api.Spec.KclType getDefaultInstance() { - return DEFAULT_INSTANCE; - } + public static com.kcl.api.Spec.TestCaseInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KclType parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TestCaseInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + @java.lang.Override + public com.kcl.api.Spec.TestCaseInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public com.kcl.api.Spec.KclType getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface DecoratorOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Decorator) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Name of the decorator.
-         * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - - /** - *
-         * Name of the decorator.
-         * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - *
-         * Arguments for the decorator.
-         * 
- * - * repeated string arguments = 2; - * - * @return A list containing the arguments. - */ - java.util.List getArgumentsList(); - - /** - *
-         * Arguments for the decorator.
-         * 
- * - * repeated string arguments = 2; - * - * @return The count of arguments. - */ - int getArgumentsCount(); - - /** - *
-         * Arguments for the decorator.
-         * 
- * - * repeated string arguments = 2; - * - * @param index - * The index of the element to return. - * - * @return The arguments at the given index. - */ - java.lang.String getArguments(int index); - - /** - *
-         * Arguments for the decorator.
-         * 
- * - * repeated string arguments = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the arguments at the given index. - */ - com.google.protobuf.ByteString getArgumentsBytes(int index); - - /** - *
-         * Keyword arguments for the decorator as a map with keyword name as key.
-         * 
- * - * map<string, string> keywords = 3; - */ - int getKeywordsCount(); - - /** - *
-         * Keyword arguments for the decorator as a map with keyword name as key.
-         * 
- * - * map<string, string> keywords = 3; - */ - boolean containsKeywords(java.lang.String key); - - /** - * Use {@link #getKeywordsMap()} instead. - */ - @java.lang.Deprecated - java.util.Map getKeywords(); - - /** - *
-         * Keyword arguments for the decorator as a map with keyword name as key.
-         * 
- * - * map<string, string> keywords = 3; - */ - java.util.Map getKeywordsMap(); - - /** - *
-         * Keyword arguments for the decorator as a map with keyword name as key.
-         * 
- * - * map<string, string> keywords = 3; - */ - /* nullable */ - java.lang.String getKeywordsOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue); + } - /** - *
-         * Keyword arguments for the decorator as a map with keyword name as key.
-         * 
- * - * map<string, string> keywords = 3; - */ - java.lang.String getKeywordsOrThrow(java.lang.String key); - } + public interface UpdateDependenciesArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.UpdateDependenciesArgs) + com.google.protobuf.MessageOrBuilder { /** *
-     * Message representing a decorator in KCL.
+     * Path to the manifest file.
      * 
* - * Protobuf type {@code com.kcl.api.Decorator} + * string manifest_path = 1; + * @return The manifestPath. */ - public static final class Decorator extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Decorator) - DecoratorOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", Decorator.class.getName()); - } - - // Use Decorator.newBuilder() to construct. - private Decorator(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private Decorator() { - name_ = ""; - arguments_ = com.google.protobuf.LazyStringArrayList.emptyList(); - } + java.lang.String getManifestPath(); + /** + *
+     * Path to the manifest file.
+     * 
+ * + * string manifest_path = 1; + * @return The bytes for manifestPath. + */ + com.google.protobuf.ByteString + getManifestPathBytes(); - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_descriptor; - } + /** + *
+     * Flag to vendor dependencies locally.
+     * 
+ * + * bool vendor = 2; + * @return The vendor. + */ + boolean getVendor(); + } + /** + *
+   * Message for update dependencies request arguments.
+   * 
+ * + * Protobuf type {@code com.kcl.api.UpdateDependenciesArgs} + */ + public static final class UpdateDependenciesArgs extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.UpdateDependenciesArgs) + UpdateDependenciesArgsOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "UpdateDependenciesArgs"); + } + // Use UpdateDependenciesArgs.newBuilder() to construct. + private UpdateDependenciesArgs(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private UpdateDependenciesArgs() { + manifestPath_ = ""; + } - @SuppressWarnings({ "rawtypes" }) - @java.lang.Override - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 3: - return internalGetKeywords(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependenciesArgs_descriptor; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Decorator.class, - com.kcl.api.Spec.Decorator.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - - /** - *
-         * Name of the decorator.
-         * 
- * - * string name = 1; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependenciesArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.UpdateDependenciesArgs.class, com.kcl.api.Spec.UpdateDependenciesArgs.Builder.class); + } - /** - *
-         * Name of the decorator.
-         * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static final int MANIFEST_PATH_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object manifestPath_ = ""; + /** + *
+     * Path to the manifest file.
+     * 
+ * + * string manifest_path = 1; + * @return The manifestPath. + */ + @java.lang.Override + public java.lang.String getManifestPath() { + java.lang.Object ref = manifestPath_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + manifestPath_ = s; + return s; + } + } + /** + *
+     * Path to the manifest file.
+     * 
+ * + * string manifest_path = 1; + * @return The bytes for manifestPath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getManifestPathBytes() { + java.lang.Object ref = manifestPath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + manifestPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static final int ARGUMENTS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList arguments_ = com.google.protobuf.LazyStringArrayList - .emptyList(); - - /** - *
-         * Arguments for the decorator.
-         * 
- * - * repeated string arguments = 2; - * - * @return A list containing the arguments. - */ - public com.google.protobuf.ProtocolStringList getArgumentsList() { - return arguments_; - } - - /** - *
-         * Arguments for the decorator.
-         * 
- * - * repeated string arguments = 2; - * - * @return The count of arguments. - */ - public int getArgumentsCount() { - return arguments_.size(); - } - - /** - *
-         * Arguments for the decorator.
-         * 
- * - * repeated string arguments = 2; - * - * @param index - * The index of the element to return. - * - * @return The arguments at the given index. - */ - public java.lang.String getArguments(int index) { - return arguments_.get(index); - } - - /** - *
-         * Arguments for the decorator.
-         * 
- * - * repeated string arguments = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the arguments at the given index. - */ - public com.google.protobuf.ByteString getArgumentsBytes(int index) { - return arguments_.getByteString(index); - } - - public static final int KEYWORDS_FIELD_NUMBER = 3; - - private static final class KeywordsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry. newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_KeywordsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.STRING, ""); - } - - @SuppressWarnings("serial") - private com.google.protobuf.MapField keywords_; - - private com.google.protobuf.MapField internalGetKeywords() { - if (keywords_ == null) { - return com.google.protobuf.MapField.emptyMapField(KeywordsDefaultEntryHolder.defaultEntry); - } - return keywords_; - } + public static final int VENDOR_FIELD_NUMBER = 2; + private boolean vendor_ = false; + /** + *
+     * Flag to vendor dependencies locally.
+     * 
+ * + * bool vendor = 2; + * @return The vendor. + */ + @java.lang.Override + public boolean getVendor() { + return vendor_; + } - public int getKeywordsCount() { - return internalGetKeywords().getMap().size(); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-         * Keyword arguments for the decorator as a map with keyword name as key.
-         * 
- * - * map<string, string> keywords = 3; - */ - @java.lang.Override - public boolean containsKeywords(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetKeywords().getMap().containsKey(key); - } + memoizedIsInitialized = 1; + return true; + } - /** - * Use {@link #getKeywordsMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getKeywords() { - return getKeywordsMap(); - } - - /** - *
-         * Keyword arguments for the decorator as a map with keyword name as key.
-         * 
- * - * map<string, string> keywords = 3; - */ - @java.lang.Override - public java.util.Map getKeywordsMap() { - return internalGetKeywords().getMap(); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(manifestPath_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, manifestPath_); + } + if (vendor_ != false) { + output.writeBool(2, vendor_); + } + getUnknownFields().writeTo(output); + } - /** - *
-         * Keyword arguments for the decorator as a map with keyword name as key.
-         * 
- * - * map<string, string> keywords = 3; - */ - @java.lang.Override - public /* nullable */ - java.lang.String getKeywordsOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetKeywords().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(manifestPath_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, manifestPath_); + } + if (vendor_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, vendor_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - *
-         * Keyword arguments for the decorator as a map with keyword name as key.
-         * 
- * - * map<string, string> keywords = 3; - */ - @java.lang.Override - public java.lang.String getKeywordsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetKeywords().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.UpdateDependenciesArgs)) { + return super.equals(obj); + } + com.kcl.api.Spec.UpdateDependenciesArgs other = (com.kcl.api.Spec.UpdateDependenciesArgs) obj; + + if (!getManifestPath() + .equals(other.getManifestPath())) return false; + if (getVendor() + != other.getVendor()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - private byte memoizedIsInitialized = -1; + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + MANIFEST_PATH_FIELD_NUMBER; + hash = (53 * hash) + getManifestPath().hashCode(); + hash = (37 * hash) + VENDOR_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getVendor()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + public static com.kcl.api.Spec.UpdateDependenciesArgs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.UpdateDependenciesArgs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.UpdateDependenciesArgs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.UpdateDependenciesArgs parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.UpdateDependenciesArgs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.UpdateDependenciesArgs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.UpdateDependenciesArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.UpdateDependenciesArgs parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - memoizedIsInitialized = 1; - return true; - } + public static com.kcl.api.Spec.UpdateDependenciesArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); - } - for (int i = 0; i < arguments_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, arguments_.getRaw(i)); - } - com.google.protobuf.GeneratedMessage.serializeStringMapTo(output, internalGetKeywords(), - KeywordsDefaultEntryHolder.defaultEntry, 3); - getUnknownFields().writeTo(output); - } + public static com.kcl.api.Spec.UpdateDependenciesArgs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.UpdateDependenciesArgs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.UpdateDependenciesArgs parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); - } - { - int dataSize = 0; - for (int i = 0; i < arguments_.size(); i++) { - dataSize += computeStringSizeNoTag(arguments_.getRaw(i)); - } - size += dataSize; - size += 1 * getArgumentsList().size(); - } - for (java.util.Map.Entry entry : internalGetKeywords().getMap() - .entrySet()) { - com.google.protobuf.MapEntry keywords__ = KeywordsDefaultEntryHolder.defaultEntry - .newBuilderForType().setKey(entry.getKey()).setValue(entry.getValue()).build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, keywords__); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.UpdateDependenciesArgs prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Decorator)) { - return super.equals(obj); - } - com.kcl.api.Spec.Decorator other = (com.kcl.api.Spec.Decorator) obj; + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for update dependencies request arguments.
+     * 
+ * + * Protobuf type {@code com.kcl.api.UpdateDependenciesArgs} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.UpdateDependenciesArgs) + com.kcl.api.Spec.UpdateDependenciesArgsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependenciesArgs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependenciesArgs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.UpdateDependenciesArgs.class, com.kcl.api.Spec.UpdateDependenciesArgs.Builder.class); + } + + // Construct using com.kcl.api.Spec.UpdateDependenciesArgs.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + manifestPath_ = ""; + vendor_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependenciesArgs_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.UpdateDependenciesArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.UpdateDependenciesArgs.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.UpdateDependenciesArgs build() { + com.kcl.api.Spec.UpdateDependenciesArgs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.UpdateDependenciesArgs buildPartial() { + com.kcl.api.Spec.UpdateDependenciesArgs result = new com.kcl.api.Spec.UpdateDependenciesArgs(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.UpdateDependenciesArgs result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.manifestPath_ = manifestPath_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.vendor_ = vendor_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.UpdateDependenciesArgs) { + return mergeFrom((com.kcl.api.Spec.UpdateDependenciesArgs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.UpdateDependenciesArgs other) { + if (other == com.kcl.api.Spec.UpdateDependenciesArgs.getDefaultInstance()) return this; + if (!other.getManifestPath().isEmpty()) { + manifestPath_ = other.manifestPath_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getVendor() != false) { + setVendor(other.getVendor()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + manifestPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + vendor_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object manifestPath_ = ""; + /** + *
+       * Path to the manifest file.
+       * 
+ * + * string manifest_path = 1; + * @return The manifestPath. + */ + public java.lang.String getManifestPath() { + java.lang.Object ref = manifestPath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + manifestPath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Path to the manifest file.
+       * 
+ * + * string manifest_path = 1; + * @return The bytes for manifestPath. + */ + public com.google.protobuf.ByteString + getManifestPathBytes() { + java.lang.Object ref = manifestPath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + manifestPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Path to the manifest file.
+       * 
+ * + * string manifest_path = 1; + * @param value The manifestPath to set. + * @return This builder for chaining. + */ + public Builder setManifestPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + manifestPath_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Path to the manifest file.
+       * 
+ * + * string manifest_path = 1; + * @return This builder for chaining. + */ + public Builder clearManifestPath() { + manifestPath_ = getDefaultInstance().getManifestPath(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Path to the manifest file.
+       * 
+ * + * string manifest_path = 1; + * @param value The bytes for manifestPath to set. + * @return This builder for chaining. + */ + public Builder setManifestPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + manifestPath_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private boolean vendor_ ; + /** + *
+       * Flag to vendor dependencies locally.
+       * 
+ * + * bool vendor = 2; + * @return The vendor. + */ + @java.lang.Override + public boolean getVendor() { + return vendor_; + } + /** + *
+       * Flag to vendor dependencies locally.
+       * 
+ * + * bool vendor = 2; + * @param value The vendor to set. + * @return This builder for chaining. + */ + public Builder setVendor(boolean value) { + + vendor_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Flag to vendor dependencies locally.
+       * 
+ * + * bool vendor = 2; + * @return This builder for chaining. + */ + public Builder clearVendor() { + bitField0_ = (bitField0_ & ~0x00000002); + vendor_ = false; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.UpdateDependenciesArgs) + } - if (!getName().equals(other.getName())) - return false; - if (!getArgumentsList().equals(other.getArgumentsList())) - return false; - if (!internalGetKeywords().equals(other.internalGetKeywords())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + // @@protoc_insertion_point(class_scope:com.kcl.api.UpdateDependenciesArgs) + private static final com.kcl.api.Spec.UpdateDependenciesArgs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.UpdateDependenciesArgs(); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - if (getArgumentsCount() > 0) { - hash = (37 * hash) + ARGUMENTS_FIELD_NUMBER; - hash = (53 * hash) + getArgumentsList().hashCode(); - } - if (!internalGetKeywords().getMap().isEmpty()) { - hash = (37 * hash) + KEYWORDS_FIELD_NUMBER; - hash = (53 * hash) + internalGetKeywords().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + public static com.kcl.api.Spec.UpdateDependenciesArgs getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.Decorator parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDependenciesArgs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static com.kcl.api.Spec.Decorator parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static com.kcl.api.Spec.Decorator parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public com.kcl.api.Spec.UpdateDependenciesArgs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.kcl.api.Spec.Decorator parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + } - public static com.kcl.api.Spec.Decorator parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public interface UpdateDependenciesResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.UpdateDependenciesResult) + com.google.protobuf.MessageOrBuilder { - public static com.kcl.api.Spec.Decorator parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + /** + *
+     * List of external packages updated.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + java.util.List + getExternalPkgsList(); + /** + *
+     * List of external packages updated.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index); + /** + *
+     * List of external packages updated.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + int getExternalPkgsCount(); + /** + *
+     * List of external packages updated.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + java.util.List + getExternalPkgsOrBuilderList(); + /** + *
+     * List of external packages updated.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder( + int index); + } + /** + *
+   * Message for update dependencies response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.UpdateDependenciesResult} + */ + public static final class UpdateDependenciesResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.UpdateDependenciesResult) + UpdateDependenciesResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "UpdateDependenciesResult"); + } + // Use UpdateDependenciesResult.newBuilder() to construct. + private UpdateDependenciesResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private UpdateDependenciesResult() { + externalPkgs_ = java.util.Collections.emptyList(); + } - public static com.kcl.api.Spec.Decorator parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependenciesResult_descriptor; + } - public static com.kcl.api.Spec.Decorator parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependenciesResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.UpdateDependenciesResult.class, com.kcl.api.Spec.UpdateDependenciesResult.Builder.class); + } - public static com.kcl.api.Spec.Decorator parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } + public static final int EXTERNAL_PKGS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List externalPkgs_; + /** + *
+     * List of external packages updated.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + @java.lang.Override + public java.util.List getExternalPkgsList() { + return externalPkgs_; + } + /** + *
+     * List of external packages updated.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + @java.lang.Override + public java.util.List + getExternalPkgsOrBuilderList() { + return externalPkgs_; + } + /** + *
+     * List of external packages updated.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + @java.lang.Override + public int getExternalPkgsCount() { + return externalPkgs_.size(); + } + /** + *
+     * List of external packages updated.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index) { + return externalPkgs_.get(index); + } + /** + *
+     * List of external packages updated.
+     * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + @java.lang.Override + public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder( + int index) { + return externalPkgs_.get(index); + } - public static com.kcl.api.Spec.Decorator parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static com.kcl.api.Spec.Decorator parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + memoizedIsInitialized = 1; + return true; + } - public static com.kcl.api.Spec.Decorator parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < externalPkgs_.size(); i++) { + output.writeMessage(3, externalPkgs_.get(i)); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < externalPkgs_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, externalPkgs_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.UpdateDependenciesResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.UpdateDependenciesResult other = (com.kcl.api.Spec.UpdateDependenciesResult) obj; + + if (!getExternalPkgsList() + .equals(other.getExternalPkgsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static Builder newBuilder(com.kcl.api.Spec.Decorator prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getExternalPkgsCount() > 0) { + hash = (37 * hash) + EXTERNAL_PKGS_FIELD_NUMBER; + hash = (53 * hash) + getExternalPkgsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + public static com.kcl.api.Spec.UpdateDependenciesResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.UpdateDependenciesResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.UpdateDependenciesResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.UpdateDependenciesResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.UpdateDependenciesResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.UpdateDependenciesResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.UpdateDependenciesResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.UpdateDependenciesResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message representing a decorator in KCL.
-         * 
- * - * Protobuf type {@code com.kcl.api.Decorator} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Decorator) - com.kcl.api.Spec.DecoratorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_descriptor; - } + public static com.kcl.api.Spec.UpdateDependenciesResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) { - switch (number) { - case 3: - return internalGetKeywords(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + public static com.kcl.api.Spec.UpdateDependenciesResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.UpdateDependenciesResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.UpdateDependenciesResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @SuppressWarnings({ "rawtypes" }) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) { - switch (number) { - case 3: - return internalGetMutableKeywords(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.UpdateDependenciesResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Decorator.class, - com.kcl.api.Spec.Decorator.Builder.class); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for update dependencies response.
+     * 
+ * + * Protobuf type {@code com.kcl.api.UpdateDependenciesResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.UpdateDependenciesResult) + com.kcl.api.Spec.UpdateDependenciesResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependenciesResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependenciesResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.UpdateDependenciesResult.class, com.kcl.api.Spec.UpdateDependenciesResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.UpdateDependenciesResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (externalPkgsBuilder_ == null) { + externalPkgs_ = java.util.Collections.emptyList(); + } else { + externalPkgs_ = null; + externalPkgsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependenciesResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.UpdateDependenciesResult getDefaultInstanceForType() { + return com.kcl.api.Spec.UpdateDependenciesResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.UpdateDependenciesResult build() { + com.kcl.api.Spec.UpdateDependenciesResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.UpdateDependenciesResult buildPartial() { + com.kcl.api.Spec.UpdateDependenciesResult result = new com.kcl.api.Spec.UpdateDependenciesResult(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.UpdateDependenciesResult result) { + if (externalPkgsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + externalPkgs_ = java.util.Collections.unmodifiableList(externalPkgs_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.externalPkgs_ = externalPkgs_; + } else { + result.externalPkgs_ = externalPkgsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.UpdateDependenciesResult result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.UpdateDependenciesResult) { + return mergeFrom((com.kcl.api.Spec.UpdateDependenciesResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.UpdateDependenciesResult other) { + if (other == com.kcl.api.Spec.UpdateDependenciesResult.getDefaultInstance()) return this; + if (externalPkgsBuilder_ == null) { + if (!other.externalPkgs_.isEmpty()) { + if (externalPkgs_.isEmpty()) { + externalPkgs_ = other.externalPkgs_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureExternalPkgsIsMutable(); + externalPkgs_.addAll(other.externalPkgs_); + } + onChanged(); + } + } else { + if (!other.externalPkgs_.isEmpty()) { + if (externalPkgsBuilder_.isEmpty()) { + externalPkgsBuilder_.dispose(); + externalPkgsBuilder_ = null; + externalPkgs_ = other.externalPkgs_; + bitField0_ = (bitField0_ & ~0x00000001); + externalPkgsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetExternalPkgsFieldBuilder() : null; + } else { + externalPkgsBuilder_.addAllMessages(other.externalPkgs_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26: { + com.kcl.api.Spec.ExternalPkg m = + input.readMessage( + com.kcl.api.Spec.ExternalPkg.parser(), + extensionRegistry); + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(m); + } else { + externalPkgsBuilder_.addMessage(m); + } + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List externalPkgs_ = + java.util.Collections.emptyList(); + private void ensureExternalPkgsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + externalPkgs_ = new java.util.ArrayList(externalPkgs_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder> externalPkgsBuilder_; + + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public java.util.List getExternalPkgsList() { + if (externalPkgsBuilder_ == null) { + return java.util.Collections.unmodifiableList(externalPkgs_); + } else { + return externalPkgsBuilder_.getMessageList(); + } + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public int getExternalPkgsCount() { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.size(); + } else { + return externalPkgsBuilder_.getCount(); + } + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public com.kcl.api.Spec.ExternalPkg getExternalPkgs(int index) { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.get(index); + } else { + return externalPkgsBuilder_.getMessage(index); + } + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder setExternalPkgs( + int index, com.kcl.api.Spec.ExternalPkg value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.set(index, value); + onChanged(); + } else { + externalPkgsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder setExternalPkgs( + int index, com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.set(index, builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder addExternalPkgs(com.kcl.api.Spec.ExternalPkg value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.add(value); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder addExternalPkgs( + int index, com.kcl.api.Spec.ExternalPkg value) { + if (externalPkgsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExternalPkgsIsMutable(); + externalPkgs_.add(index, value); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder addExternalPkgs( + com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder addExternalPkgs( + int index, com.kcl.api.Spec.ExternalPkg.Builder builderForValue) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.add(index, builderForValue.build()); + onChanged(); + } else { + externalPkgsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder addAllExternalPkgs( + java.lang.Iterable values) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, externalPkgs_); + onChanged(); + } else { + externalPkgsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder clearExternalPkgs() { + if (externalPkgsBuilder_ == null) { + externalPkgs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + externalPkgsBuilder_.clear(); + } + return this; + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public Builder removeExternalPkgs(int index) { + if (externalPkgsBuilder_ == null) { + ensureExternalPkgsIsMutable(); + externalPkgs_.remove(index); + onChanged(); + } else { + externalPkgsBuilder_.remove(index); + } + return this; + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public com.kcl.api.Spec.ExternalPkg.Builder getExternalPkgsBuilder( + int index) { + return internalGetExternalPkgsFieldBuilder().getBuilder(index); + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder( + int index) { + if (externalPkgsBuilder_ == null) { + return externalPkgs_.get(index); } else { + return externalPkgsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public java.util.List + getExternalPkgsOrBuilderList() { + if (externalPkgsBuilder_ != null) { + return externalPkgsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(externalPkgs_); + } + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder() { + return internalGetExternalPkgsFieldBuilder().addBuilder( + com.kcl.api.Spec.ExternalPkg.getDefaultInstance()); + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder( + int index) { + return internalGetExternalPkgsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.ExternalPkg.getDefaultInstance()); + } + /** + *
+       * List of external packages updated.
+       * 
+ * + * repeated .com.kcl.api.ExternalPkg external_pkgs = 3; + */ + public java.util.List + getExternalPkgsBuilderList() { + return internalGetExternalPkgsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder> + internalGetExternalPkgsFieldBuilder() { + if (externalPkgsBuilder_ == null) { + externalPkgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder>( + externalPkgs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + externalPkgs_ = null; + } + return externalPkgsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.UpdateDependenciesResult) + } - // Construct using com.kcl.api.Spec.Decorator.newBuilder() - private Builder() { + // @@protoc_insertion_point(class_scope:com.kcl.api.UpdateDependenciesResult) + private static final com.kcl.api.Spec.UpdateDependenciesResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.UpdateDependenciesResult(); + } - } + public static com.kcl.api.Spec.UpdateDependenciesResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDependenciesResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - name_ = ""; - arguments_ = com.google.protobuf.LazyStringArrayList.emptyList(); - internalGetMutableKeywords().clear(); - return this; - } + @java.lang.Override + public com.kcl.api.Spec.UpdateDependenciesResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_descriptor; - } + } - @java.lang.Override - public com.kcl.api.Spec.Decorator getDefaultInstanceForType() { - return com.kcl.api.Spec.Decorator.getDefaultInstance(); - } + public interface KclTypeOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.KclType) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public com.kcl.api.Spec.Decorator build() { - com.kcl.api.Spec.Decorator result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + /** + *
+     * Type name (e.g., schema, dict, list, str, int, float, bool, any, union, number_multiplier).
+     * 
+ * + * string type = 1; + * @return The type. + */ + java.lang.String getType(); + /** + *
+     * Type name (e.g., schema, dict, list, str, int, float, bool, any, union, number_multiplier).
+     * 
+ * + * string type = 1; + * @return The bytes for type. + */ + com.google.protobuf.ByteString + getTypeBytes(); - @java.lang.Override - public com.kcl.api.Spec.Decorator buildPartial() { - com.kcl.api.Spec.Decorator result = new com.kcl.api.Spec.Decorator(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + /** + *
+     * Union types if applicable.
+     * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + java.util.List + getUnionTypesList(); + /** + *
+     * Union types if applicable.
+     * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + com.kcl.api.Spec.KclType getUnionTypes(int index); + /** + *
+     * Union types if applicable.
+     * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + int getUnionTypesCount(); + /** + *
+     * Union types if applicable.
+     * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + java.util.List + getUnionTypesOrBuilderList(); + /** + *
+     * Union types if applicable.
+     * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + com.kcl.api.Spec.KclTypeOrBuilder getUnionTypesOrBuilder( + int index); - private void buildPartial0(com.kcl.api.Spec.Decorator result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - arguments_.makeImmutable(); - result.arguments_ = arguments_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.keywords_ = internalGetKeywords(); - result.keywords_.makeImmutable(); - } - } + /** + *
+     * Default value of the type.
+     * 
+ * + * string default = 3; + * @return The default. + */ + java.lang.String getDefault(); + /** + *
+     * Default value of the type.
+     * 
+ * + * string default = 3; + * @return The bytes for default. + */ + com.google.protobuf.ByteString + getDefaultBytes(); - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Decorator) { - return mergeFrom((com.kcl.api.Spec.Decorator) other); - } else { - super.mergeFrom(other); - return this; - } - } + /** + *
+     * Name of the schema if applicable.
+     * 
+ * + * string schema_name = 4; + * @return The schemaName. + */ + java.lang.String getSchemaName(); + /** + *
+     * Name of the schema if applicable.
+     * 
+ * + * string schema_name = 4; + * @return The bytes for schemaName. + */ + com.google.protobuf.ByteString + getSchemaNameBytes(); - public Builder mergeFrom(com.kcl.api.Spec.Decorator other) { - if (other == com.kcl.api.Spec.Decorator.getDefaultInstance()) - return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.arguments_.isEmpty()) { - if (arguments_.isEmpty()) { - arguments_ = other.arguments_; - bitField0_ |= 0x00000002; - } else { - ensureArgumentsIsMutable(); - arguments_.addAll(other.arguments_); - } - onChanged(); - } - internalGetMutableKeywords().mergeFrom(other.internalGetKeywords()); - bitField0_ |= 0x00000004; - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + /** + *
+     * Documentation for the schema.
+     * 
+ * + * string schema_doc = 5; + * @return The schemaDoc. + */ + java.lang.String getSchemaDoc(); + /** + *
+     * Documentation for the schema.
+     * 
+ * + * string schema_doc = 5; + * @return The bytes for schemaDoc. + */ + com.google.protobuf.ByteString + getSchemaDocBytes(); - @java.lang.Override - public final boolean isInitialized() { - return true; - } + /** + *
+     * Properties of the schema as a map with property name as key.
+     * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + int getPropertiesCount(); + /** + *
+     * Properties of the schema as a map with property name as key.
+     * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + boolean containsProperties( + java.lang.String key); + /** + * Use {@link #getPropertiesMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getProperties(); + /** + *
+     * Properties of the schema as a map with property name as key.
+     * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + java.util.Map + getPropertiesMap(); + /** + *
+     * Properties of the schema as a map with property name as key.
+     * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + /* nullable */ +com.kcl.api.Spec.KclType getPropertiesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.KclType defaultValue); + /** + *
+     * Properties of the schema as a map with property name as key.
+     * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + com.kcl.api.Spec.KclType getPropertiesOrThrow( + java.lang.String key); - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureArgumentsIsMutable(); - arguments_.add(s); - break; - } // case 18 - case 26: { - com.google.protobuf.MapEntry keywords__ = input - .readMessage(KeywordsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableKeywords().getMutableMap().put(keywords__.getKey(), - keywords__.getValue()); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + /** + *
+     * List of required schema properties.
+     * 
+ * + * repeated string required = 7; + * @return A list containing the required. + */ + java.util.List + getRequiredList(); + /** + *
+     * List of required schema properties.
+     * 
+ * + * repeated string required = 7; + * @return The count of required. + */ + int getRequiredCount(); + /** + *
+     * List of required schema properties.
+     * 
+ * + * repeated string required = 7; + * @param index The index of the element to return. + * @return The required at the given index. + */ + java.lang.String getRequired(int index); + /** + *
+     * List of required schema properties.
+     * 
+ * + * repeated string required = 7; + * @param index The index of the value to return. + * @return The bytes of the required at the given index. + */ + com.google.protobuf.ByteString + getRequiredBytes(int index); - private int bitField0_; - - private java.lang.Object name_ = ""; - - /** - *
-             * Name of the decorator.
-             * 
- * - * string name = 1; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + /** + *
+     * Key type if the KclType is a dictionary.
+     * 
+ * + * .com.kcl.api.KclType key = 8; + * @return Whether the key field is set. + */ + boolean hasKey(); + /** + *
+     * Key type if the KclType is a dictionary.
+     * 
+ * + * .com.kcl.api.KclType key = 8; + * @return The key. + */ + com.kcl.api.Spec.KclType getKey(); + /** + *
+     * Key type if the KclType is a dictionary.
+     * 
+ * + * .com.kcl.api.KclType key = 8; + */ + com.kcl.api.Spec.KclTypeOrBuilder getKeyOrBuilder(); - /** - *
-             * Name of the decorator.
-             * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + *
+     * Item type if the KclType is a list or dictionary.
+     * 
+ * + * .com.kcl.api.KclType item = 9; + * @return Whether the item field is set. + */ + boolean hasItem(); + /** + *
+     * Item type if the KclType is a list or dictionary.
+     * 
+ * + * .com.kcl.api.KclType item = 9; + * @return The item. + */ + com.kcl.api.Spec.KclType getItem(); + /** + *
+     * Item type if the KclType is a list or dictionary.
+     * 
+ * + * .com.kcl.api.KclType item = 9; + */ + com.kcl.api.Spec.KclTypeOrBuilder getItemOrBuilder(); - /** - *
-             * Name of the decorator.
-             * 
- * - * string name = 1; - * - * @param value - * The name to set. - * - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + /** + *
+     * Line number where the type is defined.
+     * 
+ * + * int32 line = 10; + * @return The line. + */ + int getLine(); - /** - *
-             * Name of the decorator.
-             * 
- * - * string name = 1; - * - * @return This builder for chaining. - */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + /** + *
+     * List of decorators for the schema.
+     * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + java.util.List + getDecoratorsList(); + /** + *
+     * List of decorators for the schema.
+     * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + com.kcl.api.Spec.Decorator getDecorators(int index); + /** + *
+     * List of decorators for the schema.
+     * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + int getDecoratorsCount(); + /** + *
+     * List of decorators for the schema.
+     * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + java.util.List + getDecoratorsOrBuilderList(); + /** + *
+     * List of decorators for the schema.
+     * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + com.kcl.api.Spec.DecoratorOrBuilder getDecoratorsOrBuilder( + int index); - /** - *
-             * Name of the decorator.
-             * 
- * - * string name = 1; - * - * @param value - * The bytes for name to set. - * - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + /** + *
+     * Absolute path of the file where the attribute is located.
+     * 
+ * + * string filename = 12; + * @return The filename. + */ + java.lang.String getFilename(); + /** + *
+     * Absolute path of the file where the attribute is located.
+     * 
+ * + * string filename = 12; + * @return The bytes for filename. + */ + com.google.protobuf.ByteString + getFilenameBytes(); - private com.google.protobuf.LazyStringArrayList arguments_ = com.google.protobuf.LazyStringArrayList - .emptyList(); + /** + *
+     * Path of the package where the attribute is located.
+     * 
+ * + * string pkg_path = 13; + * @return The pkgPath. + */ + java.lang.String getPkgPath(); + /** + *
+     * Path of the package where the attribute is located.
+     * 
+ * + * string pkg_path = 13; + * @return The bytes for pkgPath. + */ + com.google.protobuf.ByteString + getPkgPathBytes(); - private void ensureArgumentsIsMutable() { - if (!arguments_.isModifiable()) { - arguments_ = new com.google.protobuf.LazyStringArrayList(arguments_); - } - bitField0_ |= 0x00000002; - } + /** + *
+     * Documentation for the attribute.
+     * 
+ * + * string description = 14; + * @return The description. + */ + java.lang.String getDescription(); + /** + *
+     * Documentation for the attribute.
+     * 
+ * + * string description = 14; + * @return The bytes for description. + */ + com.google.protobuf.ByteString + getDescriptionBytes(); - /** - *
-             * Arguments for the decorator.
-             * 
- * - * repeated string arguments = 2; - * - * @return A list containing the arguments. - */ - public com.google.protobuf.ProtocolStringList getArgumentsList() { - arguments_.makeImmutable(); - return arguments_; - } + /** + *
+     * Map of examples with example name as key.
+     * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + int getExamplesCount(); + /** + *
+     * Map of examples with example name as key.
+     * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + boolean containsExamples( + java.lang.String key); + /** + * Use {@link #getExamplesMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getExamples(); + /** + *
+     * Map of examples with example name as key.
+     * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + java.util.Map + getExamplesMap(); + /** + *
+     * Map of examples with example name as key.
+     * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + /* nullable */ +com.kcl.api.Spec.Example getExamplesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.Example defaultValue); + /** + *
+     * Map of examples with example name as key.
+     * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + com.kcl.api.Spec.Example getExamplesOrThrow( + java.lang.String key); - /** - *
-             * Arguments for the decorator.
-             * 
- * - * repeated string arguments = 2; - * - * @return The count of arguments. - */ - public int getArgumentsCount() { - return arguments_.size(); - } + /** + *
+     * Base schema if applicable.
+     * 
+ * + * .com.kcl.api.KclType base_schema = 16; + * @return Whether the baseSchema field is set. + */ + boolean hasBaseSchema(); + /** + *
+     * Base schema if applicable.
+     * 
+ * + * .com.kcl.api.KclType base_schema = 16; + * @return The baseSchema. + */ + com.kcl.api.Spec.KclType getBaseSchema(); + /** + *
+     * Base schema if applicable.
+     * 
+ * + * .com.kcl.api.KclType base_schema = 16; + */ + com.kcl.api.Spec.KclTypeOrBuilder getBaseSchemaOrBuilder(); + } + /** + *
+   * Message representing a KCL type.
+   * 
+ * + * Protobuf type {@code com.kcl.api.KclType} + */ + public static final class KclType extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.KclType) + KclTypeOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "KclType"); + } + // Use KclType.newBuilder() to construct. + private KclType(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private KclType() { + type_ = ""; + unionTypes_ = java.util.Collections.emptyList(); + default_ = ""; + schemaName_ = ""; + schemaDoc_ = ""; + required_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + decorators_ = java.util.Collections.emptyList(); + filename_ = ""; + pkgPath_ = ""; + description_ = ""; + } - /** - *
-             * Arguments for the decorator.
-             * 
- * - * repeated string arguments = 2; - * - * @param index - * The index of the element to return. - * - * @return The arguments at the given index. - */ - public java.lang.String getArguments(int index) { - return arguments_.get(index); - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_KclType_descriptor; + } - /** - *
-             * Arguments for the decorator.
-             * 
- * - * repeated string arguments = 2; - * - * @param index - * The index of the value to return. - * - * @return The bytes of the arguments at the given index. - */ - public com.google.protobuf.ByteString getArgumentsBytes(int index) { - return arguments_.getByteString(index); - } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 6: + return internalGetProperties(); + case 15: + return internalGetExamples(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_KclType_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.KclType.class, com.kcl.api.Spec.KclType.Builder.class); + } - /** - *
-             * Arguments for the decorator.
-             * 
- * - * repeated string arguments = 2; - * - * @param index - * The index to set the value at. - * @param value - * The arguments to set. - * - * @return This builder for chaining. - */ - public Builder setArguments(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureArgumentsIsMutable(); - arguments_.set(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + private int bitField0_; + public static final int TYPE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object type_ = ""; + /** + *
+     * Type name (e.g., schema, dict, list, str, int, float, bool, any, union, number_multiplier).
+     * 
+ * + * string type = 1; + * @return The type. + */ + @java.lang.Override + public java.lang.String getType() { + java.lang.Object ref = type_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + type_ = s; + return s; + } + } + /** + *
+     * Type name (e.g., schema, dict, list, str, int, float, bool, any, union, number_multiplier).
+     * 
+ * + * string type = 1; + * @return The bytes for type. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTypeBytes() { + java.lang.Object ref = type_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + type_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * Arguments for the decorator.
-             * 
- * - * repeated string arguments = 2; - * - * @param value - * The arguments to add. - * - * @return This builder for chaining. - */ - public Builder addArguments(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureArgumentsIsMutable(); - arguments_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + public static final int UNION_TYPES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List unionTypes_; + /** + *
+     * Union types if applicable.
+     * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + @java.lang.Override + public java.util.List getUnionTypesList() { + return unionTypes_; + } + /** + *
+     * Union types if applicable.
+     * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + @java.lang.Override + public java.util.List + getUnionTypesOrBuilderList() { + return unionTypes_; + } + /** + *
+     * Union types if applicable.
+     * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + @java.lang.Override + public int getUnionTypesCount() { + return unionTypes_.size(); + } + /** + *
+     * Union types if applicable.
+     * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.KclType getUnionTypes(int index) { + return unionTypes_.get(index); + } + /** + *
+     * Union types if applicable.
+     * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + @java.lang.Override + public com.kcl.api.Spec.KclTypeOrBuilder getUnionTypesOrBuilder( + int index) { + return unionTypes_.get(index); + } - /** - *
-             * Arguments for the decorator.
-             * 
- * - * repeated string arguments = 2; - * - * @param values - * The arguments to add. - * - * @return This builder for chaining. - */ - public Builder addAllArguments(java.lang.Iterable values) { - ensureArgumentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, arguments_); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + public static final int DEFAULT_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object default_ = ""; + /** + *
+     * Default value of the type.
+     * 
+ * + * string default = 3; + * @return The default. + */ + @java.lang.Override + public java.lang.String getDefault() { + java.lang.Object ref = default_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + default_ = s; + return s; + } + } + /** + *
+     * Default value of the type.
+     * 
+ * + * string default = 3; + * @return The bytes for default. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDefaultBytes() { + java.lang.Object ref = default_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + default_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * Arguments for the decorator.
-             * 
- * - * repeated string arguments = 2; - * - * @return This builder for chaining. - */ - public Builder clearArguments() { - arguments_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; - onChanged(); - return this; - } + public static final int SCHEMA_NAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object schemaName_ = ""; + /** + *
+     * Name of the schema if applicable.
+     * 
+ * + * string schema_name = 4; + * @return The schemaName. + */ + @java.lang.Override + public java.lang.String getSchemaName() { + java.lang.Object ref = schemaName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schemaName_ = s; + return s; + } + } + /** + *
+     * Name of the schema if applicable.
+     * 
+ * + * string schema_name = 4; + * @return The bytes for schemaName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSchemaNameBytes() { + java.lang.Object ref = schemaName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schemaName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * Arguments for the decorator.
-             * 
- * - * repeated string arguments = 2; - * - * @param value - * The bytes of the arguments to add. - * - * @return This builder for chaining. - */ - public Builder addArgumentsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureArgumentsIsMutable(); - arguments_.add(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; - } + public static final int SCHEMA_DOC_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object schemaDoc_ = ""; + /** + *
+     * Documentation for the schema.
+     * 
+ * + * string schema_doc = 5; + * @return The schemaDoc. + */ + @java.lang.Override + public java.lang.String getSchemaDoc() { + java.lang.Object ref = schemaDoc_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schemaDoc_ = s; + return s; + } + } + /** + *
+     * Documentation for the schema.
+     * 
+ * + * string schema_doc = 5; + * @return The bytes for schemaDoc. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSchemaDocBytes() { + java.lang.Object ref = schemaDoc_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schemaDoc_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - private com.google.protobuf.MapField keywords_; + public static final int PROPERTIES_FIELD_NUMBER = 6; + private static final class PropertiesDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.kcl.api.Spec.KclType> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_KclType_PropertiesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.kcl.api.Spec.KclType.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.kcl.api.Spec.KclType> properties_; + private com.google.protobuf.MapField + internalGetProperties() { + if (properties_ == null) { + return com.google.protobuf.MapField.emptyMapField( + PropertiesDefaultEntryHolder.defaultEntry); + } + return properties_; + } + public int getPropertiesCount() { + return internalGetProperties().getMap().size(); + } + /** + *
+     * Properties of the schema as a map with property name as key.
+     * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + @java.lang.Override + public boolean containsProperties( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetProperties().getMap().containsKey(key); + } + /** + * Use {@link #getPropertiesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getProperties() { + return getPropertiesMap(); + } + /** + *
+     * Properties of the schema as a map with property name as key.
+     * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + @java.lang.Override + public java.util.Map getPropertiesMap() { + return internalGetProperties().getMap(); + } + /** + *
+     * Properties of the schema as a map with property name as key.
+     * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.KclType getPropertiesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.KclType defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetProperties().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Properties of the schema as a map with property name as key.
+     * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + @java.lang.Override + public com.kcl.api.Spec.KclType getPropertiesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetProperties().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - private com.google.protobuf.MapField internalGetKeywords() { - if (keywords_ == null) { - return com.google.protobuf.MapField.emptyMapField(KeywordsDefaultEntryHolder.defaultEntry); - } - return keywords_; - } + public static final int REQUIRED_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList required_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * List of required schema properties.
+     * 
+ * + * repeated string required = 7; + * @return A list containing the required. + */ + public com.google.protobuf.ProtocolStringList + getRequiredList() { + return required_; + } + /** + *
+     * List of required schema properties.
+     * 
+ * + * repeated string required = 7; + * @return The count of required. + */ + public int getRequiredCount() { + return required_.size(); + } + /** + *
+     * List of required schema properties.
+     * 
+ * + * repeated string required = 7; + * @param index The index of the element to return. + * @return The required at the given index. + */ + public java.lang.String getRequired(int index) { + return required_.get(index); + } + /** + *
+     * List of required schema properties.
+     * 
+ * + * repeated string required = 7; + * @param index The index of the value to return. + * @return The bytes of the required at the given index. + */ + public com.google.protobuf.ByteString + getRequiredBytes(int index) { + return required_.getByteString(index); + } - private com.google.protobuf.MapField internalGetMutableKeywords() { - if (keywords_ == null) { - keywords_ = com.google.protobuf.MapField.newMapField(KeywordsDefaultEntryHolder.defaultEntry); - } - if (!keywords_.isMutable()) { - keywords_ = keywords_.copy(); - } - bitField0_ |= 0x00000004; - onChanged(); - return keywords_; - } + public static final int KEY_FIELD_NUMBER = 8; + private com.kcl.api.Spec.KclType key_; + /** + *
+     * Key type if the KclType is a dictionary.
+     * 
+ * + * .com.kcl.api.KclType key = 8; + * @return Whether the key field is set. + */ + @java.lang.Override + public boolean hasKey() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * Key type if the KclType is a dictionary.
+     * 
+ * + * .com.kcl.api.KclType key = 8; + * @return The key. + */ + @java.lang.Override + public com.kcl.api.Spec.KclType getKey() { + return key_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : key_; + } + /** + *
+     * Key type if the KclType is a dictionary.
+     * 
+ * + * .com.kcl.api.KclType key = 8; + */ + @java.lang.Override + public com.kcl.api.Spec.KclTypeOrBuilder getKeyOrBuilder() { + return key_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : key_; + } - public int getKeywordsCount() { - return internalGetKeywords().getMap().size(); - } + public static final int ITEM_FIELD_NUMBER = 9; + private com.kcl.api.Spec.KclType item_; + /** + *
+     * Item type if the KclType is a list or dictionary.
+     * 
+ * + * .com.kcl.api.KclType item = 9; + * @return Whether the item field is set. + */ + @java.lang.Override + public boolean hasItem() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+     * Item type if the KclType is a list or dictionary.
+     * 
+ * + * .com.kcl.api.KclType item = 9; + * @return The item. + */ + @java.lang.Override + public com.kcl.api.Spec.KclType getItem() { + return item_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : item_; + } + /** + *
+     * Item type if the KclType is a list or dictionary.
+     * 
+ * + * .com.kcl.api.KclType item = 9; + */ + @java.lang.Override + public com.kcl.api.Spec.KclTypeOrBuilder getItemOrBuilder() { + return item_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : item_; + } - /** - *
-             * Keyword arguments for the decorator as a map with keyword name as key.
-             * 
- * - * map<string, string> keywords = 3; - */ - @java.lang.Override - public boolean containsKeywords(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetKeywords().getMap().containsKey(key); - } + public static final int LINE_FIELD_NUMBER = 10; + private int line_ = 0; + /** + *
+     * Line number where the type is defined.
+     * 
+ * + * int32 line = 10; + * @return The line. + */ + @java.lang.Override + public int getLine() { + return line_; + } - /** - * Use {@link #getKeywordsMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getKeywords() { - return getKeywordsMap(); - } + public static final int DECORATORS_FIELD_NUMBER = 11; + @SuppressWarnings("serial") + private java.util.List decorators_; + /** + *
+     * List of decorators for the schema.
+     * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + @java.lang.Override + public java.util.List getDecoratorsList() { + return decorators_; + } + /** + *
+     * List of decorators for the schema.
+     * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + @java.lang.Override + public java.util.List + getDecoratorsOrBuilderList() { + return decorators_; + } + /** + *
+     * List of decorators for the schema.
+     * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + @java.lang.Override + public int getDecoratorsCount() { + return decorators_.size(); + } + /** + *
+     * List of decorators for the schema.
+     * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + @java.lang.Override + public com.kcl.api.Spec.Decorator getDecorators(int index) { + return decorators_.get(index); + } + /** + *
+     * List of decorators for the schema.
+     * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + @java.lang.Override + public com.kcl.api.Spec.DecoratorOrBuilder getDecoratorsOrBuilder( + int index) { + return decorators_.get(index); + } - /** - *
-             * Keyword arguments for the decorator as a map with keyword name as key.
-             * 
- * - * map<string, string> keywords = 3; - */ - @java.lang.Override - public java.util.Map getKeywordsMap() { - return internalGetKeywords().getMap(); - } + public static final int FILENAME_FIELD_NUMBER = 12; + @SuppressWarnings("serial") + private volatile java.lang.Object filename_ = ""; + /** + *
+     * Absolute path of the file where the attribute is located.
+     * 
+ * + * string filename = 12; + * @return The filename. + */ + @java.lang.Override + public java.lang.String getFilename() { + java.lang.Object ref = filename_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filename_ = s; + return s; + } + } + /** + *
+     * Absolute path of the file where the attribute is located.
+     * 
+ * + * string filename = 12; + * @return The bytes for filename. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFilenameBytes() { + java.lang.Object ref = filename_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + filename_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * Keyword arguments for the decorator as a map with keyword name as key.
-             * 
- * - * map<string, string> keywords = 3; - */ - @java.lang.Override - public /* nullable */ - java.lang.String getKeywordsOrDefault(java.lang.String key, - /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetKeywords().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } + public static final int PKG_PATH_FIELD_NUMBER = 13; + @SuppressWarnings("serial") + private volatile java.lang.Object pkgPath_ = ""; + /** + *
+     * Path of the package where the attribute is located.
+     * 
+ * + * string pkg_path = 13; + * @return The pkgPath. + */ + @java.lang.Override + public java.lang.String getPkgPath() { + java.lang.Object ref = pkgPath_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pkgPath_ = s; + return s; + } + } + /** + *
+     * Path of the package where the attribute is located.
+     * 
+ * + * string pkg_path = 13; + * @return The bytes for pkgPath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPkgPathBytes() { + java.lang.Object ref = pkgPath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pkgPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - *
-             * Keyword arguments for the decorator as a map with keyword name as key.
-             * 
- * - * map<string, string> keywords = 3; - */ - @java.lang.Override - public java.lang.String getKeywordsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetKeywords().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } + public static final int DESCRIPTION_FIELD_NUMBER = 14; + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; + /** + *
+     * Documentation for the attribute.
+     * 
+ * + * string description = 14; + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } + } + /** + *
+     * Documentation for the attribute.
+     * 
+ * + * string description = 14; + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public Builder clearKeywords() { - bitField0_ = (bitField0_ & ~0x00000004); - internalGetMutableKeywords().getMutableMap().clear(); - return this; - } + public static final int EXAMPLES_FIELD_NUMBER = 15; + private static final class ExamplesDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.kcl.api.Spec.Example> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_KclType_ExamplesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.kcl.api.Spec.Example.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.kcl.api.Spec.Example> examples_; + private com.google.protobuf.MapField + internalGetExamples() { + if (examples_ == null) { + return com.google.protobuf.MapField.emptyMapField( + ExamplesDefaultEntryHolder.defaultEntry); + } + return examples_; + } + public int getExamplesCount() { + return internalGetExamples().getMap().size(); + } + /** + *
+     * Map of examples with example name as key.
+     * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + @java.lang.Override + public boolean containsExamples( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetExamples().getMap().containsKey(key); + } + /** + * Use {@link #getExamplesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getExamples() { + return getExamplesMap(); + } + /** + *
+     * Map of examples with example name as key.
+     * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + @java.lang.Override + public java.util.Map getExamplesMap() { + return internalGetExamples().getMap(); + } + /** + *
+     * Map of examples with example name as key.
+     * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.Example getExamplesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.Example defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetExamples().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Map of examples with example name as key.
+     * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + @java.lang.Override + public com.kcl.api.Spec.Example getExamplesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetExamples().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - /** - *
-             * Keyword arguments for the decorator as a map with keyword name as key.
-             * 
- * - * map<string, string> keywords = 3; - */ - public Builder removeKeywords(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableKeywords().getMutableMap().remove(key); - return this; - } + public static final int BASE_SCHEMA_FIELD_NUMBER = 16; + private com.kcl.api.Spec.KclType baseSchema_; + /** + *
+     * Base schema if applicable.
+     * 
+ * + * .com.kcl.api.KclType base_schema = 16; + * @return Whether the baseSchema field is set. + */ + @java.lang.Override + public boolean hasBaseSchema() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + *
+     * Base schema if applicable.
+     * 
+ * + * .com.kcl.api.KclType base_schema = 16; + * @return The baseSchema. + */ + @java.lang.Override + public com.kcl.api.Spec.KclType getBaseSchema() { + return baseSchema_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : baseSchema_; + } + /** + *
+     * Base schema if applicable.
+     * 
+ * + * .com.kcl.api.KclType base_schema = 16; + */ + @java.lang.Override + public com.kcl.api.Spec.KclTypeOrBuilder getBaseSchemaOrBuilder() { + return baseSchema_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : baseSchema_; + } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map getMutableKeywords() { - bitField0_ |= 0x00000004; - return internalGetMutableKeywords().getMutableMap(); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - /** - *
-             * Keyword arguments for the decorator as a map with keyword name as key.
-             * 
- * - * map<string, string> keywords = 3; - */ - public Builder putKeywords(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableKeywords().getMutableMap().put(key, value); - bitField0_ |= 0x00000004; - return this; - } + memoizedIsInitialized = 1; + return true; + } - /** - *
-             * Keyword arguments for the decorator as a map with keyword name as key.
-             * 
- * - * map<string, string> keywords = 3; - */ - public Builder putAllKeywords(java.util.Map values) { - internalGetMutableKeywords().getMutableMap().putAll(values); - bitField0_ |= 0x00000004; - return this; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, type_); + } + for (int i = 0; i < unionTypes_.size(); i++) { + output.writeMessage(2, unionTypes_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(default_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, default_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(schemaName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, schemaName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(schemaDoc_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, schemaDoc_); + } + com.google.protobuf.GeneratedMessage + .serializeStringMapTo( + output, + internalGetProperties(), + PropertiesDefaultEntryHolder.defaultEntry, + 6); + for (int i = 0; i < required_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, required_.getRaw(i)); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(8, getKey()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(9, getItem()); + } + if (line_ != 0) { + output.writeInt32(10, line_); + } + for (int i = 0; i < decorators_.size(); i++) { + output.writeMessage(11, decorators_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filename_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 12, filename_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pkgPath_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 13, pkgPath_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 14, description_); + } + com.google.protobuf.GeneratedMessage + .serializeStringMapTo( + output, + internalGetExamples(), + ExamplesDefaultEntryHolder.defaultEntry, + 15); + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(16, getBaseSchema()); + } + getUnknownFields().writeTo(output); + } - // @@protoc_insertion_point(builder_scope:com.kcl.api.Decorator) - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, type_); + } + for (int i = 0; i < unionTypes_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, unionTypes_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(default_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, default_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(schemaName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, schemaName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(schemaDoc_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, schemaDoc_); + } + for (java.util.Map.Entry entry + : internalGetProperties().getMap().entrySet()) { + com.google.protobuf.MapEntry + properties__ = PropertiesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, properties__); + } + { + int dataSize = 0; + for (int i = 0; i < required_.size(); i++) { + dataSize += computeStringSizeNoTag(required_.getRaw(i)); + } + size += dataSize; + size += 1 * getRequiredList().size(); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getKey()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getItem()); + } + if (line_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(10, line_); + } + for (int i = 0; i < decorators_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, decorators_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filename_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(12, filename_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pkgPath_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(13, pkgPath_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(14, description_); + } + for (java.util.Map.Entry entry + : internalGetExamples().getMap().entrySet()) { + com.google.protobuf.MapEntry + examples__ = ExamplesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, examples__); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, getBaseSchema()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - // @@protoc_insertion_point(class_scope:com.kcl.api.Decorator) - private static final com.kcl.api.Spec.Decorator DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Decorator(); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.KclType)) { + return super.equals(obj); + } + com.kcl.api.Spec.KclType other = (com.kcl.api.Spec.KclType) obj; + + if (!getType() + .equals(other.getType())) return false; + if (!getUnionTypesList() + .equals(other.getUnionTypesList())) return false; + if (!getDefault() + .equals(other.getDefault())) return false; + if (!getSchemaName() + .equals(other.getSchemaName())) return false; + if (!getSchemaDoc() + .equals(other.getSchemaDoc())) return false; + if (!internalGetProperties().equals( + other.internalGetProperties())) return false; + if (!getRequiredList() + .equals(other.getRequiredList())) return false; + if (hasKey() != other.hasKey()) return false; + if (hasKey()) { + if (!getKey() + .equals(other.getKey())) return false; + } + if (hasItem() != other.hasItem()) return false; + if (hasItem()) { + if (!getItem() + .equals(other.getItem())) return false; + } + if (getLine() + != other.getLine()) return false; + if (!getDecoratorsList() + .equals(other.getDecoratorsList())) return false; + if (!getFilename() + .equals(other.getFilename())) return false; + if (!getPkgPath() + .equals(other.getPkgPath())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!internalGetExamples().equals( + other.internalGetExamples())) return false; + if (hasBaseSchema() != other.hasBaseSchema()) return false; + if (hasBaseSchema()) { + if (!getBaseSchema() + .equals(other.getBaseSchema())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static com.kcl.api.Spec.Decorator getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + getType().hashCode(); + if (getUnionTypesCount() > 0) { + hash = (37 * hash) + UNION_TYPES_FIELD_NUMBER; + hash = (53 * hash) + getUnionTypesList().hashCode(); + } + hash = (37 * hash) + DEFAULT_FIELD_NUMBER; + hash = (53 * hash) + getDefault().hashCode(); + hash = (37 * hash) + SCHEMA_NAME_FIELD_NUMBER; + hash = (53 * hash) + getSchemaName().hashCode(); + hash = (37 * hash) + SCHEMA_DOC_FIELD_NUMBER; + hash = (53 * hash) + getSchemaDoc().hashCode(); + if (!internalGetProperties().getMap().isEmpty()) { + hash = (37 * hash) + PROPERTIES_FIELD_NUMBER; + hash = (53 * hash) + internalGetProperties().hashCode(); + } + if (getRequiredCount() > 0) { + hash = (37 * hash) + REQUIRED_FIELD_NUMBER; + hash = (53 * hash) + getRequiredList().hashCode(); + } + if (hasKey()) { + hash = (37 * hash) + KEY_FIELD_NUMBER; + hash = (53 * hash) + getKey().hashCode(); + } + if (hasItem()) { + hash = (37 * hash) + ITEM_FIELD_NUMBER; + hash = (53 * hash) + getItem().hashCode(); + } + hash = (37 * hash) + LINE_FIELD_NUMBER; + hash = (53 * hash) + getLine(); + if (getDecoratorsCount() > 0) { + hash = (37 * hash) + DECORATORS_FIELD_NUMBER; + hash = (53 * hash) + getDecoratorsList().hashCode(); + } + hash = (37 * hash) + FILENAME_FIELD_NUMBER; + hash = (53 * hash) + getFilename().hashCode(); + hash = (37 * hash) + PKG_PATH_FIELD_NUMBER; + hash = (53 * hash) + getPkgPath().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + if (!internalGetExamples().getMap().isEmpty()) { + hash = (37 * hash) + EXAMPLES_FIELD_NUMBER; + hash = (53 * hash) + internalGetExamples().hashCode(); + } + if (hasBaseSchema()) { + hash = (37 * hash) + BASE_SCHEMA_FIELD_NUMBER; + hash = (53 * hash) + getBaseSchema().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Decorator parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + public static com.kcl.api.Spec.KclType parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.KclType parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.KclType parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.KclType parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.KclType parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.KclType parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.KclType parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.KclType parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + public static com.kcl.api.Spec.KclType parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static com.kcl.api.Spec.KclType parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.KclType parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.KclType parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public com.kcl.api.Spec.Decorator getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExampleOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Example) - com.google.protobuf.MessageOrBuilder { - - /** - *
-         * Short description for the example.
-         * 
- * - * string summary = 1; - * - * @return The summary. - */ - java.lang.String getSummary(); - - /** - *
-         * Short description for the example.
-         * 
- * - * string summary = 1; - * - * @return The bytes for summary. - */ - com.google.protobuf.ByteString getSummaryBytes(); - - /** - *
-         * Long description for the example.
-         * 
- * - * string description = 2; - * - * @return The description. - */ - java.lang.String getDescription(); - - /** - *
-         * Long description for the example.
-         * 
- * - * string description = 2; - * - * @return The bytes for description. - */ - com.google.protobuf.ByteString getDescriptionBytes(); - - /** - *
-         * Embedded literal example.
-         * 
- * - * string value = 3; - * - * @return The value. - */ - java.lang.String getValue(); - - /** - *
-         * Embedded literal example.
-         * 
- * - * string value = 3; - * - * @return The bytes for value. - */ - com.google.protobuf.ByteString getValueBytes(); + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.KclType prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** *
-     * Message representing an example in KCL.
+     * Message representing a KCL type.
      * 
* - * Protobuf type {@code com.kcl.api.Example} + * Protobuf type {@code com.kcl.api.KclType} */ - public static final class Example extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Example) - ExampleOrBuilder { - private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 29, - /* patch= */ 3, /* suffix= */ "", Example.class.getName()); - } - - // Use Example.newBuilder() to construct. - private Example(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - } - - private Example() { - summary_ = ""; - description_ = ""; - value_ = ""; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Example_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Example_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Example.class, - com.kcl.api.Spec.Example.Builder.class); - } - - public static final int SUMMARY_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object summary_ = ""; - - /** - *
-         * Short description for the example.
-         * 
- * - * string summary = 1; - * - * @return The summary. - */ - @java.lang.Override - public java.lang.String getSummary() { - java.lang.Object ref = summary_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.KclType) + com.kcl.api.Spec.KclTypeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_KclType_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 6: + return internalGetProperties(); + case 15: + return internalGetExamples(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 6: + return internalGetMutableProperties(); + case 15: + return internalGetMutableExamples(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_KclType_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.KclType.class, com.kcl.api.Spec.KclType.Builder.class); + } + + // Construct using com.kcl.api.Spec.KclType.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + internalGetUnionTypesFieldBuilder(); + internalGetKeyFieldBuilder(); + internalGetItemFieldBuilder(); + internalGetDecoratorsFieldBuilder(); + internalGetBaseSchemaFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + type_ = ""; + if (unionTypesBuilder_ == null) { + unionTypes_ = java.util.Collections.emptyList(); + } else { + unionTypes_ = null; + unionTypesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + default_ = ""; + schemaName_ = ""; + schemaDoc_ = ""; + internalGetMutableProperties().clear(); + required_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + key_ = null; + if (keyBuilder_ != null) { + keyBuilder_.dispose(); + keyBuilder_ = null; + } + item_ = null; + if (itemBuilder_ != null) { + itemBuilder_.dispose(); + itemBuilder_ = null; + } + line_ = 0; + if (decoratorsBuilder_ == null) { + decorators_ = java.util.Collections.emptyList(); + } else { + decorators_ = null; + decoratorsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000400); + filename_ = ""; + pkgPath_ = ""; + description_ = ""; + internalGetMutableExamples().clear(); + baseSchema_ = null; + if (baseSchemaBuilder_ != null) { + baseSchemaBuilder_.dispose(); + baseSchemaBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_KclType_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.KclType getDefaultInstanceForType() { + return com.kcl.api.Spec.KclType.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.KclType build() { + com.kcl.api.Spec.KclType result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.KclType buildPartial() { + com.kcl.api.Spec.KclType result = new com.kcl.api.Spec.KclType(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.KclType result) { + if (unionTypesBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + unionTypes_ = java.util.Collections.unmodifiableList(unionTypes_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.unionTypes_ = unionTypes_; + } else { + result.unionTypes_ = unionTypesBuilder_.build(); + } + if (decoratorsBuilder_ == null) { + if (((bitField0_ & 0x00000400) != 0)) { + decorators_ = java.util.Collections.unmodifiableList(decorators_); + bitField0_ = (bitField0_ & ~0x00000400); + } + result.decorators_ = decorators_; + } else { + result.decorators_ = decoratorsBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.KclType result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.type_ = type_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.default_ = default_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.schemaName_ = schemaName_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.schemaDoc_ = schemaDoc_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.properties_ = internalGetProperties().build(PropertiesDefaultEntryHolder.defaultEntry); + } + if (((from_bitField0_ & 0x00000040) != 0)) { + required_.makeImmutable(); + result.required_ = required_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000080) != 0)) { + result.key_ = keyBuilder_ == null + ? key_ + : keyBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.item_ = itemBuilder_ == null + ? item_ + : itemBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.line_ = line_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.filename_ = filename_; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.pkgPath_ = pkgPath_; + } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.description_ = description_; + } + if (((from_bitField0_ & 0x00004000) != 0)) { + result.examples_ = internalGetExamples().build(ExamplesDefaultEntryHolder.defaultEntry); + } + if (((from_bitField0_ & 0x00008000) != 0)) { + result.baseSchema_ = baseSchemaBuilder_ == null + ? baseSchema_ + : baseSchemaBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.KclType) { + return mergeFrom((com.kcl.api.Spec.KclType)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.KclType other) { + if (other == com.kcl.api.Spec.KclType.getDefaultInstance()) return this; + if (!other.getType().isEmpty()) { + type_ = other.type_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (unionTypesBuilder_ == null) { + if (!other.unionTypes_.isEmpty()) { + if (unionTypes_.isEmpty()) { + unionTypes_ = other.unionTypes_; + bitField0_ = (bitField0_ & ~0x00000002); } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - summary_ = s; - return s; - } - } - - /** - *
-         * Short description for the example.
-         * 
- * - * string summary = 1; - * - * @return The bytes for summary. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSummaryBytes() { - java.lang.Object ref = summary_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - summary_ = b; - return b; + ensureUnionTypesIsMutable(); + unionTypes_.addAll(other.unionTypes_); + } + onChanged(); + } + } else { + if (!other.unionTypes_.isEmpty()) { + if (unionTypesBuilder_.isEmpty()) { + unionTypesBuilder_.dispose(); + unionTypesBuilder_ = null; + unionTypes_ = other.unionTypes_; + bitField0_ = (bitField0_ & ~0x00000002); + unionTypesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetUnionTypesFieldBuilder() : null; } else { - return (com.google.protobuf.ByteString) ref; - } - } + unionTypesBuilder_.addAllMessages(other.unionTypes_); + } + } + } + if (!other.getDefault().isEmpty()) { + default_ = other.default_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getSchemaName().isEmpty()) { + schemaName_ = other.schemaName_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getSchemaDoc().isEmpty()) { + schemaDoc_ = other.schemaDoc_; + bitField0_ |= 0x00000010; + onChanged(); + } + internalGetMutableProperties().mergeFrom( + other.internalGetProperties()); + bitField0_ |= 0x00000020; + if (!other.required_.isEmpty()) { + if (required_.isEmpty()) { + required_ = other.required_; + bitField0_ |= 0x00000040; + } else { + ensureRequiredIsMutable(); + required_.addAll(other.required_); + } + onChanged(); + } + if (other.hasKey()) { + mergeKey(other.getKey()); + } + if (other.hasItem()) { + mergeItem(other.getItem()); + } + if (other.getLine() != 0) { + setLine(other.getLine()); + } + if (decoratorsBuilder_ == null) { + if (!other.decorators_.isEmpty()) { + if (decorators_.isEmpty()) { + decorators_ = other.decorators_; + bitField0_ = (bitField0_ & ~0x00000400); + } else { + ensureDecoratorsIsMutable(); + decorators_.addAll(other.decorators_); + } + onChanged(); + } + } else { + if (!other.decorators_.isEmpty()) { + if (decoratorsBuilder_.isEmpty()) { + decoratorsBuilder_.dispose(); + decoratorsBuilder_ = null; + decorators_ = other.decorators_; + bitField0_ = (bitField0_ & ~0x00000400); + decoratorsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetDecoratorsFieldBuilder() : null; + } else { + decoratorsBuilder_.addAllMessages(other.decorators_); + } + } + } + if (!other.getFilename().isEmpty()) { + filename_ = other.filename_; + bitField0_ |= 0x00000800; + onChanged(); + } + if (!other.getPkgPath().isEmpty()) { + pkgPath_ = other.pkgPath_; + bitField0_ |= 0x00001000; + onChanged(); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + bitField0_ |= 0x00002000; + onChanged(); + } + internalGetMutableExamples().mergeFrom( + other.internalGetExamples()); + bitField0_ |= 0x00004000; + if (other.hasBaseSchema()) { + mergeBaseSchema(other.getBaseSchema()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + type_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.kcl.api.Spec.KclType m = + input.readMessage( + com.kcl.api.Spec.KclType.parser(), + extensionRegistry); + if (unionTypesBuilder_ == null) { + ensureUnionTypesIsMutable(); + unionTypes_.add(m); + } else { + unionTypesBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + default_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + schemaName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + schemaDoc_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + com.google.protobuf.MapEntry + properties__ = input.readMessage( + PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableProperties().ensureBuilderMap().put( + properties__.getKey(), properties__.getValue()); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + ensureRequiredIsMutable(); + required_.add(s); + break; + } // case 58 + case 66: { + input.readMessage( + internalGetKeyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: { + input.readMessage( + internalGetItemFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 80: { + line_ = input.readInt32(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 90: { + com.kcl.api.Spec.Decorator m = + input.readMessage( + com.kcl.api.Spec.Decorator.parser(), + extensionRegistry); + if (decoratorsBuilder_ == null) { + ensureDecoratorsIsMutable(); + decorators_.add(m); + } else { + decoratorsBuilder_.addMessage(m); + } + break; + } // case 90 + case 98: { + filename_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 106: { + pkgPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + case 114: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00002000; + break; + } // case 114 + case 122: { + com.google.protobuf.MapEntry + examples__ = input.readMessage( + ExamplesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableExamples().ensureBuilderMap().put( + examples__.getKey(), examples__.getValue()); + bitField0_ |= 0x00004000; + break; + } // case 122 + case 130: { + input.readMessage( + internalGetBaseSchemaFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00008000; + break; + } // case 130 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object type_ = ""; + /** + *
+       * Type name (e.g., schema, dict, list, str, int, float, bool, any, union, number_multiplier).
+       * 
+ * + * string type = 1; + * @return The type. + */ + public java.lang.String getType() { + java.lang.Object ref = type_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + type_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Type name (e.g., schema, dict, list, str, int, float, bool, any, union, number_multiplier).
+       * 
+ * + * string type = 1; + * @return The bytes for type. + */ + public com.google.protobuf.ByteString + getTypeBytes() { + java.lang.Object ref = type_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + type_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Type name (e.g., schema, dict, list, str, int, float, bool, any, union, number_multiplier).
+       * 
+ * + * string type = 1; + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + type_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Type name (e.g., schema, dict, list, str, int, float, bool, any, union, number_multiplier).
+       * 
+ * + * string type = 1; + * @return This builder for chaining. + */ + public Builder clearType() { + type_ = getDefaultInstance().getType(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Type name (e.g., schema, dict, list, str, int, float, bool, any, union, number_multiplier).
+       * 
+ * + * string type = 1; + * @param value The bytes for type to set. + * @return This builder for chaining. + */ + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + type_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.util.List unionTypes_ = + java.util.Collections.emptyList(); + private void ensureUnionTypesIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + unionTypes_ = new java.util.ArrayList(unionTypes_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> unionTypesBuilder_; + + /** + *
+       * Union types if applicable.
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public java.util.List getUnionTypesList() { + if (unionTypesBuilder_ == null) { + return java.util.Collections.unmodifiableList(unionTypes_); + } else { + return unionTypesBuilder_.getMessageList(); + } + } + /** + *
+       * Union types if applicable.
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public int getUnionTypesCount() { + if (unionTypesBuilder_ == null) { + return unionTypes_.size(); + } else { + return unionTypesBuilder_.getCount(); + } + } + /** + *
+       * Union types if applicable.
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public com.kcl.api.Spec.KclType getUnionTypes(int index) { + if (unionTypesBuilder_ == null) { + return unionTypes_.get(index); + } else { + return unionTypesBuilder_.getMessage(index); + } + } + /** + *
+       * Union types if applicable.
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public Builder setUnionTypes( + int index, com.kcl.api.Spec.KclType value) { + if (unionTypesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnionTypesIsMutable(); + unionTypes_.set(index, value); + onChanged(); + } else { + unionTypesBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * Union types if applicable.
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public Builder setUnionTypes( + int index, com.kcl.api.Spec.KclType.Builder builderForValue) { + if (unionTypesBuilder_ == null) { + ensureUnionTypesIsMutable(); + unionTypes_.set(index, builderForValue.build()); + onChanged(); + } else { + unionTypesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Union types if applicable.
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public Builder addUnionTypes(com.kcl.api.Spec.KclType value) { + if (unionTypesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnionTypesIsMutable(); + unionTypes_.add(value); + onChanged(); + } else { + unionTypesBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * Union types if applicable.
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public Builder addUnionTypes( + int index, com.kcl.api.Spec.KclType value) { + if (unionTypesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnionTypesIsMutable(); + unionTypes_.add(index, value); + onChanged(); + } else { + unionTypesBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * Union types if applicable.
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public Builder addUnionTypes( + com.kcl.api.Spec.KclType.Builder builderForValue) { + if (unionTypesBuilder_ == null) { + ensureUnionTypesIsMutable(); + unionTypes_.add(builderForValue.build()); + onChanged(); + } else { + unionTypesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * Union types if applicable.
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public Builder addUnionTypes( + int index, com.kcl.api.Spec.KclType.Builder builderForValue) { + if (unionTypesBuilder_ == null) { + ensureUnionTypesIsMutable(); + unionTypes_.add(index, builderForValue.build()); + onChanged(); + } else { + unionTypesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Union types if applicable.
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public Builder addAllUnionTypes( + java.lang.Iterable values) { + if (unionTypesBuilder_ == null) { + ensureUnionTypesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unionTypes_); + onChanged(); + } else { + unionTypesBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * Union types if applicable.
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public Builder clearUnionTypes() { + if (unionTypesBuilder_ == null) { + unionTypes_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + unionTypesBuilder_.clear(); + } + return this; + } + /** + *
+       * Union types if applicable.
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public Builder removeUnionTypes(int index) { + if (unionTypesBuilder_ == null) { + ensureUnionTypesIsMutable(); + unionTypes_.remove(index); + onChanged(); + } else { + unionTypesBuilder_.remove(index); + } + return this; + } + /** + *
+       * Union types if applicable.
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public com.kcl.api.Spec.KclType.Builder getUnionTypesBuilder( + int index) { + return internalGetUnionTypesFieldBuilder().getBuilder(index); + } + /** + *
+       * Union types if applicable.
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public com.kcl.api.Spec.KclTypeOrBuilder getUnionTypesOrBuilder( + int index) { + if (unionTypesBuilder_ == null) { + return unionTypes_.get(index); } else { + return unionTypesBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * Union types if applicable.
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public java.util.List + getUnionTypesOrBuilderList() { + if (unionTypesBuilder_ != null) { + return unionTypesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(unionTypes_); + } + } + /** + *
+       * Union types if applicable.
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public com.kcl.api.Spec.KclType.Builder addUnionTypesBuilder() { + return internalGetUnionTypesFieldBuilder().addBuilder( + com.kcl.api.Spec.KclType.getDefaultInstance()); + } + /** + *
+       * Union types if applicable.
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public com.kcl.api.Spec.KclType.Builder addUnionTypesBuilder( + int index) { + return internalGetUnionTypesFieldBuilder().addBuilder( + index, com.kcl.api.Spec.KclType.getDefaultInstance()); + } + /** + *
+       * Union types if applicable.
+       * 
+ * + * repeated .com.kcl.api.KclType union_types = 2; + */ + public java.util.List + getUnionTypesBuilderList() { + return internalGetUnionTypesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> + internalGetUnionTypesFieldBuilder() { + if (unionTypesBuilder_ == null) { + unionTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder>( + unionTypes_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + unionTypes_ = null; + } + return unionTypesBuilder_; + } + + private java.lang.Object default_ = ""; + /** + *
+       * Default value of the type.
+       * 
+ * + * string default = 3; + * @return The default. + */ + public java.lang.String getDefault() { + java.lang.Object ref = default_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + default_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Default value of the type.
+       * 
+ * + * string default = 3; + * @return The bytes for default. + */ + public com.google.protobuf.ByteString + getDefaultBytes() { + java.lang.Object ref = default_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + default_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Default value of the type.
+       * 
+ * + * string default = 3; + * @param value The default to set. + * @return This builder for chaining. + */ + public Builder setDefault( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + default_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Default value of the type.
+       * 
+ * + * string default = 3; + * @return This builder for chaining. + */ + public Builder clearDefault() { + default_ = getDefaultInstance().getDefault(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+       * Default value of the type.
+       * 
+ * + * string default = 3; + * @param value The bytes for default to set. + * @return This builder for chaining. + */ + public Builder setDefaultBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + default_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object schemaName_ = ""; + /** + *
+       * Name of the schema if applicable.
+       * 
+ * + * string schema_name = 4; + * @return The schemaName. + */ + public java.lang.String getSchemaName() { + java.lang.Object ref = schemaName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schemaName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Name of the schema if applicable.
+       * 
+ * + * string schema_name = 4; + * @return The bytes for schemaName. + */ + public com.google.protobuf.ByteString + getSchemaNameBytes() { + java.lang.Object ref = schemaName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schemaName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Name of the schema if applicable.
+       * 
+ * + * string schema_name = 4; + * @param value The schemaName to set. + * @return This builder for chaining. + */ + public Builder setSchemaName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + schemaName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Name of the schema if applicable.
+       * 
+ * + * string schema_name = 4; + * @return This builder for chaining. + */ + public Builder clearSchemaName() { + schemaName_ = getDefaultInstance().getSchemaName(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+       * Name of the schema if applicable.
+       * 
+ * + * string schema_name = 4; + * @param value The bytes for schemaName to set. + * @return This builder for chaining. + */ + public Builder setSchemaNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + schemaName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object schemaDoc_ = ""; + /** + *
+       * Documentation for the schema.
+       * 
+ * + * string schema_doc = 5; + * @return The schemaDoc. + */ + public java.lang.String getSchemaDoc() { + java.lang.Object ref = schemaDoc_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schemaDoc_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Documentation for the schema.
+       * 
+ * + * string schema_doc = 5; + * @return The bytes for schemaDoc. + */ + public com.google.protobuf.ByteString + getSchemaDocBytes() { + java.lang.Object ref = schemaDoc_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schemaDoc_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Documentation for the schema.
+       * 
+ * + * string schema_doc = 5; + * @param value The schemaDoc to set. + * @return This builder for chaining. + */ + public Builder setSchemaDoc( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + schemaDoc_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+       * Documentation for the schema.
+       * 
+ * + * string schema_doc = 5; + * @return This builder for chaining. + */ + public Builder clearSchemaDoc() { + schemaDoc_ = getDefaultInstance().getSchemaDoc(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + *
+       * Documentation for the schema.
+       * 
+ * + * string schema_doc = 5; + * @param value The bytes for schemaDoc to set. + * @return This builder for chaining. + */ + public Builder setSchemaDocBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + schemaDoc_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private static final class PropertiesConverter implements com.google.protobuf.MapFieldBuilder.Converter { + @java.lang.Override + public com.kcl.api.Spec.KclType build(com.kcl.api.Spec.KclTypeOrBuilder val) { + if (val instanceof com.kcl.api.Spec.KclType) { return (com.kcl.api.Spec.KclType) val; } + return ((com.kcl.api.Spec.KclType.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry defaultEntry() { + return PropertiesDefaultEntryHolder.defaultEntry; + } + }; + private static final PropertiesConverter propertiesConverter = new PropertiesConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, com.kcl.api.Spec.KclTypeOrBuilder, com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder> properties_; + private com.google.protobuf.MapFieldBuilder + internalGetProperties() { + if (properties_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(propertiesConverter); + } + return properties_; + } + private com.google.protobuf.MapFieldBuilder + internalGetMutableProperties() { + if (properties_ == null) { + properties_ = new com.google.protobuf.MapFieldBuilder<>(propertiesConverter); + } + bitField0_ |= 0x00000020; + onChanged(); + return properties_; + } + public int getPropertiesCount() { + return internalGetProperties().ensureBuilderMap().size(); + } + /** + *
+       * Properties of the schema as a map with property name as key.
+       * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + @java.lang.Override + public boolean containsProperties( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetProperties().ensureBuilderMap().containsKey(key); + } + /** + * Use {@link #getPropertiesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getProperties() { + return getPropertiesMap(); + } + /** + *
+       * Properties of the schema as a map with property name as key.
+       * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + @java.lang.Override + public java.util.Map getPropertiesMap() { + return internalGetProperties().getImmutableMap(); + } + /** + *
+       * Properties of the schema as a map with property name as key.
+       * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.KclType getPropertiesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.KclType defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableProperties().ensureBuilderMap(); + return map.containsKey(key) ? propertiesConverter.build(map.get(key)) : defaultValue; + } + /** + *
+       * Properties of the schema as a map with property name as key.
+       * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + @java.lang.Override + public com.kcl.api.Spec.KclType getPropertiesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableProperties().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return propertiesConverter.build(map.get(key)); + } + public Builder clearProperties() { + bitField0_ = (bitField0_ & ~0x00000020); + internalGetMutableProperties().clear(); + return this; + } + /** + *
+       * Properties of the schema as a map with property name as key.
+       * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + public Builder removeProperties( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableProperties().ensureBuilderMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableProperties() { + bitField0_ |= 0x00000020; + return internalGetMutableProperties().ensureMessageMap(); + } + /** + *
+       * Properties of the schema as a map with property name as key.
+       * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + public Builder putProperties( + java.lang.String key, + com.kcl.api.Spec.KclType value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableProperties().ensureBuilderMap() + .put(key, value); + bitField0_ |= 0x00000020; + return this; + } + /** + *
+       * Properties of the schema as a map with property name as key.
+       * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + public Builder putAllProperties( + java.util.Map values) { + for (java.util.Map.Entry e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableProperties().ensureBuilderMap() + .putAll(values); + bitField0_ |= 0x00000020; + return this; + } + /** + *
+       * Properties of the schema as a map with property name as key.
+       * 
+ * + * map<string, .com.kcl.api.KclType> properties = 6; + */ + public com.kcl.api.Spec.KclType.Builder putPropertiesBuilderIfAbsent( + java.lang.String key) { + java.util.Map builderMap = internalGetMutableProperties().ensureBuilderMap(); + com.kcl.api.Spec.KclTypeOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.kcl.api.Spec.KclType.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.kcl.api.Spec.KclType) { + entry = ((com.kcl.api.Spec.KclType) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.kcl.api.Spec.KclType.Builder) entry; + } + + private com.google.protobuf.LazyStringArrayList required_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureRequiredIsMutable() { + if (!required_.isModifiable()) { + required_ = new com.google.protobuf.LazyStringArrayList(required_); + } + bitField0_ |= 0x00000040; + } + /** + *
+       * List of required schema properties.
+       * 
+ * + * repeated string required = 7; + * @return A list containing the required. + */ + public com.google.protobuf.ProtocolStringList + getRequiredList() { + required_.makeImmutable(); + return required_; + } + /** + *
+       * List of required schema properties.
+       * 
+ * + * repeated string required = 7; + * @return The count of required. + */ + public int getRequiredCount() { + return required_.size(); + } + /** + *
+       * List of required schema properties.
+       * 
+ * + * repeated string required = 7; + * @param index The index of the element to return. + * @return The required at the given index. + */ + public java.lang.String getRequired(int index) { + return required_.get(index); + } + /** + *
+       * List of required schema properties.
+       * 
+ * + * repeated string required = 7; + * @param index The index of the value to return. + * @return The bytes of the required at the given index. + */ + public com.google.protobuf.ByteString + getRequiredBytes(int index) { + return required_.getByteString(index); + } + /** + *
+       * List of required schema properties.
+       * 
+ * + * repeated string required = 7; + * @param index The index to set the value at. + * @param value The required to set. + * @return This builder for chaining. + */ + public Builder setRequired( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureRequiredIsMutable(); + required_.set(index, value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+       * List of required schema properties.
+       * 
+ * + * repeated string required = 7; + * @param value The required to add. + * @return This builder for chaining. + */ + public Builder addRequired( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureRequiredIsMutable(); + required_.add(value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+       * List of required schema properties.
+       * 
+ * + * repeated string required = 7; + * @param values The required to add. + * @return This builder for chaining. + */ + public Builder addAllRequired( + java.lang.Iterable values) { + ensureRequiredIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, required_); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+       * List of required schema properties.
+       * 
+ * + * repeated string required = 7; + * @return This builder for chaining. + */ + public Builder clearRequired() { + required_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040);; + onChanged(); + return this; + } + /** + *
+       * List of required schema properties.
+       * 
+ * + * repeated string required = 7; + * @param value The bytes of the required to add. + * @return This builder for chaining. + */ + public Builder addRequiredBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureRequiredIsMutable(); + required_.add(value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private com.kcl.api.Spec.KclType key_; + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> keyBuilder_; + /** + *
+       * Key type if the KclType is a dictionary.
+       * 
+ * + * .com.kcl.api.KclType key = 8; + * @return Whether the key field is set. + */ + public boolean hasKey() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + *
+       * Key type if the KclType is a dictionary.
+       * 
+ * + * .com.kcl.api.KclType key = 8; + * @return The key. + */ + public com.kcl.api.Spec.KclType getKey() { + if (keyBuilder_ == null) { + return key_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : key_; + } else { + return keyBuilder_.getMessage(); + } + } + /** + *
+       * Key type if the KclType is a dictionary.
+       * 
+ * + * .com.kcl.api.KclType key = 8; + */ + public Builder setKey(com.kcl.api.Spec.KclType value) { + if (keyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + key_ = value; + } else { + keyBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+       * Key type if the KclType is a dictionary.
+       * 
+ * + * .com.kcl.api.KclType key = 8; + */ + public Builder setKey( + com.kcl.api.Spec.KclType.Builder builderForValue) { + if (keyBuilder_ == null) { + key_ = builderForValue.build(); + } else { + keyBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+       * Key type if the KclType is a dictionary.
+       * 
+ * + * .com.kcl.api.KclType key = 8; + */ + public Builder mergeKey(com.kcl.api.Spec.KclType value) { + if (keyBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) && + key_ != null && + key_ != com.kcl.api.Spec.KclType.getDefaultInstance()) { + getKeyBuilder().mergeFrom(value); + } else { + key_ = value; + } + } else { + keyBuilder_.mergeFrom(value); + } + if (key_ != null) { + bitField0_ |= 0x00000080; + onChanged(); + } + return this; + } + /** + *
+       * Key type if the KclType is a dictionary.
+       * 
+ * + * .com.kcl.api.KclType key = 8; + */ + public Builder clearKey() { + bitField0_ = (bitField0_ & ~0x00000080); + key_ = null; + if (keyBuilder_ != null) { + keyBuilder_.dispose(); + keyBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * Key type if the KclType is a dictionary.
+       * 
+ * + * .com.kcl.api.KclType key = 8; + */ + public com.kcl.api.Spec.KclType.Builder getKeyBuilder() { + bitField0_ |= 0x00000080; + onChanged(); + return internalGetKeyFieldBuilder().getBuilder(); + } + /** + *
+       * Key type if the KclType is a dictionary.
+       * 
+ * + * .com.kcl.api.KclType key = 8; + */ + public com.kcl.api.Spec.KclTypeOrBuilder getKeyOrBuilder() { + if (keyBuilder_ != null) { + return keyBuilder_.getMessageOrBuilder(); + } else { + return key_ == null ? + com.kcl.api.Spec.KclType.getDefaultInstance() : key_; + } + } + /** + *
+       * Key type if the KclType is a dictionary.
+       * 
+ * + * .com.kcl.api.KclType key = 8; + */ + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> + internalGetKeyFieldBuilder() { + if (keyBuilder_ == null) { + keyBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder>( + getKey(), + getParentForChildren(), + isClean()); + key_ = null; + } + return keyBuilder_; + } + + private com.kcl.api.Spec.KclType item_; + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> itemBuilder_; + /** + *
+       * Item type if the KclType is a list or dictionary.
+       * 
+ * + * .com.kcl.api.KclType item = 9; + * @return Whether the item field is set. + */ + public boolean hasItem() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + *
+       * Item type if the KclType is a list or dictionary.
+       * 
+ * + * .com.kcl.api.KclType item = 9; + * @return The item. + */ + public com.kcl.api.Spec.KclType getItem() { + if (itemBuilder_ == null) { + return item_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : item_; + } else { + return itemBuilder_.getMessage(); + } + } + /** + *
+       * Item type if the KclType is a list or dictionary.
+       * 
+ * + * .com.kcl.api.KclType item = 9; + */ + public Builder setItem(com.kcl.api.Spec.KclType value) { + if (itemBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + item_ = value; + } else { + itemBuilder_.setMessage(value); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + *
+       * Item type if the KclType is a list or dictionary.
+       * 
+ * + * .com.kcl.api.KclType item = 9; + */ + public Builder setItem( + com.kcl.api.Spec.KclType.Builder builderForValue) { + if (itemBuilder_ == null) { + item_ = builderForValue.build(); + } else { + itemBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + *
+       * Item type if the KclType is a list or dictionary.
+       * 
+ * + * .com.kcl.api.KclType item = 9; + */ + public Builder mergeItem(com.kcl.api.Spec.KclType value) { + if (itemBuilder_ == null) { + if (((bitField0_ & 0x00000100) != 0) && + item_ != null && + item_ != com.kcl.api.Spec.KclType.getDefaultInstance()) { + getItemBuilder().mergeFrom(value); + } else { + item_ = value; + } + } else { + itemBuilder_.mergeFrom(value); + } + if (item_ != null) { + bitField0_ |= 0x00000100; + onChanged(); + } + return this; + } + /** + *
+       * Item type if the KclType is a list or dictionary.
+       * 
+ * + * .com.kcl.api.KclType item = 9; + */ + public Builder clearItem() { + bitField0_ = (bitField0_ & ~0x00000100); + item_ = null; + if (itemBuilder_ != null) { + itemBuilder_.dispose(); + itemBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * Item type if the KclType is a list or dictionary.
+       * 
+ * + * .com.kcl.api.KclType item = 9; + */ + public com.kcl.api.Spec.KclType.Builder getItemBuilder() { + bitField0_ |= 0x00000100; + onChanged(); + return internalGetItemFieldBuilder().getBuilder(); + } + /** + *
+       * Item type if the KclType is a list or dictionary.
+       * 
+ * + * .com.kcl.api.KclType item = 9; + */ + public com.kcl.api.Spec.KclTypeOrBuilder getItemOrBuilder() { + if (itemBuilder_ != null) { + return itemBuilder_.getMessageOrBuilder(); + } else { + return item_ == null ? + com.kcl.api.Spec.KclType.getDefaultInstance() : item_; + } + } + /** + *
+       * Item type if the KclType is a list or dictionary.
+       * 
+ * + * .com.kcl.api.KclType item = 9; + */ + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> + internalGetItemFieldBuilder() { + if (itemBuilder_ == null) { + itemBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder>( + getItem(), + getParentForChildren(), + isClean()); + item_ = null; + } + return itemBuilder_; + } + + private int line_ ; + /** + *
+       * Line number where the type is defined.
+       * 
+ * + * int32 line = 10; + * @return The line. + */ + @java.lang.Override + public int getLine() { + return line_; + } + /** + *
+       * Line number where the type is defined.
+       * 
+ * + * int32 line = 10; + * @param value The line to set. + * @return This builder for chaining. + */ + public Builder setLine(int value) { + + line_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + *
+       * Line number where the type is defined.
+       * 
+ * + * int32 line = 10; + * @return This builder for chaining. + */ + public Builder clearLine() { + bitField0_ = (bitField0_ & ~0x00000200); + line_ = 0; + onChanged(); + return this; + } + + private java.util.List decorators_ = + java.util.Collections.emptyList(); + private void ensureDecoratorsIsMutable() { + if (!((bitField0_ & 0x00000400) != 0)) { + decorators_ = new java.util.ArrayList(decorators_); + bitField0_ |= 0x00000400; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Decorator, com.kcl.api.Spec.Decorator.Builder, com.kcl.api.Spec.DecoratorOrBuilder> decoratorsBuilder_; + + /** + *
+       * List of decorators for the schema.
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public java.util.List getDecoratorsList() { + if (decoratorsBuilder_ == null) { + return java.util.Collections.unmodifiableList(decorators_); + } else { + return decoratorsBuilder_.getMessageList(); + } + } + /** + *
+       * List of decorators for the schema.
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public int getDecoratorsCount() { + if (decoratorsBuilder_ == null) { + return decorators_.size(); + } else { + return decoratorsBuilder_.getCount(); + } + } + /** + *
+       * List of decorators for the schema.
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public com.kcl.api.Spec.Decorator getDecorators(int index) { + if (decoratorsBuilder_ == null) { + return decorators_.get(index); + } else { + return decoratorsBuilder_.getMessage(index); + } + } + /** + *
+       * List of decorators for the schema.
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public Builder setDecorators( + int index, com.kcl.api.Spec.Decorator value) { + if (decoratorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDecoratorsIsMutable(); + decorators_.set(index, value); + onChanged(); + } else { + decoratorsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * List of decorators for the schema.
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public Builder setDecorators( + int index, com.kcl.api.Spec.Decorator.Builder builderForValue) { + if (decoratorsBuilder_ == null) { + ensureDecoratorsIsMutable(); + decorators_.set(index, builderForValue.build()); + onChanged(); + } else { + decoratorsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of decorators for the schema.
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public Builder addDecorators(com.kcl.api.Spec.Decorator value) { + if (decoratorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDecoratorsIsMutable(); + decorators_.add(value); + onChanged(); + } else { + decoratorsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * List of decorators for the schema.
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public Builder addDecorators( + int index, com.kcl.api.Spec.Decorator value) { + if (decoratorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDecoratorsIsMutable(); + decorators_.add(index, value); + onChanged(); + } else { + decoratorsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * List of decorators for the schema.
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public Builder addDecorators( + com.kcl.api.Spec.Decorator.Builder builderForValue) { + if (decoratorsBuilder_ == null) { + ensureDecoratorsIsMutable(); + decorators_.add(builderForValue.build()); + onChanged(); + } else { + decoratorsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * List of decorators for the schema.
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public Builder addDecorators( + int index, com.kcl.api.Spec.Decorator.Builder builderForValue) { + if (decoratorsBuilder_ == null) { + ensureDecoratorsIsMutable(); + decorators_.add(index, builderForValue.build()); + onChanged(); + } else { + decoratorsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of decorators for the schema.
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public Builder addAllDecorators( + java.lang.Iterable values) { + if (decoratorsBuilder_ == null) { + ensureDecoratorsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, decorators_); + onChanged(); + } else { + decoratorsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * List of decorators for the schema.
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public Builder clearDecorators() { + if (decoratorsBuilder_ == null) { + decorators_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000400); + onChanged(); + } else { + decoratorsBuilder_.clear(); + } + return this; + } + /** + *
+       * List of decorators for the schema.
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public Builder removeDecorators(int index) { + if (decoratorsBuilder_ == null) { + ensureDecoratorsIsMutable(); + decorators_.remove(index); + onChanged(); + } else { + decoratorsBuilder_.remove(index); + } + return this; + } + /** + *
+       * List of decorators for the schema.
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public com.kcl.api.Spec.Decorator.Builder getDecoratorsBuilder( + int index) { + return internalGetDecoratorsFieldBuilder().getBuilder(index); + } + /** + *
+       * List of decorators for the schema.
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public com.kcl.api.Spec.DecoratorOrBuilder getDecoratorsOrBuilder( + int index) { + if (decoratorsBuilder_ == null) { + return decorators_.get(index); } else { + return decoratorsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * List of decorators for the schema.
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public java.util.List + getDecoratorsOrBuilderList() { + if (decoratorsBuilder_ != null) { + return decoratorsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(decorators_); + } + } + /** + *
+       * List of decorators for the schema.
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public com.kcl.api.Spec.Decorator.Builder addDecoratorsBuilder() { + return internalGetDecoratorsFieldBuilder().addBuilder( + com.kcl.api.Spec.Decorator.getDefaultInstance()); + } + /** + *
+       * List of decorators for the schema.
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public com.kcl.api.Spec.Decorator.Builder addDecoratorsBuilder( + int index) { + return internalGetDecoratorsFieldBuilder().addBuilder( + index, com.kcl.api.Spec.Decorator.getDefaultInstance()); + } + /** + *
+       * List of decorators for the schema.
+       * 
+ * + * repeated .com.kcl.api.Decorator decorators = 11; + */ + public java.util.List + getDecoratorsBuilderList() { + return internalGetDecoratorsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Decorator, com.kcl.api.Spec.Decorator.Builder, com.kcl.api.Spec.DecoratorOrBuilder> + internalGetDecoratorsFieldBuilder() { + if (decoratorsBuilder_ == null) { + decoratorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.Decorator, com.kcl.api.Spec.Decorator.Builder, com.kcl.api.Spec.DecoratorOrBuilder>( + decorators_, + ((bitField0_ & 0x00000400) != 0), + getParentForChildren(), + isClean()); + decorators_ = null; + } + return decoratorsBuilder_; + } + + private java.lang.Object filename_ = ""; + /** + *
+       * Absolute path of the file where the attribute is located.
+       * 
+ * + * string filename = 12; + * @return The filename. + */ + public java.lang.String getFilename() { + java.lang.Object ref = filename_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filename_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Absolute path of the file where the attribute is located.
+       * 
+ * + * string filename = 12; + * @return The bytes for filename. + */ + public com.google.protobuf.ByteString + getFilenameBytes() { + java.lang.Object ref = filename_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + filename_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Absolute path of the file where the attribute is located.
+       * 
+ * + * string filename = 12; + * @param value The filename to set. + * @return This builder for chaining. + */ + public Builder setFilename( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + filename_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + *
+       * Absolute path of the file where the attribute is located.
+       * 
+ * + * string filename = 12; + * @return This builder for chaining. + */ + public Builder clearFilename() { + filename_ = getDefaultInstance().getFilename(); + bitField0_ = (bitField0_ & ~0x00000800); + onChanged(); + return this; + } + /** + *
+       * Absolute path of the file where the attribute is located.
+       * 
+ * + * string filename = 12; + * @param value The bytes for filename to set. + * @return This builder for chaining. + */ + public Builder setFilenameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + filename_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + + private java.lang.Object pkgPath_ = ""; + /** + *
+       * Path of the package where the attribute is located.
+       * 
+ * + * string pkg_path = 13; + * @return The pkgPath. + */ + public java.lang.String getPkgPath() { + java.lang.Object ref = pkgPath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pkgPath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Path of the package where the attribute is located.
+       * 
+ * + * string pkg_path = 13; + * @return The bytes for pkgPath. + */ + public com.google.protobuf.ByteString + getPkgPathBytes() { + java.lang.Object ref = pkgPath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pkgPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Path of the package where the attribute is located.
+       * 
+ * + * string pkg_path = 13; + * @param value The pkgPath to set. + * @return This builder for chaining. + */ + public Builder setPkgPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + pkgPath_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + *
+       * Path of the package where the attribute is located.
+       * 
+ * + * string pkg_path = 13; + * @return This builder for chaining. + */ + public Builder clearPkgPath() { + pkgPath_ = getDefaultInstance().getPkgPath(); + bitField0_ = (bitField0_ & ~0x00001000); + onChanged(); + return this; + } + /** + *
+       * Path of the package where the attribute is located.
+       * 
+ * + * string pkg_path = 13; + * @param value The bytes for pkgPath to set. + * @return This builder for chaining. + */ + public Builder setPkgPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + pkgPath_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + /** + *
+       * Documentation for the attribute.
+       * 
+ * + * string description = 14; + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Documentation for the attribute.
+       * 
+ * + * string description = 14; + * @return The bytes for description. + */ + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Documentation for the attribute.
+       * 
+ * + * string description = 14; + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + description_ = value; + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + *
+       * Documentation for the attribute.
+       * 
+ * + * string description = 14; + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00002000); + onChanged(); + return this; + } + /** + *
+       * Documentation for the attribute.
+       * 
+ * + * string description = 14; + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + + private static final class ExamplesConverter implements com.google.protobuf.MapFieldBuilder.Converter { + @java.lang.Override + public com.kcl.api.Spec.Example build(com.kcl.api.Spec.ExampleOrBuilder val) { + if (val instanceof com.kcl.api.Spec.Example) { return (com.kcl.api.Spec.Example) val; } + return ((com.kcl.api.Spec.Example.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry defaultEntry() { + return ExamplesDefaultEntryHolder.defaultEntry; + } + }; + private static final ExamplesConverter examplesConverter = new ExamplesConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, com.kcl.api.Spec.ExampleOrBuilder, com.kcl.api.Spec.Example, com.kcl.api.Spec.Example.Builder> examples_; + private com.google.protobuf.MapFieldBuilder + internalGetExamples() { + if (examples_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(examplesConverter); + } + return examples_; + } + private com.google.protobuf.MapFieldBuilder + internalGetMutableExamples() { + if (examples_ == null) { + examples_ = new com.google.protobuf.MapFieldBuilder<>(examplesConverter); + } + bitField0_ |= 0x00004000; + onChanged(); + return examples_; + } + public int getExamplesCount() { + return internalGetExamples().ensureBuilderMap().size(); + } + /** + *
+       * Map of examples with example name as key.
+       * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + @java.lang.Override + public boolean containsExamples( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetExamples().ensureBuilderMap().containsKey(key); + } + /** + * Use {@link #getExamplesMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getExamples() { + return getExamplesMap(); + } + /** + *
+       * Map of examples with example name as key.
+       * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + @java.lang.Override + public java.util.Map getExamplesMap() { + return internalGetExamples().getImmutableMap(); + } + /** + *
+       * Map of examples with example name as key.
+       * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.Example getExamplesOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.Example defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableExamples().ensureBuilderMap(); + return map.containsKey(key) ? examplesConverter.build(map.get(key)) : defaultValue; + } + /** + *
+       * Map of examples with example name as key.
+       * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + @java.lang.Override + public com.kcl.api.Spec.Example getExamplesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableExamples().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return examplesConverter.build(map.get(key)); + } + public Builder clearExamples() { + bitField0_ = (bitField0_ & ~0x00004000); + internalGetMutableExamples().clear(); + return this; + } + /** + *
+       * Map of examples with example name as key.
+       * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + public Builder removeExamples( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableExamples().ensureBuilderMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableExamples() { + bitField0_ |= 0x00004000; + return internalGetMutableExamples().ensureMessageMap(); + } + /** + *
+       * Map of examples with example name as key.
+       * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + public Builder putExamples( + java.lang.String key, + com.kcl.api.Spec.Example value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableExamples().ensureBuilderMap() + .put(key, value); + bitField0_ |= 0x00004000; + return this; + } + /** + *
+       * Map of examples with example name as key.
+       * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + public Builder putAllExamples( + java.util.Map values) { + for (java.util.Map.Entry e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableExamples().ensureBuilderMap() + .putAll(values); + bitField0_ |= 0x00004000; + return this; + } + /** + *
+       * Map of examples with example name as key.
+       * 
+ * + * map<string, .com.kcl.api.Example> examples = 15; + */ + public com.kcl.api.Spec.Example.Builder putExamplesBuilderIfAbsent( + java.lang.String key) { + java.util.Map builderMap = internalGetMutableExamples().ensureBuilderMap(); + com.kcl.api.Spec.ExampleOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.kcl.api.Spec.Example.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.kcl.api.Spec.Example) { + entry = ((com.kcl.api.Spec.Example) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.kcl.api.Spec.Example.Builder) entry; + } + + private com.kcl.api.Spec.KclType baseSchema_; + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> baseSchemaBuilder_; + /** + *
+       * Base schema if applicable.
+       * 
+ * + * .com.kcl.api.KclType base_schema = 16; + * @return Whether the baseSchema field is set. + */ + public boolean hasBaseSchema() { + return ((bitField0_ & 0x00008000) != 0); + } + /** + *
+       * Base schema if applicable.
+       * 
+ * + * .com.kcl.api.KclType base_schema = 16; + * @return The baseSchema. + */ + public com.kcl.api.Spec.KclType getBaseSchema() { + if (baseSchemaBuilder_ == null) { + return baseSchema_ == null ? com.kcl.api.Spec.KclType.getDefaultInstance() : baseSchema_; + } else { + return baseSchemaBuilder_.getMessage(); + } + } + /** + *
+       * Base schema if applicable.
+       * 
+ * + * .com.kcl.api.KclType base_schema = 16; + */ + public Builder setBaseSchema(com.kcl.api.Spec.KclType value) { + if (baseSchemaBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + baseSchema_ = value; + } else { + baseSchemaBuilder_.setMessage(value); + } + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + /** + *
+       * Base schema if applicable.
+       * 
+ * + * .com.kcl.api.KclType base_schema = 16; + */ + public Builder setBaseSchema( + com.kcl.api.Spec.KclType.Builder builderForValue) { + if (baseSchemaBuilder_ == null) { + baseSchema_ = builderForValue.build(); + } else { + baseSchemaBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + /** + *
+       * Base schema if applicable.
+       * 
+ * + * .com.kcl.api.KclType base_schema = 16; + */ + public Builder mergeBaseSchema(com.kcl.api.Spec.KclType value) { + if (baseSchemaBuilder_ == null) { + if (((bitField0_ & 0x00008000) != 0) && + baseSchema_ != null && + baseSchema_ != com.kcl.api.Spec.KclType.getDefaultInstance()) { + getBaseSchemaBuilder().mergeFrom(value); + } else { + baseSchema_ = value; + } + } else { + baseSchemaBuilder_.mergeFrom(value); + } + if (baseSchema_ != null) { + bitField0_ |= 0x00008000; + onChanged(); + } + return this; + } + /** + *
+       * Base schema if applicable.
+       * 
+ * + * .com.kcl.api.KclType base_schema = 16; + */ + public Builder clearBaseSchema() { + bitField0_ = (bitField0_ & ~0x00008000); + baseSchema_ = null; + if (baseSchemaBuilder_ != null) { + baseSchemaBuilder_.dispose(); + baseSchemaBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * Base schema if applicable.
+       * 
+ * + * .com.kcl.api.KclType base_schema = 16; + */ + public com.kcl.api.Spec.KclType.Builder getBaseSchemaBuilder() { + bitField0_ |= 0x00008000; + onChanged(); + return internalGetBaseSchemaFieldBuilder().getBuilder(); + } + /** + *
+       * Base schema if applicable.
+       * 
+ * + * .com.kcl.api.KclType base_schema = 16; + */ + public com.kcl.api.Spec.KclTypeOrBuilder getBaseSchemaOrBuilder() { + if (baseSchemaBuilder_ != null) { + return baseSchemaBuilder_.getMessageOrBuilder(); + } else { + return baseSchema_ == null ? + com.kcl.api.Spec.KclType.getDefaultInstance() : baseSchema_; + } + } + /** + *
+       * Base schema if applicable.
+       * 
+ * + * .com.kcl.api.KclType base_schema = 16; + */ + private com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> + internalGetBaseSchemaFieldBuilder() { + if (baseSchemaBuilder_ == null) { + baseSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder>( + getBaseSchema(), + getParentForChildren(), + isClean()); + baseSchema_ = null; + } + return baseSchemaBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.KclType) + } - public static final int DESCRIPTION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object description_ = ""; + // @@protoc_insertion_point(class_scope:com.kcl.api.KclType) + private static final com.kcl.api.Spec.KclType DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.KclType(); + } - /** - *
-         * Long description for the example.
-         * 
- * - * string description = 2; - * - * @return The description. - */ - @java.lang.Override - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } - } + public static com.kcl.api.Spec.KclType getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - *
-         * Long description for the example.
-         * 
- * - * string description = 2; - * - * @return The bytes for description. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KclType parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static final int VALUE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object value_ = ""; + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - /** - *
-         * Embedded literal example.
-         * 
- * - * string value = 3; - * - * @return The value. - */ - @java.lang.Override - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } - } + @java.lang.Override + public com.kcl.api.Spec.KclType getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - *
-         * Embedded literal example.
-         * 
- * - * string value = 3; - * - * @return The bytes for value. - */ - @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + } - private byte memoizedIsInitialized = -1; + public interface DecoratorOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.Decorator) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; + /** + *
+     * Name of the decorator.
+     * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+     * Name of the decorator.
+     * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); - memoizedIsInitialized = 1; - return true; - } + /** + *
+     * Arguments for the decorator.
+     * 
+ * + * repeated string arguments = 2; + * @return A list containing the arguments. + */ + java.util.List + getArgumentsList(); + /** + *
+     * Arguments for the decorator.
+     * 
+ * + * repeated string arguments = 2; + * @return The count of arguments. + */ + int getArgumentsCount(); + /** + *
+     * Arguments for the decorator.
+     * 
+ * + * repeated string arguments = 2; + * @param index The index of the element to return. + * @return The arguments at the given index. + */ + java.lang.String getArguments(int index); + /** + *
+     * Arguments for the decorator.
+     * 
+ * + * repeated string arguments = 2; + * @param index The index of the value to return. + * @return The bytes of the arguments at the given index. + */ + com.google.protobuf.ByteString + getArgumentsBytes(int index); - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(summary_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, summary_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, description_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, value_); - } - getUnknownFields().writeTo(output); - } + /** + *
+     * Keyword arguments for the decorator as a map with keyword name as key.
+     * 
+ * + * map<string, string> keywords = 3; + */ + int getKeywordsCount(); + /** + *
+     * Keyword arguments for the decorator as a map with keyword name as key.
+     * 
+ * + * map<string, string> keywords = 3; + */ + boolean containsKeywords( + java.lang.String key); + /** + * Use {@link #getKeywordsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getKeywords(); + /** + *
+     * Keyword arguments for the decorator as a map with keyword name as key.
+     * 
+ * + * map<string, string> keywords = 3; + */ + java.util.Map + getKeywordsMap(); + /** + *
+     * Keyword arguments for the decorator as a map with keyword name as key.
+     * 
+ * + * map<string, string> keywords = 3; + */ + /* nullable */ +java.lang.String getKeywordsOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue); + /** + *
+     * Keyword arguments for the decorator as a map with keyword name as key.
+     * 
+ * + * map<string, string> keywords = 3; + */ + java.lang.String getKeywordsOrThrow( + java.lang.String key); + } + /** + *
+   * Message representing a decorator in KCL.
+   * 
+ * + * Protobuf type {@code com.kcl.api.Decorator} + */ + public static final class Decorator extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.Decorator) + DecoratorOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "Decorator"); + } + // Use Decorator.newBuilder() to construct. + private Decorator(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private Decorator() { + name_ = ""; + arguments_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(summary_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, summary_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, description_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, value_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_descriptor; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.kcl.api.Spec.Example)) { - return super.equals(obj); - } - com.kcl.api.Spec.Example other = (com.kcl.api.Spec.Example) obj; + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 3: + return internalGetKeywords(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Decorator.class, com.kcl.api.Spec.Decorator.Builder.class); + } - if (!getSummary().equals(other.getSummary())) - return false; - if (!getDescription().equals(other.getDescription())) - return false; - if (!getValue().equals(other.getValue())) - return false; - if (!getUnknownFields().equals(other.getUnknownFields())) - return false; - return true; - } + public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + *
+     * Name of the decorator.
+     * 
+ * + * string name = 1; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+     * Name of the decorator.
+     * 
+ * + * string name = 1; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + SUMMARY_FIELD_NUMBER; - hash = (53 * hash) + getSummary().hashCode(); - hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getDescription().hashCode(); - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } + public static final int ARGUMENTS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList arguments_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+     * Arguments for the decorator.
+     * 
+ * + * repeated string arguments = 2; + * @return A list containing the arguments. + */ + public com.google.protobuf.ProtocolStringList + getArgumentsList() { + return arguments_; + } + /** + *
+     * Arguments for the decorator.
+     * 
+ * + * repeated string arguments = 2; + * @return The count of arguments. + */ + public int getArgumentsCount() { + return arguments_.size(); + } + /** + *
+     * Arguments for the decorator.
+     * 
+ * + * repeated string arguments = 2; + * @param index The index of the element to return. + * @return The arguments at the given index. + */ + public java.lang.String getArguments(int index) { + return arguments_.get(index); + } + /** + *
+     * Arguments for the decorator.
+     * 
+ * + * repeated string arguments = 2; + * @param index The index of the value to return. + * @return The bytes of the arguments at the given index. + */ + public com.google.protobuf.ByteString + getArgumentsBytes(int index) { + return arguments_.getByteString(index); + } + + public static final int KEYWORDS_FIELD_NUMBER = 3; + private static final class KeywordsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_KeywordsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> keywords_; + private com.google.protobuf.MapField + internalGetKeywords() { + if (keywords_ == null) { + return com.google.protobuf.MapField.emptyMapField( + KeywordsDefaultEntryHolder.defaultEntry); + } + return keywords_; + } + public int getKeywordsCount() { + return internalGetKeywords().getMap().size(); + } + /** + *
+     * Keyword arguments for the decorator as a map with keyword name as key.
+     * 
+ * + * map<string, string> keywords = 3; + */ + @java.lang.Override + public boolean containsKeywords( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetKeywords().getMap().containsKey(key); + } + /** + * Use {@link #getKeywordsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getKeywords() { + return getKeywordsMap(); + } + /** + *
+     * Keyword arguments for the decorator as a map with keyword name as key.
+     * 
+ * + * map<string, string> keywords = 3; + */ + @java.lang.Override + public java.util.Map getKeywordsMap() { + return internalGetKeywords().getMap(); + } + /** + *
+     * Keyword arguments for the decorator as a map with keyword name as key.
+     * 
+ * + * map<string, string> keywords = 3; + */ + @java.lang.Override + public /* nullable */ +java.lang.String getKeywordsOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKeywords().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Keyword arguments for the decorator as a map with keyword name as key.
+     * 
+ * + * map<string, string> keywords = 3; + */ + @java.lang.Override + public java.lang.String getKeywordsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKeywords().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } - public static com.kcl.api.Spec.Example parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static com.kcl.api.Spec.Example parseFrom(java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + memoizedIsInitialized = 1; + return true; + } - public static com.kcl.api.Spec.Example parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + for (int i = 0; i < arguments_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, arguments_.getRaw(i)); + } + com.google.protobuf.GeneratedMessage + .serializeStringMapTo( + output, + internalGetKeywords(), + KeywordsDefaultEntryHolder.defaultEntry, + 3); + getUnknownFields().writeTo(output); + } - public static com.kcl.api.Spec.Example parseFrom(com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + { + int dataSize = 0; + for (int i = 0; i < arguments_.size(); i++) { + dataSize += computeStringSizeNoTag(arguments_.getRaw(i)); + } + size += dataSize; + size += 1 * getArgumentsList().size(); + } + for (java.util.Map.Entry entry + : internalGetKeywords().getMap().entrySet()) { + com.google.protobuf.MapEntry + keywords__ = KeywordsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, keywords__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - public static com.kcl.api.Spec.Example parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.Decorator)) { + return super.equals(obj); + } + com.kcl.api.Spec.Decorator other = (com.kcl.api.Spec.Decorator) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getArgumentsList() + .equals(other.getArgumentsList())) return false; + if (!internalGetKeywords().equals( + other.internalGetKeywords())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - public static com.kcl.api.Spec.Example parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + if (getArgumentsCount() > 0) { + hash = (37 * hash) + ARGUMENTS_FIELD_NUMBER; + hash = (53 * hash) + getArgumentsList().hashCode(); + } + if (!internalGetKeywords().getMap().isEmpty()) { + hash = (37 * hash) + KEYWORDS_FIELD_NUMBER; + hash = (53 * hash) + internalGetKeywords().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - public static com.kcl.api.Spec.Example parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + public static com.kcl.api.Spec.Decorator parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Decorator parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Decorator parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Decorator parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Decorator parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Decorator parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Decorator parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Decorator parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.kcl.api.Spec.Example parseFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + public static com.kcl.api.Spec.Decorator parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - public static com.kcl.api.Spec.Example parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); - } + public static com.kcl.api.Spec.Decorator parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.Decorator parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Decorator parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static com.kcl.api.Spec.Example parseDelimitedFrom(java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.Decorator prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - public static com.kcl.api.Spec.Example parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message representing a decorator in KCL.
+     * 
+ * + * Protobuf type {@code com.kcl.api.Decorator} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.Decorator) + com.kcl.api.Spec.DecoratorOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 3: + return internalGetKeywords(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 3: + return internalGetMutableKeywords(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Decorator.class, com.kcl.api.Spec.Decorator.Builder.class); + } + + // Construct using com.kcl.api.Spec.Decorator.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + arguments_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + internalGetMutableKeywords().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Decorator_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.Decorator getDefaultInstanceForType() { + return com.kcl.api.Spec.Decorator.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.Decorator build() { + com.kcl.api.Spec.Decorator result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.Decorator buildPartial() { + com.kcl.api.Spec.Decorator result = new com.kcl.api.Spec.Decorator(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.Decorator result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + arguments_.makeImmutable(); + result.arguments_ = arguments_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.keywords_ = internalGetKeywords(); + result.keywords_.makeImmutable(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.Decorator) { + return mergeFrom((com.kcl.api.Spec.Decorator)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.Decorator other) { + if (other == com.kcl.api.Spec.Decorator.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.arguments_.isEmpty()) { + if (arguments_.isEmpty()) { + arguments_ = other.arguments_; + bitField0_ |= 0x00000002; + } else { + ensureArgumentsIsMutable(); + arguments_.addAll(other.arguments_); + } + onChanged(); + } + internalGetMutableKeywords().mergeFrom( + other.internalGetKeywords()); + bitField0_ |= 0x00000004; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureArgumentsIsMutable(); + arguments_.add(s); + break; + } // case 18 + case 26: { + com.google.protobuf.MapEntry + keywords__ = input.readMessage( + KeywordsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableKeywords().getMutableMap().put( + keywords__.getKey(), keywords__.getValue()); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + *
+       * Name of the decorator.
+       * 
+ * + * string name = 1; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Name of the decorator.
+       * 
+ * + * string name = 1; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Name of the decorator.
+       * 
+ * + * string name = 1; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Name of the decorator.
+       * 
+ * + * string name = 1; + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Name of the decorator.
+       * 
+ * + * string name = 1; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList arguments_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureArgumentsIsMutable() { + if (!arguments_.isModifiable()) { + arguments_ = new com.google.protobuf.LazyStringArrayList(arguments_); + } + bitField0_ |= 0x00000002; + } + /** + *
+       * Arguments for the decorator.
+       * 
+ * + * repeated string arguments = 2; + * @return A list containing the arguments. + */ + public com.google.protobuf.ProtocolStringList + getArgumentsList() { + arguments_.makeImmutable(); + return arguments_; + } + /** + *
+       * Arguments for the decorator.
+       * 
+ * + * repeated string arguments = 2; + * @return The count of arguments. + */ + public int getArgumentsCount() { + return arguments_.size(); + } + /** + *
+       * Arguments for the decorator.
+       * 
+ * + * repeated string arguments = 2; + * @param index The index of the element to return. + * @return The arguments at the given index. + */ + public java.lang.String getArguments(int index) { + return arguments_.get(index); + } + /** + *
+       * Arguments for the decorator.
+       * 
+ * + * repeated string arguments = 2; + * @param index The index of the value to return. + * @return The bytes of the arguments at the given index. + */ + public com.google.protobuf.ByteString + getArgumentsBytes(int index) { + return arguments_.getByteString(index); + } + /** + *
+       * Arguments for the decorator.
+       * 
+ * + * repeated string arguments = 2; + * @param index The index to set the value at. + * @param value The arguments to set. + * @return This builder for chaining. + */ + public Builder setArguments( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureArgumentsIsMutable(); + arguments_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Arguments for the decorator.
+       * 
+ * + * repeated string arguments = 2; + * @param value The arguments to add. + * @return This builder for chaining. + */ + public Builder addArguments( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureArgumentsIsMutable(); + arguments_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Arguments for the decorator.
+       * 
+ * + * repeated string arguments = 2; + * @param values The arguments to add. + * @return This builder for chaining. + */ + public Builder addAllArguments( + java.lang.Iterable values) { + ensureArgumentsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, arguments_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Arguments for the decorator.
+       * 
+ * + * repeated string arguments = 2; + * @return This builder for chaining. + */ + public Builder clearArguments() { + arguments_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + *
+       * Arguments for the decorator.
+       * 
+ * + * repeated string arguments = 2; + * @param value The bytes of the arguments to add. + * @return This builder for chaining. + */ + public Builder addArgumentsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureArgumentsIsMutable(); + arguments_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> keywords_; + private com.google.protobuf.MapField + internalGetKeywords() { + if (keywords_ == null) { + return com.google.protobuf.MapField.emptyMapField( + KeywordsDefaultEntryHolder.defaultEntry); + } + return keywords_; + } + private com.google.protobuf.MapField + internalGetMutableKeywords() { + if (keywords_ == null) { + keywords_ = com.google.protobuf.MapField.newMapField( + KeywordsDefaultEntryHolder.defaultEntry); + } + if (!keywords_.isMutable()) { + keywords_ = keywords_.copy(); + } + bitField0_ |= 0x00000004; + onChanged(); + return keywords_; + } + public int getKeywordsCount() { + return internalGetKeywords().getMap().size(); + } + /** + *
+       * Keyword arguments for the decorator as a map with keyword name as key.
+       * 
+ * + * map<string, string> keywords = 3; + */ + @java.lang.Override + public boolean containsKeywords( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetKeywords().getMap().containsKey(key); + } + /** + * Use {@link #getKeywordsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getKeywords() { + return getKeywordsMap(); + } + /** + *
+       * Keyword arguments for the decorator as a map with keyword name as key.
+       * 
+ * + * map<string, string> keywords = 3; + */ + @java.lang.Override + public java.util.Map getKeywordsMap() { + return internalGetKeywords().getMap(); + } + /** + *
+       * Keyword arguments for the decorator as a map with keyword name as key.
+       * 
+ * + * map<string, string> keywords = 3; + */ + @java.lang.Override + public /* nullable */ +java.lang.String getKeywordsOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKeywords().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+       * Keyword arguments for the decorator as a map with keyword name as key.
+       * 
+ * + * map<string, string> keywords = 3; + */ + @java.lang.Override + public java.lang.String getKeywordsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKeywords().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearKeywords() { + bitField0_ = (bitField0_ & ~0x00000004); + internalGetMutableKeywords().getMutableMap() + .clear(); + return this; + } + /** + *
+       * Keyword arguments for the decorator as a map with keyword name as key.
+       * 
+ * + * map<string, string> keywords = 3; + */ + public Builder removeKeywords( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableKeywords().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableKeywords() { + bitField0_ |= 0x00000004; + return internalGetMutableKeywords().getMutableMap(); + } + /** + *
+       * Keyword arguments for the decorator as a map with keyword name as key.
+       * 
+ * + * map<string, string> keywords = 3; + */ + public Builder putKeywords( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableKeywords().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000004; + return this; + } + /** + *
+       * Keyword arguments for the decorator as a map with keyword name as key.
+       * 
+ * + * map<string, string> keywords = 3; + */ + public Builder putAllKeywords( + java.util.Map values) { + internalGetMutableKeywords().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000004; + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.Decorator) + } - public static com.kcl.api.Spec.Example parseFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.Decorator) + private static final com.kcl.api.Spec.Decorator DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.Decorator(); + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + public static com.kcl.api.Spec.Decorator getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Decorator parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static Builder newBuilder(com.kcl.api.Spec.Example prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public com.kcl.api.Spec.Decorator getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - *
-         * Message representing an example in KCL.
-         * 
- * - * Protobuf type {@code com.kcl.api.Example} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Example) - com.kcl.api.Spec.ExampleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Example_descriptor; - } + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Example_fieldAccessorTable - .ensureFieldAccessorsInitialized(com.kcl.api.Spec.Example.class, - com.kcl.api.Spec.Example.Builder.class); - } + public interface ExampleOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.Example) + com.google.protobuf.MessageOrBuilder { - // Construct using com.kcl.api.Spec.Example.newBuilder() - private Builder() { + /** + *
+     * Short description for the example.
+     * 
+ * + * string summary = 1; + * @return The summary. + */ + java.lang.String getSummary(); + /** + *
+     * Short description for the example.
+     * 
+ * + * string summary = 1; + * @return The bytes for summary. + */ + com.google.protobuf.ByteString + getSummaryBytes(); - } + /** + *
+     * Long description for the example.
+     * 
+ * + * string description = 2; + * @return The description. + */ + java.lang.String getDescription(); + /** + *
+     * Long description for the example.
+     * 
+ * + * string description = 2; + * @return The bytes for description. + */ + com.google.protobuf.ByteString + getDescriptionBytes(); - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); + /** + *
+     * Embedded literal example.
+     * 
+ * + * string value = 3; + * @return The value. + */ + java.lang.String getValue(); + /** + *
+     * Embedded literal example.
+     * 
+ * + * string value = 3; + * @return The bytes for value. + */ + com.google.protobuf.ByteString + getValueBytes(); + } + /** + *
+   * Message representing an example in KCL.
+   * 
+ * + * Protobuf type {@code com.kcl.api.Example} + */ + public static final class Example extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.Example) + ExampleOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "Example"); + } + // Use Example.newBuilder() to construct. + private Example(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private Example() { + summary_ = ""; + description_ = ""; + value_ = ""; + } - } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Example_descriptor; + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - summary_ = ""; - description_ = ""; - value_ = ""; - return this; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Example_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Example.class, com.kcl.api.Spec.Example.Builder.class); + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Example_descriptor; - } + public static final int SUMMARY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object summary_ = ""; + /** + *
+     * Short description for the example.
+     * 
+ * + * string summary = 1; + * @return The summary. + */ + @java.lang.Override + public java.lang.String getSummary() { + java.lang.Object ref = summary_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + summary_ = s; + return s; + } + } + /** + *
+     * Short description for the example.
+     * 
+ * + * string summary = 1; + * @return The bytes for summary. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSummaryBytes() { + java.lang.Object ref = summary_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + summary_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public com.kcl.api.Spec.Example getDefaultInstanceForType() { - return com.kcl.api.Spec.Example.getDefaultInstance(); - } + public static final int DESCRIPTION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; + /** + *
+     * Long description for the example.
+     * 
+ * + * string description = 2; + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } + } + /** + *
+     * Long description for the example.
+     * 
+ * + * string description = 2; + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public com.kcl.api.Spec.Example build() { - com.kcl.api.Spec.Example result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + public static final int VALUE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object value_ = ""; + /** + *
+     * Embedded literal example.
+     * 
+ * + * string value = 3; + * @return The value. + */ + @java.lang.Override + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } + } + /** + *
+     * Embedded literal example.
+     * 
+ * + * string value = 3; + * @return The bytes for value. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public com.kcl.api.Spec.Example buildPartial() { - com.kcl.api.Spec.Example result = new com.kcl.api.Spec.Example(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private void buildPartial0(com.kcl.api.Spec.Example result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.summary_ = summary_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.description_ = description_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.value_ = value_; - } - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Example) { - return mergeFrom((com.kcl.api.Spec.Example) other); - } else { - super.mergeFrom(other); - return this; - } - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(summary_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, summary_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, description_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, value_); + } + getUnknownFields().writeTo(output); + } - public Builder mergeFrom(com.kcl.api.Spec.Example other) { - if (other == com.kcl.api.Spec.Example.getDefaultInstance()) - return this; - if (!other.getSummary().isEmpty()) { - summary_ = other.summary_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getDescription().isEmpty()) { - description_ = other.description_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.getValue().isEmpty()) { - value_ = other.value_; - bitField0_ |= 0x00000004; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(summary_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, summary_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, description_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, value_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.Example)) { + return super.equals(obj); + } + com.kcl.api.Spec.Example other = (com.kcl.api.Spec.Example) obj; + + if (!getSummary() + .equals(other.getSummary())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getValue() + .equals(other.getValue())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - summary_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - value_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SUMMARY_FIELD_NUMBER; + hash = (53 * hash) + getSummary().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - private int bitField0_; - - private java.lang.Object summary_ = ""; - - /** - *
-             * Short description for the example.
-             * 
- * - * string summary = 1; - * - * @return The summary. - */ - public java.lang.String getSummary() { - java.lang.Object ref = summary_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - summary_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + public static com.kcl.api.Spec.Example parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Example parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Example parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Example parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Example parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.Example parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.Example parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Example parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Short description for the example.
-             * 
- * - * string summary = 1; - * - * @return The bytes for summary. - */ - public com.google.protobuf.ByteString getSummaryBytes() { - java.lang.Object ref = summary_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - summary_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static com.kcl.api.Spec.Example parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } - /** - *
-             * Short description for the example.
-             * 
- * - * string summary = 1; - * - * @param value - * The summary to set. - * - * @return This builder for chaining. - */ - public Builder setSummary(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - summary_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + public static com.kcl.api.Spec.Example parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.Example parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.Example parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - *
-             * Short description for the example.
-             * 
- * - * string summary = 1; - * - * @return This builder for chaining. - */ - public Builder clearSummary() { - summary_ = getDefaultInstance().getSummary(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.Example prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - *
-             * Short description for the example.
-             * 
- * - * string summary = 1; - * - * @param value - * The bytes for summary to set. - * - * @return This builder for chaining. - */ - public Builder setSummaryBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - summary_ = value; + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message representing an example in KCL.
+     * 
+ * + * Protobuf type {@code com.kcl.api.Example} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.Example) + com.kcl.api.Spec.ExampleOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Example_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Example_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.Example.class, com.kcl.api.Spec.Example.Builder.class); + } + + // Construct using com.kcl.api.Spec.Example.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + summary_ = ""; + description_ = ""; + value_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_Example_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.Example getDefaultInstanceForType() { + return com.kcl.api.Spec.Example.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.Example build() { + com.kcl.api.Spec.Example result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.Example buildPartial() { + com.kcl.api.Spec.Example result = new com.kcl.api.Spec.Example(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.Example result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.summary_ = summary_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.description_ = description_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.value_ = value_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.Example) { + return mergeFrom((com.kcl.api.Spec.Example)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.Example other) { + if (other == com.kcl.api.Spec.Example.getDefaultInstance()) return this; + if (!other.getSummary().isEmpty()) { + summary_ = other.summary_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getValue().isEmpty()) { + value_ = other.value_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + summary_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object description_ = ""; - - /** - *
-             * Long description for the example.
-             * 
- * - * string description = 2; - * - * @return The description. - */ - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Long description for the example.
-             * 
- * - * string description = 2; - * - * @return The bytes for description. - */ - public com.google.protobuf.ByteString getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Long description for the example.
-             * 
- * - * string description = 2; - * - * @param value - * The description to set. - * - * @return This builder for chaining. - */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - description_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - /** - *
-             * Long description for the example.
-             * 
- * - * string description = 2; - * - * @return This builder for chaining. - */ - public Builder clearDescription() { - description_ = getDefaultInstance().getDescription(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - *
-             * Long description for the example.
-             * 
- * - * string description = 2; - * - * @param value - * The bytes for description to set. - * - * @return This builder for chaining. - */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - description_ = value; + break; + } // case 10 + case 18: { + description_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.lang.Object value_ = ""; - - /** - *
-             * Embedded literal example.
-             * 
- * - * string value = 3; - * - * @return The value. - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - *
-             * Embedded literal example.
-             * 
- * - * string value = 3; - * - * @return The bytes for value. - */ - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - *
-             * Embedded literal example.
-             * 
- * - * string value = 3; - * - * @param value - * The value to set. - * - * @return This builder for chaining. - */ - public Builder setValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - /** - *
-             * Embedded literal example.
-             * 
- * - * string value = 3; - * - * @return This builder for chaining. - */ - public Builder clearValue() { - value_ = getDefaultInstance().getValue(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - - /** - *
-             * Embedded literal example.
-             * 
- * - * string value = 3; - * - * @param value - * The bytes for value to set. - * - * @return This builder for chaining. - */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - value_ = value; + break; + } // case 18 + case 26: { + value_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:com.kcl.api.Example) - } + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object summary_ = ""; + /** + *
+       * Short description for the example.
+       * 
+ * + * string summary = 1; + * @return The summary. + */ + public java.lang.String getSummary() { + java.lang.Object ref = summary_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + summary_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Short description for the example.
+       * 
+ * + * string summary = 1; + * @return The bytes for summary. + */ + public com.google.protobuf.ByteString + getSummaryBytes() { + java.lang.Object ref = summary_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + summary_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Short description for the example.
+       * 
+ * + * string summary = 1; + * @param value The summary to set. + * @return This builder for chaining. + */ + public Builder setSummary( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + summary_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Short description for the example.
+       * 
+ * + * string summary = 1; + * @return This builder for chaining. + */ + public Builder clearSummary() { + summary_ = getDefaultInstance().getSummary(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Short description for the example.
+       * 
+ * + * string summary = 1; + * @param value The bytes for summary to set. + * @return This builder for chaining. + */ + public Builder setSummaryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + summary_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + /** + *
+       * Long description for the example.
+       * 
+ * + * string description = 2; + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Long description for the example.
+       * 
+ * + * string description = 2; + * @return The bytes for description. + */ + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Long description for the example.
+       * 
+ * + * string description = 2; + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + description_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Long description for the example.
+       * 
+ * + * string description = 2; + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Long description for the example.
+       * 
+ * + * string description = 2; + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object value_ = ""; + /** + *
+       * Embedded literal example.
+       * 
+ * + * string value = 3; + * @return The value. + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Embedded literal example.
+       * 
+ * + * string value = 3; + * @return The bytes for value. + */ + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Embedded literal example.
+       * 
+ * + * string value = 3; + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + value_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Embedded literal example.
+       * 
+ * + * string value = 3; + * @return This builder for chaining. + */ + public Builder clearValue() { + value_ = getDefaultInstance().getValue(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+       * Embedded literal example.
+       * 
+ * + * string value = 3; + * @param value The bytes for value to set. + * @return This builder for chaining. + */ + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + value_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.Example) + } - // @@protoc_insertion_point(class_scope:com.kcl.api.Example) - private static final com.kcl.api.Spec.Example DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Example(); - } + // @@protoc_insertion_point(class_scope:com.kcl.api.Example) + private static final com.kcl.api.Spec.Example DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.Example(); + } - public static com.kcl.api.Spec.Example getDefaultInstance() { - return DEFAULT_INSTANCE; - } + public static com.kcl.api.Spec.Example getDefaultInstance() { + return DEFAULT_INSTANCE; + } - private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Example parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Example parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + @java.lang.Override + public com.kcl.api.Spec.Example getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public com.kcl.api.Spec.Example getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ExternalPkg_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_ExternalPkg_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Argument_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_Argument_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Error_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_Error_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Message_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_Message_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Ping_Args_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_Ping_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Ping_Result_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_Ping_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_GetVersion_Args_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_GetVersion_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_GetVersion_Result_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_GetVersion_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ListMethod_Args_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_ListMethod_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ListMethod_Result_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_ListMethod_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ParseFile_Args_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_ParseFile_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ParseFile_Result_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_ParseFile_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ParseProgram_Args_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_ParseProgram_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ParseProgram_Result_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_ParseProgram_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LoadPackage_Args_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_LoadPackage_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LoadPackage_Result_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_LoadPackage_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ListOptions_Result_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_ListOptions_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_OptionHelp_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_OptionHelp_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Symbol_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_Symbol_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Scope_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_Scope_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_SymbolIndex_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_SymbolIndex_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ScopeIndex_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_ScopeIndex_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ExecProgram_Args_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_ExecProgram_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ExecProgram_Result_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_ExecProgram_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_BuildProgram_Args_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_BuildProgram_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_BuildProgram_Result_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_BuildProgram_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ExecArtifact_Args_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_ExecArtifact_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_FormatCode_Args_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_FormatCode_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_FormatCode_Result_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_FormatCode_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_FormatPath_Args_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_FormatPath_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_FormatPath_Result_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_FormatPath_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LintPath_Args_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_LintPath_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LintPath_Result_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_LintPath_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_OverrideFile_Args_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_OverrideFile_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_OverrideFile_Result_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_OverrideFile_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ListVariables_Options_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_ListVariables_Options_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_VariableList_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_VariableList_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ListVariables_Args_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_ListVariables_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ListVariables_Result_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_ListVariables_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Variable_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_Variable_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_MapEntry_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_MapEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_GetSchemaTypeMapping_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_GetSchemaTypeMapping_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ValidateCode_Args_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_ValidateCode_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ValidateCode_Result_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_ValidateCode_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Position_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_Position_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ListDepFiles_Args_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_ListDepFiles_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_ListDepFiles_Result_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_ListDepFiles_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_LoadSettingsFiles_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_LoadSettingsFiles_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_CliConfig_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_CliConfig_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_KeyValuePair_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_KeyValuePair_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Rename_Args_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_Rename_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Rename_Result_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_Rename_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_RenameCode_Args_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_RenameCode_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_RenameCode_Result_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_RenameCode_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Test_Args_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_Test_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Test_Result_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_Test_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_TestCaseInfo_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_TestCaseInfo_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_UpdateDependencies_Args_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_UpdateDependencies_Args_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_UpdateDependencies_Result_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_UpdateDependencies_Result_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_KclType_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_KclType_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_KclType_PropertiesEntry_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_KclType_PropertiesEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_KclType_ExamplesEntry_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_KclType_ExamplesEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Decorator_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_Decorator_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Decorator_KeywordsEntry_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_Decorator_KeywordsEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_kcl_api_Example_descriptor; - private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_kcl_api_Example_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - static { - java.lang.String[] descriptorData = { "\n\nspec.proto\022\013com.kcl.api\"1\n\013ExternalPkg" - + "\022\020\n\010pkg_name\030\001 \001(\t\022\020\n\010pkg_path\030\002 \001(\t\"\'\n\010" - + "Argument\022\014\n\004name\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"L\n" - + "\005Error\022\r\n\005level\030\001 \001(\t\022\014\n\004code\030\002 \001(\t\022&\n\010m" - + "essages\030\003 \003(\0132\024.com.kcl.api.Message\":\n\007M" - + "essage\022\013\n\003msg\030\001 \001(\t\022\"\n\003pos\030\002 \001(\0132\025.com.k" - + "cl.api.Position\"\032\n\tPing_Args\022\r\n\005value\030\001 " - + "\001(\t\"\034\n\013Ping_Result\022\r\n\005value\030\001 \001(\t\"\021\n\017Get" - + "Version_Args\"]\n\021GetVersion_Result\022\017\n\007ver" - + "sion\030\001 \001(\t\022\020\n\010checksum\030\002 \001(\t\022\017\n\007git_sha\030" - + "\003 \001(\t\022\024\n\014version_info\030\004 \001(\t\"\021\n\017ListMetho" - + "d_Args\"-\n\021ListMethod_Result\022\030\n\020method_na" - + "me_list\030\001 \003(\t\"_\n\016ParseFile_Args\022\014\n\004path\030" - + "\001 \001(\t\022\016\n\006source\030\002 \001(\t\022/\n\rexternal_pkgs\030\003" - + " \003(\0132\030.com.kcl.api.ExternalPkg\"V\n\020ParseF" - + "ile_Result\022\020\n\010ast_json\030\001 \001(\t\022\014\n\004deps\030\002 \003" - + "(\t\022\"\n\006errors\030\003 \003(\0132\022.com.kcl.api.Error\"d" - + "\n\021ParseProgram_Args\022\r\n\005paths\030\001 \003(\t\022\017\n\007so" - + "urces\030\002 \003(\t\022/\n\rexternal_pkgs\030\003 \003(\0132\030.com" - + ".kcl.api.ExternalPkg\"Z\n\023ParseProgram_Res" - + "ult\022\020\n\010ast_json\030\001 \001(\t\022\r\n\005paths\030\002 \003(\t\022\"\n\006" - + "errors\030\003 \003(\0132\022.com.kcl.api.Error\"\211\001\n\020Loa" - + "dPackage_Args\0222\n\nparse_args\030\001 \001(\0132\036.com." - + "kcl.api.ParseProgram_Args\022\023\n\013resolve_ast" - + "\030\002 \001(\010\022\024\n\014load_builtin\030\003 \001(\010\022\026\n\016with_ast" - + "_index\030\004 \001(\010\"\367\007\n\022LoadPackage_Result\022\017\n\007p" - + "rogram\030\001 \001(\t\022\r\n\005paths\030\002 \003(\t\022(\n\014parse_err" - + "ors\030\003 \003(\0132\022.com.kcl.api.Error\022\'\n\013type_er" - + "rors\030\004 \003(\0132\022.com.kcl.api.Error\022;\n\006scopes" - + "\030\005 \003(\0132+.com.kcl.api.LoadPackage_Result." - + "ScopesEntry\022=\n\007symbols\030\006 \003(\0132,.com.kcl.a" - + "pi.LoadPackage_Result.SymbolsEntry\022K\n\017no" - + "de_symbol_map\030\007 \003(\01322.com.kcl.api.LoadPa" - + "ckage_Result.NodeSymbolMapEntry\022K\n\017symbo" - + "l_node_map\030\010 \003(\01322.com.kcl.api.LoadPacka" - + "ge_Result.SymbolNodeMapEntry\022\\\n\030fully_qu" - + "alified_name_map\030\t \003(\0132:.com.kcl.api.Loa" + "dPackage_Result.FullyQualifiedNameMapEnt" - + "ry\022G\n\rpkg_scope_map\030\n \003(\01320.com.kcl.api." - + "LoadPackage_Result.PkgScopeMapEntry\032A\n\013S" - + "copesEntry\022\013\n\003key\030\001 \001(\t\022!\n\005value\030\002 \001(\0132\022" - + ".com.kcl.api.Scope:\0028\001\032C\n\014SymbolsEntry\022\013" - + "\n\003key\030\001 \001(\t\022\"\n\005value\030\002 \001(\0132\023.com.kcl.api" - + ".Symbol:\0028\001\032N\n\022NodeSymbolMapEntry\022\013\n\003key" - + "\030\001 \001(\t\022\'\n\005value\030\002 \001(\0132\030.com.kcl.api.Symb" - + "olIndex:\0028\001\0324\n\022SymbolNodeMapEntry\022\013\n\003key" - + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032V\n\032FullyQualif" - + "iedNameMapEntry\022\013\n\003key\030\001 \001(\t\022\'\n\005value\030\002 " - + "\001(\0132\030.com.kcl.api.SymbolIndex:\0028\001\032K\n\020Pkg" - + "ScopeMapEntry\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002 \001(" - + "\0132\027.com.kcl.api.ScopeIndex:\0028\001\">\n\022ListOp" - + "tions_Result\022(\n\007options\030\002 \003(\0132\027.com.kcl." - + "api.OptionHelp\"_\n\nOptionHelp\022\014\n\004name\030\001 \001" - + "(\t\022\014\n\004type\030\002 \001(\t\022\020\n\010required\030\003 \001(\010\022\025\n\rde" - + "fault_value\030\004 \001(\t\022\014\n\004help\030\005 \001(\t\"\304\001\n\006Symb" - + "ol\022 \n\002ty\030\001 \001(\0132\024.com.kcl.api.KclType\022\014\n\004" - + "name\030\002 \001(\t\022\'\n\005owner\030\003 \001(\0132\030.com.kcl.api." - + "SymbolIndex\022%\n\003def\030\004 \001(\0132\030.com.kcl.api.S" - + "ymbolIndex\022\'\n\005attrs\030\005 \003(\0132\030.com.kcl.api." - + "SymbolIndex\022\021\n\tis_global\030\006 \001(\010\"\272\001\n\005Scope" - + "\022\014\n\004kind\030\001 \001(\t\022\'\n\006parent\030\002 \001(\0132\027.com.kcl" - + ".api.ScopeIndex\022\'\n\005owner\030\003 \001(\0132\030.com.kcl" - + ".api.SymbolIndex\022)\n\010children\030\004 \003(\0132\027.com" - + ".kcl.api.ScopeIndex\022&\n\004defs\030\005 \003(\0132\030.com." - + "kcl.api.SymbolIndex\"1\n\013SymbolIndex\022\t\n\001i\030" - + "\001 \001(\004\022\t\n\001g\030\002 \001(\004\022\014\n\004kind\030\003 \001(\t\"0\n\nScopeI" - + "ndex\022\t\n\001i\030\001 \001(\004\022\t\n\001g\030\002 \001(\004\022\014\n\004kind\030\003 \001(\t" - + "\"\320\003\n\020ExecProgram_Args\022\020\n\010work_dir\030\001 \001(\t\022" - + "\027\n\017k_filename_list\030\002 \003(\t\022\023\n\013k_code_list\030" - + "\003 \003(\t\022#\n\004args\030\004 \003(\0132\025.com.kcl.api.Argume" - + "nt\022\021\n\toverrides\030\005 \003(\t\022\033\n\023disable_yaml_re" - + "sult\030\006 \001(\010\022\032\n\022print_override_ast\030\007 \001(\010\022\032" - + "\n\022strict_range_check\030\010 \001(\010\022\024\n\014disable_no" - + "ne\030\t \001(\010\022\017\n\007verbose\030\n \001(\005\022\r\n\005debug\030\013 \001(\005" - + "\022\021\n\tsort_keys\030\014 \001(\010\022/\n\rexternal_pkgs\030\r \003" - + "(\0132\030.com.kcl.api.ExternalPkg\022 \n\030include_" - + "schema_type_path\030\016 \001(\010\022\024\n\014compile_only\030\017" - + " \001(\010\022\023\n\013show_hidden\030\020 \001(\010\022\025\n\rpath_select" - + "or\030\021 \003(\t\022\021\n\tfast_eval\030\022 \001(\010\"h\n\022ExecProgr" - + "am_Result\022\023\n\013json_result\030\001 \001(\t\022\023\n\013yaml_r" - + "esult\030\002 \001(\t\022\023\n\013log_message\030\003 \001(\t\022\023\n\013err_" - + "message\030\004 \001(\t\"U\n\021BuildProgram_Args\0220\n\tex" - + "ec_args\030\001 \001(\0132\035.com.kcl.api.ExecProgram_" - + "Args\022\016\n\006output\030\002 \001(\t\"#\n\023BuildProgram_Res" - + "ult\022\014\n\004path\030\001 \001(\t\"S\n\021ExecArtifact_Args\022\014" - + "\n\004path\030\001 \001(\t\0220\n\texec_args\030\002 \001(\0132\035.com.kc" - + "l.api.ExecProgram_Args\"!\n\017FormatCode_Arg" - + "s\022\016\n\006source\030\001 \001(\t\"&\n\021FormatCode_Result\022\021" - + "\n\tformatted\030\001 \001(\014\"\037\n\017FormatPath_Args\022\014\n\004" - + "path\030\001 \001(\t\"*\n\021FormatPath_Result\022\025\n\rchang" - + "ed_paths\030\001 \003(\t\"\036\n\rLintPath_Args\022\r\n\005paths" - + "\030\001 \003(\t\"\"\n\017LintPath_Result\022\017\n\007results\030\001 \003" - + "(\t\"F\n\021OverrideFile_Args\022\014\n\004file\030\001 \001(\t\022\r\n" - + "\005specs\030\002 \003(\t\022\024\n\014import_paths\030\003 \003(\t\"O\n\023Ov" - + "errideFile_Result\022\016\n\006result\030\001 \001(\010\022(\n\014par" - + "se_errors\030\002 \003(\0132\022.com.kcl.api.Error\".\n\025L" - + "istVariables_Options\022\025\n\rmerge_program\030\001 " - + "\001(\010\"8\n\014VariableList\022(\n\tvariables\030\001 \003(\0132\025" - + ".com.kcl.api.Variable\"g\n\022ListVariables_A" - + "rgs\022\r\n\005files\030\001 \003(\t\022\r\n\005specs\030\002 \003(\t\0223\n\007opt" - + "ions\030\003 \001(\0132\".com.kcl.api.ListVariables_O" - + "ptions\"\355\001\n\024ListVariables_Result\022C\n\tvaria" - + "bles\030\001 \003(\01320.com.kcl.api.ListVariables_R" - + "esult.VariablesEntry\022\031\n\021unsupported_code" - + "s\030\002 \003(\t\022(\n\014parse_errors\030\003 \003(\0132\022.com.kcl." - + "api.Error\032K\n\016VariablesEntry\022\013\n\003key\030\001 \001(\t" - + "\022(\n\005value\030\002 \001(\0132\031.com.kcl.api.VariableLi" - + "st:\0028\001\"\224\001\n\010Variable\022\r\n\005value\030\001 \001(\t\022\021\n\tty" - + "pe_name\030\002 \001(\t\022\016\n\006op_sym\030\003 \001(\t\022)\n\nlist_it" - + "ems\030\004 \003(\0132\025.com.kcl.api.Variable\022+\n\014dict" - + "_entries\030\005 \003(\0132\025.com.kcl.api.MapEntry\"=\n" - + "\010MapEntry\022\013\n\003key\030\001 \001(\t\022$\n\005value\030\002 \001(\0132\025." - + "com.kcl.api.Variable\"b\n\031GetSchemaTypeMap" - + "ping_Args\0220\n\texec_args\030\001 \001(\0132\035.com.kcl.a" - + "pi.ExecProgram_Args\022\023\n\013schema_name\030\002 \001(\t" - + "\"\313\001\n\033GetSchemaTypeMapping_Result\022\\\n\023sche" - + "ma_type_mapping\030\001 \003(\0132?.com.kcl.api.GetS" + "chemaTypeMapping_Result.SchemaTypeMappin" - + "gEntry\032N\n\026SchemaTypeMappingEntry\022\013\n\003key\030" - + "\001 \001(\t\022#\n\005value\030\002 \001(\0132\024.com.kcl.api.KclTy" - + "pe:\0028\001\"\270\001\n\021ValidateCode_Args\022\020\n\010datafile" - + "\030\001 \001(\t\022\014\n\004data\030\002 \001(\t\022\014\n\004file\030\003 \001(\t\022\014\n\004co" - + "de\030\004 \001(\t\022\016\n\006schema\030\005 \001(\t\022\026\n\016attribute_na" - + "me\030\006 \001(\t\022\016\n\006format\030\007 \001(\t\022/\n\rexternal_pkg" - + "s\030\010 \003(\0132\030.com.kcl.api.ExternalPkg\";\n\023Val" - + "idateCode_Result\022\017\n\007success\030\001 \001(\010\022\023\n\013err" - + "_message\030\002 \001(\t\":\n\010Position\022\014\n\004line\030\001 \001(\003" - + "\022\016\n\006column\030\002 \001(\003\022\020\n\010filename\030\003 \001(\t\"i\n\021Li" - + "stDepFiles_Args\022\020\n\010work_dir\030\001 \001(\t\022\024\n\014use" - + "_abs_path\030\002 \001(\010\022\023\n\013include_all\030\003 \001(\010\022\027\n\017" - + "use_fast_parser\030\004 \001(\010\"F\n\023ListDepFiles_Re" - + "sult\022\017\n\007pkgroot\030\001 \001(\t\022\017\n\007pkgpath\030\002 \001(\t\022\r" - + "\n\005files\030\003 \003(\t\"9\n\026LoadSettingsFiles_Args\022" - + "\020\n\010work_dir\030\001 \001(\t\022\r\n\005files\030\002 \003(\t\"{\n\030Load" - + "SettingsFiles_Result\022/\n\017kcl_cli_configs\030" - + "\001 \001(\0132\026.com.kcl.api.CliConfig\022.\n\013kcl_opt" - + "ions\030\002 \003(\0132\031.com.kcl.api.KeyValuePair\"\203\002" - + "\n\tCliConfig\022\r\n\005files\030\001 \003(\t\022\016\n\006output\030\002 \001" - + "(\t\022\021\n\toverrides\030\003 \003(\t\022\025\n\rpath_selector\030\004" - + " \003(\t\022\032\n\022strict_range_check\030\005 \001(\010\022\024\n\014disa" - + "ble_none\030\006 \001(\010\022\017\n\007verbose\030\007 \001(\003\022\r\n\005debug" - + "\030\010 \001(\010\022\021\n\tsort_keys\030\t \001(\010\022\023\n\013show_hidden" - + "\030\n \001(\010\022 \n\030include_schema_type_path\030\013 \001(\010" - + "\022\021\n\tfast_eval\030\014 \001(\010\"*\n\014KeyValuePair\022\013\n\003k" - + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"^\n\013Rename_Args\022\024" - + "\n\014package_root\030\001 \001(\t\022\023\n\013symbol_path\030\002 \001(" - + "\t\022\022\n\nfile_paths\030\003 \003(\t\022\020\n\010new_name\030\004 \001(\t\"" - + "&\n\rRename_Result\022\025\n\rchanged_files\030\001 \003(\t\"" - + "\307\001\n\017RenameCode_Args\022\024\n\014package_root\030\001 \001(" - + "\t\022\023\n\013symbol_path\030\002 \001(\t\022C\n\014source_codes\030\003" - + " \003(\0132-.com.kcl.api.RenameCode_Args.Sourc" - + "eCodesEntry\022\020\n\010new_name\030\004 \001(\t\0322\n\020SourceC" - + "odesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" - + "\001\"\221\001\n\021RenameCode_Result\022G\n\rchanged_codes" - + "\030\001 \003(\01320.com.kcl.api.RenameCode_Result.C" - + "hangedCodesEntry\0323\n\021ChangedCodesEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"v\n\tTest_Ar" - + "gs\0220\n\texec_args\030\001 \001(\0132\035.com.kcl.api.Exec" - + "Program_Args\022\020\n\010pkg_list\030\002 \003(\t\022\022\n\nrun_re" - + "gexp\030\003 \001(\t\022\021\n\tfail_fast\030\004 \001(\010\"6\n\013Test_Re" - + "sult\022\'\n\004info\030\002 \003(\0132\031.com.kcl.api.TestCas" - + "eInfo\"R\n\014TestCaseInfo\022\014\n\004name\030\001 \001(\t\022\r\n\005e" - + "rror\030\002 \001(\t\022\020\n\010duration\030\003 \001(\004\022\023\n\013log_mess" - + "age\030\004 \001(\t\"@\n\027UpdateDependencies_Args\022\025\n\r" - + "manifest_path\030\001 \001(\t\022\016\n\006vendor\030\002 \001(\010\"L\n\031U" - + "pdateDependencies_Result\022/\n\rexternal_pkg" - + "s\030\003 \003(\0132\030.com.kcl.api.ExternalPkg\"\363\004\n\007Kc" - + "lType\022\014\n\004type\030\001 \001(\t\022)\n\013union_types\030\002 \003(\013" - + "2\024.com.kcl.api.KclType\022\017\n\007default\030\003 \001(\t\022" - + "\023\n\013schema_name\030\004 \001(\t\022\022\n\nschema_doc\030\005 \001(\t" - + "\0228\n\nproperties\030\006 \003(\0132$.com.kcl.api.KclTy" - + "pe.PropertiesEntry\022\020\n\010required\030\007 \003(\t\022!\n\003" - + "key\030\010 \001(\0132\024.com.kcl.api.KclType\022\"\n\004item\030" - + "\t \001(\0132\024.com.kcl.api.KclType\022\014\n\004line\030\n \001(" - + "\005\022*\n\ndecorators\030\013 \003(\0132\026.com.kcl.api.Deco" - + "rator\022\020\n\010filename\030\014 \001(\t\022\020\n\010pkg_path\030\r \001(" - + "\t\022\023\n\013description\030\016 \001(\t\0224\n\010examples\030\017 \003(\013" - + "2\".com.kcl.api.KclType.ExamplesEntry\022)\n\013" - + "base_schema\030\020 \001(\0132\024.com.kcl.api.KclType\032" - + "G\n\017PropertiesEntry\022\013\n\003key\030\001 \001(\t\022#\n\005value" - + "\030\002 \001(\0132\024.com.kcl.api.KclType:\0028\001\032E\n\rExam" - + "plesEntry\022\013\n\003key\030\001 \001(\t\022#\n\005value\030\002 \001(\0132\024." - + "com.kcl.api.Example:\0028\001\"\225\001\n\tDecorator\022\014\n" - + "\004name\030\001 \001(\t\022\021\n\targuments\030\002 \003(\t\0226\n\010keywor" - + "ds\030\003 \003(\0132$.com.kcl.api.Decorator.Keyword" - + "sEntry\032/\n\rKeywordsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" - + "value\030\002 \001(\t:\0028\001\">\n\007Example\022\017\n\007summary\030\001 " - + "\001(\t\022\023\n\013description\030\002 \001(\t\022\r\n\005value\030\003 \001(\t2" - + "\226\001\n\016BuiltinService\0228\n\004Ping\022\026.com.kcl.api" - + ".Ping_Args\032\030.com.kcl.api.Ping_Result\022J\n\n" - + "ListMethod\022\034.com.kcl.api.ListMethod_Args" - + "\032\036.com.kcl.api.ListMethod_Result2\336\r\n\014Kcl" - + "vmService\0228\n\004Ping\022\026.com.kcl.api.Ping_Arg" - + "s\032\030.com.kcl.api.Ping_Result\022J\n\nGetVersio" - + "n\022\034.com.kcl.api.GetVersion_Args\032\036.com.kc" - + "l.api.GetVersion_Result\022P\n\014ParseProgram\022" - + "\036.com.kcl.api.ParseProgram_Args\032 .com.kc" - + "l.api.ParseProgram_Result\022G\n\tParseFile\022\033" - + ".com.kcl.api.ParseFile_Args\032\035.com.kcl.ap" - + "i.ParseFile_Result\022M\n\013LoadPackage\022\035.com." - + "kcl.api.LoadPackage_Args\032\037.com.kcl.api.L" - + "oadPackage_Result\022N\n\013ListOptions\022\036.com.k" - + "cl.api.ParseProgram_Args\032\037.com.kcl.api.L" - + "istOptions_Result\022S\n\rListVariables\022\037.com" + ".kcl.api.ListVariables_Args\032!.com.kcl.ap" - + "i.ListVariables_Result\022M\n\013ExecProgram\022\035." - + "com.kcl.api.ExecProgram_Args\032\037.com.kcl.a" - + "pi.ExecProgram_Result\022P\n\014BuildProgram\022\036." - + "com.kcl.api.BuildProgram_Args\032 .com.kcl." + "api.BuildProgram_Result\022O\n\014ExecArtifact\022" - + "\036.com.kcl.api.ExecArtifact_Args\032\037.com.kc" - + "l.api.ExecProgram_Result\022P\n\014OverrideFile" - + "\022\036.com.kcl.api.OverrideFile_Args\032 .com.k" - + "cl.api.OverrideFile_Result\022h\n\024GetSchemaT" + "ypeMapping\022&.com.kcl.api.GetSchemaTypeMa" - + "pping_Args\032(.com.kcl.api.GetSchemaTypeMa" + "pping_Result\022J\n\nFormatCode\022\034.com.kcl.api" - + ".FormatCode_Args\032\036.com.kcl.api.FormatCod" - + "e_Result\022J\n\nFormatPath\022\034.com.kcl.api.For" - + "matPath_Args\032\036.com.kcl.api.FormatPath_Re" - + "sult\022D\n\010LintPath\022\032.com.kcl.api.LintPath_" - + "Args\032\034.com.kcl.api.LintPath_Result\022P\n\014Va" - + "lidateCode\022\036.com.kcl.api.ValidateCode_Ar" - + "gs\032 .com.kcl.api.ValidateCode_Result\022P\n\014" - + "ListDepFiles\022\036.com.kcl.api.ListDepFiles_" + "Args\032 .com.kcl.api.ListDepFiles_Result\022_" - + "\n\021LoadSettingsFiles\022#.com.kcl.api.LoadSe" + "ttingsFiles_Args\032%.com.kcl.api.LoadSetti" - + "ngsFiles_Result\022>\n\006Rename\022\030.com.kcl.api." - + "Rename_Args\032\032.com.kcl.api.Rename_Result\022" - + "J\n\nRenameCode\022\034.com.kcl.api.RenameCode_A" - + "rgs\032\036.com.kcl.api.RenameCode_Result\0228\n\004T" - + "est\022\026.com.kcl.api.Test_Args\032\030.com.kcl.ap" - + "i.Test_Result\022b\n\022UpdateDependencies\022$.co" + "m.kcl.api.UpdateDependencies_Args\032&.com." - + "kcl.api.UpdateDependencies_ResultB\024Z\005.;a" + "pi\252\002\nKclLib.APIb\006proto3" }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_com_kcl_api_ExternalPkg_descriptor = getDescriptor().getMessageTypes().get(0); - internal_static_com_kcl_api_ExternalPkg_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_ExternalPkg_descriptor, new java.lang.String[] { "PkgName", "PkgPath", }); - internal_static_com_kcl_api_Argument_descriptor = getDescriptor().getMessageTypes().get(1); - internal_static_com_kcl_api_Argument_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_Argument_descriptor, new java.lang.String[] { "Name", "Value", }); - internal_static_com_kcl_api_Error_descriptor = getDescriptor().getMessageTypes().get(2); - internal_static_com_kcl_api_Error_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_Error_descriptor, new java.lang.String[] { "Level", "Code", "Messages", }); - internal_static_com_kcl_api_Message_descriptor = getDescriptor().getMessageTypes().get(3); - internal_static_com_kcl_api_Message_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_Message_descriptor, new java.lang.String[] { "Msg", "Pos", }); - internal_static_com_kcl_api_Ping_Args_descriptor = getDescriptor().getMessageTypes().get(4); - internal_static_com_kcl_api_Ping_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_Ping_Args_descriptor, new java.lang.String[] { "Value", }); - internal_static_com_kcl_api_Ping_Result_descriptor = getDescriptor().getMessageTypes().get(5); - internal_static_com_kcl_api_Ping_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_Ping_Result_descriptor, new java.lang.String[] { "Value", }); - internal_static_com_kcl_api_GetVersion_Args_descriptor = getDescriptor().getMessageTypes().get(6); - internal_static_com_kcl_api_GetVersion_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_GetVersion_Args_descriptor, new java.lang.String[] {}); - internal_static_com_kcl_api_GetVersion_Result_descriptor = getDescriptor().getMessageTypes().get(7); - internal_static_com_kcl_api_GetVersion_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_GetVersion_Result_descriptor, - new java.lang.String[] { "Version", "Checksum", "GitSha", "VersionInfo", }); - internal_static_com_kcl_api_ListMethod_Args_descriptor = getDescriptor().getMessageTypes().get(8); - internal_static_com_kcl_api_ListMethod_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_ListMethod_Args_descriptor, new java.lang.String[] {}); - internal_static_com_kcl_api_ListMethod_Result_descriptor = getDescriptor().getMessageTypes().get(9); - internal_static_com_kcl_api_ListMethod_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_ListMethod_Result_descriptor, new java.lang.String[] { "MethodNameList", }); - internal_static_com_kcl_api_ParseFile_Args_descriptor = getDescriptor().getMessageTypes().get(10); - internal_static_com_kcl_api_ParseFile_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_ParseFile_Args_descriptor, - new java.lang.String[] { "Path", "Source", "ExternalPkgs", }); - internal_static_com_kcl_api_ParseFile_Result_descriptor = getDescriptor().getMessageTypes().get(11); - internal_static_com_kcl_api_ParseFile_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_ParseFile_Result_descriptor, - new java.lang.String[] { "AstJson", "Deps", "Errors", }); - internal_static_com_kcl_api_ParseProgram_Args_descriptor = getDescriptor().getMessageTypes().get(12); - internal_static_com_kcl_api_ParseProgram_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_ParseProgram_Args_descriptor, - new java.lang.String[] { "Paths", "Sources", "ExternalPkgs", }); - internal_static_com_kcl_api_ParseProgram_Result_descriptor = getDescriptor().getMessageTypes().get(13); - internal_static_com_kcl_api_ParseProgram_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_ParseProgram_Result_descriptor, - new java.lang.String[] { "AstJson", "Paths", "Errors", }); - internal_static_com_kcl_api_LoadPackage_Args_descriptor = getDescriptor().getMessageTypes().get(14); - internal_static_com_kcl_api_LoadPackage_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_LoadPackage_Args_descriptor, - new java.lang.String[] { "ParseArgs", "ResolveAst", "LoadBuiltin", "WithAstIndex", }); - internal_static_com_kcl_api_LoadPackage_Result_descriptor = getDescriptor().getMessageTypes().get(15); - internal_static_com_kcl_api_LoadPackage_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_LoadPackage_Result_descriptor, - new java.lang.String[] { "Program", "Paths", "ParseErrors", "TypeErrors", "Scopes", "Symbols", - "NodeSymbolMap", "SymbolNodeMap", "FullyQualifiedNameMap", "PkgScopeMap", }); - internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_descriptor = internal_static_com_kcl_api_LoadPackage_Result_descriptor - .getNestedTypes().get(0); - internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_descriptor = internal_static_com_kcl_api_LoadPackage_Result_descriptor - .getNestedTypes().get(1); - internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_descriptor = internal_static_com_kcl_api_LoadPackage_Result_descriptor - .getNestedTypes().get(2); - internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_descriptor = internal_static_com_kcl_api_LoadPackage_Result_descriptor - .getNestedTypes().get(3); - internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_descriptor = internal_static_com_kcl_api_LoadPackage_Result_descriptor - .getNestedTypes().get(4); - internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_descriptor = internal_static_com_kcl_api_LoadPackage_Result_descriptor - .getNestedTypes().get(5); - internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_ListOptions_Result_descriptor = getDescriptor().getMessageTypes().get(16); - internal_static_com_kcl_api_ListOptions_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_ListOptions_Result_descriptor, new java.lang.String[] { "Options", }); - internal_static_com_kcl_api_OptionHelp_descriptor = getDescriptor().getMessageTypes().get(17); - internal_static_com_kcl_api_OptionHelp_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_OptionHelp_descriptor, - new java.lang.String[] { "Name", "Type", "Required", "DefaultValue", "Help", }); - internal_static_com_kcl_api_Symbol_descriptor = getDescriptor().getMessageTypes().get(18); - internal_static_com_kcl_api_Symbol_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_Symbol_descriptor, - new java.lang.String[] { "Ty", "Name", "Owner", "Def", "Attrs", "IsGlobal", }); - internal_static_com_kcl_api_Scope_descriptor = getDescriptor().getMessageTypes().get(19); - internal_static_com_kcl_api_Scope_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_Scope_descriptor, - new java.lang.String[] { "Kind", "Parent", "Owner", "Children", "Defs", }); - internal_static_com_kcl_api_SymbolIndex_descriptor = getDescriptor().getMessageTypes().get(20); - internal_static_com_kcl_api_SymbolIndex_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_SymbolIndex_descriptor, new java.lang.String[] { "I", "G", "Kind", }); - internal_static_com_kcl_api_ScopeIndex_descriptor = getDescriptor().getMessageTypes().get(21); - internal_static_com_kcl_api_ScopeIndex_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_ScopeIndex_descriptor, new java.lang.String[] { "I", "G", "Kind", }); - internal_static_com_kcl_api_ExecProgram_Args_descriptor = getDescriptor().getMessageTypes().get(22); - internal_static_com_kcl_api_ExecProgram_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_ExecProgram_Args_descriptor, - new java.lang.String[] { "WorkDir", "KFilenameList", "KCodeList", "Args", "Overrides", - "DisableYamlResult", "PrintOverrideAst", "StrictRangeCheck", "DisableNone", "Verbose", "Debug", - "SortKeys", "ExternalPkgs", "IncludeSchemaTypePath", "CompileOnly", "ShowHidden", - "PathSelector", "FastEval", }); - internal_static_com_kcl_api_ExecProgram_Result_descriptor = getDescriptor().getMessageTypes().get(23); - internal_static_com_kcl_api_ExecProgram_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_ExecProgram_Result_descriptor, - new java.lang.String[] { "JsonResult", "YamlResult", "LogMessage", "ErrMessage", }); - internal_static_com_kcl_api_BuildProgram_Args_descriptor = getDescriptor().getMessageTypes().get(24); - internal_static_com_kcl_api_BuildProgram_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_BuildProgram_Args_descriptor, - new java.lang.String[] { "ExecArgs", "Output", }); - internal_static_com_kcl_api_BuildProgram_Result_descriptor = getDescriptor().getMessageTypes().get(25); - internal_static_com_kcl_api_BuildProgram_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_BuildProgram_Result_descriptor, new java.lang.String[] { "Path", }); - internal_static_com_kcl_api_ExecArtifact_Args_descriptor = getDescriptor().getMessageTypes().get(26); - internal_static_com_kcl_api_ExecArtifact_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_ExecArtifact_Args_descriptor, - new java.lang.String[] { "Path", "ExecArgs", }); - internal_static_com_kcl_api_FormatCode_Args_descriptor = getDescriptor().getMessageTypes().get(27); - internal_static_com_kcl_api_FormatCode_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_FormatCode_Args_descriptor, new java.lang.String[] { "Source", }); - internal_static_com_kcl_api_FormatCode_Result_descriptor = getDescriptor().getMessageTypes().get(28); - internal_static_com_kcl_api_FormatCode_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_FormatCode_Result_descriptor, new java.lang.String[] { "Formatted", }); - internal_static_com_kcl_api_FormatPath_Args_descriptor = getDescriptor().getMessageTypes().get(29); - internal_static_com_kcl_api_FormatPath_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_FormatPath_Args_descriptor, new java.lang.String[] { "Path", }); - internal_static_com_kcl_api_FormatPath_Result_descriptor = getDescriptor().getMessageTypes().get(30); - internal_static_com_kcl_api_FormatPath_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_FormatPath_Result_descriptor, new java.lang.String[] { "ChangedPaths", }); - internal_static_com_kcl_api_LintPath_Args_descriptor = getDescriptor().getMessageTypes().get(31); - internal_static_com_kcl_api_LintPath_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_LintPath_Args_descriptor, new java.lang.String[] { "Paths", }); - internal_static_com_kcl_api_LintPath_Result_descriptor = getDescriptor().getMessageTypes().get(32); - internal_static_com_kcl_api_LintPath_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_LintPath_Result_descriptor, new java.lang.String[] { "Results", }); - internal_static_com_kcl_api_OverrideFile_Args_descriptor = getDescriptor().getMessageTypes().get(33); - internal_static_com_kcl_api_OverrideFile_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_OverrideFile_Args_descriptor, - new java.lang.String[] { "File", "Specs", "ImportPaths", }); - internal_static_com_kcl_api_OverrideFile_Result_descriptor = getDescriptor().getMessageTypes().get(34); - internal_static_com_kcl_api_OverrideFile_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_OverrideFile_Result_descriptor, - new java.lang.String[] { "Result", "ParseErrors", }); - internal_static_com_kcl_api_ListVariables_Options_descriptor = getDescriptor().getMessageTypes().get(35); - internal_static_com_kcl_api_ListVariables_Options_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_ListVariables_Options_descriptor, - new java.lang.String[] { "MergeProgram", }); - internal_static_com_kcl_api_VariableList_descriptor = getDescriptor().getMessageTypes().get(36); - internal_static_com_kcl_api_VariableList_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_VariableList_descriptor, new java.lang.String[] { "Variables", }); - internal_static_com_kcl_api_ListVariables_Args_descriptor = getDescriptor().getMessageTypes().get(37); - internal_static_com_kcl_api_ListVariables_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_ListVariables_Args_descriptor, - new java.lang.String[] { "Files", "Specs", "Options", }); - internal_static_com_kcl_api_ListVariables_Result_descriptor = getDescriptor().getMessageTypes().get(38); - internal_static_com_kcl_api_ListVariables_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_ListVariables_Result_descriptor, - new java.lang.String[] { "Variables", "UnsupportedCodes", "ParseErrors", }); - internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_descriptor = internal_static_com_kcl_api_ListVariables_Result_descriptor - .getNestedTypes().get(0); - internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_Variable_descriptor = getDescriptor().getMessageTypes().get(39); - internal_static_com_kcl_api_Variable_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_Variable_descriptor, - new java.lang.String[] { "Value", "TypeName", "OpSym", "ListItems", "DictEntries", }); - internal_static_com_kcl_api_MapEntry_descriptor = getDescriptor().getMessageTypes().get(40); - internal_static_com_kcl_api_MapEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_MapEntry_descriptor, new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor = getDescriptor().getMessageTypes().get(41); - internal_static_com_kcl_api_GetSchemaTypeMapping_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor, - new java.lang.String[] { "ExecArgs", "SchemaName", }); - internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor = getDescriptor().getMessageTypes().get(42); - internal_static_com_kcl_api_GetSchemaTypeMapping_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor, - new java.lang.String[] { "SchemaTypeMapping", }); - internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_descriptor = internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor - .getNestedTypes().get(0); - internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_ValidateCode_Args_descriptor = getDescriptor().getMessageTypes().get(43); - internal_static_com_kcl_api_ValidateCode_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_ValidateCode_Args_descriptor, new java.lang.String[] { "Datafile", "Data", - "File", "Code", "Schema", "AttributeName", "Format", "ExternalPkgs", }); - internal_static_com_kcl_api_ValidateCode_Result_descriptor = getDescriptor().getMessageTypes().get(44); - internal_static_com_kcl_api_ValidateCode_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_ValidateCode_Result_descriptor, - new java.lang.String[] { "Success", "ErrMessage", }); - internal_static_com_kcl_api_Position_descriptor = getDescriptor().getMessageTypes().get(45); - internal_static_com_kcl_api_Position_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_Position_descriptor, - new java.lang.String[] { "Line", "Column", "Filename", }); - internal_static_com_kcl_api_ListDepFiles_Args_descriptor = getDescriptor().getMessageTypes().get(46); - internal_static_com_kcl_api_ListDepFiles_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_ListDepFiles_Args_descriptor, - new java.lang.String[] { "WorkDir", "UseAbsPath", "IncludeAll", "UseFastParser", }); - internal_static_com_kcl_api_ListDepFiles_Result_descriptor = getDescriptor().getMessageTypes().get(47); - internal_static_com_kcl_api_ListDepFiles_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_ListDepFiles_Result_descriptor, - new java.lang.String[] { "Pkgroot", "Pkgpath", "Files", }); - internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor = getDescriptor().getMessageTypes().get(48); - internal_static_com_kcl_api_LoadSettingsFiles_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor, - new java.lang.String[] { "WorkDir", "Files", }); - internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor = getDescriptor().getMessageTypes().get(49); - internal_static_com_kcl_api_LoadSettingsFiles_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor, - new java.lang.String[] { "KclCliConfigs", "KclOptions", }); - internal_static_com_kcl_api_CliConfig_descriptor = getDescriptor().getMessageTypes().get(50); - internal_static_com_kcl_api_CliConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_CliConfig_descriptor, - new java.lang.String[] { "Files", "Output", "Overrides", "PathSelector", "StrictRangeCheck", - "DisableNone", "Verbose", "Debug", "SortKeys", "ShowHidden", "IncludeSchemaTypePath", - "FastEval", }); - internal_static_com_kcl_api_KeyValuePair_descriptor = getDescriptor().getMessageTypes().get(51); - internal_static_com_kcl_api_KeyValuePair_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_KeyValuePair_descriptor, new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_Rename_Args_descriptor = getDescriptor().getMessageTypes().get(52); - internal_static_com_kcl_api_Rename_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_Rename_Args_descriptor, - new java.lang.String[] { "PackageRoot", "SymbolPath", "FilePaths", "NewName", }); - internal_static_com_kcl_api_Rename_Result_descriptor = getDescriptor().getMessageTypes().get(53); - internal_static_com_kcl_api_Rename_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_Rename_Result_descriptor, new java.lang.String[] { "ChangedFiles", }); - internal_static_com_kcl_api_RenameCode_Args_descriptor = getDescriptor().getMessageTypes().get(54); - internal_static_com_kcl_api_RenameCode_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_RenameCode_Args_descriptor, - new java.lang.String[] { "PackageRoot", "SymbolPath", "SourceCodes", "NewName", }); - internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_descriptor = internal_static_com_kcl_api_RenameCode_Args_descriptor - .getNestedTypes().get(0); - internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_RenameCode_Result_descriptor = getDescriptor().getMessageTypes().get(55); - internal_static_com_kcl_api_RenameCode_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_RenameCode_Result_descriptor, new java.lang.String[] { "ChangedCodes", }); - internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_descriptor = internal_static_com_kcl_api_RenameCode_Result_descriptor - .getNestedTypes().get(0); - internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_Test_Args_descriptor = getDescriptor().getMessageTypes().get(56); - internal_static_com_kcl_api_Test_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_Test_Args_descriptor, - new java.lang.String[] { "ExecArgs", "PkgList", "RunRegexp", "FailFast", }); - internal_static_com_kcl_api_Test_Result_descriptor = getDescriptor().getMessageTypes().get(57); - internal_static_com_kcl_api_Test_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_Test_Result_descriptor, new java.lang.String[] { "Info", }); - internal_static_com_kcl_api_TestCaseInfo_descriptor = getDescriptor().getMessageTypes().get(58); - internal_static_com_kcl_api_TestCaseInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_TestCaseInfo_descriptor, - new java.lang.String[] { "Name", "Error", "Duration", "LogMessage", }); - internal_static_com_kcl_api_UpdateDependencies_Args_descriptor = getDescriptor().getMessageTypes().get(59); - internal_static_com_kcl_api_UpdateDependencies_Args_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_UpdateDependencies_Args_descriptor, - new java.lang.String[] { "ManifestPath", "Vendor", }); - internal_static_com_kcl_api_UpdateDependencies_Result_descriptor = getDescriptor().getMessageTypes().get(60); - internal_static_com_kcl_api_UpdateDependencies_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_UpdateDependencies_Result_descriptor, - new java.lang.String[] { "ExternalPkgs", }); - internal_static_com_kcl_api_KclType_descriptor = getDescriptor().getMessageTypes().get(61); - internal_static_com_kcl_api_KclType_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_KclType_descriptor, - new java.lang.String[] { "Type", "UnionTypes", "Default", "SchemaName", "SchemaDoc", "Properties", - "Required", "Key", "Item", "Line", "Decorators", "Filename", "PkgPath", "Description", - "Examples", "BaseSchema", }); - internal_static_com_kcl_api_KclType_PropertiesEntry_descriptor = internal_static_com_kcl_api_KclType_descriptor - .getNestedTypes().get(0); - internal_static_com_kcl_api_KclType_PropertiesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_KclType_PropertiesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_KclType_ExamplesEntry_descriptor = internal_static_com_kcl_api_KclType_descriptor - .getNestedTypes().get(1); - internal_static_com_kcl_api_KclType_ExamplesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_KclType_ExamplesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_Decorator_descriptor = getDescriptor().getMessageTypes().get(62); - internal_static_com_kcl_api_Decorator_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_Decorator_descriptor, - new java.lang.String[] { "Name", "Arguments", "Keywords", }); - internal_static_com_kcl_api_Decorator_KeywordsEntry_descriptor = internal_static_com_kcl_api_Decorator_descriptor - .getNestedTypes().get(0); - internal_static_com_kcl_api_Decorator_KeywordsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_Decorator_KeywordsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_com_kcl_api_Example_descriptor = getDescriptor().getMessageTypes().get(63); - internal_static_com_kcl_api_Example_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_com_kcl_api_Example_descriptor, - new java.lang.String[] { "Summary", "Description", "Value", }); - descriptor.resolveAllFeaturesImmutable(); - } - - // @@protoc_insertion_point(outer_class_scope) + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ExternalPkg_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_ExternalPkg_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Argument_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_Argument_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Error_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_Error_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Message_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_Message_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_PingArgs_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_PingArgs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_PingResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_PingResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_GetVersionArgs_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_GetVersionArgs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_GetVersionResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_GetVersionResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ListMethodArgs_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_ListMethodArgs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ListMethodResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_ListMethodResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ParseFileArgs_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_ParseFileArgs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ParseFileResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_ParseFileResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ParseProgramArgs_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_ParseProgramArgs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ParseProgramResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_ParseProgramResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LoadPackageArgs_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_LoadPackageArgs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LoadPackageResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_LoadPackageResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LoadPackageResult_ScopesEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_LoadPackageResult_ScopesEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LoadPackageResult_SymbolsEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_LoadPackageResult_SymbolsEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LoadPackageResult_NodeSymbolMapEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_LoadPackageResult_NodeSymbolMapEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LoadPackageResult_SymbolNodeMapEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_LoadPackageResult_SymbolNodeMapEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LoadPackageResult_FullyQualifiedNameMapEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_LoadPackageResult_FullyQualifiedNameMapEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LoadPackageResult_PkgScopeMapEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_LoadPackageResult_PkgScopeMapEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ListOptionsResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_ListOptionsResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_OptionHelp_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_OptionHelp_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Symbol_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_Symbol_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Scope_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_Scope_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_SymbolIndex_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_SymbolIndex_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ScopeIndex_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_ScopeIndex_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ExecProgramArgs_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_ExecProgramArgs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ExecProgramResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_ExecProgramResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_BuildProgramArgs_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_BuildProgramArgs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_BuildProgramResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_BuildProgramResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ExecArtifactArgs_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_ExecArtifactArgs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_FormatCodeArgs_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_FormatCodeArgs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_FormatCodeResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_FormatCodeResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_FormatPathArgs_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_FormatPathArgs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_FormatPathResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_FormatPathResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LintPathArgs_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_LintPathArgs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LintPathResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_LintPathResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_OverrideFileArgs_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_OverrideFileArgs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_OverrideFileResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_OverrideFileResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ListVariablesOptions_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_ListVariablesOptions_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_VariableList_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_VariableList_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ListVariablesArgs_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_ListVariablesArgs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ListVariablesResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_ListVariablesResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ListVariablesResult_VariablesEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_ListVariablesResult_VariablesEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Variable_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_Variable_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_MapEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_MapEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_GetSchemaTypeMappingArgs_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_GetSchemaTypeMappingArgs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_GetSchemaTypeMappingResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_GetSchemaTypeMappingResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_GetSchemaTypeMappingResult_SchemaTypeMappingEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_GetSchemaTypeMappingResult_SchemaTypeMappingEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_SchemaTypeMappingEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_SchemaTypeMappingEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_SchemaTypes_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_SchemaTypes_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ValidateCodeArgs_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_ValidateCodeArgs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ValidateCodeResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_ValidateCodeResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Position_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_Position_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ListDepFilesArgs_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_ListDepFilesArgs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_ListDepFilesResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_ListDepFilesResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LoadSettingsFilesArgs_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_LoadSettingsFilesArgs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_LoadSettingsFilesResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_LoadSettingsFilesResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_CliConfig_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_CliConfig_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_KeyValuePair_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_KeyValuePair_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_RenameArgs_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_RenameArgs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_RenameResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_RenameResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_RenameCodeArgs_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_RenameCodeArgs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_RenameCodeArgs_SourceCodesEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_RenameCodeArgs_SourceCodesEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_RenameCodeResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_RenameCodeResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_RenameCodeResult_ChangedCodesEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_RenameCodeResult_ChangedCodesEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_TestArgs_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_TestArgs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_TestResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_TestResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_TestCaseInfo_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_TestCaseInfo_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_UpdateDependenciesArgs_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_UpdateDependenciesArgs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_UpdateDependenciesResult_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_UpdateDependenciesResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_KclType_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_KclType_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_KclType_PropertiesEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_KclType_PropertiesEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_KclType_ExamplesEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_KclType_ExamplesEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Decorator_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_Decorator_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Decorator_KeywordsEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_Decorator_KeywordsEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_com_kcl_api_Example_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_kcl_api_Example_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\nspec.proto\022\013com.kcl.api\"1\n\013ExternalPkg" + + "\022\020\n\010pkg_name\030\001 \001(\t\022\020\n\010pkg_path\030\002 \001(\t\"\'\n\010" + + "Argument\022\014\n\004name\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"L\n" + + "\005Error\022\r\n\005level\030\001 \001(\t\022\014\n\004code\030\002 \001(\t\022&\n\010m" + + "essages\030\003 \003(\0132\024.com.kcl.api.Message\":\n\007M" + + "essage\022\013\n\003msg\030\001 \001(\t\022\"\n\003pos\030\002 \001(\0132\025.com.k" + + "cl.api.Position\"\031\n\010PingArgs\022\r\n\005value\030\001 \001" + + "(\t\"\033\n\nPingResult\022\r\n\005value\030\001 \001(\t\"\020\n\016GetVe" + + "rsionArgs\"\\\n\020GetVersionResult\022\017\n\007version" + + "\030\001 \001(\t\022\020\n\010checksum\030\002 \001(\t\022\017\n\007git_sha\030\003 \001(" + + "\t\022\024\n\014version_info\030\004 \001(\t\"\020\n\016ListMethodArg" + + "s\",\n\020ListMethodResult\022\030\n\020method_name_lis" + + "t\030\001 \003(\t\"^\n\rParseFileArgs\022\014\n\004path\030\001 \001(\t\022\016" + + "\n\006source\030\002 \001(\t\022/\n\rexternal_pkgs\030\003 \003(\0132\030." + + "com.kcl.api.ExternalPkg\"U\n\017ParseFileResu" + + "lt\022\020\n\010ast_json\030\001 \001(\t\022\014\n\004deps\030\002 \003(\t\022\"\n\006er" + + "rors\030\003 \003(\0132\022.com.kcl.api.Error\"c\n\020ParseP" + + "rogramArgs\022\r\n\005paths\030\001 \003(\t\022\017\n\007sources\030\002 \003" + + "(\t\022/\n\rexternal_pkgs\030\003 \003(\0132\030.com.kcl.api." + + "ExternalPkg\"Y\n\022ParseProgramResult\022\020\n\010ast" + + "_json\030\001 \001(\t\022\r\n\005paths\030\002 \003(\t\022\"\n\006errors\030\003 \003" + + "(\0132\022.com.kcl.api.Error\"\207\001\n\017LoadPackageAr" + + "gs\0221\n\nparse_args\030\001 \001(\0132\035.com.kcl.api.Par" + + "seProgramArgs\022\023\n\013resolve_ast\030\002 \001(\010\022\024\n\014lo" + + "ad_builtin\030\003 \001(\010\022\026\n\016with_ast_index\030\004 \001(\010" + + "\"\360\007\n\021LoadPackageResult\022\017\n\007program\030\001 \001(\t\022" + + "\r\n\005paths\030\002 \003(\t\022(\n\014parse_errors\030\003 \003(\0132\022.c" + + "om.kcl.api.Error\022\'\n\013type_errors\030\004 \003(\0132\022." + + "com.kcl.api.Error\022:\n\006scopes\030\005 \003(\0132*.com." + + "kcl.api.LoadPackageResult.ScopesEntry\022<\n" + + "\007symbols\030\006 \003(\0132+.com.kcl.api.LoadPackage" + + "Result.SymbolsEntry\022J\n\017node_symbol_map\030\007" + + " \003(\01321.com.kcl.api.LoadPackageResult.Nod" + + "eSymbolMapEntry\022J\n\017symbol_node_map\030\010 \003(\013" + + "21.com.kcl.api.LoadPackageResult.SymbolN" + + "odeMapEntry\022[\n\030fully_qualified_name_map\030" + + "\t \003(\01329.com.kcl.api.LoadPackageResult.Fu" + + "llyQualifiedNameMapEntry\022F\n\rpkg_scope_ma" + + "p\030\n \003(\0132/.com.kcl.api.LoadPackageResult." + + "PkgScopeMapEntry\032A\n\013ScopesEntry\022\013\n\003key\030\001" + + " \001(\t\022!\n\005value\030\002 \001(\0132\022.com.kcl.api.Scope:" + + "\0028\001\032C\n\014SymbolsEntry\022\013\n\003key\030\001 \001(\t\022\"\n\005valu" + + "e\030\002 \001(\0132\023.com.kcl.api.Symbol:\0028\001\032N\n\022Node" + + "SymbolMapEntry\022\013\n\003key\030\001 \001(\t\022\'\n\005value\030\002 \001" + + "(\0132\030.com.kcl.api.SymbolIndex:\0028\001\0324\n\022Symb" + + "olNodeMapEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + + "(\t:\0028\001\032V\n\032FullyQualifiedNameMapEntry\022\013\n\003" + + "key\030\001 \001(\t\022\'\n\005value\030\002 \001(\0132\030.com.kcl.api.S" + + "ymbolIndex:\0028\001\032K\n\020PkgScopeMapEntry\022\013\n\003ke" + + "y\030\001 \001(\t\022&\n\005value\030\002 \001(\0132\027.com.kcl.api.Sco" + + "peIndex:\0028\001\"=\n\021ListOptionsResult\022(\n\007opti" + + "ons\030\002 \003(\0132\027.com.kcl.api.OptionHelp\"_\n\nOp" + + "tionHelp\022\014\n\004name\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022\020\n\010" + + "required\030\003 \001(\010\022\025\n\rdefault_value\030\004 \001(\t\022\014\n" + + "\004help\030\005 \001(\t\"\304\001\n\006Symbol\022 \n\002ty\030\001 \001(\0132\024.com" + + ".kcl.api.KclType\022\014\n\004name\030\002 \001(\t\022\'\n\005owner\030" + + "\003 \001(\0132\030.com.kcl.api.SymbolIndex\022%\n\003def\030\004" + + " \001(\0132\030.com.kcl.api.SymbolIndex\022\'\n\005attrs\030" + + "\005 \003(\0132\030.com.kcl.api.SymbolIndex\022\021\n\tis_gl" + + "obal\030\006 \001(\010\"\272\001\n\005Scope\022\014\n\004kind\030\001 \001(\t\022\'\n\006pa" + + "rent\030\002 \001(\0132\027.com.kcl.api.ScopeIndex\022\'\n\005o" + + "wner\030\003 \001(\0132\030.com.kcl.api.SymbolIndex\022)\n\010" + + "children\030\004 \003(\0132\027.com.kcl.api.ScopeIndex\022" + + "&\n\004defs\030\005 \003(\0132\030.com.kcl.api.SymbolIndex\"" + + "1\n\013SymbolIndex\022\t\n\001i\030\001 \001(\004\022\t\n\001g\030\002 \001(\004\022\014\n\004" + + "kind\030\003 \001(\t\"0\n\nScopeIndex\022\t\n\001i\030\001 \001(\004\022\t\n\001g" + + "\030\002 \001(\004\022\014\n\004kind\030\003 \001(\t\"\317\003\n\017ExecProgramArgs" + + "\022\020\n\010work_dir\030\001 \001(\t\022\027\n\017k_filename_list\030\002 " + + "\003(\t\022\023\n\013k_code_list\030\003 \003(\t\022#\n\004args\030\004 \003(\0132\025" + + ".com.kcl.api.Argument\022\021\n\toverrides\030\005 \003(\t" + + "\022\033\n\023disable_yaml_result\030\006 \001(\010\022\032\n\022print_o" + + "verride_ast\030\007 \001(\010\022\032\n\022strict_range_check\030" + + "\010 \001(\010\022\024\n\014disable_none\030\t \001(\010\022\017\n\007verbose\030\n" + + " \001(\005\022\r\n\005debug\030\013 \001(\005\022\021\n\tsort_keys\030\014 \001(\010\022/" + + "\n\rexternal_pkgs\030\r \003(\0132\030.com.kcl.api.Exte" + + "rnalPkg\022 \n\030include_schema_type_path\030\016 \001(" + + "\010\022\024\n\014compile_only\030\017 \001(\010\022\023\n\013show_hidden\030\020" + + " \001(\010\022\025\n\rpath_selector\030\021 \003(\t\022\021\n\tfast_eval" + + "\030\022 \001(\010\"g\n\021ExecProgramResult\022\023\n\013json_resu" + + "lt\030\001 \001(\t\022\023\n\013yaml_result\030\002 \001(\t\022\023\n\013log_mes" + + "sage\030\003 \001(\t\022\023\n\013err_message\030\004 \001(\t\"S\n\020Build" + + "ProgramArgs\022/\n\texec_args\030\001 \001(\0132\034.com.kcl" + + ".api.ExecProgramArgs\022\016\n\006output\030\002 \001(\t\"\"\n\022" + + "BuildProgramResult\022\014\n\004path\030\001 \001(\t\"Q\n\020Exec" + + "ArtifactArgs\022\014\n\004path\030\001 \001(\t\022/\n\texec_args\030" + + "\002 \001(\0132\034.com.kcl.api.ExecProgramArgs\" \n\016F" + + "ormatCodeArgs\022\016\n\006source\030\001 \001(\t\"%\n\020FormatC" + + "odeResult\022\021\n\tformatted\030\001 \001(\014\"\036\n\016FormatPa" + + "thArgs\022\014\n\004path\030\001 \001(\t\")\n\020FormatPathResult" + + "\022\025\n\rchanged_paths\030\001 \003(\t\"\035\n\014LintPathArgs\022" + + "\r\n\005paths\030\001 \003(\t\"!\n\016LintPathResult\022\017\n\007resu" + + "lts\030\001 \003(\t\"E\n\020OverrideFileArgs\022\014\n\004file\030\001 " + + "\001(\t\022\r\n\005specs\030\002 \003(\t\022\024\n\014import_paths\030\003 \003(\t" + + "\"N\n\022OverrideFileResult\022\016\n\006result\030\001 \001(\010\022(" + + "\n\014parse_errors\030\002 \003(\0132\022.com.kcl.api.Error" + + "\"-\n\024ListVariablesOptions\022\025\n\rmerge_progra" + + "m\030\001 \001(\010\"8\n\014VariableList\022(\n\tvariables\030\001 \003" + + "(\0132\025.com.kcl.api.Variable\"e\n\021ListVariabl" + + "esArgs\022\r\n\005files\030\001 \003(\t\022\r\n\005specs\030\002 \003(\t\0222\n\007" + + "options\030\003 \001(\0132!.com.kcl.api.ListVariable" + + "sOptions\"\353\001\n\023ListVariablesResult\022B\n\tvari" + + "ables\030\001 \003(\0132/.com.kcl.api.ListVariablesR" + + "esult.VariablesEntry\022\031\n\021unsupported_code" + + "s\030\002 \003(\t\022(\n\014parse_errors\030\003 \003(\0132\022.com.kcl." + + "api.Error\032K\n\016VariablesEntry\022\013\n\003key\030\001 \001(\t" + + "\022(\n\005value\030\002 \001(\0132\031.com.kcl.api.VariableLi" + + "st:\0028\001\"\224\001\n\010Variable\022\r\n\005value\030\001 \001(\t\022\021\n\tty" + + "pe_name\030\002 \001(\t\022\016\n\006op_sym\030\003 \001(\t\022)\n\nlist_it" + + "ems\030\004 \003(\0132\025.com.kcl.api.Variable\022+\n\014dict" + + "_entries\030\005 \003(\0132\025.com.kcl.api.MapEntry\"=\n" + + "\010MapEntry\022\013\n\003key\030\001 \001(\t\022$\n\005value\030\002 \001(\0132\025." + + "com.kcl.api.Variable\"`\n\030GetSchemaTypeMap" + + "pingArgs\022/\n\texec_args\030\001 \001(\0132\034.com.kcl.ap" + + "i.ExecProgramArgs\022\023\n\013schema_name\030\002 \001(\t\"\311" + + "\001\n\032GetSchemaTypeMappingResult\022[\n\023schema_" + + "type_mapping\030\001 \003(\0132>.com.kcl.api.GetSche" + + "maTypeMappingResult.SchemaTypeMappingEnt" + + "ry\032N\n\026SchemaTypeMappingEntry\022\013\n\003key\030\001 \001(" + + "\t\022#\n\005value\030\002 \001(\0132\024.com.kcl.api.KclType:\002" + + "8\001\"\337\001\n#GetSchemaTypeMappingUnderPathResu" + + "lt\022d\n\023schema_type_mapping\030\001 \003(\0132G.com.kc" + + "l.api.GetSchemaTypeMappingUnderPathResul" + + "t.SchemaTypeMappingEntry\032R\n\026SchemaTypeMa" + + "ppingEntry\022\013\n\003key\030\001 \001(\t\022\'\n\005value\030\002 \001(\0132\030" + + ".com.kcl.api.SchemaTypes:\0028\001\"8\n\013SchemaTy" + + "pes\022)\n\013schema_type\030\001 \003(\0132\024.com.kcl.api.K" + + "clType\"\267\001\n\020ValidateCodeArgs\022\020\n\010datafile\030" + + "\001 \001(\t\022\014\n\004data\030\002 \001(\t\022\014\n\004file\030\003 \001(\t\022\014\n\004cod" + + "e\030\004 \001(\t\022\016\n\006schema\030\005 \001(\t\022\026\n\016attribute_nam" + + "e\030\006 \001(\t\022\016\n\006format\030\007 \001(\t\022/\n\rexternal_pkgs" + + "\030\010 \003(\0132\030.com.kcl.api.ExternalPkg\":\n\022Vali" + + "dateCodeResult\022\017\n\007success\030\001 \001(\010\022\023\n\013err_m" + + "essage\030\002 \001(\t\":\n\010Position\022\014\n\004line\030\001 \001(\003\022\016" + + "\n\006column\030\002 \001(\003\022\020\n\010filename\030\003 \001(\t\"h\n\020List" + + "DepFilesArgs\022\020\n\010work_dir\030\001 \001(\t\022\024\n\014use_ab" + + "s_path\030\002 \001(\010\022\023\n\013include_all\030\003 \001(\010\022\027\n\017use" + + "_fast_parser\030\004 \001(\010\"E\n\022ListDepFilesResult" + + "\022\017\n\007pkgroot\030\001 \001(\t\022\017\n\007pkgpath\030\002 \001(\t\022\r\n\005fi" + + "les\030\003 \003(\t\"8\n\025LoadSettingsFilesArgs\022\020\n\010wo" + + "rk_dir\030\001 \001(\t\022\r\n\005files\030\002 \003(\t\"z\n\027LoadSetti" + + "ngsFilesResult\022/\n\017kcl_cli_configs\030\001 \001(\0132" + + "\026.com.kcl.api.CliConfig\022.\n\013kcl_options\030\002" + + " \003(\0132\031.com.kcl.api.KeyValuePair\"\203\002\n\tCliC" + + "onfig\022\r\n\005files\030\001 \003(\t\022\016\n\006output\030\002 \001(\t\022\021\n\t" + + "overrides\030\003 \003(\t\022\025\n\rpath_selector\030\004 \003(\t\022\032" + + "\n\022strict_range_check\030\005 \001(\010\022\024\n\014disable_no" + + "ne\030\006 \001(\010\022\017\n\007verbose\030\007 \001(\003\022\r\n\005debug\030\010 \001(\010" + + "\022\021\n\tsort_keys\030\t \001(\010\022\023\n\013show_hidden\030\n \001(\010" + + "\022 \n\030include_schema_type_path\030\013 \001(\010\022\021\n\tfa" + + "st_eval\030\014 \001(\010\"*\n\014KeyValuePair\022\013\n\003key\030\001 \001" + + "(\t\022\r\n\005value\030\002 \001(\t\"]\n\nRenameArgs\022\024\n\014packa" + + "ge_root\030\001 \001(\t\022\023\n\013symbol_path\030\002 \001(\t\022\022\n\nfi" + + "le_paths\030\003 \003(\t\022\020\n\010new_name\030\004 \001(\t\"%\n\014Rena" + + "meResult\022\025\n\rchanged_files\030\001 \003(\t\"\305\001\n\016Rena" + + "meCodeArgs\022\024\n\014package_root\030\001 \001(\t\022\023\n\013symb" + + "ol_path\030\002 \001(\t\022B\n\014source_codes\030\003 \003(\0132,.co" + + "m.kcl.api.RenameCodeArgs.SourceCodesEntr" + + "y\022\020\n\010new_name\030\004 \001(\t\0322\n\020SourceCodesEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\217\001\n\020Rena" + + "meCodeResult\022F\n\rchanged_codes\030\001 \003(\0132/.co" + + "m.kcl.api.RenameCodeResult.ChangedCodesE" + + "ntry\0323\n\021ChangedCodesEntry\022\013\n\003key\030\001 \001(\t\022\r" + + "\n\005value\030\002 \001(\t:\0028\001\"t\n\010TestArgs\022/\n\texec_ar" + + "gs\030\001 \001(\0132\034.com.kcl.api.ExecProgramArgs\022\020" + + "\n\010pkg_list\030\002 \003(\t\022\022\n\nrun_regexp\030\003 \001(\t\022\021\n\t" + + "fail_fast\030\004 \001(\010\"5\n\nTestResult\022\'\n\004info\030\002 " + + "\003(\0132\031.com.kcl.api.TestCaseInfo\"R\n\014TestCa" + + "seInfo\022\014\n\004name\030\001 \001(\t\022\r\n\005error\030\002 \001(\t\022\020\n\010d" + + "uration\030\003 \001(\004\022\023\n\013log_message\030\004 \001(\t\"?\n\026Up" + + "dateDependenciesArgs\022\025\n\rmanifest_path\030\001 " + + "\001(\t\022\016\n\006vendor\030\002 \001(\010\"K\n\030UpdateDependencie" + + "sResult\022/\n\rexternal_pkgs\030\003 \003(\0132\030.com.kcl" + + ".api.ExternalPkg\"\363\004\n\007KclType\022\014\n\004type\030\001 \001" + + "(\t\022)\n\013union_types\030\002 \003(\0132\024.com.kcl.api.Kc" + + "lType\022\017\n\007default\030\003 \001(\t\022\023\n\013schema_name\030\004 " + + "\001(\t\022\022\n\nschema_doc\030\005 \001(\t\0228\n\nproperties\030\006 " + + "\003(\0132$.com.kcl.api.KclType.PropertiesEntr" + + "y\022\020\n\010required\030\007 \003(\t\022!\n\003key\030\010 \001(\0132\024.com.k" + + "cl.api.KclType\022\"\n\004item\030\t \001(\0132\024.com.kcl.a" + + "pi.KclType\022\014\n\004line\030\n \001(\005\022*\n\ndecorators\030\013" + + " \003(\0132\026.com.kcl.api.Decorator\022\020\n\010filename" + + "\030\014 \001(\t\022\020\n\010pkg_path\030\r \001(\t\022\023\n\013description\030" + + "\016 \001(\t\0224\n\010examples\030\017 \003(\0132\".com.kcl.api.Kc" + + "lType.ExamplesEntry\022)\n\013base_schema\030\020 \001(\013" + + "2\024.com.kcl.api.KclType\032G\n\017PropertiesEntr" + + "y\022\013\n\003key\030\001 \001(\t\022#\n\005value\030\002 \001(\0132\024.com.kcl." + + "api.KclType:\0028\001\032E\n\rExamplesEntry\022\013\n\003key\030" + + "\001 \001(\t\022#\n\005value\030\002 \001(\0132\024.com.kcl.api.Examp" + + "le:\0028\001\"\225\001\n\tDecorator\022\014\n\004name\030\001 \001(\t\022\021\n\tar" + + "guments\030\002 \003(\t\0226\n\010keywords\030\003 \003(\0132$.com.kc" + + "l.api.Decorator.KeywordsEntry\032/\n\rKeyword" + + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\">" + + "\n\007Example\022\017\n\007summary\030\001 \001(\t\022\023\n\013descriptio" + + "n\030\002 \001(\t\022\r\n\005value\030\003 \001(\t2\222\001\n\016BuiltinServic" + + "e\0226\n\004Ping\022\025.com.kcl.api.PingArgs\032\027.com.k" + + "cl.api.PingResult\022H\n\nListMethod\022\033.com.kc" + + "l.api.ListMethodArgs\032\035.com.kcl.api.ListM" + + "ethodResult2\260\r\n\nKclService\0226\n\004Ping\022\025.com" + + ".kcl.api.PingArgs\032\027.com.kcl.api.PingResu" + + "lt\022H\n\nGetVersion\022\033.com.kcl.api.GetVersio" + + "nArgs\032\035.com.kcl.api.GetVersionResult\022N\n\014" + + "ParseProgram\022\035.com.kcl.api.ParseProgramA" + + "rgs\032\037.com.kcl.api.ParseProgramResult\022E\n\t" + + "ParseFile\022\032.com.kcl.api.ParseFileArgs\032\034." + + "com.kcl.api.ParseFileResult\022K\n\013LoadPacka" + + "ge\022\034.com.kcl.api.LoadPackageArgs\032\036.com.k" + + "cl.api.LoadPackageResult\022L\n\013ListOptions\022" + + "\035.com.kcl.api.ParseProgramArgs\032\036.com.kcl" + + ".api.ListOptionsResult\022Q\n\rListVariables\022" + + "\036.com.kcl.api.ListVariablesArgs\032 .com.kc" + + "l.api.ListVariablesResult\022K\n\013ExecProgram" + + "\022\034.com.kcl.api.ExecProgramArgs\032\036.com.kcl" + + ".api.ExecProgramResult\022N\n\014BuildProgram\022\035" + + ".com.kcl.api.BuildProgramArgs\032\037.com.kcl." + + "api.BuildProgramResult\022M\n\014ExecArtifact\022\035" + + ".com.kcl.api.ExecArtifactArgs\032\036.com.kcl." + + "api.ExecProgramResult\022N\n\014OverrideFile\022\035." + + "com.kcl.api.OverrideFileArgs\032\037.com.kcl.a" + + "pi.OverrideFileResult\022f\n\024GetSchemaTypeMa" + + "pping\022%.com.kcl.api.GetSchemaTypeMapping" + + "Args\032\'.com.kcl.api.GetSchemaTypeMappingR" + + "esult\022H\n\nFormatCode\022\033.com.kcl.api.Format" + + "CodeArgs\032\035.com.kcl.api.FormatCodeResult\022" + + "H\n\nFormatPath\022\033.com.kcl.api.FormatPathAr" + + "gs\032\035.com.kcl.api.FormatPathResult\022B\n\010Lin" + + "tPath\022\031.com.kcl.api.LintPathArgs\032\033.com.k" + + "cl.api.LintPathResult\022N\n\014ValidateCode\022\035." + + "com.kcl.api.ValidateCodeArgs\032\037.com.kcl.a" + + "pi.ValidateCodeResult\022N\n\014ListDepFiles\022\035." + + "com.kcl.api.ListDepFilesArgs\032\037.com.kcl.a" + + "pi.ListDepFilesResult\022]\n\021LoadSettingsFil" + + "es\022\".com.kcl.api.LoadSettingsFilesArgs\032$" + + ".com.kcl.api.LoadSettingsFilesResult\022<\n\006" + + "Rename\022\027.com.kcl.api.RenameArgs\032\031.com.kc" + + "l.api.RenameResult\022H\n\nRenameCode\022\033.com.k" + + "cl.api.RenameCodeArgs\032\035.com.kcl.api.Rena" + + "meCodeResult\0226\n\004Test\022\025.com.kcl.api.TestA" + + "rgs\032\027.com.kcl.api.TestResult\022`\n\022UpdateDe" + + "pendencies\022#.com.kcl.api.UpdateDependenc" + + "iesArgs\032%.com.kcl.api.UpdateDependencies" + + "ResultB\024Z\005.;api\252\002\nKclLib.APIb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_com_kcl_api_ExternalPkg_descriptor = + getDescriptor().getMessageType(0); + internal_static_com_kcl_api_ExternalPkg_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_ExternalPkg_descriptor, + new java.lang.String[] { "PkgName", "PkgPath", }); + internal_static_com_kcl_api_Argument_descriptor = + getDescriptor().getMessageType(1); + internal_static_com_kcl_api_Argument_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_Argument_descriptor, + new java.lang.String[] { "Name", "Value", }); + internal_static_com_kcl_api_Error_descriptor = + getDescriptor().getMessageType(2); + internal_static_com_kcl_api_Error_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_Error_descriptor, + new java.lang.String[] { "Level", "Code", "Messages", }); + internal_static_com_kcl_api_Message_descriptor = + getDescriptor().getMessageType(3); + internal_static_com_kcl_api_Message_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_Message_descriptor, + new java.lang.String[] { "Msg", "Pos", }); + internal_static_com_kcl_api_PingArgs_descriptor = + getDescriptor().getMessageType(4); + internal_static_com_kcl_api_PingArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_PingArgs_descriptor, + new java.lang.String[] { "Value", }); + internal_static_com_kcl_api_PingResult_descriptor = + getDescriptor().getMessageType(5); + internal_static_com_kcl_api_PingResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_PingResult_descriptor, + new java.lang.String[] { "Value", }); + internal_static_com_kcl_api_GetVersionArgs_descriptor = + getDescriptor().getMessageType(6); + internal_static_com_kcl_api_GetVersionArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_GetVersionArgs_descriptor, + new java.lang.String[] { }); + internal_static_com_kcl_api_GetVersionResult_descriptor = + getDescriptor().getMessageType(7); + internal_static_com_kcl_api_GetVersionResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_GetVersionResult_descriptor, + new java.lang.String[] { "Version", "Checksum", "GitSha", "VersionInfo", }); + internal_static_com_kcl_api_ListMethodArgs_descriptor = + getDescriptor().getMessageType(8); + internal_static_com_kcl_api_ListMethodArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_ListMethodArgs_descriptor, + new java.lang.String[] { }); + internal_static_com_kcl_api_ListMethodResult_descriptor = + getDescriptor().getMessageType(9); + internal_static_com_kcl_api_ListMethodResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_ListMethodResult_descriptor, + new java.lang.String[] { "MethodNameList", }); + internal_static_com_kcl_api_ParseFileArgs_descriptor = + getDescriptor().getMessageType(10); + internal_static_com_kcl_api_ParseFileArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_ParseFileArgs_descriptor, + new java.lang.String[] { "Path", "Source", "ExternalPkgs", }); + internal_static_com_kcl_api_ParseFileResult_descriptor = + getDescriptor().getMessageType(11); + internal_static_com_kcl_api_ParseFileResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_ParseFileResult_descriptor, + new java.lang.String[] { "AstJson", "Deps", "Errors", }); + internal_static_com_kcl_api_ParseProgramArgs_descriptor = + getDescriptor().getMessageType(12); + internal_static_com_kcl_api_ParseProgramArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_ParseProgramArgs_descriptor, + new java.lang.String[] { "Paths", "Sources", "ExternalPkgs", }); + internal_static_com_kcl_api_ParseProgramResult_descriptor = + getDescriptor().getMessageType(13); + internal_static_com_kcl_api_ParseProgramResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_ParseProgramResult_descriptor, + new java.lang.String[] { "AstJson", "Paths", "Errors", }); + internal_static_com_kcl_api_LoadPackageArgs_descriptor = + getDescriptor().getMessageType(14); + internal_static_com_kcl_api_LoadPackageArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_LoadPackageArgs_descriptor, + new java.lang.String[] { "ParseArgs", "ResolveAst", "LoadBuiltin", "WithAstIndex", }); + internal_static_com_kcl_api_LoadPackageResult_descriptor = + getDescriptor().getMessageType(15); + internal_static_com_kcl_api_LoadPackageResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_LoadPackageResult_descriptor, + new java.lang.String[] { "Program", "Paths", "ParseErrors", "TypeErrors", "Scopes", "Symbols", "NodeSymbolMap", "SymbolNodeMap", "FullyQualifiedNameMap", "PkgScopeMap", }); + internal_static_com_kcl_api_LoadPackageResult_ScopesEntry_descriptor = + internal_static_com_kcl_api_LoadPackageResult_descriptor.getNestedType(0); + internal_static_com_kcl_api_LoadPackageResult_ScopesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_LoadPackageResult_ScopesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_LoadPackageResult_SymbolsEntry_descriptor = + internal_static_com_kcl_api_LoadPackageResult_descriptor.getNestedType(1); + internal_static_com_kcl_api_LoadPackageResult_SymbolsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_LoadPackageResult_SymbolsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_LoadPackageResult_NodeSymbolMapEntry_descriptor = + internal_static_com_kcl_api_LoadPackageResult_descriptor.getNestedType(2); + internal_static_com_kcl_api_LoadPackageResult_NodeSymbolMapEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_LoadPackageResult_NodeSymbolMapEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_LoadPackageResult_SymbolNodeMapEntry_descriptor = + internal_static_com_kcl_api_LoadPackageResult_descriptor.getNestedType(3); + internal_static_com_kcl_api_LoadPackageResult_SymbolNodeMapEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_LoadPackageResult_SymbolNodeMapEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_LoadPackageResult_FullyQualifiedNameMapEntry_descriptor = + internal_static_com_kcl_api_LoadPackageResult_descriptor.getNestedType(4); + internal_static_com_kcl_api_LoadPackageResult_FullyQualifiedNameMapEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_LoadPackageResult_FullyQualifiedNameMapEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_LoadPackageResult_PkgScopeMapEntry_descriptor = + internal_static_com_kcl_api_LoadPackageResult_descriptor.getNestedType(5); + internal_static_com_kcl_api_LoadPackageResult_PkgScopeMapEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_LoadPackageResult_PkgScopeMapEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_ListOptionsResult_descriptor = + getDescriptor().getMessageType(16); + internal_static_com_kcl_api_ListOptionsResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_ListOptionsResult_descriptor, + new java.lang.String[] { "Options", }); + internal_static_com_kcl_api_OptionHelp_descriptor = + getDescriptor().getMessageType(17); + internal_static_com_kcl_api_OptionHelp_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_OptionHelp_descriptor, + new java.lang.String[] { "Name", "Type", "Required", "DefaultValue", "Help", }); + internal_static_com_kcl_api_Symbol_descriptor = + getDescriptor().getMessageType(18); + internal_static_com_kcl_api_Symbol_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_Symbol_descriptor, + new java.lang.String[] { "Ty", "Name", "Owner", "Def", "Attrs", "IsGlobal", }); + internal_static_com_kcl_api_Scope_descriptor = + getDescriptor().getMessageType(19); + internal_static_com_kcl_api_Scope_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_Scope_descriptor, + new java.lang.String[] { "Kind", "Parent", "Owner", "Children", "Defs", }); + internal_static_com_kcl_api_SymbolIndex_descriptor = + getDescriptor().getMessageType(20); + internal_static_com_kcl_api_SymbolIndex_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_SymbolIndex_descriptor, + new java.lang.String[] { "I", "G", "Kind", }); + internal_static_com_kcl_api_ScopeIndex_descriptor = + getDescriptor().getMessageType(21); + internal_static_com_kcl_api_ScopeIndex_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_ScopeIndex_descriptor, + new java.lang.String[] { "I", "G", "Kind", }); + internal_static_com_kcl_api_ExecProgramArgs_descriptor = + getDescriptor().getMessageType(22); + internal_static_com_kcl_api_ExecProgramArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_ExecProgramArgs_descriptor, + new java.lang.String[] { "WorkDir", "KFilenameList", "KCodeList", "Args", "Overrides", "DisableYamlResult", "PrintOverrideAst", "StrictRangeCheck", "DisableNone", "Verbose", "Debug", "SortKeys", "ExternalPkgs", "IncludeSchemaTypePath", "CompileOnly", "ShowHidden", "PathSelector", "FastEval", }); + internal_static_com_kcl_api_ExecProgramResult_descriptor = + getDescriptor().getMessageType(23); + internal_static_com_kcl_api_ExecProgramResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_ExecProgramResult_descriptor, + new java.lang.String[] { "JsonResult", "YamlResult", "LogMessage", "ErrMessage", }); + internal_static_com_kcl_api_BuildProgramArgs_descriptor = + getDescriptor().getMessageType(24); + internal_static_com_kcl_api_BuildProgramArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_BuildProgramArgs_descriptor, + new java.lang.String[] { "ExecArgs", "Output", }); + internal_static_com_kcl_api_BuildProgramResult_descriptor = + getDescriptor().getMessageType(25); + internal_static_com_kcl_api_BuildProgramResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_BuildProgramResult_descriptor, + new java.lang.String[] { "Path", }); + internal_static_com_kcl_api_ExecArtifactArgs_descriptor = + getDescriptor().getMessageType(26); + internal_static_com_kcl_api_ExecArtifactArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_ExecArtifactArgs_descriptor, + new java.lang.String[] { "Path", "ExecArgs", }); + internal_static_com_kcl_api_FormatCodeArgs_descriptor = + getDescriptor().getMessageType(27); + internal_static_com_kcl_api_FormatCodeArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_FormatCodeArgs_descriptor, + new java.lang.String[] { "Source", }); + internal_static_com_kcl_api_FormatCodeResult_descriptor = + getDescriptor().getMessageType(28); + internal_static_com_kcl_api_FormatCodeResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_FormatCodeResult_descriptor, + new java.lang.String[] { "Formatted", }); + internal_static_com_kcl_api_FormatPathArgs_descriptor = + getDescriptor().getMessageType(29); + internal_static_com_kcl_api_FormatPathArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_FormatPathArgs_descriptor, + new java.lang.String[] { "Path", }); + internal_static_com_kcl_api_FormatPathResult_descriptor = + getDescriptor().getMessageType(30); + internal_static_com_kcl_api_FormatPathResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_FormatPathResult_descriptor, + new java.lang.String[] { "ChangedPaths", }); + internal_static_com_kcl_api_LintPathArgs_descriptor = + getDescriptor().getMessageType(31); + internal_static_com_kcl_api_LintPathArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_LintPathArgs_descriptor, + new java.lang.String[] { "Paths", }); + internal_static_com_kcl_api_LintPathResult_descriptor = + getDescriptor().getMessageType(32); + internal_static_com_kcl_api_LintPathResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_LintPathResult_descriptor, + new java.lang.String[] { "Results", }); + internal_static_com_kcl_api_OverrideFileArgs_descriptor = + getDescriptor().getMessageType(33); + internal_static_com_kcl_api_OverrideFileArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_OverrideFileArgs_descriptor, + new java.lang.String[] { "File", "Specs", "ImportPaths", }); + internal_static_com_kcl_api_OverrideFileResult_descriptor = + getDescriptor().getMessageType(34); + internal_static_com_kcl_api_OverrideFileResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_OverrideFileResult_descriptor, + new java.lang.String[] { "Result", "ParseErrors", }); + internal_static_com_kcl_api_ListVariablesOptions_descriptor = + getDescriptor().getMessageType(35); + internal_static_com_kcl_api_ListVariablesOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_ListVariablesOptions_descriptor, + new java.lang.String[] { "MergeProgram", }); + internal_static_com_kcl_api_VariableList_descriptor = + getDescriptor().getMessageType(36); + internal_static_com_kcl_api_VariableList_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_VariableList_descriptor, + new java.lang.String[] { "Variables", }); + internal_static_com_kcl_api_ListVariablesArgs_descriptor = + getDescriptor().getMessageType(37); + internal_static_com_kcl_api_ListVariablesArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_ListVariablesArgs_descriptor, + new java.lang.String[] { "Files", "Specs", "Options", }); + internal_static_com_kcl_api_ListVariablesResult_descriptor = + getDescriptor().getMessageType(38); + internal_static_com_kcl_api_ListVariablesResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_ListVariablesResult_descriptor, + new java.lang.String[] { "Variables", "UnsupportedCodes", "ParseErrors", }); + internal_static_com_kcl_api_ListVariablesResult_VariablesEntry_descriptor = + internal_static_com_kcl_api_ListVariablesResult_descriptor.getNestedType(0); + internal_static_com_kcl_api_ListVariablesResult_VariablesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_ListVariablesResult_VariablesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_Variable_descriptor = + getDescriptor().getMessageType(39); + internal_static_com_kcl_api_Variable_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_Variable_descriptor, + new java.lang.String[] { "Value", "TypeName", "OpSym", "ListItems", "DictEntries", }); + internal_static_com_kcl_api_MapEntry_descriptor = + getDescriptor().getMessageType(40); + internal_static_com_kcl_api_MapEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_MapEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_GetSchemaTypeMappingArgs_descriptor = + getDescriptor().getMessageType(41); + internal_static_com_kcl_api_GetSchemaTypeMappingArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_GetSchemaTypeMappingArgs_descriptor, + new java.lang.String[] { "ExecArgs", "SchemaName", }); + internal_static_com_kcl_api_GetSchemaTypeMappingResult_descriptor = + getDescriptor().getMessageType(42); + internal_static_com_kcl_api_GetSchemaTypeMappingResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_GetSchemaTypeMappingResult_descriptor, + new java.lang.String[] { "SchemaTypeMapping", }); + internal_static_com_kcl_api_GetSchemaTypeMappingResult_SchemaTypeMappingEntry_descriptor = + internal_static_com_kcl_api_GetSchemaTypeMappingResult_descriptor.getNestedType(0); + internal_static_com_kcl_api_GetSchemaTypeMappingResult_SchemaTypeMappingEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_GetSchemaTypeMappingResult_SchemaTypeMappingEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_descriptor = + getDescriptor().getMessageType(43); + internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_descriptor, + new java.lang.String[] { "SchemaTypeMapping", }); + internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_SchemaTypeMappingEntry_descriptor = + internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_descriptor.getNestedType(0); + internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_SchemaTypeMappingEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_SchemaTypeMappingEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_SchemaTypes_descriptor = + getDescriptor().getMessageType(44); + internal_static_com_kcl_api_SchemaTypes_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_SchemaTypes_descriptor, + new java.lang.String[] { "SchemaType", }); + internal_static_com_kcl_api_ValidateCodeArgs_descriptor = + getDescriptor().getMessageType(45); + internal_static_com_kcl_api_ValidateCodeArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_ValidateCodeArgs_descriptor, + new java.lang.String[] { "Datafile", "Data", "File", "Code", "Schema", "AttributeName", "Format", "ExternalPkgs", }); + internal_static_com_kcl_api_ValidateCodeResult_descriptor = + getDescriptor().getMessageType(46); + internal_static_com_kcl_api_ValidateCodeResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_ValidateCodeResult_descriptor, + new java.lang.String[] { "Success", "ErrMessage", }); + internal_static_com_kcl_api_Position_descriptor = + getDescriptor().getMessageType(47); + internal_static_com_kcl_api_Position_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_Position_descriptor, + new java.lang.String[] { "Line", "Column", "Filename", }); + internal_static_com_kcl_api_ListDepFilesArgs_descriptor = + getDescriptor().getMessageType(48); + internal_static_com_kcl_api_ListDepFilesArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_ListDepFilesArgs_descriptor, + new java.lang.String[] { "WorkDir", "UseAbsPath", "IncludeAll", "UseFastParser", }); + internal_static_com_kcl_api_ListDepFilesResult_descriptor = + getDescriptor().getMessageType(49); + internal_static_com_kcl_api_ListDepFilesResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_ListDepFilesResult_descriptor, + new java.lang.String[] { "Pkgroot", "Pkgpath", "Files", }); + internal_static_com_kcl_api_LoadSettingsFilesArgs_descriptor = + getDescriptor().getMessageType(50); + internal_static_com_kcl_api_LoadSettingsFilesArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_LoadSettingsFilesArgs_descriptor, + new java.lang.String[] { "WorkDir", "Files", }); + internal_static_com_kcl_api_LoadSettingsFilesResult_descriptor = + getDescriptor().getMessageType(51); + internal_static_com_kcl_api_LoadSettingsFilesResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_LoadSettingsFilesResult_descriptor, + new java.lang.String[] { "KclCliConfigs", "KclOptions", }); + internal_static_com_kcl_api_CliConfig_descriptor = + getDescriptor().getMessageType(52); + internal_static_com_kcl_api_CliConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_CliConfig_descriptor, + new java.lang.String[] { "Files", "Output", "Overrides", "PathSelector", "StrictRangeCheck", "DisableNone", "Verbose", "Debug", "SortKeys", "ShowHidden", "IncludeSchemaTypePath", "FastEval", }); + internal_static_com_kcl_api_KeyValuePair_descriptor = + getDescriptor().getMessageType(53); + internal_static_com_kcl_api_KeyValuePair_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_KeyValuePair_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_RenameArgs_descriptor = + getDescriptor().getMessageType(54); + internal_static_com_kcl_api_RenameArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_RenameArgs_descriptor, + new java.lang.String[] { "PackageRoot", "SymbolPath", "FilePaths", "NewName", }); + internal_static_com_kcl_api_RenameResult_descriptor = + getDescriptor().getMessageType(55); + internal_static_com_kcl_api_RenameResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_RenameResult_descriptor, + new java.lang.String[] { "ChangedFiles", }); + internal_static_com_kcl_api_RenameCodeArgs_descriptor = + getDescriptor().getMessageType(56); + internal_static_com_kcl_api_RenameCodeArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_RenameCodeArgs_descriptor, + new java.lang.String[] { "PackageRoot", "SymbolPath", "SourceCodes", "NewName", }); + internal_static_com_kcl_api_RenameCodeArgs_SourceCodesEntry_descriptor = + internal_static_com_kcl_api_RenameCodeArgs_descriptor.getNestedType(0); + internal_static_com_kcl_api_RenameCodeArgs_SourceCodesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_RenameCodeArgs_SourceCodesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_RenameCodeResult_descriptor = + getDescriptor().getMessageType(57); + internal_static_com_kcl_api_RenameCodeResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_RenameCodeResult_descriptor, + new java.lang.String[] { "ChangedCodes", }); + internal_static_com_kcl_api_RenameCodeResult_ChangedCodesEntry_descriptor = + internal_static_com_kcl_api_RenameCodeResult_descriptor.getNestedType(0); + internal_static_com_kcl_api_RenameCodeResult_ChangedCodesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_RenameCodeResult_ChangedCodesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_TestArgs_descriptor = + getDescriptor().getMessageType(58); + internal_static_com_kcl_api_TestArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_TestArgs_descriptor, + new java.lang.String[] { "ExecArgs", "PkgList", "RunRegexp", "FailFast", }); + internal_static_com_kcl_api_TestResult_descriptor = + getDescriptor().getMessageType(59); + internal_static_com_kcl_api_TestResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_TestResult_descriptor, + new java.lang.String[] { "Info", }); + internal_static_com_kcl_api_TestCaseInfo_descriptor = + getDescriptor().getMessageType(60); + internal_static_com_kcl_api_TestCaseInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_TestCaseInfo_descriptor, + new java.lang.String[] { "Name", "Error", "Duration", "LogMessage", }); + internal_static_com_kcl_api_UpdateDependenciesArgs_descriptor = + getDescriptor().getMessageType(61); + internal_static_com_kcl_api_UpdateDependenciesArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_UpdateDependenciesArgs_descriptor, + new java.lang.String[] { "ManifestPath", "Vendor", }); + internal_static_com_kcl_api_UpdateDependenciesResult_descriptor = + getDescriptor().getMessageType(62); + internal_static_com_kcl_api_UpdateDependenciesResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_UpdateDependenciesResult_descriptor, + new java.lang.String[] { "ExternalPkgs", }); + internal_static_com_kcl_api_KclType_descriptor = + getDescriptor().getMessageType(63); + internal_static_com_kcl_api_KclType_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_KclType_descriptor, + new java.lang.String[] { "Type", "UnionTypes", "Default", "SchemaName", "SchemaDoc", "Properties", "Required", "Key", "Item", "Line", "Decorators", "Filename", "PkgPath", "Description", "Examples", "BaseSchema", }); + internal_static_com_kcl_api_KclType_PropertiesEntry_descriptor = + internal_static_com_kcl_api_KclType_descriptor.getNestedType(0); + internal_static_com_kcl_api_KclType_PropertiesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_KclType_PropertiesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_KclType_ExamplesEntry_descriptor = + internal_static_com_kcl_api_KclType_descriptor.getNestedType(1); + internal_static_com_kcl_api_KclType_ExamplesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_KclType_ExamplesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_Decorator_descriptor = + getDescriptor().getMessageType(64); + internal_static_com_kcl_api_Decorator_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_Decorator_descriptor, + new java.lang.String[] { "Name", "Arguments", "Keywords", }); + internal_static_com_kcl_api_Decorator_KeywordsEntry_descriptor = + internal_static_com_kcl_api_Decorator_descriptor.getNestedType(0); + internal_static_com_kcl_api_Decorator_KeywordsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_Decorator_KeywordsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_com_kcl_api_Example_descriptor = + getDescriptor().getMessageType(65); + internal_static_com_kcl_api_Example_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_kcl_api_Example_descriptor, + new java.lang.String[] { "Summary", "Description", "Value", }); + descriptor.resolveAllFeaturesImmutable(); + } + + // @@protoc_insertion_point(outer_class_scope) } diff --git a/java/src/main/java/com/kcl/util/SematicUtil.java b/java/src/main/java/com/kcl/util/SematicUtil.java index d8b6c7fa..52322b06 100644 --- a/java/src/main/java/com/kcl/util/SematicUtil.java +++ b/java/src/main/java/com/kcl/util/SematicUtil.java @@ -1,6 +1,6 @@ package com.kcl.util; -import com.kcl.api.Spec.LoadPackage_Result; +import com.kcl.api.Spec.LoadPackageResult; import com.kcl.api.Spec.Scope; import com.kcl.api.Spec.ScopeIndex; import com.kcl.api.Spec.Symbol; @@ -12,7 +12,7 @@ public class SematicUtil { static String indexStringFormat = "{\"i\":%d,\"g\":%d,\"kind\":\"%s\"}"; - public static Symbol findSymbol(LoadPackage_Result result, SymbolIndex index) throws Exception { + public static Symbol findSymbol(LoadPackageResult result, SymbolIndex index) throws Exception { if (result == null || index == null) { return null; } @@ -21,14 +21,14 @@ public static Symbol findSymbol(LoadPackage_Result result, SymbolIndex index) th return symbols.get(key); } - public static Symbol findSymbolByAstId(LoadPackage_Result result, String id) throws Exception { + public static Symbol findSymbolByAstId(LoadPackageResult result, String id) throws Exception { if (id == null) { return null; } return findSymbol(result, result.getNodeSymbolMapOrDefault(id, null)); } - public static Scope findScope(LoadPackage_Result result, ScopeIndex index) throws Exception { + public static Scope findScope(LoadPackageResult result, ScopeIndex index) throws Exception { if (result == null || index == null) { return null; } @@ -37,14 +37,14 @@ public static Scope findScope(LoadPackage_Result result, ScopeIndex index) throw return scopes.get(key); } - public static Scope findScopeByAstId(LoadPackage_Result result, String id) throws Exception { + public static Scope findScopeByAstId(LoadPackageResult result, String id) throws Exception { if (result == null || id == null) { return null; } return findScopeBySymbol(result, result.getNodeSymbolMapOrDefault(id, null)); } - public static Scope findScopeBySymbol(LoadPackage_Result result, SymbolIndex index) throws Exception { + public static Scope findScopeBySymbol(LoadPackageResult result, SymbolIndex index) throws Exception { if (result == null || index == null) { return null; } @@ -57,7 +57,7 @@ public static Scope findScopeBySymbol(LoadPackage_Result result, SymbolIndex ind return null; } - public static Map getSymbolScopeMap(LoadPackage_Result result) throws Exception { + public static Map getSymbolScopeMap(LoadPackageResult result) throws Exception { if (result == null) { return null; } @@ -68,7 +68,7 @@ public static Map getSymbolScopeMap(LoadPackage_Result return map; } - private static void constructSymbolScopeMap(Map map, LoadPackage_Result result, + private static void constructSymbolScopeMap(Map map, LoadPackageResult result, ScopeIndex scopeIndex) throws Exception { Scope scope = findScope(result, scopeIndex); if (scope != null) { @@ -81,7 +81,7 @@ private static void constructSymbolScopeMap(Map map, Lo } } - private static Scope symbolCurrentScope(LoadPackage_Result result, SymbolIndex symbolIndex, ScopeIndex scopeIndex) + private static Scope symbolCurrentScope(LoadPackageResult result, SymbolIndex symbolIndex, ScopeIndex scopeIndex) throws Exception { Scope scope = findScope(result, scopeIndex); if (scope != null) { @@ -100,7 +100,7 @@ private static Scope symbolCurrentScope(LoadPackage_Result result, SymbolIndex s return null; } - public static Scope findPackageScope(LoadPackage_Result result, String pkg) throws Exception { + public static Scope findPackageScope(LoadPackageResult result, String pkg) throws Exception { if (result == null) { return null; } @@ -110,11 +110,11 @@ public static Scope findPackageScope(LoadPackage_Result result, String pkg) thro return findScope(result, result.getPkgScopeMapOrDefault(pkg, null)); } - public static Scope findMainPackageScope(LoadPackage_Result result) throws Exception { + public static Scope findMainPackageScope(LoadPackageResult result) throws Exception { return findPackageScope(result, Program.MAIN_PKG); } - public static String findNodeBySymbol(LoadPackage_Result result, SymbolIndex index) throws Exception { + public static String findNodeBySymbol(LoadPackageResult result, SymbolIndex index) throws Exception { if (result == null || index == null) { return null; } diff --git a/java/src/test/java/com/kcl/ExecProgramTest.java b/java/src/test/java/com/kcl/ExecProgramTest.java index e05cc2bd..80a83697 100644 --- a/java/src/test/java/com/kcl/ExecProgramTest.java +++ b/java/src/test/java/com/kcl/ExecProgramTest.java @@ -1,8 +1,8 @@ package com.kcl; import com.kcl.api.API; -import com.kcl.api.Spec.ExecProgram_Args; -import com.kcl.api.Spec.ExecProgram_Result; +import com.kcl.api.Spec.ExecProgramArgs; +import com.kcl.api.Spec.ExecProgramResult; import org.junit.Assert; import org.junit.Test; @@ -13,17 +13,17 @@ public class ExecProgramTest { @Test public void testExecProgramApi() throws Exception { - ExecProgram_Args args = ExecProgram_Args.newBuilder().addKFilenameList(TEST_FILE).build(); + ExecProgramArgs args = ExecProgramArgs.newBuilder().addKFilenameList(TEST_FILE).build(); API apiInstance = new API(); - ExecProgram_Result result = apiInstance.execProgram(args); + ExecProgramResult result = apiInstance.execProgram(args); Assert.assertEquals(result.getYamlResult(), "app:\n" + " replicas: 2"); } @Test public void testExecProgramApiInvalid() { try { - ExecProgram_Args args = ExecProgram_Args.newBuilder().build(); + ExecProgramArgs args = ExecProgramArgs.newBuilder().build(); API apiInstance = new API(); apiInstance.execProgram(args); diff --git a/java/src/test/java/com/kcl/FormatTest.java b/java/src/test/java/com/kcl/FormatTest.java index 228911c9..c1419ac5 100644 --- a/java/src/test/java/com/kcl/FormatTest.java +++ b/java/src/test/java/com/kcl/FormatTest.java @@ -1,9 +1,9 @@ package com.kcl; import com.kcl.api.API; -import com.kcl.api.Spec.FormatCode_Args; -import com.kcl.api.Spec.FormatCode_Result; -import com.kcl.api.Spec.FormatPath_Args; +import com.kcl.api.Spec.FormatCodeArgs; +import com.kcl.api.Spec.FormatCodeResult; +import com.kcl.api.Spec.FormatPathArgs; import org.junit.Assert; import org.junit.Test; @@ -11,7 +11,7 @@ public class FormatTest { @Test public void testFormatPathApi() throws Exception { final String TEST_PATH = "./src/test_data/format_path/test.k"; - FormatPath_Args args = FormatPath_Args.newBuilder().setPath(TEST_PATH).build(); + FormatPathArgs args = FormatPathArgs.newBuilder().setPath(TEST_PATH).build(); API apiInstance = new API(); apiInstance.formatPath(args); } @@ -21,10 +21,10 @@ public void testFormatCodeApi() throws Exception { String sourceCode = "schema Person:\n" + " name: str\n" + " age: int\n" + " check:\n" + " 0 < age < 120\n"; - FormatCode_Args args = FormatCode_Args.newBuilder().setSource(sourceCode).build(); + FormatCodeArgs args = FormatCodeArgs.newBuilder().setSource(sourceCode).build(); API apiInstance = new API(); - FormatCode_Result result = apiInstance.formatCode(args); + FormatCodeResult result = apiInstance.formatCode(args); String expectedFormattedCode = "schema Person:\n" + " name: str\n" + " age: int\n\n" + " check:\n" + " 0 < age < 120\n\n"; diff --git a/java/src/test/java/com/kcl/GetSchemaTypeTest.java b/java/src/test/java/com/kcl/GetSchemaTypeTest.java index 36fc31cd..91afb7c2 100644 --- a/java/src/test/java/com/kcl/GetSchemaTypeTest.java +++ b/java/src/test/java/com/kcl/GetSchemaTypeTest.java @@ -1,9 +1,9 @@ package com.kcl; import com.kcl.api.API; -import com.kcl.api.Spec.ExecProgram_Args; -import com.kcl.api.Spec.GetSchemaTypeMapping_Args; -import com.kcl.api.Spec.GetSchemaTypeMapping_Result; +import com.kcl.api.Spec.ExecProgramArgs; +import com.kcl.api.Spec.GetSchemaTypeMappingArgs; +import com.kcl.api.Spec.GetSchemaTypeMappingResult; import com.kcl.api.Spec.KclType; import org.junit.Assert; @@ -15,12 +15,12 @@ public class GetSchemaTypeTest { @Test public void testGetSchemaTypeApi() throws Exception { - ExecProgram_Args execArgs = ExecProgram_Args.newBuilder().addKFilenameList(TEST_FILE).build(); + ExecProgramArgs execArgs = ExecProgramArgs.newBuilder().addKFilenameList(TEST_FILE).build(); - GetSchemaTypeMapping_Args args = GetSchemaTypeMapping_Args.newBuilder().setExecArgs(execArgs).build(); + GetSchemaTypeMappingArgs args = GetSchemaTypeMappingArgs.newBuilder().setExecArgs(execArgs).build(); API apiInstance = new API(); - GetSchemaTypeMapping_Result result = apiInstance.getSchemaTypeMapping(args); + GetSchemaTypeMappingResult result = apiInstance.getSchemaTypeMapping(args); KclType appSchemaType = result.getSchemaTypeMappingMap().get("app"); String replicasType = appSchemaType.getPropertiesOrThrow("replicas").getType(); diff --git a/java/src/test/java/com/kcl/GetVersionTest.java b/java/src/test/java/com/kcl/GetVersionTest.java index 548b0352..0ef45606 100644 --- a/java/src/test/java/com/kcl/GetVersionTest.java +++ b/java/src/test/java/com/kcl/GetVersionTest.java @@ -4,15 +4,15 @@ import org.junit.Test; import com.kcl.api.API; -import com.kcl.api.Spec.GetVersion_Args; -import com.kcl.api.Spec.GetVersion_Result; +import com.kcl.api.Spec.GetVersionArgs; +import com.kcl.api.Spec.GetVersionResult; public class GetVersionTest { @Test public void testGetVersion() throws Exception { API api = new API(); - GetVersion_Args version_args = GetVersion_Args.newBuilder().build(); - GetVersion_Result result = api.getVersion(version_args); + GetVersionArgs version_args = GetVersionArgs.newBuilder().build(); + GetVersionResult result = api.getVersion(version_args); String versionInfo = result.getVersionInfo(); Assert.assertTrue(versionInfo, versionInfo.contains("Version")); Assert.assertTrue(versionInfo, versionInfo.contains("GitCommit")); diff --git a/java/src/test/java/com/kcl/LintTest.java b/java/src/test/java/com/kcl/LintTest.java index f5abc201..c849c695 100644 --- a/java/src/test/java/com/kcl/LintTest.java +++ b/java/src/test/java/com/kcl/LintTest.java @@ -1,8 +1,8 @@ package com.kcl; import com.kcl.api.API; -import com.kcl.api.Spec.LintPath_Args; -import com.kcl.api.Spec.LintPath_Result; +import com.kcl.api.Spec.LintPathArgs; +import com.kcl.api.Spec.LintPathResult; import org.junit.Assert; import org.junit.Test; @@ -11,10 +11,10 @@ public class LintTest { public void testLintPathApi() throws Exception { final String TEST_PATH = "./src/test_data/lint_path/test-lint.k"; - LintPath_Args args = LintPath_Args.newBuilder().addPaths(TEST_PATH).build(); + LintPathArgs args = LintPathArgs.newBuilder().addPaths(TEST_PATH).build(); API apiInstance = new API(); - LintPath_Result result = apiInstance.lintPath(args); + LintPathResult result = apiInstance.lintPath(args); boolean foundWarning = result.getResultsList().stream() .anyMatch(warning -> warning.contains("Module 'math' imported but unused")); Assert.assertTrue("Expected warning not found", foundWarning); diff --git a/java/src/test/java/com/kcl/ListOptionsTest.java b/java/src/test/java/com/kcl/ListOptionsTest.java index 590ad659..c07b9fb4 100644 --- a/java/src/test/java/com/kcl/ListOptionsTest.java +++ b/java/src/test/java/com/kcl/ListOptionsTest.java @@ -4,16 +4,16 @@ import org.junit.Test; import com.kcl.api.API; -import com.kcl.api.Spec.ParseProgram_Args; -import com.kcl.api.Spec.ListOptions_Result; +import com.kcl.api.Spec.ParseProgramArgs; +import com.kcl.api.Spec.ListOptionsResult; public class ListOptionsTest { @Test public void testListOptionsApi() throws Exception { - ParseProgram_Args args = ParseProgram_Args.newBuilder().addPaths("./src/test_data/option/main.k").build(); + ParseProgramArgs args = ParseProgramArgs.newBuilder().addPaths("./src/test_data/option/main.k").build(); API apiInstance = new API(); - ListOptions_Result result = apiInstance.listOptions(args); + ListOptionsResult result = apiInstance.listOptions(args); Assert.assertEquals(result.getOptions(0).getName(), "key1"); Assert.assertEquals(result.getOptions(1).getName(), "key2"); Assert.assertEquals(result.getOptions(2).getName(), "metadata-key"); diff --git a/java/src/test/java/com/kcl/ListVariablesTest.java b/java/src/test/java/com/kcl/ListVariablesTest.java index d458ac86..4f1e2b86 100644 --- a/java/src/test/java/com/kcl/ListVariablesTest.java +++ b/java/src/test/java/com/kcl/ListVariablesTest.java @@ -1,9 +1,9 @@ package com.kcl; import com.kcl.api.API; -import com.kcl.api.Spec.ListVariables_Args; -import com.kcl.api.Spec.ListVariables_Options; -import com.kcl.api.Spec.ListVariables_Result; +import com.kcl.api.Spec.ListVariablesArgs; +import com.kcl.api.Spec.ListVariablesOptions; +import com.kcl.api.Spec.ListVariablesResult; import java.nio.file.Paths; @@ -34,7 +34,7 @@ public void testListVariables() throws Exception { String expectedValue = testCase[1]; String expectedName = testCase[2]; String expectOpSym = testCase[3]; - ListVariables_Result result = api.listVariables(ListVariables_Args.newBuilder() + ListVariablesResult result = api.listVariables(ListVariablesArgs.newBuilder() .addFiles("./src/test_data/list_variables/main.k").addSpecs(spec).build()); Assert.assertEquals(result.getVariablesCount(), 1); @@ -52,8 +52,8 @@ public void testListVariablesWithInvalidKcl() throws Exception { String filePath = Paths.get("./src/test_data/list_variables/invalid.k").toAbsolutePath().toString(); - ListVariables_Result result = api - .listVariables(ListVariables_Args.newBuilder().addFiles(filePath).addSpecs("a").build()); + ListVariablesResult result = api + .listVariables(ListVariablesArgs.newBuilder().addFiles(filePath).addSpecs("a").build()); Assert.assertEquals(result.getParseErrorsCount(), 2); Assert.assertEquals(result.getParseErrors(0).getLevel(), "error"); @@ -72,8 +72,8 @@ public void testListVariablesWithList() throws Exception { String filePath = Paths.get("./src/test_data/list_variables/list.k").toAbsolutePath().toString(); - ListVariables_Result result = api - .listVariables(ListVariables_Args.newBuilder().addFiles(filePath).addSpecs("list0").build()); + ListVariablesResult result = api + .listVariables(ListVariablesArgs.newBuilder().addFiles(filePath).addSpecs("list0").build()); Assert.assertEquals(result.getVariablesCount(), 1); Assert.assertEquals(result.getVariablesMap().get("list0").getVariables(0).getValue(), "[1, 2, 3]"); Assert.assertEquals(result.getVariablesMap().get("list0").getVariables(0).getTypeName(), ""); @@ -102,8 +102,8 @@ public void testListMergedVariables() throws Exception { String spec = data[2]; String expectedValue = data[3]; - ListVariables_Result result = api.listVariables(ListVariables_Args.newBuilder() - .setOptions(ListVariables_Options.newBuilder().setMergeProgram(true).build()).addFiles(baseFilePath) + ListVariablesResult result = api.listVariables(ListVariablesArgs.newBuilder() + .setOptions(ListVariablesOptions.newBuilder().setMergeProgram(true).build()).addFiles(baseFilePath) .addFiles(mainFilePath).addSpecs(spec).build()); Assert.assertEquals(result.getVariablesCount(), 1); diff --git a/java/src/test/java/com/kcl/LoadPackageTest.java b/java/src/test/java/com/kcl/LoadPackageTest.java index ef60dd8e..c06fa766 100644 --- a/java/src/test/java/com/kcl/LoadPackageTest.java +++ b/java/src/test/java/com/kcl/LoadPackageTest.java @@ -1,9 +1,9 @@ package com.kcl; import com.kcl.api.API; -import com.kcl.api.Spec.LoadPackage_Args; -import com.kcl.api.Spec.LoadPackage_Result; -import com.kcl.api.Spec.ParseProgram_Args; +import com.kcl.api.Spec.LoadPackageArgs; +import com.kcl.api.Spec.LoadPackageResult; +import com.kcl.api.Spec.ParseProgramArgs; import com.kcl.api.Spec.Scope; import com.kcl.api.Spec.Symbol; import com.kcl.api.Spec.SymbolIndex; @@ -20,9 +20,9 @@ public class LoadPackageTest { public void testProgramSymbols() throws Exception { // API instance API api = new API(); - LoadPackage_Result result = api.loadPackage(LoadPackage_Args.newBuilder().setResolveAst(true) + LoadPackageResult result = api.loadPackage(LoadPackageArgs.newBuilder().setResolveAst(true) .setWithAstIndex(true) - .setParseArgs(ParseProgram_Args.newBuilder().addPaths("./src/test_data/schema.k").build()).build()); + .setParseArgs(ParseProgramArgs.newBuilder().addPaths("./src/test_data/schema.k").build()).build()); // Get parse errors Assert.assertEquals(result.getParseErrorsList().size(), 0); // Get Type errors @@ -57,9 +57,9 @@ public void testProgramSymbolsWithCache() throws Exception { // API instance API api = new API(); // Note call `loadPackageWithCache` here. - LoadPackage_Result result = api.loadPackageWithCache(LoadPackage_Args.newBuilder().setResolveAst(true) + LoadPackageResult result = api.loadPackageWithCache(LoadPackageArgs.newBuilder().setResolveAst(true) .setWithAstIndex(true) - .setParseArgs(ParseProgram_Args.newBuilder().addPaths("./src/test_data/schema.k").build()).build()); + .setParseArgs(ParseProgramArgs.newBuilder().addPaths("./src/test_data/schema.k").build()).build()); // Get parse errors Assert.assertEquals(result.getParseErrorsList().size(), 0); // Get Type errors diff --git a/java/src/test/java/com/kcl/LoadSettingsFilesTest.java b/java/src/test/java/com/kcl/LoadSettingsFilesTest.java index 3b4c3536..39f8e175 100644 --- a/java/src/test/java/com/kcl/LoadSettingsFilesTest.java +++ b/java/src/test/java/com/kcl/LoadSettingsFilesTest.java @@ -4,16 +4,16 @@ import org.junit.Test; import com.kcl.api.API; -import com.kcl.api.Spec.LoadSettingsFiles_Args; -import com.kcl.api.Spec.LoadSettingsFiles_Result; +import com.kcl.api.Spec.LoadSettingsFilesArgs; +import com.kcl.api.Spec.LoadSettingsFilesResult; public class LoadSettingsFilesTest { @Test public void testLoadSettingsFile() throws Exception { API api = new API(); - LoadSettingsFiles_Args args = LoadSettingsFiles_Args.newBuilder().addFiles("./src/test_data/settings/kcl.yaml") + LoadSettingsFilesArgs args = LoadSettingsFilesArgs.newBuilder().addFiles("./src/test_data/settings/kcl.yaml") .build(); - LoadSettingsFiles_Result result = api.loadSettingsFiles(args); + LoadSettingsFilesResult result = api.loadSettingsFiles(args); Assert.assertEquals(result.getKclCliConfigs().getFilesCount(), 0); Assert.assertEquals(result.getKclCliConfigs().getStrictRangeCheck(), true); Assert.assertEquals(result.getKclOptions(0).getKey(), "key"); diff --git a/java/src/test/java/com/kcl/OverrideFileTest.java b/java/src/test/java/com/kcl/OverrideFileTest.java index 3b1d01a8..f0499285 100644 --- a/java/src/test/java/com/kcl/OverrideFileTest.java +++ b/java/src/test/java/com/kcl/OverrideFileTest.java @@ -1,8 +1,8 @@ package com.kcl; import com.kcl.api.API; -import com.kcl.api.Spec.OverrideFile_Args; -import com.kcl.api.Spec.OverrideFile_Result; +import com.kcl.api.Spec.OverrideFileArgs; +import com.kcl.api.Spec.OverrideFileResult; import java.nio.file.Files; import java.nio.file.Path; @@ -28,7 +28,7 @@ public void testOverrideFile() throws Exception { Files.copy(source, target); for (String spec : testCases) { - OverrideFile_Result result = api.overrideFile(OverrideFile_Args.newBuilder() + OverrideFileResult result = api.overrideFile(OverrideFileArgs.newBuilder() .setFile("./src/test_data/override_file/main.k").addSpecs(spec).build()); Assert.assertEquals(result.getResult(), true); diff --git a/java/src/test/java/com/kcl/ParseFileTest.java b/java/src/test/java/com/kcl/ParseFileTest.java index a97591c6..ce388ddc 100644 --- a/java/src/test/java/com/kcl/ParseFileTest.java +++ b/java/src/test/java/com/kcl/ParseFileTest.java @@ -7,17 +7,17 @@ import org.junit.Test; import com.kcl.api.API; -import com.kcl.api.Spec.ParseFile_Args; -import com.kcl.api.Spec.ParseFile_Result; +import com.kcl.api.Spec.ParseFileArgs; +import com.kcl.api.Spec.ParseFileResult; public class ParseFileTest { @Test public void testParseFile() throws Exception { Path path = Paths.get("src", "test_data", "parse", "main.k"); - ParseFile_Args args = ParseFile_Args.newBuilder().setPath(path.toString()).build(); + ParseFileArgs args = ParseFileArgs.newBuilder().setPath(path.toString()).build(); API apiInstance = new API(); - ParseFile_Result result = apiInstance.parseFile(args); + ParseFileResult result = apiInstance.parseFile(args); Assert.assertNotNull(result.getAstJson()); Assert.assertEquals(result.getDepsCount(), 2); } diff --git a/java/src/test/java/com/kcl/ParseProgramTest.java b/java/src/test/java/com/kcl/ParseProgramTest.java index 022cd94b..ed552f41 100644 --- a/java/src/test/java/com/kcl/ParseProgramTest.java +++ b/java/src/test/java/com/kcl/ParseProgramTest.java @@ -7,8 +7,8 @@ import org.junit.Test; import com.kcl.api.API; -import com.kcl.api.Spec.ParseProgram_Args; -import com.kcl.api.Spec.ParseProgram_Result; +import com.kcl.api.Spec.ParseProgramArgs; +import com.kcl.api.Spec.ParseProgramResult; import com.kcl.ast.Program; import com.kcl.util.JsonUtil; @@ -16,10 +16,10 @@ public class ParseProgramTest { @Test public void testParseProgram() throws Exception { Path path = Paths.get("src", "test_data", "parse", "main.k"); - ParseProgram_Args args = ParseProgram_Args.newBuilder().addPaths(path.toString()).build(); + ParseProgramArgs args = ParseProgramArgs.newBuilder().addPaths(path.toString()).build(); API apiInstance = new API(); - ParseProgram_Result result = apiInstance.parseProgram(args); + ParseProgramResult result = apiInstance.parseProgram(args); Assert.assertEquals(result.getPathsCount(), 3); Program program = JsonUtil.deserializeProgram(result.getAstJson()); Assert.assertTrue(program.getRoot().contains("test_data")); diff --git a/java/src/test/java/com/kcl/PluginTest.java b/java/src/test/java/com/kcl/PluginTest.java index 5ef3be42..ac2c291f 100644 --- a/java/src/test/java/com/kcl/PluginTest.java +++ b/java/src/test/java/com/kcl/PluginTest.java @@ -1,8 +1,8 @@ package com.kcl; import com.kcl.api.API; -import com.kcl.api.Spec.ExecProgram_Args; -import com.kcl.api.Spec.ExecProgram_Result; +import com.kcl.api.Spec.ExecProgramArgs; +import com.kcl.api.Spec.ExecProgramResult; import java.util.Collections; @@ -16,9 +16,9 @@ public void testExecProgramWithPlugin() throws Exception { return (int) args[0] + (int) args[1]; })); API api = new API(); - ExecProgram_Args exec_args = ExecProgram_Args.newBuilder().addKFilenameList("./src/test_data/plugin/plugin.k") + ExecProgramArgs exec_args = ExecProgramArgs.newBuilder().addKFilenameList("./src/test_data/plugin/plugin.k") .build(); - ExecProgram_Result result = api.execProgram(exec_args); + ExecProgramResult result = api.execProgram(exec_args); Assert.assertEquals(result.getYamlResult(), "result: 2"); diff --git a/java/src/test/java/com/kcl/RenameTest.java b/java/src/test/java/com/kcl/RenameTest.java index 0958afee..f9859010 100644 --- a/java/src/test/java/com/kcl/RenameTest.java +++ b/java/src/test/java/com/kcl/RenameTest.java @@ -8,18 +8,18 @@ import org.junit.Test; import com.kcl.api.API; -import com.kcl.api.Spec.RenameCode_Args; -import com.kcl.api.Spec.RenameCode_Result; -import com.kcl.api.Spec.Rename_Args; -import com.kcl.api.Spec.Rename_Result; +import com.kcl.api.Spec.RenameCodeArgs; +import com.kcl.api.Spec.RenameCodeResult; +import com.kcl.api.Spec.RenameArgs; +import com.kcl.api.Spec.RenameResult; public class RenameTest { @Test public void testRenameCode() throws Exception { API api = new API(); - RenameCode_Args args = RenameCode_Args.newBuilder().setPackageRoot("/mock/path").setSymbolPath("a") + RenameCodeArgs args = RenameCodeArgs.newBuilder().setPackageRoot("/mock/path").setSymbolPath("a") .putSourceCodes("/mock/path/main.k", "a = 1\nb = a").setNewName("a2").build(); - RenameCode_Result result = api.renameCode(args); + RenameCodeResult result = api.renameCode(args); Assert.assertEquals(result.getChangedCodesOrThrow("/mock/path/main.k"), "a2 = 1\nb = a2"); } @@ -29,11 +29,11 @@ public void testRename() throws Exception { StandardCharsets.UTF_8); Files.write(Paths.get("./src/test_data/rename/main.k"), backupContent.getBytes(StandardCharsets.UTF_8)); - Rename_Args args = Rename_Args.newBuilder().setPackageRoot("./src/test_data/rename").setSymbolPath("a") + RenameArgs args = RenameArgs.newBuilder().setPackageRoot("./src/test_data/rename").setSymbolPath("a") .addFilePaths("./src/test_data/rename/main.k").setNewName("a2").build(); API apiInstance = new API(); - Rename_Result result = apiInstance.rename(args); + RenameResult result = apiInstance.rename(args); Assert.assertTrue(result.getChangedFiles(0), result.getChangedFiles(0).contains("main.k")); } diff --git a/java/src/test/java/com/kcl/TestingTest.java b/java/src/test/java/com/kcl/TestingTest.java index 03e35224..f3c6b64b 100644 --- a/java/src/test/java/com/kcl/TestingTest.java +++ b/java/src/test/java/com/kcl/TestingTest.java @@ -1,8 +1,8 @@ package com.kcl; import com.kcl.api.API; -import com.kcl.api.Spec.Test_Args; -import com.kcl.api.Spec.Test_Result; +import com.kcl.api.Spec.TestArgs; +import com.kcl.api.Spec.TestResult; import org.junit.Assert; import org.junit.Test; @@ -11,8 +11,8 @@ public class TestingTest { @Test public void testTestingApi() throws Exception { API apiInstance = new API(); - Test_Args args = Test_Args.newBuilder().addPkgList("./src/test_data/testing/...").build(); - Test_Result result = apiInstance.test(args); + TestArgs args = TestArgs.newBuilder().addPkgList("./src/test_data/testing/...").build(); + TestResult result = apiInstance.test(args); Assert.assertEquals(result.getInfoCount(), 2); } } diff --git a/java/src/test/java/com/kcl/UpdateDependenciesTest.java b/java/src/test/java/com/kcl/UpdateDependenciesTest.java index 38f81c46..e091506d 100644 --- a/java/src/test/java/com/kcl/UpdateDependenciesTest.java +++ b/java/src/test/java/com/kcl/UpdateDependenciesTest.java @@ -1,10 +1,10 @@ package com.kcl; import com.kcl.api.API; -import com.kcl.api.Spec.ExecProgram_Args; -import com.kcl.api.Spec.ExecProgram_Result; -import com.kcl.api.Spec.UpdateDependencies_Args; -import com.kcl.api.Spec.UpdateDependencies_Result; +import com.kcl.api.Spec.ExecProgramArgs; +import com.kcl.api.Spec.ExecProgramResult; +import com.kcl.api.Spec.UpdateDependenciesArgs; +import com.kcl.api.Spec.UpdateDependenciesResult; import org.junit.Assert; import org.junit.Test; @@ -15,8 +15,8 @@ public void testUpdateDependencies() throws Exception { // API instance API api = new API(); - UpdateDependencies_Result result = api.updateDependencies( - UpdateDependencies_Args.newBuilder().setManifestPath("./src/test_data/update_dependencies").build()); + UpdateDependenciesResult result = api.updateDependencies( + UpdateDependenciesArgs.newBuilder().setManifestPath("./src/test_data/update_dependencies").build()); Assert.assertEquals(result.getExternalPkgsCount(), 2); } @@ -25,14 +25,14 @@ public void testExecProgramWithExternalDependencies() throws Exception { // API instance API api = new API(); - UpdateDependencies_Result result = api.updateDependencies( - UpdateDependencies_Args.newBuilder().setManifestPath("./src/test_data/update_dependencies").build()); + UpdateDependenciesResult result = api.updateDependencies( + UpdateDependenciesArgs.newBuilder().setManifestPath("./src/test_data/update_dependencies").build()); Assert.assertEquals(result.getExternalPkgsCount(), 2); - ExecProgram_Args execArgs = ExecProgram_Args.newBuilder().addAllExternalPkgs(result.getExternalPkgsList()) + ExecProgramArgs execArgs = ExecProgramArgs.newBuilder().addAllExternalPkgs(result.getExternalPkgsList()) .addKFilenameList("./src/test_data/update_dependencies/main.k").build(); - ExecProgram_Result execResult = api.execProgram(execArgs); + ExecProgramResult execResult = api.execProgram(execArgs); Assert.assertEquals(execResult.getYamlResult(), "a: Hello World!"); } } diff --git a/java/src/test/java/com/kcl/ValidateTest.java b/java/src/test/java/com/kcl/ValidateTest.java index ec5a0ac1..35fc1abe 100644 --- a/java/src/test/java/com/kcl/ValidateTest.java +++ b/java/src/test/java/com/kcl/ValidateTest.java @@ -4,8 +4,8 @@ import org.junit.Test; import com.kcl.api.API; -import com.kcl.api.Spec.ValidateCode_Args; -import com.kcl.api.Spec.ValidateCode_Result; +import com.kcl.api.Spec.ValidateCodeArgs; +import com.kcl.api.Spec.ValidateCodeResult; public class ValidateTest { @Test @@ -15,9 +15,9 @@ public void testValidateCodeApi() throws Exception { String data = "{\"name\": \"Alice\", \"age\": 10}"; - ValidateCode_Args args = ValidateCode_Args.newBuilder().setCode(code).setData(data).setFormat("json").build(); + ValidateCodeArgs args = ValidateCodeArgs.newBuilder().setCode(code).setData(data).setFormat("json").build(); API apiInstance = new API(); - ValidateCode_Result result = apiInstance.validateCode(args); + ValidateCodeResult result = apiInstance.validateCode(args); Assert.assertTrue(result.getSuccess()); Assert.assertEquals("", result.getErrMessage()); diff --git a/kotlin/Cargo.lock b/kotlin/Cargo.lock index c9310310..8b3f878c 100644 --- a/kotlin/Cargo.lock +++ b/kotlin/Cargo.lock @@ -4,35 +4,24 @@ version = 4 [[package]] name = "addr2line" -version = "0.24.2" +version = "0.25.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" +checksum = "1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b" dependencies = [ "gimli", ] [[package]] name = "adler2" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" - -[[package]] -name = "ahash" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" -dependencies = [ - "getrandom", - "once_cell", - "version_check", -] +checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" [[package]] name = "aho-corasick" -version = "1.1.3" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" +checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" dependencies = [ "memchr", ] @@ -46,12 +35,6 @@ dependencies = [ "log", ] -[[package]] -name = "android-tzdata" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" - [[package]] name = "android_system_properties" version = "0.1.5" @@ -73,9 +56,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.18" +version = "0.6.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b" +checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a" dependencies = [ "anstyle", "anstyle-parse", @@ -88,43 +71,44 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.10" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" +checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" [[package]] name = "anstyle-parse" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9" +checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.1.2" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c" +checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "anstyle-wincon" -version = "3.0.6" +version = "3.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2109dbce0e72be3ec00bed26e6a7479ca384ad226efdd66db8fa2e3a38c83125" +checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" dependencies = [ "anstyle", - "windows-sys 0.59.0", + "once_cell_polyfill", + "windows-sys 0.61.2", ] [[package]] name = "anyhow" -version = "1.0.94" +version = "1.0.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1fd03a028ef38ba2276dce7e33fcd6369c158a1bca17946c4b1b701891c1ff7" +checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" dependencies = [ "backtrace", ] @@ -160,36 +144,36 @@ checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + [[package]] name = "autocfg" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" +checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] name = "backtrace" -version = "0.3.74" +version = "0.3.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" +checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6" dependencies = [ "addr2line", - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", "miniz_oxide", "object", "rustc-demangle", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] -[[package]] -name = "base-x" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cbbc9d0964165b47557570cce6c952866c2678457aca742aafc9fb771d30270" - [[package]] name = "base32" version = "0.4.0" @@ -231,9 +215,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.6.0" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" +checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" [[package]] name = "bitmaps" @@ -246,14 +230,14 @@ dependencies = [ [[package]] name = "blake3" -version = "1.5.5" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8ee0c1824c4dea5b5f81736aff91bae041d2c07ee1192bec91054e10e3e601e" +checksum = "3888aaa89e4b2a40fca9848e400f6a658a5a3978de7be858e209cafa8be9a4a0" dependencies = [ "arrayref", "arrayvec", "cc", - "cfg-if 1.0.0", + "cfg-if 1.0.4", "constant_time_eq", ] @@ -309,9 +293,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.16.0" +version = "3.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" +checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" [[package]] name = "byte-tools" @@ -327,16 +311,17 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.9.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" +checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3" [[package]] name = "cc" -version = "1.2.4" +version = "1.2.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9157bbaa6b165880c27a4293a474c91cdcf265cc68cc829bf10be0964a391caf" +checksum = "cd405d82c84ff7f35739f175f67d8b9fb7687a0e84ccdc78bd3568839827cf07" dependencies = [ + "find-msvc-tools", "shlex", ] @@ -354,9 +339,9 @@ checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" [[package]] name = "cfg-if" -version = "1.0.0" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "cfg_aliases" @@ -366,17 +351,16 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" [[package]] name = "chrono" -version = "0.4.39" +version = "0.4.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e36cc9d416881d2e24f9a963be5fb1cd90966419ac844274161d10488b3e825" +checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2" dependencies = [ - "android-tzdata", "iana-time-zone", "js-sys", "num-traits", "serde", "wasm-bindgen", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] @@ -387,18 +371,18 @@ checksum = "bd1b64030216239a2e7c364b13cd96a2097ebf0dfe5025f2dedee14a23f2ab60" [[package]] name = "clap" -version = "4.5.23" +version = "4.5.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3135e7ec2ef7b10c6ed8950f0f792ed96ee093fa088608f1c76e569722700c84" +checksum = "c9e340e012a1bf4935f5282ed1436d1489548e8f72308207ea5df0e23d2d03f8" dependencies = [ "clap_builder", ] [[package]] name = "clap_builder" -version = "4.5.23" +version = "4.5.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30582fc632330df2bd26877bde0c1f4470d57c582bbc070376afcd04d8cb4838" +checksum = "d76b5d13eaa18c901fd2f7fca939fefe3a0727a953561fefdf3b2922b8569d00" dependencies = [ "anstream", "anstyle", @@ -408,15 +392,15 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.7.4" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" +checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d" [[package]] name = "colorchoice" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990" +checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" [[package]] name = "combine" @@ -472,12 +456,6 @@ dependencies = [ "rustc_span", ] -[[package]] -name = "const_fn" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "373e9fafaa20882876db20562275ff58d50e0caa2590077fe7ce7bef90211d0d" - [[package]] name = "constant_time_eq" version = "0.3.1" @@ -492,27 +470,27 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "cpufeatures" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b80225097f2e5ae4e7179dd2266824648f3e2f49d9134d584b76389d31c4c3" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" dependencies = [ "libc", ] [[package]] name = "crc32fast" -version = "1.4.2" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" +checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", ] [[package]] name = "crossbeam-channel" -version = "0.5.14" +version = "0.5.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ba6d68e24814cb8de6bb986db8222d3a027d15872cabc0d18817bc3c0e4471" +checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2" dependencies = [ "crossbeam-utils", ] @@ -544,9 +522,9 @@ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" [[package]] name = "crypto-common" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" dependencies = [ "generic-array 0.14.7", "typenum", @@ -554,9 +532,9 @@ dependencies = [ [[package]] name = "darling" -version = "0.20.10" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989" +checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee" dependencies = [ "darling_core", "darling_macro", @@ -564,27 +542,27 @@ dependencies = [ [[package]] name = "darling_core" -version = "0.20.10" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95133861a8032aaea082871032f5815eb9e98cef03fa916ab4500513994df9e5" +checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e" dependencies = [ "fnv", "ident_case", "proc-macro2", "quote", "strsim 0.11.1", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "darling_macro" -version = "0.20.10" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" +checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" dependencies = [ "darling_core", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -593,18 +571,18 @@ version = "5.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "hashbrown 0.14.5", "lock_api", "once_cell", - "parking_lot_core 0.9.10", + "parking_lot_core 0.9.12", ] [[package]] name = "deranged" -version = "0.3.11" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" +checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587" dependencies = [ "powerfmt", ] @@ -627,7 +605,7 @@ dependencies = [ "darling", "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -637,7 +615,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab63b0e2bf4d5928aff72e83a7dace85d7bba5fe12dcc3c5a572d78caffd3f3c" dependencies = [ "derive_builder_core", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -696,12 +674,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "discard" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0" - [[package]] name = "displaydoc" version = "0.2.5" @@ -710,26 +682,26 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "dns-lookup" -version = "2.0.4" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5766087c2235fec47fafa4cfecc81e494ee679d0fd4a59887ea0919bfb0e4fc" +checksum = "cf5597a4b7fe5275fc9dcf88ce26326bc8e4cb87d0130f33752d4c5f717793cf" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", "socket2", - "windows-sys 0.48.0", + "windows-sys 0.60.2", ] [[package]] name = "either" -version = "1.13.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" +checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "ena" @@ -741,69 +713,14 @@ dependencies = [ ] [[package]] -name = "encoding" -version = "0.2.33" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b0d943856b990d12d3b55b359144ff341533e516d94098b1d3fc1ac666d36ec" -dependencies = [ - "encoding-index-japanese", - "encoding-index-korean", - "encoding-index-simpchinese", - "encoding-index-singlebyte", - "encoding-index-tradchinese", -] - -[[package]] -name = "encoding-index-japanese" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04e8b2ff42e9a05335dbf8b5c6f7567e5591d0d916ccef4e0b1710d32a0d0c91" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-korean" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dc33fb8e6bcba213fe2f14275f0963fd16f0a02c878e3095ecfdf5bee529d81" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-simpchinese" -version = "1.20141219.5" +name = "encoding_rs" +version = "0.8.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d87a7194909b9118fc707194baa434a4e3b0fb6a5a757c73c3adb07aa25031f7" +checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" dependencies = [ - "encoding_index_tests", + "cfg-if 1.0.4", ] -[[package]] -name = "encoding-index-singlebyte" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3351d5acffb224af9ca265f435b859c7c01537c0849754d3db3fdf2bfe2ae84a" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-tradchinese" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd0e20d5688ce3cab59eb3ef3a2083a5c77bf496cb798dc6fcdb75f323890c18" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding_index_tests" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a246d82be1c9d791c5dfde9a2bd045fc3cbba3fa2b11ad558f27d01712f00569" - [[package]] name = "enquote" version = "1.1.0" @@ -815,9 +732,9 @@ dependencies = [ [[package]] name = "env_filter" -version = "0.1.2" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f2c92ceda6ceec50f43169f9ee8424fe2db276791afde7b2cd8bc084cb376ab" +checksum = "1bf3c259d255ca70051b30e2e95b5446cdb8949ac4cd22c0d7fd634d89f568e2" dependencies = [ "log", "regex", @@ -825,41 +742,42 @@ dependencies = [ [[package]] name = "env_logger" -version = "0.11.5" +version = "0.11.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13fa619b91fb2381732789fc5de83b45675e882f66623b7d8cb4f643017018d" +checksum = "13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f" dependencies = [ "anstream", "anstyle", "env_filter", - "humantime", + "jiff", "log", ] [[package]] name = "equivalent" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" [[package]] name = "erased-serde" -version = "0.4.5" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24e2389d65ab4fab27dc2a5de7b191e1f6617d1f1c8855c0dc569c94a4cbb18d" +checksum = "89e8918065695684b2b0702da20382d5ae6065cf3327bc2d6436bd49a71ce9f3" dependencies = [ "serde", + "serde_core", "typeid", ] [[package]] name = "errno" -version = "0.3.10" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -880,27 +798,39 @@ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" [[package]] name = "filetime" -version = "0.2.25" +version = "0.2.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586" +checksum = "bc0505cd1b6fa6580283f6bdf70a73fcf4aba1184038c90902b92b3dd0df63ed" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", "libredox", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] +[[package]] +name = "find-msvc-tools" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844" + [[package]] name = "fixedbitset" version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" +[[package]] +name = "fixedbitset" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99" + [[package]] name = "flate2" -version = "1.0.35" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c" +checksum = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb" dependencies = [ "crc32fast", "miniz_oxide", @@ -934,9 +864,9 @@ dependencies = [ [[package]] name = "fluent-langneg" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c4ad0989667548f06ccd0e306ed56b61bd4d35458d54df5ec7587c0e8ed5e94" +checksum = "7eebbe59450baee8282d71676f3bfed5689aeab00b27545e83e5f14b1195e8b0" dependencies = [ "unic-langid", ] @@ -958,9 +888,9 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "form_urlencoded" -version = "1.2.1" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" dependencies = [ "percent-encoding", ] @@ -1046,7 +976,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -1085,7 +1015,7 @@ version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "877e94aff08e743b651baaea359664321055749b398adff8740a7399af7796e7" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", ] [[package]] @@ -1109,28 +1039,42 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" +checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "js-sys", "libc", "wasi", "wasm-bindgen", ] +[[package]] +name = "getrandom" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if 1.0.4", + "js-sys", + "libc", + "r-efi", + "wasip2", + "wasm-bindgen", +] + [[package]] name = "gimli" -version = "0.31.1" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" +checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7" [[package]] name = "glob" -version = "0.3.1" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" +checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" [[package]] name = "handlebars" @@ -1160,9 +1104,9 @@ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" [[package]] name = "hashbrown" -version = "0.15.2" +version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" [[package]] name = "heck" @@ -1175,15 +1119,15 @@ dependencies = [ [[package]] name = "heck" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "hermit-abi" -version = "0.3.9" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" +checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" [[package]] name = "hmac" @@ -1194,31 +1138,22 @@ dependencies = [ "digest 0.10.7", ] -[[package]] -name = "home" -version = "0.5.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" -dependencies = [ - "windows-sys 0.52.0", -] - [[package]] name = "hostname" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9c7c7c8ac16c798734b8a24560c1362120597c40d5e1459f09498f8f6c8f2ba" +checksum = "a56f203cd1c76362b69e3863fd987520ac36cf70a8c92627449b2f64a8cf7d65" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", - "windows", + "windows-link 0.1.3", ] [[package]] name = "http" -version = "1.2.0" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea" +checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565" dependencies = [ "bytes", "fnv", @@ -1246,12 +1181,12 @@ dependencies = [ [[package]] name = "http-body-util" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" +checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" dependencies = [ "bytes", - "futures-util", + "futures-core", "http", "http-body", "pin-project-lite", @@ -1259,30 +1194,26 @@ dependencies = [ [[package]] name = "httparse" -version = "1.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946" - -[[package]] -name = "humantime" -version = "2.1.0" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" [[package]] name = "hyper" -version = "1.5.2" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "256fb8d4bd6413123cc9d91832d78325c48ff41677595be797d90f42969beae0" +checksum = "2ab2d4f250c3d7b1c9fcdff1cece94ea4e2dfbec68614f7b87cb205f24ca9d11" dependencies = [ + "atomic-waker", "bytes", "futures-channel", - "futures-util", + "futures-core", "http", "http-body", "httparse", "itoa", "pin-project-lite", + "pin-utils", "smallvec", "tokio", "want", @@ -1290,11 +1221,10 @@ dependencies = [ [[package]] name = "hyper-rustls" -version = "0.27.4" +version = "0.27.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6884a48c6826ec44f524c7456b163cebe9e55a18d7b5e307cb4f100371cc767" +checksum = "e3c93eb611681b207e1fe55d5a71ecf91572ec8a6705cdb6857f7d8d5242cf58" dependencies = [ - "futures-util", "http", "hyper", "hyper-util", @@ -1308,16 +1238,21 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.10" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4" +checksum = "52e9a2a24dc5c6821e71a7030e1e14b7b632acac55c40e9d2e082c621261bb56" dependencies = [ + "base64 0.22.1", "bytes", "futures-channel", + "futures-core", "futures-util", "http", "http-body", "hyper", + "ipnet", + "libc", + "percent-encoding", "pin-project-lite", "socket2", "tokio", @@ -1327,14 +1262,15 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.61" +version = "0.1.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220" +checksum = "33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", + "log", "wasm-bindgen", "windows-core", ] @@ -1350,21 +1286,22 @@ dependencies = [ [[package]] name = "icu_collections" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526" +checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43" dependencies = [ "displaydoc", + "potential_utf", "yoke", "zerofrom", "zerovec", ] [[package]] -name = "icu_locid" -version = "1.5.0" +name = "icu_locale_core" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637" +checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6" dependencies = [ "displaydoc", "litemap", @@ -1373,99 +1310,61 @@ dependencies = [ "zerovec", ] -[[package]] -name = "icu_locid_transform" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e" -dependencies = [ - "displaydoc", - "icu_locid", - "icu_locid_transform_data", - "icu_provider", - "tinystr", - "zerovec", -] - -[[package]] -name = "icu_locid_transform_data" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e" - [[package]] name = "icu_normalizer" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f" +checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599" dependencies = [ - "displaydoc", "icu_collections", "icu_normalizer_data", "icu_properties", "icu_provider", "smallvec", - "utf16_iter", - "utf8_iter", - "write16", "zerovec", ] [[package]] name = "icu_normalizer_data" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516" +checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a" [[package]] name = "icu_properties" -version = "1.5.1" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5" +checksum = "e93fcd3157766c0c8da2f8cff6ce651a31f0810eaa1c51ec363ef790bbb5fb99" dependencies = [ - "displaydoc", "icu_collections", - "icu_locid_transform", + "icu_locale_core", "icu_properties_data", "icu_provider", - "tinystr", + "zerotrie", "zerovec", ] [[package]] name = "icu_properties_data" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569" +checksum = "02845b3647bb045f1100ecd6480ff52f34c35f82d9880e029d329c21d1054899" [[package]] name = "icu_provider" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9" +checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614" dependencies = [ "displaydoc", - "icu_locid", - "icu_provider_macros", - "stable_deref_trait", - "tinystr", + "icu_locale_core", "writeable", "yoke", "zerofrom", + "zerotrie", "zerovec", ] -[[package]] -name = "icu_provider_macros" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.90", -] - [[package]] name = "ident_case" version = "1.0.1" @@ -1474,9 +1373,9 @@ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" [[package]] name = "idna" -version = "1.0.3" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" dependencies = [ "idna_adapter", "smallvec", @@ -1485,9 +1384,9 @@ dependencies = [ [[package]] name = "idna_adapter" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71" +checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" dependencies = [ "icu_normalizer", "icu_properties", @@ -1500,7 +1399,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af1955a75fa080c677d3972822ec4bad316169ab1cfc6c257a942c2265dbe5fe" dependencies = [ "bitmaps", - "rand_core", + "rand_core 0.6.4", "rand_xoshiro", "sized-chunks", "typenum", @@ -1515,17 +1414,17 @@ checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" dependencies = [ "autocfg", "hashbrown 0.12.3", - "rustc-rayon 0.5.0", + "rustc-rayon 0.5.1", ] [[package]] name = "indexmap" -version = "2.7.0" +version = "2.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f" +checksum = "0ad4bb2b565bca0645f4d68c5c9af97fba094e9791da685bf83cb5f3ce74acf2" dependencies = [ "equivalent", - "hashbrown 0.15.2", + "hashbrown 0.16.1", ] [[package]] @@ -1565,14 +1464,14 @@ version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", ] [[package]] name = "intl-memoizer" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe22e020fce238ae18a6d5d8c502ee76a52a6e880d99477657e6acc30ec57bda" +checksum = "310da2e345f5eb861e7a07ee182262e94975051db9e4223e909ba90f392f163f" dependencies = [ "type-map", "unic-langid", @@ -1589,21 +1488,34 @@ dependencies = [ [[package]] name = "inventory" -version = "0.3.15" +version = "0.3.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f958d3d68f4167080a18141e10381e7634563984a537f2a49a30fd8e53ac5767" +checksum = "bc61209c082fbeb19919bee74b176221b27223e27b65d781eb91af24eb1fb46e" +dependencies = [ + "rustversion", +] [[package]] name = "ipnet" -version = "2.10.1" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" + +[[package]] +name = "iri-string" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708" +checksum = "4f867b9d1d896b67beb18518eda36fdb77a32ea590de864f1325b294a6d14397" +dependencies = [ + "memchr", + "serde", +] [[package]] name = "is_terminal_polyfill" -version = "1.70.1" +version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" +checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" [[package]] name = "itertools" @@ -1614,11 +1526,44 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" +dependencies = [ + "either", +] + [[package]] name = "itoa" -version = "1.0.14" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" + +[[package]] +name = "jiff" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49cce2b81f2098e7e3efc35bc2e0a6b7abec9d34128283d7a26fa8f32a6dbb35" +dependencies = [ + "jiff-static", + "log", + "portable-atomic", + "portable-atomic-util", + "serde_core", +] + +[[package]] +name = "jiff-static" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" +checksum = "980af8b43c3ad5d8d349ace167ec8170839f753a42d233ba19e08afe1850fa69" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] [[package]] name = "jni" @@ -1627,7 +1572,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" dependencies = [ "cesu8", - "cfg-if 1.0.0", + "cfg-if 1.0.4", "combine", "jni-sys", "log", @@ -1644,10 +1589,11 @@ checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" [[package]] name = "jobserver" -version = "0.1.32" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" +checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" dependencies = [ + "getrandom 0.3.4", "libc", ] @@ -1659,9 +1605,9 @@ checksum = "8b23360e99b8717f20aaa4598f5a6541efbe30630039fbc7706cf954a87947ae" [[package]] name = "js-sys" -version = "0.3.76" +version = "0.3.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6717b6b5b077764fb5966237269cb3c64edddde4b14ce42647430a78ced9e7b7" +checksum = "b011eec8cc36da2aab2d5cff675ec18454fad408585853910a202391cf9f8e65" dependencies = [ "once_cell", "wasm-bindgen", @@ -1717,122 +1663,58 @@ dependencies = [ "hmac", "serde", "serde_json", - "sha2 0.10.8", + "sha2 0.10.9", ] [[package]] -name = "kcl-language-server" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-api" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", - "chrono", - "clap", - "compiler_base_session", - "crossbeam-channel", - "dashmap", - "env_logger", - "im-rc", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-parser", - "kclvm-query", - "kclvm-sema", - "kclvm-span", - "kclvm-tools", - "kclvm-utils", - "kclvm-version", - "log", - "lsp-server", - "lsp-types", + "futures", + "jsonrpc-stdio-server", + "kcl-ast", + "kcl-ast-pretty", + "kcl-config", + "kcl-driver", + "kcl-error", + "kcl-language-server", + "kcl-loader", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-runner", + "kcl-runtime", + "kcl-sema", + "kcl-tools", + "kcl-utils", + "kcl-version", "maplit", - "notify 7.0.0", - "parking_lot 0.12.3", - "proc_macro_crate", - "ra_ap_vfs", - "ra_ap_vfs-notify", - "ropey", - "rustc-hash 1.1.0", - "rustc_lexer", - "salsa", + "once_cell", + "prost", + "prost-build", + "prost-types", + "prost-wkt", + "prost-wkt-build", + "protoc-bin-vendored", "serde", "serde_json", - "threadpool", + "serde_yaml_ng", + "tempfile", "tokio", - "tokio-test", ] [[package]] -name = "kcl-lib-jni" -version = "0.11.2" -dependencies = [ - "anyhow", - "indexmap 2.7.0", - "jni", - "kclvm-api", - "kclvm-parser", - "kclvm-sema", - "lazy_static", - "once_cell", - "prost", - "prost-types", - "serde", - "serde_json", -] - -[[package]] -name = "kclvm-api" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" -dependencies = [ - "anyhow", - "futures", - "indexmap 1.9.3", - "jsonrpc-stdio-server", - "kcl-language-server", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-loader", - "kclvm-parser", - "kclvm-query", - "kclvm-runner", - "kclvm-runtime", - "kclvm-sema", - "kclvm-tools", - "kclvm-utils", - "kclvm-version", - "maplit", - "once_cell", - "prost", - "prost-build", - "prost-types", - "prost-wkt", - "prost-wkt-build", - "prost-wkt-types", - "protoc-bin-vendored", - "serde", - "serde_json", - "serde_yaml", - "tempfile", - "tokio", -] - -[[package]] -name = "kclvm-ast" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-ast" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "compiler_base_span", - "kclvm-error", - "kclvm-span", - "kclvm-utils", + "kcl-error", + "kcl-span", + "kcl-utils", "serde", "serde_json", "thread_local", @@ -1840,80 +1722,58 @@ dependencies = [ ] [[package]] -name = "kclvm-ast-pretty" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-ast-pretty" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "compiler_base_macros", "compiler_base_session", "fancy-regex", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-error", + "kcl-ast", + "kcl-error", + "kcl-primitives", "pretty_assertions", ] [[package]] -name = "kclvm-compiler" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" -dependencies = [ - "ahash", - "bit-set", - "bitflags 1.3.2", - "fancy-regex", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-error", - "kclvm-runtime", - "kclvm-sema", - "once_cell", - "phf", - "time 0.2.27", - "unicode_names2", -] - -[[package]] -name = "kclvm-config" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-config" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ - "ahash", "anyhow", "chrono", "dirs", "glob", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-utils", - "kclvm-version", + "kcl-ast", + "kcl-utils", + "kcl-version", "md-5 0.8.0", "pathdiff", "regex", "ron", "serde", "serde_json", - "serde_yaml", + "serde_yaml_ng", "toml", "url", ] [[package]] -name = "kclvm-driver" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-driver" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "flate2", - "indexmap 2.7.0", - "kclvm-ast", - "kclvm-config", - "kclvm-parser", - "kclvm-runtime", - "kclvm-utils", - "oci-distribution", + "kcl-ast", + "kcl-config", + "kcl-parser", + "kcl-primitives", + "kcl-runtime", + "kcl-utils", + "oci-client", "once_cell", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "serde", "serde_json", "tar", @@ -1922,9 +1782,9 @@ dependencies = [ ] [[package]] -name = "kclvm-error" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-error" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "annotate-snippets", "anyhow", @@ -1932,63 +1792,126 @@ dependencies = [ "compiler_base_macros", "compiler_base_session", "compiler_base_span", - "indexmap 1.9.3", - "kclvm-runtime", - "kclvm-span", - "kclvm-utils", + "kcl-primitives", + "kcl-runtime", + "kcl-span", + "kcl-utils", "serde", "serde_json", "termize", - "thiserror 1.0.69", + "thiserror 2.0.17", "tracing", ] [[package]] -name = "kclvm-evaluator" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-evaluator" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "generational-arena", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-error", - "kclvm-runtime", - "kclvm-sema", + "kcl-ast", + "kcl-error", + "kcl-primitives", + "kcl-runtime", + "kcl-sema", "scopeguard", ] [[package]] -name = "kclvm-lexer" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-language-server" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" +dependencies = [ + "anyhow", + "chrono", + "clap", + "compiler_base_session", + "crossbeam-channel", + "dashmap", + "env_logger", + "im-rc", + "kcl-ast", + "kcl-config", + "kcl-driver", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-sema", + "kcl-span", + "kcl-tools", + "kcl-utils", + "kcl-version", + "log", + "lsp-server", + "lsp-types", + "maplit", + "notify 7.0.0", + "parking_lot 0.12.5", + "proc_macro_crate", + "ra_ap_vfs", + "ra_ap_vfs-notify", + "ropey", + "rustc-hash 1.1.0", + "rustc_lexer", + "salsa", + "serde", + "serde_json", + "threadpool", + "tokio", + "tokio-test", +] + +[[package]] +name = "kcl-lexer" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ - "kclvm-error", + "kcl-error", "rustc_lexer", "unic-emoji-char", ] [[package]] -name = "kclvm-loader" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-lib-jni" +version = "0.12.0" dependencies = [ "anyhow", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-error", - "kclvm-parser", - "kclvm-query", - "kclvm-sema", - "kclvm-utils", + "indexmap 2.12.1", + "jni", + "kcl-api", + "kcl-parser", + "kcl-sema", + "lazy_static", + "once_cell", + "prost", + "prost-types", + "serde", + "serde_json", +] + +[[package]] +name = "kcl-loader" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" +dependencies = [ + "anyhow", + "kcl-ast", + "kcl-ast-pretty", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-sema", + "kcl-utils", "maplit", ] [[package]] -name = "kclvm-macros" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-macros" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "proc-macro2", "quote", @@ -1997,9 +1920,9 @@ dependencies = [ ] [[package]] -name = "kclvm-parser" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-parser" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "bstr", @@ -2010,17 +1933,17 @@ dependencies = [ "either", "enquote", "glob", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-config", - "kclvm-error", - "kclvm-lexer", - "kclvm-sema", - "kclvm-span", - "kclvm-utils", + "kcl-ast", + "kcl-config", + "kcl-error", + "kcl-lexer", + "kcl-primitives", + "kcl-sema", + "kcl-span", + "kcl-utils", "num-bigint", - "parking_lot 0.12.3", - "petgraph", + "parking_lot 0.12.5", + "petgraph 0.6.5", "regex", "rustc_lexer", "serde", @@ -2031,30 +1954,39 @@ dependencies = [ ] [[package]] -name = "kclvm-query" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-primitives" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" +dependencies = [ + "indexmap 2.12.1", + "rustc-hash 2.1.1", +] + +[[package]] +name = "kcl-query" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "compiler_base_macros", "compiler_base_session", "fancy-regex", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-error", - "kclvm-parser", - "kclvm-sema", - "kclvm-utils", + "kcl-ast", + "kcl-ast-pretty", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-sema", + "kcl-utils", "maplit", "serde", "serde_json", ] [[package]] -name = "kclvm-runner" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-runner" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "cc", @@ -2062,19 +1994,18 @@ dependencies = [ "compiler_base_macros", "compiler_base_session", "glob", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-compiler", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-evaluator", - "kclvm-parser", - "kclvm-query", - "kclvm-runtime", - "kclvm-sema", - "kclvm-utils", - "kclvm-version", + "kcl-ast", + "kcl-config", + "kcl-driver", + "kcl-error", + "kcl-evaluator", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-runtime", + "kcl-sema", + "kcl-utils", + "kcl-version", "libc", "libloading", "once_cell", @@ -2087,11 +2018,10 @@ dependencies = [ ] [[package]] -name = "kclvm-runtime" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-runtime" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ - "ahash", "anyhow", "base32", "base64 0.13.1", @@ -2100,15 +2030,15 @@ dependencies = [ "chrono", "cidr", "dns-lookup", - "encoding", + "encoding_rs", "fancy-regex", "generational-arena", "glob", "handlebars", "hostname", - "indexmap 1.9.3", - "itertools", - "kclvm_runtime_internal_macros", + "itertools 0.10.5", + "kcl-primitives", + "kcl_runtime_internal_macros", "lazy_static", "libc", "md5", @@ -2117,7 +2047,7 @@ dependencies = [ "regex", "serde", "serde_json", - "serde_yaml", + "serde_yaml_ng", "sha1", "sha2 0.9.9", "unic-ucd-bidi", @@ -2128,11 +2058,10 @@ dependencies = [ ] [[package]] -name = "kclvm-sema" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-sema" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ - "ahash", "anyhow", "bit-set", "bitflags 1.3.2", @@ -2142,17 +2071,17 @@ dependencies = [ "compiler_base_span", "fancy-regex", "generational-arena", - "indexmap 1.9.3", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-error", - "kclvm-runtime", - "kclvm-span", - "kclvm-utils", + "kcl-ast", + "kcl-ast-pretty", + "kcl-error", + "kcl-primitives", + "kcl-runtime", + "kcl-span", + "kcl-utils", "lazy_static", "once_cell", - "parking_lot 0.12.3", - "petgraph", + "parking_lot 0.12.5", + "petgraph 0.6.5", "phf", "regex", "serde", @@ -2162,51 +2091,51 @@ dependencies = [ ] [[package]] -name = "kclvm-span" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-span" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "compiler_base_span", - "kclvm-macros", + "kcl-macros", "parking_lot 0.11.2", "scoped-tls", ] [[package]] -name = "kclvm-tools" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-tools" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "compiler_base_session", "compiler_base_span", "fancy-regex", - "indexmap 1.9.3", "json-spanned-value", - "kclvm-ast", - "kclvm-ast-pretty", - "kclvm-config", - "kclvm-driver", - "kclvm-error", - "kclvm-parser", - "kclvm-query", - "kclvm-runner", - "kclvm-runtime", - "kclvm-sema", - "kclvm-utils", + "kcl-ast", + "kcl-ast-pretty", + "kcl-config", + "kcl-driver", + "kcl-error", + "kcl-parser", + "kcl-primitives", + "kcl-query", + "kcl-runner", + "kcl-runtime", + "kcl-sema", + "kcl-utils", "located_yaml", "once_cell", "regex", "rustc_lexer", "serde_json", - "serde_yaml", + "serde_yaml_ng", "walkdir", ] [[package]] -name = "kclvm-utils" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-utils" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "anyhow", "fslock", @@ -2214,17 +2143,17 @@ dependencies = [ ] [[package]] -name = "kclvm-version" -version = "0.11.2" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl-version" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "vergen-gitcl", ] [[package]] -name = "kclvm_runtime_internal_macros" -version = "0.5.0" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "kcl_runtime_internal_macros" +version = "0.12.0" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "proc-macro2", "quote", @@ -2233,9 +2162,9 @@ dependencies = [ [[package]] name = "kqueue" -version = "1.0.8" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7447f1ca1b7b563588a205fe93dea8df60fd981423a768bc1c0ded35ed147d0c" +checksum = "eac30106d7dce88daf4a3fcb4879ea939476d5074a9b7ddd0fb97fa4bed5596a" dependencies = [ "kqueue-sys", "libc", @@ -2259,9 +2188,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.169" +version = "0.2.177" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" +checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976" [[package]] name = "libloading" @@ -2269,19 +2198,19 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "winapi", ] [[package]] name = "libredox" -version = "0.1.3" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" +checksum = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", "libc", - "redox_syscall 0.5.8", + "redox_syscall 0.5.18", ] [[package]] @@ -2295,15 +2224,15 @@ dependencies = [ [[package]] name = "linux-raw-sys" -version = "0.4.14" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" +checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" [[package]] name = "litemap" -version = "0.7.4" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104" +checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77" [[package]] name = "located_yaml" @@ -2318,29 +2247,35 @@ dependencies = [ [[package]] name = "lock_api" -version = "0.4.12" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" dependencies = [ - "autocfg", "scopeguard", ] [[package]] name = "log" -version = "0.4.22" +version = "0.4.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432" + +[[package]] +name = "lru-slab" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" +checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154" [[package]] name = "lsp-server" -version = "0.7.7" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "550446e84739dcaf6d48a4a093973850669e13e8a34d8f8d64851041be267cd9" +checksum = "7d6ada348dbc2703cbe7637b2dda05cff84d3da2819c24abcb305dd613e0ba2e" dependencies = [ "crossbeam-channel", "log", "serde", + "serde_derive", "serde_json", ] @@ -2386,7 +2321,7 @@ version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "digest 0.10.7", ] @@ -2398,9 +2333,9 @@ checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771" [[package]] name = "memchr" -version = "2.7.4" +version = "2.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" +checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" [[package]] name = "memmap2" @@ -2411,19 +2346,14 @@ dependencies = [ "libc", ] -[[package]] -name = "mime" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" - [[package]] name = "miniz_oxide" -version = "0.8.2" +version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ffbe83022cedc1d264172192511ae958937694cd57ce297164951b8b3568394" +checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" dependencies = [ "adler2", + "simd-adler32", ] [[package]] @@ -2440,14 +2370,14 @@ dependencies = [ [[package]] name = "mio" -version = "1.0.3" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" +checksum = "69d83b0086dc8ecf3ce9ae2874b2d1290252e2a30720bea58a5c6639b0092873" dependencies = [ "libc", "log", "wasi", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -2461,9 +2391,9 @@ dependencies = [ [[package]] name = "multimap" -version = "0.8.3" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" +checksum = "1d87ecb2933e8aeadb3e3a02b828fed80a7528047e68b4f424523a0981a3a084" [[package]] name = "notify" @@ -2489,14 +2419,14 @@ version = "7.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c533b4c39709f9ba5005d8002048266593c1cfaf3c5f0739d5b8ab0c6c504009" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", "filetime", "fsevent-sys", "inotify 0.10.2", "kqueue", "libc", "log", - "mio 1.0.3", + "mio 1.1.0", "notify-types", "walkdir", "windows-sys 0.52.0", @@ -2547,9 +2477,9 @@ dependencies = [ [[package]] name = "num_cpus" -version = "1.16.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" +checksum = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b" dependencies = [ "hermit-abi", "libc", @@ -2566,18 +2496,18 @@ dependencies = [ [[package]] name = "object" -version = "0.36.5" +version = "0.37.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aedf0a2d09c573ed1d8d85b30c119153926a2b36dce0ab28322c09a117a4683e" +checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe" dependencies = [ "memchr", ] [[package]] -name = "oci-distribution" +name = "oci-client" version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b95a2c51531af0cb93761f66094044ca6ea879320bccd35ab747ff3fcab3f422" +checksum = "560faeb9396a5bae11b141bed3cec8bf9242e5bfec17d0f48feeeab0f879ca35" dependencies = [ "bytes", "chrono", @@ -2591,7 +2521,7 @@ dependencies = [ "reqwest", "serde", "serde_json", - "sha2 0.10.8", + "sha2 0.10.9", "thiserror 1.0.69", "tokio", "tracing", @@ -2611,15 +2541,21 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.20.2" +version = "1.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" + +[[package]] +name = "once_cell_polyfill" +version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" +checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" [[package]] name = "oorandom" -version = "11.1.4" +version = "11.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9" +checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e" [[package]] name = "opaque-debug" @@ -2652,12 +2588,12 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.3" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" dependencies = [ "lock_api", - "parking_lot_core 0.9.10", + "parking_lot_core 0.9.12", ] [[package]] @@ -2666,7 +2602,7 @@ version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "instant", "libc", "redox_syscall 0.2.16", @@ -2676,15 +2612,15 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.10" +version = "0.9.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "libc", - "redox_syscall 0.5.8", + "redox_syscall 0.5.18", "smallvec", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] @@ -2695,26 +2631,25 @@ checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3" [[package]] name = "percent-encoding" -version = "2.3.1" +version = "2.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" [[package]] name = "pest" -version = "2.7.15" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b7cafe60d6cf8e62e1b9b2ea516a089c008945bb5a275416789e7db0bc199dc" +checksum = "cbcfd20a6d4eeba40179f05735784ad32bdaef05ce8e8af05f180d45bb3e7e22" dependencies = [ "memchr", - "thiserror 2.0.8", "ucd-trie", ] [[package]] name = "pest_derive" -version = "2.7.15" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "816518421cfc6887a0d62bf441b6ffb4536fcc926395a69e1a85852d4363f57e" +checksum = "51f72981ade67b1ca6adc26ec221be9f463f2b5839c7508998daa17c23d94d7f" dependencies = [ "pest", "pest_generator", @@ -2722,26 +2657,25 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.15" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d1396fd3a870fc7838768d171b4616d5c91f6cc25e377b673d714567d99377b" +checksum = "dee9efd8cdb50d719a80088b76f81aec7c41ed6d522ee750178f83883d271625" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "pest_meta" -version = "2.7.15" +version = "2.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1e58089ea25d717bfd31fb534e4f3afcc2cc569c70de3e239778991ea3b7dea" +checksum = "bf1d70880e76bdc13ba52eafa6239ce793d85c8e43896507e43dd8984ff05b82" dependencies = [ - "once_cell", "pest", - "sha2 0.10.8", + "sha2 0.10.9", ] [[package]] @@ -2750,8 +2684,18 @@ version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" dependencies = [ - "fixedbitset", - "indexmap 2.7.0", + "fixedbitset 0.4.2", + "indexmap 2.12.1", +] + +[[package]] +name = "petgraph" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3672b37090dbd86368a4145bc067582552b29c27377cad4e0a306c97f9bd7772" +dependencies = [ + "fixedbitset 0.5.7", + "indexmap 2.12.1", ] [[package]] @@ -2772,7 +2716,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d43f3220d96e0080cc9ea234978ccd80d904eafb17be31bb0f76daaea6493082" dependencies = [ "phf_shared", - "rand", + "rand 0.8.5", ] [[package]] @@ -2800,9 +2744,9 @@ dependencies = [ [[package]] name = "pin-project-lite" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff" +checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" [[package]] name = "pin-utils" @@ -2810,6 +2754,30 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "portable-atomic" +version = "1.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483" + +[[package]] +name = "portable-atomic-util" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507" +dependencies = [ + "portable-atomic", +] + +[[package]] +name = "potential_utf" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77" +dependencies = [ + "zerovec", +] + [[package]] name = "powerfmt" version = "0.2.0" @@ -2818,9 +2786,9 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "ppv-lite86" -version = "0.2.20" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" dependencies = [ "zerocopy", ] @@ -2837,12 +2805,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.1.25" +version = "0.2.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86" +checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" dependencies = [ "proc-macro2", - "syn 1.0.109", + "syn 2.0.111", ] [[package]] @@ -2853,9 +2821,9 @@ checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" [[package]] name = "proc-macro2" -version = "1.0.92" +version = "1.0.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" +checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" dependencies = [ "unicode-ident", ] @@ -2863,18 +2831,18 @@ dependencies = [ [[package]] name = "proc_macro_crate" version = "0.1.0" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "prost" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" +checksum = "7231bd9b3d3d33c86b58adbac74b5ec0ad9f496b19d22801d773636feaa95f3d" dependencies = [ "bytes", "prost-derive", @@ -2882,52 +2850,51 @@ dependencies = [ [[package]] name = "prost-build" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" +checksum = "ac6c3320f9abac597dcbc668774ef006702672474aad53c6d596b62e487b40b1" dependencies = [ - "bytes", - "heck 0.4.1", - "itertools", - "lazy_static", + "heck 0.5.0", + "itertools 0.14.0", "log", "multimap", - "petgraph", + "once_cell", + "petgraph 0.7.1", "prettyplease", "prost", "prost-types", "regex", - "syn 1.0.109", + "syn 2.0.111", "tempfile", - "which", ] [[package]] name = "prost-derive" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4" +checksum = "9120690fafc389a67ba3803df527d0ec9cbbc9cc45e4cc20b332996dfb672425" dependencies = [ "anyhow", - "itertools", + "itertools 0.14.0", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.111", ] [[package]] name = "prost-types" -version = "0.11.9" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" +checksum = "b9b4db3d6da204ed77bb26ba83b6122a73aeb2e87e25fbf7ad2e84c4ccbf8f72" dependencies = [ "prost", ] [[package]] name = "prost-wkt" -version = "0.4.1" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "655944d0ce015e71b3ec21279437e6a09e58433e50c7b0677901f3d5235e74f5" dependencies = [ "chrono", "inventory", @@ -2940,41 +2907,26 @@ dependencies = [ [[package]] name = "prost-wkt-build" -version = "0.4.1" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f869f1443fee474b785e935d92e1007f57443e485f51668ed41943fc01a321a2" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "prost", "prost-build", "prost-types", "quote", ] -[[package]] -name = "prost-wkt-types" -version = "0.4.1" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" -dependencies = [ - "chrono", - "prost", - "prost-build", - "prost-types", - "prost-wkt", - "prost-wkt-build", - "protoc-bin-vendored", - "regex", - "serde", - "serde_derive", - "serde_json", -] - [[package]] name = "protoc-bin-vendored" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1c381df33c98266b5f08186583660090a4ffa0889e76c7e9a5e175f645a67fa" dependencies = [ "protoc-bin-vendored-linux-aarch_64", "protoc-bin-vendored-linux-ppcle_64", + "protoc-bin-vendored-linux-s390_64", "protoc-bin-vendored-linux-x86_32", "protoc-bin-vendored-linux-x86_64", "protoc-bin-vendored-macos-aarch_64", @@ -2985,71 +2937,87 @@ dependencies = [ [[package]] name = "protoc-bin-vendored-linux-aarch_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c350df4d49b5b9e3ca79f7e646fde2377b199e13cfa87320308397e1f37e1a4c" [[package]] name = "protoc-bin-vendored-linux-ppcle_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a55a63e6c7244f19b5c6393f025017eb5d793fd5467823a099740a7a4222440c" + +[[package]] +name = "protoc-bin-vendored-linux-s390_64" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1dba5565db4288e935d5330a07c264a4ee8e4a5b4a4e6f4e83fad824cc32f3b0" [[package]] name = "protoc-bin-vendored-linux-x86_32" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8854774b24ee28b7868cd71dccaae8e02a2365e67a4a87a6cd11ee6cdbdf9cf5" [[package]] name = "protoc-bin-vendored-linux-x86_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b38b07546580df720fa464ce124c4b03630a6fb83e05c336fea2a241df7e5d78" [[package]] name = "protoc-bin-vendored-macos-aarch_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89278a9926ce312e51f1d999fee8825d324d603213344a9a706daa009f1d8092" [[package]] name = "protoc-bin-vendored-macos-x86_64" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81745feda7ccfb9471d7a4de888f0652e806d5795b61480605d4943176299756" [[package]] name = "protoc-bin-vendored-win32" version = "3.2.0" -source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95067976aca6421a523e491fce939a3e65249bac4b977adee0ee9771568e8aa3" [[package]] name = "quinn" -version = "0.11.6" +version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62e96808277ec6f97351a2380e6c25114bc9e67037775464979f3037c92d05ef" +checksum = "b9e20a958963c291dc322d98411f541009df2ced7b5a4f2bd52337638cfccf20" dependencies = [ "bytes", + "cfg_aliases", "pin-project-lite", "quinn-proto", "quinn-udp", - "rustc-hash 2.1.0", + "rustc-hash 2.1.1", "rustls", "socket2", - "thiserror 2.0.8", + "thiserror 2.0.17", "tokio", "tracing", + "web-time", ] [[package]] name = "quinn-proto" -version = "0.11.9" +version = "0.11.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2fe5ef3495d7d2e377ff17b1a8ce2ee2ec2a18cde8b6ad6619d65d0701c135d" +checksum = "f1906b49b0c3bc04b5fe5d86a77925ae6524a19b816ae38ce1e426255f1d8a31" dependencies = [ "bytes", - "getrandom", - "rand", + "getrandom 0.3.4", + "lru-slab", + "rand 0.9.2", "ring", - "rustc-hash 2.1.0", + "rustc-hash 2.1.1", "rustls", "rustls-pki-types", "slab", - "thiserror 2.0.8", + "thiserror 2.0.17", "tinyvec", "tracing", "web-time", @@ -3057,27 +3025,33 @@ dependencies = [ [[package]] name = "quinn-udp" -version = "0.5.9" +version = "0.5.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c40286217b4ba3a71d644d752e6a0b71f13f1b6a2c5311acfcbe0c2418ed904" +checksum = "addec6a0dcad8a8d96a771f815f0eaf55f9d1805756410b39f5fa81332574cbd" dependencies = [ "cfg_aliases", "libc", "once_cell", "socket2", "tracing", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] [[package]] name = "quote" -version = "1.0.37" +version = "1.0.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" +checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" dependencies = [ "proc-macro2", ] +[[package]] +name = "r-efi" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + [[package]] name = "ra_ap_paths" version = "0.0.149" @@ -3131,8 +3105,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", - "rand_chacha", - "rand_core", + "rand_chacha 0.3.1", + "rand_core 0.6.4", +] + +[[package]] +name = "rand" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" +dependencies = [ + "rand_chacha 0.9.0", + "rand_core 0.9.3", ] [[package]] @@ -3142,7 +3126,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", - "rand_core", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_chacha" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" +dependencies = [ + "ppv-lite86", + "rand_core 0.9.3", ] [[package]] @@ -3151,7 +3145,16 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom", + "getrandom 0.2.16", +] + +[[package]] +name = "rand_core" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" +dependencies = [ + "getrandom 0.3.4", ] [[package]] @@ -3160,7 +3163,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa" dependencies = [ - "rand_core", + "rand_core 0.6.4", ] [[package]] @@ -3174,11 +3177,11 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.8" +version = "0.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", ] [[package]] @@ -3187,20 +3190,20 @@ version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ - "getrandom", + "getrandom 0.2.16", "libredox", "thiserror 1.0.69", ] [[package]] name = "regex" -version = "1.11.1" +version = "1.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" +checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.9", + "regex-automata 0.4.13", "regex-syntax", ] @@ -3212,9 +3215,9 @@ checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" [[package]] name = "regex-automata" -version = "0.4.9" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" +checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" dependencies = [ "aho-corasick", "memchr", @@ -3223,15 +3226,15 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.8.5" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" +checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" [[package]] name = "reqwest" -version = "0.12.9" +version = "0.12.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a77c62af46e79de0a562e1a9849205ffcb7fc1238876e9bd743357570e04046f" +checksum = "9d0946410b9f7b082a427e4ef5c8ff541a88b357bc6c637c40db3a68ac70a36f" dependencies = [ "base64 0.22.1", "bytes", @@ -3243,16 +3246,12 @@ dependencies = [ "hyper", "hyper-rustls", "hyper-util", - "ipnet", "js-sys", "log", - "mime", - "once_cell", "percent-encoding", "pin-project-lite", "quinn", "rustls", - "rustls-pemfile", "rustls-pki-types", "serde", "serde_json", @@ -3260,7 +3259,9 @@ dependencies = [ "sync_wrapper", "tokio", "tokio-rustls", - "tokio-util 0.7.13", + "tokio-util 0.7.17", + "tower", + "tower-http", "tower-service", "url", "wasm-bindgen", @@ -3268,20 +3269,18 @@ dependencies = [ "wasm-streams", "web-sys", "webpki-roots", - "windows-registry", ] [[package]] name = "ring" -version = "0.17.8" +version = "0.17.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" dependencies = [ "cc", - "cfg-if 1.0.0", - "getrandom", + "cfg-if 1.0.4", + "getrandom 0.2.16", "libc", - "spin", "untrusted", "windows-sys 0.52.0", ] @@ -3309,9 +3308,9 @@ dependencies = [ [[package]] name = "rustc-demangle" -version = "0.1.24" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" +checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace" [[package]] name = "rustc-hash" @@ -3321,9 +3320,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustc-hash" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497" +checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" [[package]] name = "rustc-rayon" @@ -3338,12 +3337,12 @@ dependencies = [ [[package]] name = "rustc-rayon" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb81aadc8837ca6ecebe0fe1353f15df83b3b3cc2cf7a8afd571bc22aa121710" +checksum = "2cd9fb077db982d7ceb42a90471e5a69a990b58f71e06f0d8340bb2cf35eb751" dependencies = [ "either", - "rustc-rayon-core 0.5.0", + "rustc-rayon-core 0.5.1", ] [[package]] @@ -3360,14 +3359,12 @@ dependencies = [ [[package]] name = "rustc-rayon-core" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67668daaf00e359c126f6dcb40d652d89b458a008c8afa727a42a2d20fca0b7f" +checksum = "2f42932dcd3bcbe484b38a3ccf79b7906fac41c02d408b5b1bac26da3416efdb" dependencies = [ - "crossbeam-channel", "crossbeam-deque", "crossbeam-utils", - "num_cpus", ] [[package]] @@ -3384,7 +3381,7 @@ dependencies = [ "jobserver", "libc", "memmap2", - "parking_lot 0.12.3", + "parking_lot 0.12.5", "rustc-hash 1.1.0", "rustc-rayon 0.3.2", "rustc-rayon-core 0.3.2", @@ -3424,47 +3421,38 @@ dependencies = [ "rustc_data_structures", "scoped-tls", "sha-1", - "sha2 0.10.8", + "sha2 0.10.9", "tracing", "unicode-width", ] -[[package]] -name = "rustc_version" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" -dependencies = [ - "semver 0.9.0", -] - [[package]] name = "rustc_version" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ - "semver 1.0.24", + "semver", ] [[package]] name = "rustix" -version = "0.38.42" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93dc38ecbab2eb790ff964bb77fa94faf256fd3e73285fd7ba0903b76bedb85" +checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.10.0", "errno", "libc", "linux-raw-sys", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "rustls" -version = "0.23.20" +version = "0.23.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5065c3f250cbd332cd894be57c40fa52387247659b14a2d6041d121547903b1b" +checksum = "533f54bc6a7d4f647e46ad909549eda97bf5afc1585190ef692b4286b198bd8f" dependencies = [ "once_cell", "ring", @@ -3474,29 +3462,21 @@ dependencies = [ "zeroize", ] -[[package]] -name = "rustls-pemfile" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" -dependencies = [ - "rustls-pki-types", -] - [[package]] name = "rustls-pki-types" -version = "1.10.1" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2bf47e6ff922db3825eb750c4e2ff784c6ff8fb9e13046ef6a1d1c5401b0b37" +checksum = "94182ad936a0c91c324cd46c6511b9510ed16af436d7b5bab34beab0afd55f7a" dependencies = [ "web-time", + "zeroize", ] [[package]] name = "rustls-webpki" -version = "0.102.8" +version = "0.103.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" +checksum = "2ffdfa2f5286e2247234e03f680868ac2815974dc39e00ea15adc445d0aafe52" dependencies = [ "ring", "rustls-pki-types", @@ -3505,15 +3485,15 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.18" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248" +checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" [[package]] name = "ryu" -version = "1.0.18" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" +checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" [[package]] name = "salsa" @@ -3571,76 +3551,73 @@ version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e14e4d63b804dc0c7ec4a1e52bcb63f02c7ac94476755aa579edac21e01f915d" dependencies = [ - "self_cell 1.1.0", + "self_cell 1.2.1", ] [[package]] name = "self_cell" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2fdfc24bc566f839a2da4c4295b82db7d25a24253867d5c64355abb5799bdbe" - -[[package]] -name = "semver" -version = "0.9.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" -dependencies = [ - "semver-parser", -] +checksum = "16c2f82143577edb4921b71ede051dac62ca3c16084e918bf7b40c96ae10eb33" [[package]] name = "semver" -version = "1.0.24" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cb6eb87a131f756572d7fb904f6e7b68633f09cca868c5df1c4b8d1a694bbba" +checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" [[package]] -name = "semver-parser" -version = "0.7.0" +name = "serde" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" +dependencies = [ + "serde_core", + "serde_derive", +] [[package]] -name = "serde" -version = "1.0.216" +name = "serde_core" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b9781016e935a97e8beecf0c933758c97a5520d32930e460142b4cd80c6338e" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.216" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46f859dbbf73865c6627ed570e78961cd3ac92407a2d117204c49232485da55e" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "serde_json" -version = "1.0.115" +version = "1.0.145" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12dc5c46daa8e9fdf4f5e71b6cf9a53f2487da0e86e55808e2d35539666497dd" +checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c" dependencies = [ "itoa", + "memchr", "ryu", "serde", + "serde_core", ] [[package]] name = "serde_repr" -version = "0.1.19" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" +checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -3656,11 +3633,12 @@ dependencies = [ ] [[package]] -name = "serde_yaml" -version = "0.9.34+deprecated" -source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4" +name = "serde_yaml_ng" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b4db627b98b36d4203a7b458cf3573730f2bb591b28871d916dfa9efabfd41f" dependencies = [ - "indexmap 2.7.0", + "indexmap 2.12.1", "itoa", "ryu", "serde", @@ -3673,7 +3651,7 @@ version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "cpufeatures", "digest 0.10.7", ] @@ -3700,7 +3678,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" dependencies = [ "block-buffer 0.9.0", - "cfg-if 1.0.0", + "cfg-if 1.0.4", "cpufeatures", "digest 0.9.0", "opaque-debug 0.3.1", @@ -3708,11 +3686,11 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.8" +version = "0.10.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "cpufeatures", "digest 0.10.7", ] @@ -3725,13 +3703,19 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook-registry" -version = "1.4.2" +version = "1.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" +checksum = "7664a098b8e616bdfcc2dc0e9ac44eb231eedf41db4e9fe95d8d32ec728dedad" dependencies = [ "libc", ] +[[package]] +name = "simd-adler32" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" + [[package]] name = "siphasher" version = "0.3.11" @@ -3750,98 +3734,31 @@ dependencies = [ [[package]] name = "slab" -version = "0.4.9" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" -dependencies = [ - "autocfg", -] +checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" [[package]] name = "smallvec" -version = "1.13.2" +version = "1.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" [[package]] name = "socket2" -version = "0.5.8" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8" +checksum = "17129e116933cf371d018bb80ae557e889637989d8638274fb25622827b03881" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.60.2", ] -[[package]] -name = "spin" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" - [[package]] name = "stable_deref_trait" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" - -[[package]] -name = "standback" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e113fb6f3de07a243d434a56ec6f186dfd51cb08448239fe7bcae73f87ff28ff" -dependencies = [ - "version_check", -] - -[[package]] -name = "stdweb" -version = "0.4.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d022496b16281348b52d0e30ae99e01a73d737b2f45d38fed4edf79f9325a1d5" -dependencies = [ - "discard", - "rustc_version 0.2.3", - "stdweb-derive", - "stdweb-internal-macros", - "stdweb-internal-runtime", - "wasm-bindgen", -] - -[[package]] -name = "stdweb-derive" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c87a60a40fccc84bef0652345bbbbbe20a605bf5d0ce81719fc476f5c03b50ef" -dependencies = [ - "proc-macro2", - "quote", - "serde", - "serde_derive", - "syn 1.0.109", -] - -[[package]] -name = "stdweb-internal-macros" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58fa5ff6ad0d98d1ffa8cb115892b6e69d67799f6763e162a1c9db421dc22e11" -dependencies = [ - "base-x", - "proc-macro2", - "quote", - "serde", - "serde_derive", - "serde_json", - "sha1", - "syn 1.0.109", -] - -[[package]] -name = "stdweb-internal-runtime" -version = "0.1.5" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213701ba3370744dcd1a12960caa4843b3d68b4d1c0a5d575e0d65b2ee9d16c0" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" [[package]] name = "str_indices" @@ -3889,9 +3806,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.90" +version = "2.0.111" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31" +checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87" dependencies = [ "proc-macro2", "quote", @@ -3921,20 +3838,20 @@ dependencies = [ [[package]] name = "synstructure" -version = "0.13.1" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" +checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "tar" -version = "0.4.43" +version = "0.4.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c65998313f8e17d0d553d28f91a0df93e4dbbbf770279c7bc21ca0f09ea1a1f6" +checksum = "1d863878d212c87a19c1a610eb53bb01fe12951c0501cf5a0d65f724914a667a" dependencies = [ "filetime", "libc", @@ -3943,15 +3860,15 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.14.0" +version = "3.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c" +checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" dependencies = [ - "cfg-if 1.0.0", "fastrand", + "getrandom 0.3.4", "once_cell", "rustix", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -3984,11 +3901,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.8" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08f5383f3e0071702bf93ab5ee99b52d26936be9dedd9413067cbdcddcb6141a" +checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" dependencies = [ - "thiserror-impl 2.0.8", + "thiserror-impl 2.0.17", ] [[package]] @@ -3999,28 +3916,27 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "thiserror-impl" -version = "2.0.8" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2f357fcec90b3caef6623a099691be676d033b40a058ac95d2a6ade6fa0c943" +checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "thread_local" -version = "1.1.8" +version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" +checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185" dependencies = [ - "cfg-if 1.0.0", - "once_cell", + "cfg-if 1.0.4", ] [[package]] @@ -4034,24 +3950,9 @@ dependencies = [ [[package]] name = "time" -version = "0.2.27" +version = "0.3.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4752a97f8eebd6854ff91f1c1824cd6160626ac4bd44287f7f4ea2035a02a242" -dependencies = [ - "const_fn", - "libc", - "standback", - "stdweb", - "time-macros 0.1.1", - "version_check", - "winapi", -] - -[[package]] -name = "time" -version = "0.3.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21" +checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d" dependencies = [ "deranged", "itoa", @@ -4061,63 +3962,41 @@ dependencies = [ "powerfmt", "serde", "time-core", - "time-macros 0.2.19", + "time-macros", ] [[package]] name = "time-core" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" - -[[package]] -name = "time-macros" -version = "0.1.1" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "957e9c6e26f12cb6d0dd7fc776bb67a706312e7299aed74c8dd5b17ebb27e2f1" -dependencies = [ - "proc-macro-hack", - "time-macros-impl", -] +checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b" [[package]] name = "time-macros" -version = "0.2.19" +version = "0.2.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2834e6017e3e5e4b9834939793b282bc03b37a3336245fa820e35e233e2a85de" +checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3" dependencies = [ "num-conv", "time-core", ] -[[package]] -name = "time-macros-impl" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd3c141a1b43194f3f56a1411225df8646c55781d5f26db825b3d98507eb482f" -dependencies = [ - "proc-macro-hack", - "proc-macro2", - "quote", - "standback", - "syn 1.0.109", -] - [[package]] name = "tinystr" -version = "0.7.6" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f" +checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869" dependencies = [ "displaydoc", + "serde_core", "zerovec", ] [[package]] name = "tinyvec" -version = "1.8.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938" +checksum = "bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa" dependencies = [ "tinyvec_macros", ] @@ -4130,38 +4009,37 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.42.0" +version = "1.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cec9b21b0450273377fc97bd4c33a8acffc8c996c987a7c5b319a0083707551" +checksum = "ff360e02eab121e0bc37a2d3b4d4dc622e6eda3a8e5253d5435ecf5bd4c68408" dependencies = [ - "backtrace", "bytes", "libc", - "mio 1.0.3", - "parking_lot 0.12.3", + "mio 1.1.0", + "parking_lot 0.12.5", "pin-project-lite", "signal-hook-registry", "socket2", "tokio-macros", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] name = "tokio-macros" -version = "2.4.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" +checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "tokio-rustls" -version = "0.26.1" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f6d0975eaace0cf0fcadee4e4aaa5da15b5c079146f2cffb67c113be122bf37" +checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61" dependencies = [ "rustls", "tokio", @@ -4207,9 +4085,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.13" +version = "0.7.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7fcaa8d55a2bdd6b83ace262b016eca0d79ee02818c5c1bcdf0305114081078" +checksum = "2efa149fe76073d6e8fd97ef4f4eca7b67f599660115591483572e406e165594" dependencies = [ "bytes", "futures-core", @@ -4227,6 +4105,45 @@ dependencies = [ "serde", ] +[[package]] +name = "tower" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper", + "tokio", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-http" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adc82fd73de2a9722ac5da747f12383d2bfdb93591ee6c58486e0097890f05f2" +dependencies = [ + "bitflags 2.10.0", + "bytes", + "futures-util", + "http", + "http-body", + "iri-string", + "pin-project-lite", + "tower", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-layer" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" + [[package]] name = "tower-service" version = "0.3.3" @@ -4247,20 +4164,20 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.28" +version = "0.1.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" +checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "tracing-core" -version = "0.1.33" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" +checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678" dependencies = [ "once_cell", ] @@ -4273,30 +4190,30 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "type-map" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "deb68604048ff8fa93347f02441e4487594adc20bb8a084f9e564d2b827a0a9f" +checksum = "cb30dbbd9036155e74adad6812e9898d03ec374946234fbcebd5dfc7b9187b90" dependencies = [ - "rustc-hash 1.1.0", + "rustc-hash 2.1.1", ] [[package]] name = "typeid" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e13db2e0ccd5e14a544e8a246ba2312cd25223f616442d7f2cb0e3db614236e" +checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c" [[package]] name = "typenum" -version = "1.17.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" +checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" [[package]] name = "typetag" -version = "0.2.18" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52ba3b6e86ffe0054b2c44f2d86407388b933b16cb0a70eea3929420db1d9bbe" +checksum = "be2212c8a9b9bcfca32024de14998494cf9a5dfa59ea1b829de98bac374b86bf" dependencies = [ "erased-serde", "inventory", @@ -4307,13 +4224,13 @@ dependencies = [ [[package]] name = "typetag-impl" -version = "0.2.18" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70b20a22c42c8f1cd23ce5e34f165d4d37038f5b663ad20fb6adbdf029172483" +checksum = "27a7a9b72ba121f6f1f6c3632b85604cac41aedb5ddc70accbebb6cac83de846" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] @@ -4356,9 +4273,9 @@ dependencies = [ [[package]] name = "unic-langid" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23dd9d1e72a73b25e07123a80776aae3e7b0ec461ef94f9151eed6ec88005a44" +checksum = "a28ba52c9b05311f4f6e62d5d9d46f094bd6e84cb8df7b3ef952748d752a7d05" dependencies = [ "unic-langid-impl", "unic-langid-macros", @@ -4366,18 +4283,18 @@ dependencies = [ [[package]] name = "unic-langid-impl" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a5422c1f65949306c99240b81de9f3f15929f5a8bfe05bb44b034cc8bf593e5" +checksum = "dce1bf08044d4b7a94028c93786f8566047edc11110595914de93362559bc658" dependencies = [ "tinystr", ] [[package]] name = "unic-langid-macros" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0da1cd2c042d3c7569a1008806b02039e7a4a2bdf8f8e96bd3c792434a0e275e" +checksum = "d5957eb82e346d7add14182a3315a7e298f04e1ba4baac36f7f0dbfedba5fc25" dependencies = [ "proc-macro-hack", "tinystr", @@ -4387,13 +4304,13 @@ dependencies = [ [[package]] name = "unic-langid-macros-impl" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ed7f4237ba393424195053097c1516bd4590dc82b84f2f97c5c69e12704555b" +checksum = "a1249a628de3ad34b821ecb1001355bca3940bcb2f88558f1a8bd82e977f75b5" dependencies = [ "proc-macro-hack", "quote", - "syn 2.0.90", + "syn 2.0.111", "unic-langid-impl", ] @@ -4431,27 +4348,27 @@ dependencies = [ [[package]] name = "unicase" -version = "2.8.0" +version = "2.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e51b68083f157f853b6379db119d1c1be0e6e4dec98101079dec41f6f5cf6df" +checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539" [[package]] name = "unicode-casing" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "623f59e6af2a98bdafeb93fa277ac8e1e40440973001ca15cf4ae1541cd16d56" +checksum = "061dbb8cc7f108532b6087a0065eff575e892a4bcb503dc57323a197457cc202" [[package]] name = "unicode-ident" -version = "1.0.14" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" +checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" [[package]] name = "unicode-normalization" -version = "0.1.24" +version = "0.1.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956" +checksum = "5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8" dependencies = [ "tinyvec", ] @@ -4494,9 +4411,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.4" +version = "2.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" +checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b" dependencies = [ "form_urlencoded", "idna", @@ -4504,12 +4421,6 @@ dependencies = [ "serde", ] -[[package]] -name = "utf16_iter" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246" - [[package]] name = "utf8_iter" version = "1.0.4" @@ -4524,46 +4435,48 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.11.0" +version = "1.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a" +checksum = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2" dependencies = [ - "getrandom", + "getrandom 0.3.4", + "js-sys", "serde", + "wasm-bindgen", ] [[package]] name = "vergen" -version = "9.0.2" +version = "9.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31f25fc8f8f05df455c7941e87f093ad22522a9ff33d7a027774815acf6f0639" +checksum = "6b2bf58be11fc9414104c6d3a2e464163db5ef74b12296bda593cac37b6e4777" dependencies = [ "anyhow", "derive_builder", - "rustc_version 0.4.1", + "rustc_version", "rustversion", "vergen-lib", ] [[package]] name = "vergen-gitcl" -version = "1.0.2" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0227006d09f98ab00ea69e9a5e055e676a813cfbed4232986176c86a6080b997" +checksum = "b9dfc1de6eb2e08a4ddf152f1b179529638bedc0ea95e6d667c014506377aefe" dependencies = [ "anyhow", "derive_builder", "rustversion", - "time 0.3.37", + "time", "vergen", "vergen-lib", ] [[package]] name = "vergen-lib" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0c767e6751c09fc85cde58722cf2f1007e80e4c8d5a4321fc90d83dc54ca147" +checksum = "9b07e6010c0f3e59fcb164e0163834597da68d1f864e2b8ca49f74de01e9c166" dependencies = [ "anyhow", "derive_builder", @@ -4597,42 +4510,39 @@ dependencies = [ [[package]] name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" +version = "0.11.1+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" [[package]] -name = "wasm-bindgen" -version = "0.2.99" +name = "wasip2" +version = "1.0.1+wasi-0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a474f6281d1d70c17ae7aa6a613c87fce69a127e2624002df63dcb39d6cf6396" +checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" dependencies = [ - "cfg-if 1.0.0", - "once_cell", - "wasm-bindgen-macro", + "wit-bindgen", ] [[package]] -name = "wasm-bindgen-backend" -version = "0.2.99" +name = "wasm-bindgen" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f89bb38646b4f81674e8f5c3fb81b562be1fd936d84320f3264486418519c79" +checksum = "da95793dfc411fbbd93f5be7715b0578ec61fe87cb1a42b12eb625caa5c5ea60" dependencies = [ - "bumpalo", - "log", - "proc-macro2", - "quote", - "syn 2.0.90", + "cfg-if 1.0.4", + "once_cell", + "rustversion", + "wasm-bindgen-macro", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.49" +version = "0.4.55" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38176d9b44ea84e9184eff0bc34cc167ed044f816accfe5922e54d84cf48eca2" +checksum = "551f88106c6d5e7ccc7cd9a16f312dd3b5d36ea8b4954304657d5dfba115d4a0" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 1.0.4", "js-sys", "once_cell", "wasm-bindgen", @@ -4641,9 +4551,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.99" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cc6181fd9a7492eef6fef1f33961e3695e4579b9872a6f7c83aee556666d4fe" +checksum = "04264334509e04a7bf8690f2384ef5265f05143a4bff3889ab7a3269adab59c2" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -4651,22 +4561,25 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.99" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30d7a95b763d3c45903ed6c81f156801839e5ee968bb07e534c44df0fcd330c2" +checksum = "420bc339d9f322e562942d52e115d57e950d12d88983a14c79b86859ee6c7ebc" dependencies = [ + "bumpalo", "proc-macro2", "quote", - "syn 2.0.90", - "wasm-bindgen-backend", + "syn 2.0.111", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.99" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "943aab3fdaaa029a6e0271b35ea10b72b943135afe9bffca82384098ad0e06a6" +checksum = "76f218a38c84bcb33c25ec7059b07847d465ce0e0a76b995e134a45adcb6af76" +dependencies = [ + "unicode-ident", +] [[package]] name = "wasm-streams" @@ -4683,9 +4596,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.76" +version = "0.3.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04dd7223427d52553d3702c004d3b2fe07c148165faa56313cb00211e31c12bc" +checksum = "3a1f95c0d03a47f4ae1f7a64643a6bb97465d9b740f0fa8f90ea33915c99a9a1" dependencies = [ "js-sys", "wasm-bindgen", @@ -4703,25 +4616,13 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.26.7" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d642ff16b7e79272ae451b7322067cdc17cadf68c23264be9d94a32319efe7e" +checksum = "b2878ef029c47c6e8cf779119f20fcf52bde7ad42a731b2a304bc221df17571e" dependencies = [ "rustls-pki-types", ] -[[package]] -name = "which" -version = "4.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" -dependencies = [ - "either", - "home", - "once_cell", - "rustix", -] - [[package]] name = "winapi" version = "0.3.9" @@ -4740,11 +4641,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.9" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -4754,52 +4655,68 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] -name = "windows" -version = "0.52.0" +name = "windows-core" +version = "0.62.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" dependencies = [ - "windows-core", - "windows-targets 0.52.6", + "windows-implement", + "windows-interface", + "windows-link 0.2.1", + "windows-result", + "windows-strings", ] [[package]] -name = "windows-core" -version = "0.52.0" +name = "windows-implement" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" dependencies = [ - "windows-targets 0.52.6", + "proc-macro2", + "quote", + "syn 2.0.111", ] [[package]] -name = "windows-registry" -version = "0.2.0" +name = "windows-interface" +version = "0.59.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" dependencies = [ - "windows-result", - "windows-strings", - "windows-targets 0.52.6", + "proc-macro2", + "quote", + "syn 2.0.111", ] +[[package]] +name = "windows-link" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + [[package]] name = "windows-result" -version = "0.2.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" dependencies = [ - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] name = "windows-strings" -version = "0.1.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" dependencies = [ - "windows-result", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] [[package]] @@ -4846,11 +4763,20 @@ dependencies = [ [[package]] name = "windows-sys" -version = "0.59.0" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" dependencies = [ - "windows-targets 0.52.6", + "windows-targets 0.53.5", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link 0.2.1", ] [[package]] @@ -4892,13 +4818,30 @@ dependencies = [ "windows_aarch64_gnullvm 0.52.6", "windows_aarch64_msvc 0.52.6", "windows_i686_gnu 0.52.6", - "windows_i686_gnullvm", + "windows_i686_gnullvm 0.52.6", "windows_i686_msvc 0.52.6", "windows_x86_64_gnu 0.52.6", "windows_x86_64_gnullvm 0.52.6", "windows_x86_64_msvc 0.52.6", ] +[[package]] +name = "windows-targets" +version = "0.53.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" +dependencies = [ + "windows-link 0.2.1", + "windows_aarch64_gnullvm 0.53.1", + "windows_aarch64_msvc 0.53.1", + "windows_i686_gnu 0.53.1", + "windows_i686_gnullvm 0.53.1", + "windows_i686_msvc 0.53.1", + "windows_x86_64_gnu 0.53.1", + "windows_x86_64_gnullvm 0.53.1", + "windows_x86_64_msvc 0.53.1", +] + [[package]] name = "windows_aarch64_gnullvm" version = "0.42.2" @@ -4917,6 +4860,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" + [[package]] name = "windows_aarch64_msvc" version = "0.42.2" @@ -4935,6 +4884,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" +[[package]] +name = "windows_aarch64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" + [[package]] name = "windows_i686_gnu" version = "0.42.2" @@ -4953,12 +4908,24 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" +[[package]] +name = "windows_i686_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" + [[package]] name = "windows_i686_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" +[[package]] +name = "windows_i686_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" + [[package]] name = "windows_i686_msvc" version = "0.42.2" @@ -4977,6 +4944,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" +[[package]] +name = "windows_i686_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" + [[package]] name = "windows_x86_64_gnu" version = "0.42.2" @@ -4995,6 +4968,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" +[[package]] +name = "windows_x86_64_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" + [[package]] name = "windows_x86_64_gnullvm" version = "0.42.2" @@ -5013,6 +4992,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" + [[package]] name = "windows_x86_64_msvc" version = "0.42.2" @@ -5032,25 +5017,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] -name = "write16" -version = "1.0.0" +name = "windows_x86_64_msvc" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936" +checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" + +[[package]] +name = "wit-bindgen" +version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59" [[package]] name = "writeable" -version = "0.5.5" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51" +checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9" [[package]] name = "xattr" -version = "1.3.1" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f" +checksum = "32e45ad4206f6d2479085147f02bc2ef834ac85886624a23575ae137c8aa8156" dependencies = [ "libc", - "linux-raw-sys", "rustix", ] @@ -5080,11 +5070,10 @@ dependencies = [ [[package]] name = "yoke" -version = "0.7.5" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40" +checksum = "72d6e5c6afb84d73944e5cedb052c4680d5657337201555f9f2a16b7406d4954" dependencies = [ - "serde", "stable_deref_trait", "yoke-derive", "zerofrom", @@ -5092,70 +5081,81 @@ dependencies = [ [[package]] name = "yoke-derive" -version = "0.7.5" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" +checksum = "b659052874eb698efe5b9e8cf382204678a0086ebf46982b79d6ca3182927e5d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", - "synstructure 0.13.1", + "syn 2.0.111", + "synstructure 0.13.2", ] [[package]] name = "zerocopy" -version = "0.7.35" +version = "0.8.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" +checksum = "43fa6694ed34d6e57407afbccdeecfa268c470a7d2a5b0cf49ce9fcc345afb90" dependencies = [ - "byteorder", "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.35" +version = "0.8.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" +checksum = "c640b22cd9817fae95be82f0d2f90b11f7605f6c319d16705c459b27ac2cbc26" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] [[package]] name = "zerofrom" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e" +checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" dependencies = [ "zerofrom-derive", ] [[package]] name = "zerofrom-derive" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808" +checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", - "synstructure 0.13.1", + "syn 2.0.111", + "synstructure 0.13.2", ] [[package]] name = "zeroize" -version = "1.8.1" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" +checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0" + +[[package]] +name = "zerotrie" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a59c17a5562d507e4b54960e8569ebee33bee890c70aa3fe7b97e85a9fd7851" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] [[package]] name = "zerovec" -version = "0.10.4" +version = "0.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079" +checksum = "6c28719294829477f525be0186d13efa9a3c602f7ec202ca9e353d310fb9a002" dependencies = [ + "serde", "yoke", "zerofrom", "zerovec-derive", @@ -5163,11 +5163,11 @@ dependencies = [ [[package]] name = "zerovec-derive" -version = "0.10.3" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" +checksum = "eadce39539ca5cb3985590102671f2567e659fca9666581ad3411d59207951f3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.90", + "syn 2.0.111", ] diff --git a/kotlin/Cargo.toml b/kotlin/Cargo.toml index 22a4a920..56b10dfc 100644 --- a/kotlin/Cargo.toml +++ b/kotlin/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "kcl-lib-jni" publish = false -version = "0.11.2" +version = "0.12.0" +edition = "2024" [lib] crate-type = ["cdylib"] @@ -9,15 +10,15 @@ doc = false [dependencies] jni = "0.21.1" -prost = "0.11.8" -prost-types = "0.11.8" serde_json = "1" indexmap = "2.2.5" anyhow = "1" serde = { version = "1", features = ["derive"] } once_cell = "1.19.0" lazy_static = "1.4.0" +prost = "0.14.1" +prost-types = "0.14.1" -kclvm-parser = { git = "https://github.com/kcl-lang/kcl", version = "0.11.2" } -kclvm-sema = { git = "https://github.com/kcl-lang/kcl", version = "0.11.2" } -kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.11.2" } +kcl-parser = { git = "https://github.com/kcl-lang/kcl", version = "0.12.0" } +kcl-sema = { git = "https://github.com/kcl-lang/kcl", version = "0.12.0" } +kcl-api = { git = "https://github.com/kcl-lang/kcl", version = "0.12.0" } diff --git a/kotlin/README.md b/kotlin/README.md index 6f8c0f49..83e721ab 100644 --- a/kotlin/README.md +++ b/kotlin/README.md @@ -26,7 +26,7 @@ This way you'll be able to import the above dependency to use the SDK. com.kcl kcl-lib-kotlin - 0.11.2-SNAPSHOT + 0.12.0-SNAPSHOT ``` diff --git a/kotlin/pom.xml b/kotlin/pom.xml index 1b7635ea..d93e82bb 100644 --- a/kotlin/pom.xml +++ b/kotlin/pom.xml @@ -5,7 +5,7 @@ com.kcl kcl-lib-kotlin - 0.11.1-SNAPSHOT + 0.12.0-SNAPSHOT KCL Arifact Library for Kotlin KCL is an open-source constraint-based record and functional language mainly @@ -22,7 +22,7 @@ 1.9.25 5.10.0 - 4.29.3 + 4.33.1 UTF-8 1.8 1.8 diff --git a/kotlin/src/lib.rs b/kotlin/src/lib.rs index 3ec04e63..04010564 100644 --- a/kotlin/src/lib.rs +++ b/kotlin/src/lib.rs @@ -1,8 +1,8 @@ extern crate anyhow; extern crate jni; -extern crate kclvm_api; -extern crate kclvm_parser; -extern crate kclvm_sema; +extern crate kcl_api; +extern crate kcl_parser; +extern crate kcl_sema; extern crate lazy_static; extern crate once_cell; extern crate prost; @@ -12,11 +12,11 @@ use jni::objects::{GlobalRef, JByteArray, JClass, JObject, JString}; use jni::sys::jbyteArray; use jni::JNIEnv; use jni::JavaVM; -use kclvm_api::call_with_plugin_agent; -use kclvm_api::gpyrpc::LoadPackageArgs; -use kclvm_api::service::KclvmServiceImpl; -use kclvm_parser::KCLModuleCache; -use kclvm_sema::resolver::scope::KCLScopeCache; +use kcl_api::call_with_plugin_agent; +use kcl_api::gpyrpc::LoadPackageArgs; +use kcl_api::service::KclServiceImpl; +use kcl_parser::KCLModuleCache; +use kcl_sema::resolver::scope::KCLScopeCache; use lazy_static::lazy_static; use once_cell::sync::OnceCell; use prost::Message; @@ -31,7 +31,7 @@ lazy_static! { static ref SCOPE_CACHE: Mutex> = Mutex::new(OnceCell::new()); } -#[no_mangle] +#[unsafe(no_mangle)] pub extern "system" fn Java_com_kcl_api_API_callNative( mut env: JNIEnv, _: JClass, @@ -44,7 +44,7 @@ pub extern "system" fn Java_com_kcl_api_API_callNative( }) } -#[no_mangle] +#[unsafe(no_mangle)] pub extern "system" fn Java_com_kcl_api_API_registerPluginContext(env: JNIEnv, obj: JObject) { let jvm = env.get_java_vm().unwrap(); *JVM.lock().unwrap() = Some(jvm); @@ -52,7 +52,7 @@ pub extern "system" fn Java_com_kcl_api_API_registerPluginContext(env: JNIEnv, o *CALLBACK_OBJ.lock().unwrap() = Some(global_ref); } -#[no_mangle] +#[unsafe(no_mangle)] pub extern "system" fn Java_com_kcl_api_API_loadPackageWithCache( mut env: JNIEnv, _: JClass, @@ -87,15 +87,15 @@ fn intern_load_package_with_cache(env: &mut JNIEnv, args: JByteArray) -> Result< let scope_cache = binding.get_or_init(|| KCLScopeCache::default()); // Load package arguments from protobuf bytes. let args = env.convert_byte_array(args)?; - let args: LoadPackageArgs = ::decode(args.as_ref())?; - let svc = KclvmServiceImpl::default(); + let args: LoadPackageArgs = LoadPackageArgs::decode(args.as_ref())?; + let svc = KclServiceImpl::default(); // Call load package API and decode the result to protobuf bytes. let packages = svc.load_package_with_cache(&args, module_cache.clone(), scope_cache.clone())?; let j_byte_array = env.byte_array_from_slice(&packages.encode_to_vec())?; Ok(j_byte_array.into_raw()) } -#[no_mangle] +#[unsafe(no_mangle)] extern "C" fn plugin_agent( method: *const c_char, args: *const c_char, diff --git a/kotlin/src/main/java/com/kcl/api/API.java b/kotlin/src/main/java/com/kcl/api/API.java index a0bae6e9..65f207c7 100644 --- a/kotlin/src/main/java/com/kcl/api/API.java +++ b/kotlin/src/main/java/com/kcl/api/API.java @@ -93,8 +93,8 @@ public API() { * import com.kcl.util.JsonUtil; * * API api = new API(); - * ParseProgram_Result result = api.parseProgram( - * ParseProgram_Args.newBuilder().addPaths("path/to/kcl.k").build() + * ParseProgramResult result = api.parseProgram( + * ParseProgramArgs.newBuilder().addPaths("path/to/kcl.k").build() * ); * System.out.println(result.getAstJson()); * Program program = JsonUtil.deserializeProgram(result.getAstJson()); @@ -110,8 +110,8 @@ public API() { * if an error occurs during the remote procedure call. */ @Override - public ParseProgram_Result parseProgram(ParseProgram_Args args) throws Exception { - return ParseProgram_Result.parseFrom(call("KclvmService.ParseProgram", args.toByteArray())); + public ParseProgramResult parseProgram(ParseProgramArgs args) throws Exception { + return ParseProgramResult.parseFrom(call("KclService.ParseProgram", args.toByteArray())); } /** @@ -124,9 +124,9 @@ public ParseProgram_Result parseProgram(ParseProgram_Args args) throws Exception * {@code * import com.kcl.api.*; * - * ParseFile_Args args = ParseFile_Args.newBuilder().setPath("./src/test_data/parse/main.k").build(); + * ParseFileArgs args = ParseFileArgs.newBuilder().setPath("./src/test_data/parse/main.k").build(); * API apiInstance = new API(); - * ParseFile_Result result = apiInstance.parseFile(args); + * ParseFileResult result = apiInstance.parseFile(args); * } * * @@ -139,8 +139,8 @@ public ParseProgram_Result parseProgram(ParseProgram_Args args) throws Exception * if an error occurs during the remote procedure call. */ @Override - public ParseFile_Result parseFile(ParseFile_Args args) throws Exception { - return ParseFile_Result.parseFrom(call("KclvmService.ParseFile", args.toByteArray())); + public ParseFileResult parseFile(ParseFileArgs args) throws Exception { + return ParseFileResult.parseFrom(call("KclService.ParseFile", args.toByteArray())); } /** @@ -154,9 +154,9 @@ public ParseFile_Result parseFile(ParseFile_Args args) throws Exception { * import com.kcl.api.*; * * API api = new API(); - * LoadPackage_Result result = api.loadPackage( - * LoadPackage_Args.newBuilder().setResolveAst(true).setParseArgs( - * ParseProgram_Args.newBuilder().addPaths("/path/to/kcl.k").build()) + * LoadPackageResult result = api.loadPackage( + * LoadPackageArgs.newBuilder().setResolveAst(true).setParseArgs( + * ParseProgramArgs.newBuilder().addPaths("/path/to/kcl.k").build()) * .build()); * result.getSymbolsMap().values().forEach(s -> System.out.println(s)); * } @@ -171,8 +171,8 @@ public ParseFile_Result parseFile(ParseFile_Args args) throws Exception { * if an error occurs during the remote procedure call. */ @Override - public LoadPackage_Result loadPackage(LoadPackage_Args args) throws Exception { - return LoadPackage_Result.parseFrom(call("KclvmService.LoadPackage", args.toByteArray())); + public LoadPackageResult loadPackage(LoadPackageArgs args) throws Exception { + return LoadPackageResult.parseFrom(call("KclService.LoadPackage", args.toByteArray())); } /** @@ -186,9 +186,9 @@ public LoadPackage_Result loadPackage(LoadPackage_Args args) throws Exception { * import com.kcl.api.*; * * API api = new API(); - * ListVariables_Result result = api.listVariables( - * ListVariables_Args.newBuilder().setResolveAst(true).setParseArgs( - * ParseProgram_Args.newBuilder().addPaths("/path/to/kcl.k").build()) + * ListVariablesResult result = api.listVariables( + * ListVariablesArgs.newBuilder().setResolveAst(true).setParseArgs( + * ParseProgramArgs.newBuilder().addPaths("/path/to/kcl.k").build()) * .build()); * result.getSymbolsMap().values().forEach(s -> System.out.println(s)); * } @@ -203,8 +203,8 @@ public LoadPackage_Result loadPackage(LoadPackage_Args args) throws Exception { * if an error occurs during the remote procedure call. */ @Override - public ListVariables_Result listVariables(ListVariables_Args args) throws Exception { - return ListVariables_Result.parseFrom(call("KclvmService.ListVariables", args.toByteArray())); + public ListVariablesResult listVariables(ListVariablesArgs args) throws Exception { + return ListVariablesResult.parseFrom(call("KclService.ListVariables", args.toByteArray())); } /** @@ -217,9 +217,9 @@ public ListVariables_Result listVariables(ListVariables_Args args) throws Except * {@code * import com.kcl.api.*; * - * ParseProgram_Args args = ParseProgram_Args.newBuilder().addPaths("./src/test_data/option/main.k").build(); + * ParseProgramArgs args = ParseProgramArgs.newBuilder().addPaths("./src/test_data/option/main.k").build(); * API apiInstance = new API(); - * ListOptions_Result result = apiInstance.listOptions(args); + * ListOptionsResult result = apiInstance.listOptions(args); * } * * @@ -232,8 +232,8 @@ public ListVariables_Result listVariables(ListVariables_Args args) throws Except * if an error occurs during the remote procedure call. */ @Override - public ListOptions_Result listOptions(ParseProgram_Args args) throws Exception { - return ListOptions_Result.parseFrom(call("KclvmService.ListOptions", args.toByteArray())); + public ListOptionsResult listOptions(ParseProgramArgs args) throws Exception { + return ListOptionsResult.parseFrom(call("KclService.ListOptions", args.toByteArray())); } /** @@ -247,9 +247,9 @@ public ListOptions_Result listOptions(ParseProgram_Args args) throws Exception { * import com.kcl.api.*; * * API api = new API(); - * LoadPackage_Result result = api.loadPackageWithCache( - * LoadPackage_Args.newBuilder().setResolveAst(true).setParseArgs( - * ParseProgram_Args.newBuilder().addPaths("/path/to/kcl.k").build()) + * LoadPackageResult result = api.loadPackageWithCache( + * LoadPackageArgs.newBuilder().setResolveAst(true).setParseArgs( + * ParseProgramArgs.newBuilder().addPaths("/path/to/kcl.k").build()) * .build()); * result.getSymbolsMap().values().forEach(s -> System.out.println(s)); * } @@ -264,8 +264,8 @@ public ListOptions_Result listOptions(ParseProgram_Args args) throws Exception { * if an error occurs during the remote procedure call. */ @Override - public LoadPackage_Result loadPackageWithCache(LoadPackage_Args args) throws Exception { - return LoadPackage_Result.parseFrom(callLoadPackageWithCache(args.toByteArray())); + public LoadPackageResult loadPackageWithCache(LoadPackageArgs args) throws Exception { + return LoadPackageResult.parseFrom(callLoadPackageWithCache(args.toByteArray())); } /** @@ -278,9 +278,9 @@ public LoadPackage_Result loadPackageWithCache(LoadPackage_Args args) throws Exc * {@code * import com.kcl.api.*; * - * ExecProgram_Args args = ExecProgram_Args.newBuilder().addKFilenameList("schema.k").build(); + * ExecProgramArgs args = ExecProgramArgs.newBuilder().addKFilenameList("schema.k").build(); * API apiInstance = new API(); - * ExecProgram_Result result = apiInstance.execProgram(args); + * ExecProgramResult result = apiInstance.execProgram(args); * } * * @@ -292,8 +292,8 @@ public LoadPackage_Result loadPackageWithCache(LoadPackage_Args args) throws Exc * @throws Exception * if an error occurs during the remote procedure call. */ - public ExecProgram_Result execProgram(ExecProgram_Args args) throws Exception { - return ExecProgram_Result.parseFrom(call("KclvmService.ExecProgram", args.toByteArray())); + public ExecProgramResult execProgram(ExecProgramArgs args) throws Exception { + return ExecProgramResult.parseFrom(call("KclService.ExecProgram", args.toByteArray())); } /** @@ -308,7 +308,7 @@ public ExecProgram_Result execProgram(ExecProgram_Args args) throws Exception { * * API api = new API(); * String spec = "a=2"; - * OverrideFile_Result result = api.overrideFile(OverrideFile_Args.newBuilder() + * OverrideFileResult result = api.overrideFile(OverrideFileArgs.newBuilder() * .setFile("./src/test_data/override_file/main.k").addSpecs(spec).build()); * } * @@ -322,8 +322,8 @@ public ExecProgram_Result execProgram(ExecProgram_Args args) throws Exception { * if an error occurs during the remote procedure call. */ @Override - public OverrideFile_Result overrideFile(OverrideFile_Args args) throws Exception { - return OverrideFile_Result.parseFrom(call("KclvmService.OverrideFile", args.toByteArray())); + public OverrideFileResult overrideFile(OverrideFileArgs args) throws Exception { + return OverrideFileResult.parseFrom(call("KclService.OverrideFile", args.toByteArray())); } /** @@ -336,10 +336,10 @@ public OverrideFile_Result overrideFile(OverrideFile_Args args) throws Exception * {@code * import com.kcl.api.*; * - * ExecProgram_Args execArgs = ExecProgram_Args.newBuilder().addKFilenameList("schema.k").build(); - * GetSchemaTypeMapping_Args args = GetSchemaTypeMapping_Args.newBuilder().setExecArgs(execArgs).build(); + * ExecProgramArgs execArgs = ExecProgramArgs.newBuilder().addKFilenameList("schema.k").build(); + * GetSchemaTypeMappingArgs args = GetSchemaTypeMappingArgs.newBuilder().setExecArgs(execArgs).build(); * API apiInstance = new API(); - * GetSchemaTypeMapping_Result result = apiInstance.getSchemaTypeMapping(args); + * GetSchemaTypeMappingResult result = apiInstance.getSchemaTypeMapping(args); * KclType appSchemaType = result.getSchemaTypeMappingMap().get("app"); * String replicasType = appSchemaType.getPropertiesOrThrow("replicas").getType(); * } @@ -354,8 +354,8 @@ public OverrideFile_Result overrideFile(OverrideFile_Args args) throws Exception * if an error occurs during the remote procedure call. */ @Override - public GetSchemaTypeMapping_Result getSchemaTypeMapping(GetSchemaTypeMapping_Args args) throws Exception { - return GetSchemaTypeMapping_Result.parseFrom(call("KclvmService.GetSchemaTypeMapping", args.toByteArray())); + public GetSchemaTypeMappingResult getSchemaTypeMapping(GetSchemaTypeMappingArgs args) throws Exception { + return GetSchemaTypeMappingResult.parseFrom(call("KclService.GetSchemaTypeMapping", args.toByteArray())); } /** @@ -370,9 +370,9 @@ public GetSchemaTypeMapping_Result getSchemaTypeMapping(GetSchemaTypeMapping_Arg * * String sourceCode = "schema Person:\n" + " name: str\n" + " age: int\n" + " check:\n" * + " 0 < age < 120\n"; - * FormatCode_Args args = FormatCode_Args.newBuilder().setSource(sourceCode).build(); + * FormatCodeArgs args = FormatCodeArgs.newBuilder().setSource(sourceCode).build(); * API apiInstance = new API(); - * FormatCode_Result result = apiInstance.formatCode(args); + * FormatCodeResult result = apiInstance.formatCode(args); * String expectedFormattedCode = "schema Person:\n" + " name: str\n" + " age: int\n\n" + " check:\n" * + " 0 < age < 120\n\n"; * } @@ -387,8 +387,8 @@ public GetSchemaTypeMapping_Result getSchemaTypeMapping(GetSchemaTypeMapping_Arg * if an error occurs during the remote procedure call. */ @Override - public FormatCode_Result formatCode(FormatCode_Args args) throws Exception { - return FormatCode_Result.parseFrom(call("KclvmService.FormatCode", args.toByteArray())); + public FormatCodeResult formatCode(FormatCodeArgs args) throws Exception { + return FormatCodeResult.parseFrom(call("KclService.FormatCode", args.toByteArray())); } /** @@ -401,9 +401,9 @@ public FormatCode_Result formatCode(FormatCode_Args args) throws Exception { * {@code * import com.kcl.api.*; * - * FormatPath_Args args = FormatPath_Args.newBuilder().setPath("test.k").build(); + * FormatPathArgs args = FormatPathArgs.newBuilder().setPath("test.k").build(); * API apiInstance = new API(); - * FormatPath_Result result = apiInstance.formatPath(args); + * FormatPathResult result = apiInstance.formatPath(args); * Assert.assertTrue(result.getChangedPathsList().isEmpty()); * } * @@ -417,8 +417,8 @@ public FormatCode_Result formatCode(FormatCode_Args args) throws Exception { * if an error occurs during the remote procedure call. */ @Override - public FormatPath_Result formatPath(FormatPath_Args args) throws Exception { - return FormatPath_Result.parseFrom(call("KclvmService.FormatPath", args.toByteArray())); + public FormatPathResult formatPath(FormatPathArgs args) throws Exception { + return FormatPathResult.parseFrom(call("KclService.FormatPath", args.toByteArray())); } /** @@ -431,9 +431,9 @@ public FormatPath_Result formatPath(FormatPath_Args args) throws Exception { * {@code * import com.kcl.api.*; * - * LintPath_Args args = LintPath_Args.newBuilder().addPaths("test.k").build(); + * LintPathArgs args = LintPathArgs.newBuilder().addPaths("test.k").build(); * API apiInstance = new API(); - * LintPath_Result result = apiInstance.lintPath(args); + * LintPathResult result = apiInstance.lintPath(args); * boolean foundWarning = result.getResultsList().stream() * .anyMatch(warning -> warning.contains("Module 'math' imported but unused")); * } @@ -448,8 +448,8 @@ public FormatPath_Result formatPath(FormatPath_Args args) throws Exception { * if an error occurs during the remote procedure call. */ @Override - public LintPath_Result lintPath(LintPath_Args args) throws Exception { - return LintPath_Result.parseFrom(call("KclvmService.LintPath", args.toByteArray())); + public LintPathResult lintPath(LintPathArgs args) throws Exception { + return LintPathResult.parseFrom(call("KclService.LintPath", args.toByteArray())); } /** @@ -465,9 +465,9 @@ public LintPath_Result lintPath(LintPath_Args args) throws Exception { * String code = "schema Person:\n" + " name: str\n" + " age: int\n" + " check:\n" * + " 0 < age < 120\n"; * String data = "{\"name\": \"Alice\", \"age\": 10}"; - * ValidateCode_Args args = ValidateCode_Args.newBuilder().setCode(code).setData(data).setFormat("json").build(); + * ValidateCodeArgs args = ValidateCodeArgs.newBuilder().setCode(code).setData(data).setFormat("json").build(); * API apiInstance = new API(); - * ValidateCode_Result result = apiInstance.validateCode(args); + * ValidateCodeResult result = apiInstance.validateCode(args); * } * * @@ -480,8 +480,8 @@ public LintPath_Result lintPath(LintPath_Args args) throws Exception { * if an error occurs during the remote procedure call. */ @Override - public ValidateCode_Result validateCode(ValidateCode_Args args) throws Exception { - return ValidateCode_Result.parseFrom(call("KclvmService.ValidateCode", args.toByteArray())); + public ValidateCodeResult validateCode(ValidateCodeArgs args) throws Exception { + return ValidateCodeResult.parseFrom(call("KclService.ValidateCode", args.toByteArray())); } /** @@ -495,9 +495,9 @@ public ValidateCode_Result validateCode(ValidateCode_Args args) throws Exception * import com.kcl.api.*; * * API api = new API(); - * LoadSettingsFiles_Args args = LoadSettingsFiles_Args.newBuilder().addFiles("kcl.yaml") + * LoadSettingsFilesArgs args = LoadSettingsFilesArgs.newBuilder().addFiles("kcl.yaml") * .build(); - * LoadSettingsFiles_Result result = api.loadSettingsFiles(args); + * LoadSettingsFilesResult result = api.loadSettingsFiles(args); * } * * @@ -510,8 +510,8 @@ public ValidateCode_Result validateCode(ValidateCode_Args args) throws Exception * if an error occurs during the remote procedure call. */ @Override - public LoadSettingsFiles_Result loadSettingsFiles(LoadSettingsFiles_Args args) throws Exception { - return LoadSettingsFiles_Result.parseFrom(call("KclvmService.LoadSettingsFiles", args.toByteArray())); + public LoadSettingsFilesResult loadSettingsFiles(LoadSettingsFilesArgs args) throws Exception { + return LoadSettingsFilesResult.parseFrom(call("KclService.LoadSettingsFiles", args.toByteArray())); } /** @@ -524,10 +524,10 @@ public LoadSettingsFiles_Result loadSettingsFiles(LoadSettingsFiles_Args args) t * {@code * import com.kcl.api.*; * - * Rename_Args args = Rename_Args.newBuilder().setPackageRoot("./src/test_data/rename").setSymbolPath("a") + * RenameArgs args = RenameArgs.newBuilder().setPackageRoot("./src/test_data/rename").setSymbolPath("a") * .addFilePaths("./src/test_data/rename/main.k").setNewName("a2").build(); * API apiInstance = new API(); - * Rename_Result result = apiInstance.rename(args); + * RenameResult result = apiInstance.rename(args); * } * * @@ -540,8 +540,8 @@ public LoadSettingsFiles_Result loadSettingsFiles(LoadSettingsFiles_Args args) t * if an error occurs during the remote procedure call. */ @Override - public Rename_Result rename(Rename_Args args) throws Exception { - return Rename_Result.parseFrom(call("KclvmService.Rename", args.toByteArray())); + public RenameResult rename(RenameArgs args) throws Exception { + return RenameResult.parseFrom(call("KclService.Rename", args.toByteArray())); } /** @@ -555,9 +555,9 @@ public Rename_Result rename(Rename_Args args) throws Exception { * import com.kcl.api.*; * * API api = new API(); - * RenameCode_Args args = RenameCode_Args.newBuilder().setPackageRoot("/mock/path").setSymbolPath("a") + * RenameCodeArgs args = RenameCodeArgs.newBuilder().setPackageRoot("/mock/path").setSymbolPath("a") * .putSourceCodes("/mock/path/main.k", "a = 1\nb = a").setNewName("a2").build(); - * RenameCode_Result result = api.renameCode(args); + * RenameCodeResult result = api.renameCode(args); * } * * @@ -570,8 +570,8 @@ public Rename_Result rename(Rename_Args args) throws Exception { * if an error occurs during the remote procedure call. */ @Override - public RenameCode_Result renameCode(RenameCode_Args args) throws Exception { - return RenameCode_Result.parseFrom(call("KclvmService.RenameCode", args.toByteArray())); + public RenameCodeResult renameCode(RenameCodeArgs args) throws Exception { + return RenameCodeResult.parseFrom(call("KclService.RenameCode", args.toByteArray())); } /** @@ -585,8 +585,8 @@ public RenameCode_Result renameCode(RenameCode_Args args) throws Exception { * import com.kcl.api.*; * * API apiInstance = new API(); - * Test_Args args = Test_Args.newBuilder().addPkgList("./src/test_data/testing/...").build(); - * Test_Result result = apiInstance.test(args); + * TestArgs args = TestArgs.newBuilder().addPkgList("./src/test_data/testing/...").build(); + * TestResult result = apiInstance.test(args); * } * * @@ -599,8 +599,8 @@ public RenameCode_Result renameCode(RenameCode_Args args) throws Exception { * if an error occurs during the remote procedure call. */ @Override - public Test_Result test(Test_Args args) throws Exception { - return Test_Result.parseFrom(call("KclvmService.Test", args.toByteArray())); + public TestResult test(TestArgs args) throws Exception { + return TestResult.parseFrom(call("KclService.Test", args.toByteArray())); } /** @@ -614,8 +614,8 @@ public Test_Result test(Test_Args args) throws Exception { * import com.kcl.api.*; * * API api = new API(); - * UpdateDependencies_Result result = api.updateDependencies( - * UpdateDependencies_Args.newBuilder().setManifestPath("/path/to/module").build()); + * UpdateDependenciesResult result = api.updateDependencies( + * UpdateDependenciesArgs.newBuilder().setManifestPath("/path/to/module").build()); * } * * @@ -628,8 +628,8 @@ public Test_Result test(Test_Args args) throws Exception { * if an error occurs during the remote procedure call. */ @Override - public UpdateDependencies_Result updateDependencies(UpdateDependencies_Args args) throws Exception { - return UpdateDependencies_Result.parseFrom(call("KclvmService.UpdateDependencies", args.toByteArray())); + public UpdateDependenciesResult updateDependencies(UpdateDependenciesArgs args) throws Exception { + return UpdateDependenciesResult.parseFrom(call("KclService.UpdateDependencies", args.toByteArray())); } /** @@ -644,8 +644,8 @@ public UpdateDependencies_Result updateDependencies(UpdateDependencies_Args args * if an error occurs during the remote procedure call. */ @Override - public GetVersion_Result getVersion(GetVersion_Args args) throws Exception { - return GetVersion_Result.parseFrom(call("KclvmService.GetVersion", args.toByteArray())); + public GetVersionResult getVersion(GetVersionArgs args) throws Exception { + return GetVersionResult.parseFrom(call("KclService.GetVersion", args.toByteArray())); } private byte[] call(String name, byte[] args) throws Exception { diff --git a/kotlin/src/main/java/com/kcl/api/Service.java b/kotlin/src/main/java/com/kcl/api/Service.java index 698d5384..2e15aeb7 100644 --- a/kotlin/src/main/java/com/kcl/api/Service.java +++ b/kotlin/src/main/java/com/kcl/api/Service.java @@ -4,59 +4,59 @@ public interface Service { // Parse KCL single file AST JSON string - ParseFile_Result parseFile(ParseFile_Args args) throws Exception; + ParseFileResult parseFile(ParseFileArgs args) throws Exception; // Parse KCL program AST JSON string - ParseProgram_Result parseProgram(ParseProgram_Args args) throws Exception; + ParseProgramResult parseProgram(ParseProgramArgs args) throws Exception; // Loads KCL package and returns the AST, symbol, type, definition information. - LoadPackage_Result loadPackage(LoadPackage_Args args) throws Exception; + LoadPackageResult loadPackage(LoadPackageArgs args) throws Exception; // Loads KCL package and returns the AST, symbol, type, definition information. - LoadPackage_Result loadPackageWithCache(LoadPackage_Args args) throws Exception; + LoadPackageResult loadPackageWithCache(LoadPackageArgs args) throws Exception; // Execute KCL file with args - ExecProgram_Result execProgram(ExecProgram_Args args) throws Exception; + ExecProgramResult execProgram(ExecProgramArgs args) throws Exception; // Override KCL file with args - OverrideFile_Result overrideFile(OverrideFile_Args args) throws Exception; + OverrideFileResult overrideFile(OverrideFileArgs args) throws Exception; // List all the variables in the KCL file - ListVariables_Result listVariables(ListVariables_Args args) throws Exception; + ListVariablesResult listVariables(ListVariablesArgs args) throws Exception; // List all the option functions in the KCL file - ListOptions_Result listOptions(ParseProgram_Args args) throws Exception; + ListOptionsResult listOptions(ParseProgramArgs args) throws Exception; // Service for getting the full schema type list - GetSchemaTypeMapping_Result getSchemaTypeMapping(GetSchemaTypeMapping_Args args) throws Exception; + GetSchemaTypeMappingResult getSchemaTypeMapping(GetSchemaTypeMappingArgs args) throws Exception; // Service for formatting a code source - FormatCode_Result formatCode(FormatCode_Args args) throws Exception; + FormatCodeResult formatCode(FormatCodeArgs args) throws Exception; // Service for formatting KCL file or directory path - FormatPath_Result formatPath(FormatPath_Args args) throws Exception; + FormatPathResult formatPath(FormatPathArgs args) throws Exception; // Service for KCL Lint API - LintPath_Result lintPath(LintPath_Args args) throws Exception; + LintPathResult lintPath(LintPathArgs args) throws Exception; // Service for validating the data string using the schema code string - ValidateCode_Result validateCode(ValidateCode_Args args) throws Exception; + ValidateCodeResult validateCode(ValidateCodeArgs args) throws Exception; // Service for building setting file config from args - LoadSettingsFiles_Result loadSettingsFiles(LoadSettingsFiles_Args args) throws Exception; + LoadSettingsFilesResult loadSettingsFiles(LoadSettingsFilesArgs args) throws Exception; // Service for renaming all the occurrences of the target symbol in the files - Rename_Result rename(Rename_Args args) throws Exception; + RenameResult rename(RenameArgs args) throws Exception; // Service for renaming all the occurrences of the target symbol and rename them - RenameCode_Result renameCode(RenameCode_Args args) throws Exception; + RenameCodeResult renameCode(RenameCodeArgs args) throws Exception; // Service for the testing tool - Test_Result test(Test_Args args) throws Exception; + TestResult test(TestArgs args) throws Exception; // Service for the dependency updating - UpdateDependencies_Result updateDependencies(UpdateDependencies_Args args) throws Exception; + UpdateDependenciesResult updateDependencies(UpdateDependenciesArgs args) throws Exception; // Service for the KCL service version information. - GetVersion_Result getVersion(GetVersion_Args args) throws Exception; + GetVersionResult getVersion(GetVersionArgs args) throws Exception; } diff --git a/kotlin/src/main/java/com/kcl/api/Spec.java b/kotlin/src/main/java/com/kcl/api/Spec.java index 4f54ab21..764f372e 100644 --- a/kotlin/src/main/java/com/kcl/api/Spec.java +++ b/kotlin/src/main/java/com/kcl/api/Spec.java @@ -1,20 +1,21 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: spec.proto -// Protobuf Java Version: 4.29.3 +// Protobuf Java Version: 4.33.1 package com.kcl.api; -public final class Spec { +@com.google.protobuf.Generated +public final class Spec extends com.google.protobuf.GeneratedFile { private Spec() {} static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - Spec.class.getName()); + "Spec"); } public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { @@ -86,10 +87,10 @@ public static final class ExternalPkg extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - ExternalPkg.class.getName()); + "ExternalPkg"); } // Use ExternalPkg.newBuilder() to construct. private ExternalPkg(com.google.protobuf.GeneratedMessage.Builder builder) { @@ -826,10 +827,10 @@ public static final class Argument extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - Argument.class.getName()); + "Argument"); } // Use Argument.newBuilder() to construct. private Argument(com.google.protobuf.GeneratedMessage.Builder builder) { @@ -1609,10 +1610,10 @@ public static final class Error extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - Error.class.getName()); + "Error"); } // Use Error.newBuilder() to construct. private Error(com.google.protobuf.GeneratedMessage.Builder builder) { @@ -2114,7 +2115,7 @@ public Builder mergeFrom(com.kcl.api.Spec.Error other) { bitField0_ = (bitField0_ & ~0x00000004); messagesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getMessagesFieldBuilder() : null; + internalGetMessagesFieldBuilder() : null; } else { messagesBuilder_.addAllMessages(other.messages_); } @@ -2602,7 +2603,7 @@ public Builder removeMessages(int index) { */ public com.kcl.api.Spec.Message.Builder getMessagesBuilder( int index) { - return getMessagesFieldBuilder().getBuilder(index); + return internalGetMessagesFieldBuilder().getBuilder(index); } /** *
@@ -2641,7 +2642,7 @@ public com.kcl.api.Spec.MessageOrBuilder getMessagesOrBuilder(
        * repeated .com.kcl.api.Message messages = 3;
        */
       public com.kcl.api.Spec.Message.Builder addMessagesBuilder() {
-        return getMessagesFieldBuilder().addBuilder(
+        return internalGetMessagesFieldBuilder().addBuilder(
             com.kcl.api.Spec.Message.getDefaultInstance());
       }
       /**
@@ -2653,7 +2654,7 @@ public com.kcl.api.Spec.Message.Builder addMessagesBuilder() {
        */
       public com.kcl.api.Spec.Message.Builder addMessagesBuilder(
           int index) {
-        return getMessagesFieldBuilder().addBuilder(
+        return internalGetMessagesFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.Message.getDefaultInstance());
       }
       /**
@@ -2665,11 +2666,11 @@ public com.kcl.api.Spec.Message.Builder addMessagesBuilder(
        */
       public java.util.List 
            getMessagesBuilderList() {
-        return getMessagesFieldBuilder().getBuilderList();
+        return internalGetMessagesFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.Message, com.kcl.api.Spec.Message.Builder, com.kcl.api.Spec.MessageOrBuilder> 
-          getMessagesFieldBuilder() {
+          internalGetMessagesFieldBuilder() {
         if (messagesBuilder_ == null) {
           messagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.Message, com.kcl.api.Spec.Message.Builder, com.kcl.api.Spec.MessageOrBuilder>(
@@ -2800,10 +2801,10 @@ public static final class Message extends
       com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
         com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
         /* major= */ 4,
-        /* minor= */ 29,
-        /* patch= */ 3,
+        /* minor= */ 33,
+        /* patch= */ 1,
         /* suffix= */ "",
-        Message.class.getName());
+        "Message");
     }
     // Use Message.newBuilder() to construct.
     private Message(com.google.protobuf.GeneratedMessage.Builder builder) {
@@ -3121,7 +3122,7 @@ private Builder(
       private void maybeForceBuilderInitialization() {
         if (com.google.protobuf.GeneratedMessage
                 .alwaysUseFieldBuilders) {
-          getPosFieldBuilder();
+          internalGetPosFieldBuilder();
         }
       }
       @java.lang.Override
@@ -3233,7 +3234,7 @@ public Builder mergeFrom(
               } // case 10
               case 18: {
                 input.readMessage(
-                    getPosFieldBuilder().getBuilder(),
+                    internalGetPosFieldBuilder().getBuilder(),
                     extensionRegistry);
                 bitField0_ |= 0x00000002;
                 break;
@@ -3466,7 +3467,7 @@ public Builder clearPos() {
       public com.kcl.api.Spec.Position.Builder getPosBuilder() {
         bitField0_ |= 0x00000002;
         onChanged();
-        return getPosFieldBuilder().getBuilder();
+        return internalGetPosFieldBuilder().getBuilder();
       }
       /**
        * 
@@ -3492,7 +3493,7 @@ public com.kcl.api.Spec.PositionOrBuilder getPosOrBuilder() {
        */
       private com.google.protobuf.SingleFieldBuilder<
           com.kcl.api.Spec.Position, com.kcl.api.Spec.Position.Builder, com.kcl.api.Spec.PositionOrBuilder> 
-          getPosFieldBuilder() {
+          internalGetPosFieldBuilder() {
         if (posBuilder_ == null) {
           posBuilder_ = new com.google.protobuf.SingleFieldBuilder<
               com.kcl.api.Spec.Position, com.kcl.api.Spec.Position.Builder, com.kcl.api.Spec.PositionOrBuilder>(
@@ -3555,8 +3556,8 @@ public com.kcl.api.Spec.Message getDefaultInstanceForType() {
 
   }
 
-  public interface Ping_ArgsOrBuilder extends
-      // @@protoc_insertion_point(interface_extends:com.kcl.api.Ping_Args)
+  public interface PingArgsOrBuilder extends
+      // @@protoc_insertion_point(interface_extends:com.kcl.api.PingArgs)
       com.google.protobuf.MessageOrBuilder {
 
     /**
@@ -3584,41 +3585,41 @@ public interface Ping_ArgsOrBuilder extends
    * Message for ping request arguments.
    * 
* - * Protobuf type {@code com.kcl.api.Ping_Args} + * Protobuf type {@code com.kcl.api.PingArgs} */ - public static final class Ping_Args extends + public static final class PingArgs extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Ping_Args) - Ping_ArgsOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.PingArgs) + PingArgsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - Ping_Args.class.getName()); + "PingArgs"); } - // Use Ping_Args.newBuilder() to construct. - private Ping_Args(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use PingArgs.newBuilder() to construct. + private PingArgs(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private Ping_Args() { + private PingArgs() { value_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_PingArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_PingArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.Ping_Args.class, com.kcl.api.Spec.Ping_Args.Builder.class); + com.kcl.api.Spec.PingArgs.class, com.kcl.api.Spec.PingArgs.Builder.class); } public static final int VALUE_FIELD_NUMBER = 1; @@ -3707,10 +3708,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.Ping_Args)) { + if (!(obj instanceof com.kcl.api.Spec.PingArgs)) { return super.equals(obj); } - com.kcl.api.Spec.Ping_Args other = (com.kcl.api.Spec.Ping_Args) obj; + com.kcl.api.Spec.PingArgs other = (com.kcl.api.Spec.PingArgs) obj; if (!getValue() .equals(other.getValue())) return false; @@ -3732,44 +3733,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.Ping_Args parseFrom( + public static com.kcl.api.Spec.PingArgs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.Ping_Args parseFrom( + public static com.kcl.api.Spec.PingArgs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.Ping_Args parseFrom( + public static com.kcl.api.Spec.PingArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.Ping_Args parseFrom( + public static com.kcl.api.Spec.PingArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.Ping_Args parseFrom(byte[] data) + public static com.kcl.api.Spec.PingArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.Ping_Args parseFrom( + public static com.kcl.api.Spec.PingArgs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.Ping_Args parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.PingArgs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.Ping_Args parseFrom( + public static com.kcl.api.Spec.PingArgs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -3777,26 +3778,26 @@ public static com.kcl.api.Spec.Ping_Args parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.Ping_Args parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.PingArgs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.Ping_Args parseDelimitedFrom( + public static com.kcl.api.Spec.PingArgs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.Ping_Args parseFrom( + public static com.kcl.api.Spec.PingArgs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.Ping_Args parseFrom( + public static com.kcl.api.Spec.PingArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -3809,7 +3810,7 @@ public static com.kcl.api.Spec.Ping_Args parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.Ping_Args prototype) { + public static Builder newBuilder(com.kcl.api.Spec.PingArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -3829,26 +3830,26 @@ protected Builder newBuilderForType( * Message for ping request arguments. *
* - * Protobuf type {@code com.kcl.api.Ping_Args} + * Protobuf type {@code com.kcl.api.PingArgs} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Ping_Args) - com.kcl.api.Spec.Ping_ArgsOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.PingArgs) + com.kcl.api.Spec.PingArgsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_PingArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_PingArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.Ping_Args.class, com.kcl.api.Spec.Ping_Args.Builder.class); + com.kcl.api.Spec.PingArgs.class, com.kcl.api.Spec.PingArgs.Builder.class); } - // Construct using com.kcl.api.Spec.Ping_Args.newBuilder() + // Construct using com.kcl.api.Spec.PingArgs.newBuilder() private Builder() { } @@ -3869,17 +3870,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_PingArgs_descriptor; } @java.lang.Override - public com.kcl.api.Spec.Ping_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.Ping_Args.getDefaultInstance(); + public com.kcl.api.Spec.PingArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.PingArgs.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.Ping_Args build() { - com.kcl.api.Spec.Ping_Args result = buildPartial(); + public com.kcl.api.Spec.PingArgs build() { + com.kcl.api.Spec.PingArgs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3887,14 +3888,14 @@ public com.kcl.api.Spec.Ping_Args build() { } @java.lang.Override - public com.kcl.api.Spec.Ping_Args buildPartial() { - com.kcl.api.Spec.Ping_Args result = new com.kcl.api.Spec.Ping_Args(this); + public com.kcl.api.Spec.PingArgs buildPartial() { + com.kcl.api.Spec.PingArgs result = new com.kcl.api.Spec.PingArgs(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.Ping_Args result) { + private void buildPartial0(com.kcl.api.Spec.PingArgs result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.value_ = value_; @@ -3903,16 +3904,16 @@ private void buildPartial0(com.kcl.api.Spec.Ping_Args result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Ping_Args) { - return mergeFrom((com.kcl.api.Spec.Ping_Args)other); + if (other instanceof com.kcl.api.Spec.PingArgs) { + return mergeFrom((com.kcl.api.Spec.PingArgs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.Ping_Args other) { - if (other == com.kcl.api.Spec.Ping_Args.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.PingArgs other) { + if (other == com.kcl.api.Spec.PingArgs.getDefaultInstance()) return this; if (!other.getValue().isEmpty()) { value_ = other.value_; bitField0_ |= 0x00000001; @@ -4058,23 +4059,23 @@ public Builder setValueBytes( return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.Ping_Args) + // @@protoc_insertion_point(builder_scope:com.kcl.api.PingArgs) } - // @@protoc_insertion_point(class_scope:com.kcl.api.Ping_Args) - private static final com.kcl.api.Spec.Ping_Args DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.PingArgs) + private static final com.kcl.api.Spec.PingArgs DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Ping_Args(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.PingArgs(); } - public static com.kcl.api.Spec.Ping_Args getDefaultInstance() { + public static com.kcl.api.Spec.PingArgs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public Ping_Args parsePartialFrom( + public PingArgs parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -4093,24 +4094,24 @@ public Ping_Args parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.Ping_Args getDefaultInstanceForType() { + public com.kcl.api.Spec.PingArgs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface Ping_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Ping_Result) + public interface PingResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.PingResult) com.google.protobuf.MessageOrBuilder { /** @@ -4138,41 +4139,41 @@ public interface Ping_ResultOrBuilder extends * Message for ping response. * * - * Protobuf type {@code com.kcl.api.Ping_Result} + * Protobuf type {@code com.kcl.api.PingResult} */ - public static final class Ping_Result extends + public static final class PingResult extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Ping_Result) - Ping_ResultOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.PingResult) + PingResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - Ping_Result.class.getName()); + "PingResult"); } - // Use Ping_Result.newBuilder() to construct. - private Ping_Result(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use PingResult.newBuilder() to construct. + private PingResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private Ping_Result() { + private PingResult() { value_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_PingResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_PingResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.Ping_Result.class, com.kcl.api.Spec.Ping_Result.Builder.class); + com.kcl.api.Spec.PingResult.class, com.kcl.api.Spec.PingResult.Builder.class); } public static final int VALUE_FIELD_NUMBER = 1; @@ -4261,10 +4262,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.Ping_Result)) { + if (!(obj instanceof com.kcl.api.Spec.PingResult)) { return super.equals(obj); } - com.kcl.api.Spec.Ping_Result other = (com.kcl.api.Spec.Ping_Result) obj; + com.kcl.api.Spec.PingResult other = (com.kcl.api.Spec.PingResult) obj; if (!getValue() .equals(other.getValue())) return false; @@ -4286,44 +4287,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.Ping_Result parseFrom( + public static com.kcl.api.Spec.PingResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.Ping_Result parseFrom( + public static com.kcl.api.Spec.PingResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.Ping_Result parseFrom( + public static com.kcl.api.Spec.PingResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.Ping_Result parseFrom( + public static com.kcl.api.Spec.PingResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.Ping_Result parseFrom(byte[] data) + public static com.kcl.api.Spec.PingResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.Ping_Result parseFrom( + public static com.kcl.api.Spec.PingResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.Ping_Result parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.PingResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.Ping_Result parseFrom( + public static com.kcl.api.Spec.PingResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -4331,26 +4332,26 @@ public static com.kcl.api.Spec.Ping_Result parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.Ping_Result parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.PingResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.Ping_Result parseDelimitedFrom( + public static com.kcl.api.Spec.PingResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.Ping_Result parseFrom( + public static com.kcl.api.Spec.PingResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.Ping_Result parseFrom( + public static com.kcl.api.Spec.PingResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -4363,7 +4364,7 @@ public static com.kcl.api.Spec.Ping_Result parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.Ping_Result prototype) { + public static Builder newBuilder(com.kcl.api.Spec.PingResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -4383,26 +4384,26 @@ protected Builder newBuilderForType( * Message for ping response. * * - * Protobuf type {@code com.kcl.api.Ping_Result} + * Protobuf type {@code com.kcl.api.PingResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Ping_Result) - com.kcl.api.Spec.Ping_ResultOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.PingResult) + com.kcl.api.Spec.PingResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_PingResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_PingResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.Ping_Result.class, com.kcl.api.Spec.Ping_Result.Builder.class); + com.kcl.api.Spec.PingResult.class, com.kcl.api.Spec.PingResult.Builder.class); } - // Construct using com.kcl.api.Spec.Ping_Result.newBuilder() + // Construct using com.kcl.api.Spec.PingResult.newBuilder() private Builder() { } @@ -4423,17 +4424,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Ping_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_PingResult_descriptor; } @java.lang.Override - public com.kcl.api.Spec.Ping_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.Ping_Result.getDefaultInstance(); + public com.kcl.api.Spec.PingResult getDefaultInstanceForType() { + return com.kcl.api.Spec.PingResult.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.Ping_Result build() { - com.kcl.api.Spec.Ping_Result result = buildPartial(); + public com.kcl.api.Spec.PingResult build() { + com.kcl.api.Spec.PingResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4441,14 +4442,14 @@ public com.kcl.api.Spec.Ping_Result build() { } @java.lang.Override - public com.kcl.api.Spec.Ping_Result buildPartial() { - com.kcl.api.Spec.Ping_Result result = new com.kcl.api.Spec.Ping_Result(this); + public com.kcl.api.Spec.PingResult buildPartial() { + com.kcl.api.Spec.PingResult result = new com.kcl.api.Spec.PingResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.Ping_Result result) { + private void buildPartial0(com.kcl.api.Spec.PingResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.value_ = value_; @@ -4457,16 +4458,16 @@ private void buildPartial0(com.kcl.api.Spec.Ping_Result result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Ping_Result) { - return mergeFrom((com.kcl.api.Spec.Ping_Result)other); + if (other instanceof com.kcl.api.Spec.PingResult) { + return mergeFrom((com.kcl.api.Spec.PingResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.Ping_Result other) { - if (other == com.kcl.api.Spec.Ping_Result.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.PingResult other) { + if (other == com.kcl.api.Spec.PingResult.getDefaultInstance()) return this; if (!other.getValue().isEmpty()) { value_ = other.value_; bitField0_ |= 0x00000001; @@ -4612,23 +4613,23 @@ public Builder setValueBytes( return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.Ping_Result) + // @@protoc_insertion_point(builder_scope:com.kcl.api.PingResult) } - // @@protoc_insertion_point(class_scope:com.kcl.api.Ping_Result) - private static final com.kcl.api.Spec.Ping_Result DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.PingResult) + private static final com.kcl.api.Spec.PingResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Ping_Result(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.PingResult(); } - public static com.kcl.api.Spec.Ping_Result getDefaultInstance() { + public static com.kcl.api.Spec.PingResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public Ping_Result parsePartialFrom( + public PingResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -4647,24 +4648,24 @@ public Ping_Result parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.Ping_Result getDefaultInstanceForType() { + public com.kcl.api.Spec.PingResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface GetVersion_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.GetVersion_Args) + public interface GetVersionArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.GetVersionArgs) com.google.protobuf.MessageOrBuilder { } /** @@ -4672,40 +4673,40 @@ public interface GetVersion_ArgsOrBuilder extends * Message for version request arguments. Empty message. * * - * Protobuf type {@code com.kcl.api.GetVersion_Args} + * Protobuf type {@code com.kcl.api.GetVersionArgs} */ - public static final class GetVersion_Args extends + public static final class GetVersionArgs extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.GetVersion_Args) - GetVersion_ArgsOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.GetVersionArgs) + GetVersionArgsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - GetVersion_Args.class.getName()); + "GetVersionArgs"); } - // Use GetVersion_Args.newBuilder() to construct. - private GetVersion_Args(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use GetVersionArgs.newBuilder() to construct. + private GetVersionArgs(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private GetVersion_Args() { + private GetVersionArgs() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersion_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersionArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersion_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersionArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.GetVersion_Args.class, com.kcl.api.Spec.GetVersion_Args.Builder.class); + com.kcl.api.Spec.GetVersionArgs.class, com.kcl.api.Spec.GetVersionArgs.Builder.class); } private byte memoizedIsInitialized = -1; @@ -4741,10 +4742,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.GetVersion_Args)) { + if (!(obj instanceof com.kcl.api.Spec.GetVersionArgs)) { return super.equals(obj); } - com.kcl.api.Spec.GetVersion_Args other = (com.kcl.api.Spec.GetVersion_Args) obj; + com.kcl.api.Spec.GetVersionArgs other = (com.kcl.api.Spec.GetVersionArgs) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -4762,44 +4763,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.GetVersion_Args parseFrom( + public static com.kcl.api.Spec.GetVersionArgs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.GetVersion_Args parseFrom( + public static com.kcl.api.Spec.GetVersionArgs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.GetVersion_Args parseFrom( + public static com.kcl.api.Spec.GetVersionArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.GetVersion_Args parseFrom( + public static com.kcl.api.Spec.GetVersionArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.GetVersion_Args parseFrom(byte[] data) + public static com.kcl.api.Spec.GetVersionArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.GetVersion_Args parseFrom( + public static com.kcl.api.Spec.GetVersionArgs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.GetVersion_Args parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.GetVersionArgs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.GetVersion_Args parseFrom( + public static com.kcl.api.Spec.GetVersionArgs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -4807,26 +4808,26 @@ public static com.kcl.api.Spec.GetVersion_Args parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.GetVersion_Args parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.GetVersionArgs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.GetVersion_Args parseDelimitedFrom( + public static com.kcl.api.Spec.GetVersionArgs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.GetVersion_Args parseFrom( + public static com.kcl.api.Spec.GetVersionArgs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.GetVersion_Args parseFrom( + public static com.kcl.api.Spec.GetVersionArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -4839,7 +4840,7 @@ public static com.kcl.api.Spec.GetVersion_Args parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.GetVersion_Args prototype) { + public static Builder newBuilder(com.kcl.api.Spec.GetVersionArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -4859,26 +4860,26 @@ protected Builder newBuilderForType( * Message for version request arguments. Empty message. * * - * Protobuf type {@code com.kcl.api.GetVersion_Args} + * Protobuf type {@code com.kcl.api.GetVersionArgs} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.GetVersion_Args) - com.kcl.api.Spec.GetVersion_ArgsOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.GetVersionArgs) + com.kcl.api.Spec.GetVersionArgsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersion_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersionArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersion_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersionArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.GetVersion_Args.class, com.kcl.api.Spec.GetVersion_Args.Builder.class); + com.kcl.api.Spec.GetVersionArgs.class, com.kcl.api.Spec.GetVersionArgs.Builder.class); } - // Construct using com.kcl.api.Spec.GetVersion_Args.newBuilder() + // Construct using com.kcl.api.Spec.GetVersionArgs.newBuilder() private Builder() { } @@ -4897,17 +4898,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersion_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersionArgs_descriptor; } @java.lang.Override - public com.kcl.api.Spec.GetVersion_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.GetVersion_Args.getDefaultInstance(); + public com.kcl.api.Spec.GetVersionArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.GetVersionArgs.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.GetVersion_Args build() { - com.kcl.api.Spec.GetVersion_Args result = buildPartial(); + public com.kcl.api.Spec.GetVersionArgs build() { + com.kcl.api.Spec.GetVersionArgs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4915,24 +4916,24 @@ public com.kcl.api.Spec.GetVersion_Args build() { } @java.lang.Override - public com.kcl.api.Spec.GetVersion_Args buildPartial() { - com.kcl.api.Spec.GetVersion_Args result = new com.kcl.api.Spec.GetVersion_Args(this); + public com.kcl.api.Spec.GetVersionArgs buildPartial() { + com.kcl.api.Spec.GetVersionArgs result = new com.kcl.api.Spec.GetVersionArgs(this); onBuilt(); return result; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.GetVersion_Args) { - return mergeFrom((com.kcl.api.Spec.GetVersion_Args)other); + if (other instanceof com.kcl.api.Spec.GetVersionArgs) { + return mergeFrom((com.kcl.api.Spec.GetVersionArgs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.GetVersion_Args other) { - if (other == com.kcl.api.Spec.GetVersion_Args.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.GetVersionArgs other) { + if (other == com.kcl.api.Spec.GetVersionArgs.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -4975,23 +4976,23 @@ public Builder mergeFrom( return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.GetVersion_Args) + // @@protoc_insertion_point(builder_scope:com.kcl.api.GetVersionArgs) } - // @@protoc_insertion_point(class_scope:com.kcl.api.GetVersion_Args) - private static final com.kcl.api.Spec.GetVersion_Args DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.GetVersionArgs) + private static final com.kcl.api.Spec.GetVersionArgs DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.GetVersion_Args(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.GetVersionArgs(); } - public static com.kcl.api.Spec.GetVersion_Args getDefaultInstance() { + public static com.kcl.api.Spec.GetVersionArgs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public GetVersion_Args parsePartialFrom( + public GetVersionArgs parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -5010,24 +5011,24 @@ public GetVersion_Args parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.GetVersion_Args getDefaultInstanceForType() { + public com.kcl.api.Spec.GetVersionArgs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface GetVersion_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.GetVersion_Result) + public interface GetVersionResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.GetVersionResult) com.google.protobuf.MessageOrBuilder { /** @@ -5115,27 +5116,27 @@ public interface GetVersion_ResultOrBuilder extends * Message for version response. * * - * Protobuf type {@code com.kcl.api.GetVersion_Result} + * Protobuf type {@code com.kcl.api.GetVersionResult} */ - public static final class GetVersion_Result extends + public static final class GetVersionResult extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.GetVersion_Result) - GetVersion_ResultOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.GetVersionResult) + GetVersionResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - GetVersion_Result.class.getName()); + "GetVersionResult"); } - // Use GetVersion_Result.newBuilder() to construct. - private GetVersion_Result(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use GetVersionResult.newBuilder() to construct. + private GetVersionResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private GetVersion_Result() { + private GetVersionResult() { version_ = ""; checksum_ = ""; gitSha_ = ""; @@ -5144,15 +5145,15 @@ private GetVersion_Result() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersion_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersion_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.GetVersion_Result.class, com.kcl.api.Spec.GetVersion_Result.Builder.class); + com.kcl.api.Spec.GetVersionResult.class, com.kcl.api.Spec.GetVersionResult.Builder.class); } public static final int VERSION_FIELD_NUMBER = 1; @@ -5400,10 +5401,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.GetVersion_Result)) { + if (!(obj instanceof com.kcl.api.Spec.GetVersionResult)) { return super.equals(obj); } - com.kcl.api.Spec.GetVersion_Result other = (com.kcl.api.Spec.GetVersion_Result) obj; + com.kcl.api.Spec.GetVersionResult other = (com.kcl.api.Spec.GetVersionResult) obj; if (!getVersion() .equals(other.getVersion())) return false; @@ -5437,44 +5438,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.GetVersion_Result parseFrom( + public static com.kcl.api.Spec.GetVersionResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.GetVersion_Result parseFrom( + public static com.kcl.api.Spec.GetVersionResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.GetVersion_Result parseFrom( + public static com.kcl.api.Spec.GetVersionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.GetVersion_Result parseFrom( + public static com.kcl.api.Spec.GetVersionResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.GetVersion_Result parseFrom(byte[] data) + public static com.kcl.api.Spec.GetVersionResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.GetVersion_Result parseFrom( + public static com.kcl.api.Spec.GetVersionResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.GetVersion_Result parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.GetVersionResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.GetVersion_Result parseFrom( + public static com.kcl.api.Spec.GetVersionResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -5482,26 +5483,26 @@ public static com.kcl.api.Spec.GetVersion_Result parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.GetVersion_Result parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.GetVersionResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.GetVersion_Result parseDelimitedFrom( + public static com.kcl.api.Spec.GetVersionResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.GetVersion_Result parseFrom( + public static com.kcl.api.Spec.GetVersionResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.GetVersion_Result parseFrom( + public static com.kcl.api.Spec.GetVersionResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -5514,7 +5515,7 @@ public static com.kcl.api.Spec.GetVersion_Result parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.GetVersion_Result prototype) { + public static Builder newBuilder(com.kcl.api.Spec.GetVersionResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -5534,26 +5535,26 @@ protected Builder newBuilderForType( * Message for version response. * * - * Protobuf type {@code com.kcl.api.GetVersion_Result} + * Protobuf type {@code com.kcl.api.GetVersionResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.GetVersion_Result) - com.kcl.api.Spec.GetVersion_ResultOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.GetVersionResult) + com.kcl.api.Spec.GetVersionResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersion_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersion_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.GetVersion_Result.class, com.kcl.api.Spec.GetVersion_Result.Builder.class); + com.kcl.api.Spec.GetVersionResult.class, com.kcl.api.Spec.GetVersionResult.Builder.class); } - // Construct using com.kcl.api.Spec.GetVersion_Result.newBuilder() + // Construct using com.kcl.api.Spec.GetVersionResult.newBuilder() private Builder() { } @@ -5577,17 +5578,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersion_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_GetVersionResult_descriptor; } @java.lang.Override - public com.kcl.api.Spec.GetVersion_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.GetVersion_Result.getDefaultInstance(); + public com.kcl.api.Spec.GetVersionResult getDefaultInstanceForType() { + return com.kcl.api.Spec.GetVersionResult.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.GetVersion_Result build() { - com.kcl.api.Spec.GetVersion_Result result = buildPartial(); + public com.kcl.api.Spec.GetVersionResult build() { + com.kcl.api.Spec.GetVersionResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -5595,14 +5596,14 @@ public com.kcl.api.Spec.GetVersion_Result build() { } @java.lang.Override - public com.kcl.api.Spec.GetVersion_Result buildPartial() { - com.kcl.api.Spec.GetVersion_Result result = new com.kcl.api.Spec.GetVersion_Result(this); + public com.kcl.api.Spec.GetVersionResult buildPartial() { + com.kcl.api.Spec.GetVersionResult result = new com.kcl.api.Spec.GetVersionResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.GetVersion_Result result) { + private void buildPartial0(com.kcl.api.Spec.GetVersionResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.version_ = version_; @@ -5620,16 +5621,16 @@ private void buildPartial0(com.kcl.api.Spec.GetVersion_Result result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.GetVersion_Result) { - return mergeFrom((com.kcl.api.Spec.GetVersion_Result)other); + if (other instanceof com.kcl.api.Spec.GetVersionResult) { + return mergeFrom((com.kcl.api.Spec.GetVersionResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.GetVersion_Result other) { - if (other == com.kcl.api.Spec.GetVersion_Result.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.GetVersionResult other) { + if (other == com.kcl.api.Spec.GetVersionResult.getDefaultInstance()) return this; if (!other.getVersion().isEmpty()) { version_ = other.version_; bitField0_ |= 0x00000001; @@ -6081,23 +6082,23 @@ public Builder setVersionInfoBytes( return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.GetVersion_Result) + // @@protoc_insertion_point(builder_scope:com.kcl.api.GetVersionResult) } - // @@protoc_insertion_point(class_scope:com.kcl.api.GetVersion_Result) - private static final com.kcl.api.Spec.GetVersion_Result DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.GetVersionResult) + private static final com.kcl.api.Spec.GetVersionResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.GetVersion_Result(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.GetVersionResult(); } - public static com.kcl.api.Spec.GetVersion_Result getDefaultInstance() { + public static com.kcl.api.Spec.GetVersionResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public GetVersion_Result parsePartialFrom( + public GetVersionResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -6116,24 +6117,24 @@ public GetVersion_Result parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.GetVersion_Result getDefaultInstanceForType() { + public com.kcl.api.Spec.GetVersionResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface ListMethod_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ListMethod_Args) + public interface ListMethodArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ListMethodArgs) com.google.protobuf.MessageOrBuilder { } /** @@ -6141,40 +6142,40 @@ public interface ListMethod_ArgsOrBuilder extends * Message for list method request arguments. Empty message. * * - * Protobuf type {@code com.kcl.api.ListMethod_Args} + * Protobuf type {@code com.kcl.api.ListMethodArgs} */ - public static final class ListMethod_Args extends + public static final class ListMethodArgs extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ListMethod_Args) - ListMethod_ArgsOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.ListMethodArgs) + ListMethodArgsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - ListMethod_Args.class.getName()); + "ListMethodArgs"); } - // Use ListMethod_Args.newBuilder() to construct. - private ListMethod_Args(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use ListMethodArgs.newBuilder() to construct. + private ListMethodArgs(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private ListMethod_Args() { + private ListMethodArgs() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethodArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethodArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ListMethod_Args.class, com.kcl.api.Spec.ListMethod_Args.Builder.class); + com.kcl.api.Spec.ListMethodArgs.class, com.kcl.api.Spec.ListMethodArgs.Builder.class); } private byte memoizedIsInitialized = -1; @@ -6210,10 +6211,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.ListMethod_Args)) { + if (!(obj instanceof com.kcl.api.Spec.ListMethodArgs)) { return super.equals(obj); } - com.kcl.api.Spec.ListMethod_Args other = (com.kcl.api.Spec.ListMethod_Args) obj; + com.kcl.api.Spec.ListMethodArgs other = (com.kcl.api.Spec.ListMethodArgs) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -6231,44 +6232,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.ListMethod_Args parseFrom( + public static com.kcl.api.Spec.ListMethodArgs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListMethod_Args parseFrom( + public static com.kcl.api.Spec.ListMethodArgs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListMethod_Args parseFrom( + public static com.kcl.api.Spec.ListMethodArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListMethod_Args parseFrom( + public static com.kcl.api.Spec.ListMethodArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListMethod_Args parseFrom(byte[] data) + public static com.kcl.api.Spec.ListMethodArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListMethod_Args parseFrom( + public static com.kcl.api.Spec.ListMethodArgs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListMethod_Args parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ListMethodArgs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListMethod_Args parseFrom( + public static com.kcl.api.Spec.ListMethodArgs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -6276,26 +6277,26 @@ public static com.kcl.api.Spec.ListMethod_Args parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ListMethod_Args parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ListMethodArgs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListMethod_Args parseDelimitedFrom( + public static com.kcl.api.Spec.ListMethodArgs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ListMethod_Args parseFrom( + public static com.kcl.api.Spec.ListMethodArgs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListMethod_Args parseFrom( + public static com.kcl.api.Spec.ListMethodArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -6308,7 +6309,7 @@ public static com.kcl.api.Spec.ListMethod_Args parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.ListMethod_Args prototype) { + public static Builder newBuilder(com.kcl.api.Spec.ListMethodArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -6328,26 +6329,26 @@ protected Builder newBuilderForType( * Message for list method request arguments. Empty message. * * - * Protobuf type {@code com.kcl.api.ListMethod_Args} + * Protobuf type {@code com.kcl.api.ListMethodArgs} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ListMethod_Args) - com.kcl.api.Spec.ListMethod_ArgsOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.ListMethodArgs) + com.kcl.api.Spec.ListMethodArgsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethodArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethodArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ListMethod_Args.class, com.kcl.api.Spec.ListMethod_Args.Builder.class); + com.kcl.api.Spec.ListMethodArgs.class, com.kcl.api.Spec.ListMethodArgs.Builder.class); } - // Construct using com.kcl.api.Spec.ListMethod_Args.newBuilder() + // Construct using com.kcl.api.Spec.ListMethodArgs.newBuilder() private Builder() { } @@ -6366,17 +6367,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethodArgs_descriptor; } @java.lang.Override - public com.kcl.api.Spec.ListMethod_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ListMethod_Args.getDefaultInstance(); + public com.kcl.api.Spec.ListMethodArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.ListMethodArgs.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.ListMethod_Args build() { - com.kcl.api.Spec.ListMethod_Args result = buildPartial(); + public com.kcl.api.Spec.ListMethodArgs build() { + com.kcl.api.Spec.ListMethodArgs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -6384,24 +6385,24 @@ public com.kcl.api.Spec.ListMethod_Args build() { } @java.lang.Override - public com.kcl.api.Spec.ListMethod_Args buildPartial() { - com.kcl.api.Spec.ListMethod_Args result = new com.kcl.api.Spec.ListMethod_Args(this); + public com.kcl.api.Spec.ListMethodArgs buildPartial() { + com.kcl.api.Spec.ListMethodArgs result = new com.kcl.api.Spec.ListMethodArgs(this); onBuilt(); return result; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ListMethod_Args) { - return mergeFrom((com.kcl.api.Spec.ListMethod_Args)other); + if (other instanceof com.kcl.api.Spec.ListMethodArgs) { + return mergeFrom((com.kcl.api.Spec.ListMethodArgs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.ListMethod_Args other) { - if (other == com.kcl.api.Spec.ListMethod_Args.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.ListMethodArgs other) { + if (other == com.kcl.api.Spec.ListMethodArgs.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -6444,23 +6445,23 @@ public Builder mergeFrom( return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.ListMethod_Args) + // @@protoc_insertion_point(builder_scope:com.kcl.api.ListMethodArgs) } - // @@protoc_insertion_point(class_scope:com.kcl.api.ListMethod_Args) - private static final com.kcl.api.Spec.ListMethod_Args DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.ListMethodArgs) + private static final com.kcl.api.Spec.ListMethodArgs DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ListMethod_Args(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.ListMethodArgs(); } - public static com.kcl.api.Spec.ListMethod_Args getDefaultInstance() { + public static com.kcl.api.Spec.ListMethodArgs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public ListMethod_Args parsePartialFrom( + public ListMethodArgs parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -6479,24 +6480,24 @@ public ListMethod_Args parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.ListMethod_Args getDefaultInstanceForType() { + public com.kcl.api.Spec.ListMethodArgs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface ListMethod_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ListMethod_Result) + public interface ListMethodResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ListMethodResult) com.google.protobuf.MessageOrBuilder { /** @@ -6545,42 +6546,42 @@ public interface ListMethod_ResultOrBuilder extends * Message for list method response. * * - * Protobuf type {@code com.kcl.api.ListMethod_Result} + * Protobuf type {@code com.kcl.api.ListMethodResult} */ - public static final class ListMethod_Result extends + public static final class ListMethodResult extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ListMethod_Result) - ListMethod_ResultOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.ListMethodResult) + ListMethodResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - ListMethod_Result.class.getName()); + "ListMethodResult"); } - // Use ListMethod_Result.newBuilder() to construct. - private ListMethod_Result(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use ListMethodResult.newBuilder() to construct. + private ListMethodResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private ListMethod_Result() { + private ListMethodResult() { methodNameList_ = com.google.protobuf.LazyStringArrayList.emptyList(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethodResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethodResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ListMethod_Result.class, com.kcl.api.Spec.ListMethod_Result.Builder.class); + com.kcl.api.Spec.ListMethodResult.class, com.kcl.api.Spec.ListMethodResult.Builder.class); } public static final int METHOD_NAME_LIST_FIELD_NUMBER = 1; @@ -6680,10 +6681,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.ListMethod_Result)) { + if (!(obj instanceof com.kcl.api.Spec.ListMethodResult)) { return super.equals(obj); } - com.kcl.api.Spec.ListMethod_Result other = (com.kcl.api.Spec.ListMethod_Result) obj; + com.kcl.api.Spec.ListMethodResult other = (com.kcl.api.Spec.ListMethodResult) obj; if (!getMethodNameListList() .equals(other.getMethodNameListList())) return false; @@ -6707,44 +6708,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.ListMethod_Result parseFrom( + public static com.kcl.api.Spec.ListMethodResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListMethod_Result parseFrom( + public static com.kcl.api.Spec.ListMethodResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListMethod_Result parseFrom( + public static com.kcl.api.Spec.ListMethodResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListMethod_Result parseFrom( + public static com.kcl.api.Spec.ListMethodResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListMethod_Result parseFrom(byte[] data) + public static com.kcl.api.Spec.ListMethodResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListMethod_Result parseFrom( + public static com.kcl.api.Spec.ListMethodResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListMethod_Result parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ListMethodResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListMethod_Result parseFrom( + public static com.kcl.api.Spec.ListMethodResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -6752,26 +6753,26 @@ public static com.kcl.api.Spec.ListMethod_Result parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ListMethod_Result parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ListMethodResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListMethod_Result parseDelimitedFrom( + public static com.kcl.api.Spec.ListMethodResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ListMethod_Result parseFrom( + public static com.kcl.api.Spec.ListMethodResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListMethod_Result parseFrom( + public static com.kcl.api.Spec.ListMethodResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -6784,7 +6785,7 @@ public static com.kcl.api.Spec.ListMethod_Result parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.ListMethod_Result prototype) { + public static Builder newBuilder(com.kcl.api.Spec.ListMethodResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -6804,26 +6805,26 @@ protected Builder newBuilderForType( * Message for list method response. * * - * Protobuf type {@code com.kcl.api.ListMethod_Result} + * Protobuf type {@code com.kcl.api.ListMethodResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ListMethod_Result) - com.kcl.api.Spec.ListMethod_ResultOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.ListMethodResult) + com.kcl.api.Spec.ListMethodResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethodResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethodResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ListMethod_Result.class, com.kcl.api.Spec.ListMethod_Result.Builder.class); + com.kcl.api.Spec.ListMethodResult.class, com.kcl.api.Spec.ListMethodResult.Builder.class); } - // Construct using com.kcl.api.Spec.ListMethod_Result.newBuilder() + // Construct using com.kcl.api.Spec.ListMethodResult.newBuilder() private Builder() { } @@ -6845,17 +6846,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethod_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListMethodResult_descriptor; } @java.lang.Override - public com.kcl.api.Spec.ListMethod_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ListMethod_Result.getDefaultInstance(); + public com.kcl.api.Spec.ListMethodResult getDefaultInstanceForType() { + return com.kcl.api.Spec.ListMethodResult.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.ListMethod_Result build() { - com.kcl.api.Spec.ListMethod_Result result = buildPartial(); + public com.kcl.api.Spec.ListMethodResult build() { + com.kcl.api.Spec.ListMethodResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -6863,14 +6864,14 @@ public com.kcl.api.Spec.ListMethod_Result build() { } @java.lang.Override - public com.kcl.api.Spec.ListMethod_Result buildPartial() { - com.kcl.api.Spec.ListMethod_Result result = new com.kcl.api.Spec.ListMethod_Result(this); + public com.kcl.api.Spec.ListMethodResult buildPartial() { + com.kcl.api.Spec.ListMethodResult result = new com.kcl.api.Spec.ListMethodResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.ListMethod_Result result) { + private void buildPartial0(com.kcl.api.Spec.ListMethodResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { methodNameList_.makeImmutable(); @@ -6880,16 +6881,16 @@ private void buildPartial0(com.kcl.api.Spec.ListMethod_Result result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ListMethod_Result) { - return mergeFrom((com.kcl.api.Spec.ListMethod_Result)other); + if (other instanceof com.kcl.api.Spec.ListMethodResult) { + return mergeFrom((com.kcl.api.Spec.ListMethodResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.ListMethod_Result other) { - if (other == com.kcl.api.Spec.ListMethod_Result.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.ListMethodResult other) { + if (other == com.kcl.api.Spec.ListMethodResult.getDefaultInstance()) return this; if (!other.methodNameList_.isEmpty()) { if (methodNameList_.isEmpty()) { methodNameList_ = other.methodNameList_; @@ -7096,23 +7097,23 @@ public Builder addMethodNameListBytes( return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.ListMethod_Result) + // @@protoc_insertion_point(builder_scope:com.kcl.api.ListMethodResult) } - // @@protoc_insertion_point(class_scope:com.kcl.api.ListMethod_Result) - private static final com.kcl.api.Spec.ListMethod_Result DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.ListMethodResult) + private static final com.kcl.api.Spec.ListMethodResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ListMethod_Result(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.ListMethodResult(); } - public static com.kcl.api.Spec.ListMethod_Result getDefaultInstance() { + public static com.kcl.api.Spec.ListMethodResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public ListMethod_Result parsePartialFrom( + public ListMethodResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -7131,24 +7132,24 @@ public ListMethod_Result parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.ListMethod_Result getDefaultInstanceForType() { + public com.kcl.api.Spec.ListMethodResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface ParseFile_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseFile_Args) + public interface ParseFileArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseFileArgs) com.google.protobuf.MessageOrBuilder { /** @@ -7240,27 +7241,27 @@ com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder( * Message for parse file request arguments. * * - * Protobuf type {@code com.kcl.api.ParseFile_Args} + * Protobuf type {@code com.kcl.api.ParseFileArgs} */ - public static final class ParseFile_Args extends + public static final class ParseFileArgs extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ParseFile_Args) - ParseFile_ArgsOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.ParseFileArgs) + ParseFileArgsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - ParseFile_Args.class.getName()); + "ParseFileArgs"); } - // Use ParseFile_Args.newBuilder() to construct. - private ParseFile_Args(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use ParseFileArgs.newBuilder() to construct. + private ParseFileArgs(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private ParseFile_Args() { + private ParseFileArgs() { path_ = ""; source_ = ""; externalPkgs_ = java.util.Collections.emptyList(); @@ -7268,15 +7269,15 @@ private ParseFile_Args() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFileArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFileArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ParseFile_Args.class, com.kcl.api.Spec.ParseFile_Args.Builder.class); + com.kcl.api.Spec.ParseFileArgs.class, com.kcl.api.Spec.ParseFileArgs.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; @@ -7486,10 +7487,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.ParseFile_Args)) { + if (!(obj instanceof com.kcl.api.Spec.ParseFileArgs)) { return super.equals(obj); } - com.kcl.api.Spec.ParseFile_Args other = (com.kcl.api.Spec.ParseFile_Args) obj; + com.kcl.api.Spec.ParseFileArgs other = (com.kcl.api.Spec.ParseFileArgs) obj; if (!getPath() .equals(other.getPath())) return false; @@ -7521,44 +7522,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.ParseFile_Args parseFrom( + public static com.kcl.api.Spec.ParseFileArgs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ParseFile_Args parseFrom( + public static com.kcl.api.Spec.ParseFileArgs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ParseFile_Args parseFrom( + public static com.kcl.api.Spec.ParseFileArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ParseFile_Args parseFrom( + public static com.kcl.api.Spec.ParseFileArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ParseFile_Args parseFrom(byte[] data) + public static com.kcl.api.Spec.ParseFileArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ParseFile_Args parseFrom( + public static com.kcl.api.Spec.ParseFileArgs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ParseFile_Args parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ParseFileArgs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ParseFile_Args parseFrom( + public static com.kcl.api.Spec.ParseFileArgs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -7566,26 +7567,26 @@ public static com.kcl.api.Spec.ParseFile_Args parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ParseFile_Args parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ParseFileArgs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ParseFile_Args parseDelimitedFrom( + public static com.kcl.api.Spec.ParseFileArgs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ParseFile_Args parseFrom( + public static com.kcl.api.Spec.ParseFileArgs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ParseFile_Args parseFrom( + public static com.kcl.api.Spec.ParseFileArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -7598,7 +7599,7 @@ public static com.kcl.api.Spec.ParseFile_Args parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.ParseFile_Args prototype) { + public static Builder newBuilder(com.kcl.api.Spec.ParseFileArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -7618,26 +7619,26 @@ protected Builder newBuilderForType( * Message for parse file request arguments. * * - * Protobuf type {@code com.kcl.api.ParseFile_Args} + * Protobuf type {@code com.kcl.api.ParseFileArgs} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseFile_Args) - com.kcl.api.Spec.ParseFile_ArgsOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseFileArgs) + com.kcl.api.Spec.ParseFileArgsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFileArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFileArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ParseFile_Args.class, com.kcl.api.Spec.ParseFile_Args.Builder.class); + com.kcl.api.Spec.ParseFileArgs.class, com.kcl.api.Spec.ParseFileArgs.Builder.class); } - // Construct using com.kcl.api.Spec.ParseFile_Args.newBuilder() + // Construct using com.kcl.api.Spec.ParseFileArgs.newBuilder() private Builder() { } @@ -7666,17 +7667,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFileArgs_descriptor; } @java.lang.Override - public com.kcl.api.Spec.ParseFile_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ParseFile_Args.getDefaultInstance(); + public com.kcl.api.Spec.ParseFileArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.ParseFileArgs.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.ParseFile_Args build() { - com.kcl.api.Spec.ParseFile_Args result = buildPartial(); + public com.kcl.api.Spec.ParseFileArgs build() { + com.kcl.api.Spec.ParseFileArgs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -7684,15 +7685,15 @@ public com.kcl.api.Spec.ParseFile_Args build() { } @java.lang.Override - public com.kcl.api.Spec.ParseFile_Args buildPartial() { - com.kcl.api.Spec.ParseFile_Args result = new com.kcl.api.Spec.ParseFile_Args(this); + public com.kcl.api.Spec.ParseFileArgs buildPartial() { + com.kcl.api.Spec.ParseFileArgs result = new com.kcl.api.Spec.ParseFileArgs(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseFile_Args result) { + private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseFileArgs result) { if (externalPkgsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { externalPkgs_ = java.util.Collections.unmodifiableList(externalPkgs_); @@ -7704,7 +7705,7 @@ private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseFile_Args result) } } - private void buildPartial0(com.kcl.api.Spec.ParseFile_Args result) { + private void buildPartial0(com.kcl.api.Spec.ParseFileArgs result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.path_ = path_; @@ -7716,16 +7717,16 @@ private void buildPartial0(com.kcl.api.Spec.ParseFile_Args result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ParseFile_Args) { - return mergeFrom((com.kcl.api.Spec.ParseFile_Args)other); + if (other instanceof com.kcl.api.Spec.ParseFileArgs) { + return mergeFrom((com.kcl.api.Spec.ParseFileArgs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.ParseFile_Args other) { - if (other == com.kcl.api.Spec.ParseFile_Args.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.ParseFileArgs other) { + if (other == com.kcl.api.Spec.ParseFileArgs.getDefaultInstance()) return this; if (!other.getPath().isEmpty()) { path_ = other.path_; bitField0_ |= 0x00000001; @@ -7756,7 +7757,7 @@ public Builder mergeFrom(com.kcl.api.Spec.ParseFile_Args other) { bitField0_ = (bitField0_ & ~0x00000004); externalPkgsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getExternalPkgsFieldBuilder() : null; + internalGetExternalPkgsFieldBuilder() : null; } else { externalPkgsBuilder_.addAllMessages(other.externalPkgs_); } @@ -8244,7 +8245,7 @@ public Builder removeExternalPkgs(int index) { */ public com.kcl.api.Spec.ExternalPkg.Builder getExternalPkgsBuilder( int index) { - return getExternalPkgsFieldBuilder().getBuilder(index); + return internalGetExternalPkgsFieldBuilder().getBuilder(index); } /** *
@@ -8283,7 +8284,7 @@ public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder(
        * repeated .com.kcl.api.ExternalPkg external_pkgs = 3;
        */
       public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder() {
-        return getExternalPkgsFieldBuilder().addBuilder(
+        return internalGetExternalPkgsFieldBuilder().addBuilder(
             com.kcl.api.Spec.ExternalPkg.getDefaultInstance());
       }
       /**
@@ -8295,7 +8296,7 @@ public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder() {
        */
       public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder(
           int index) {
-        return getExternalPkgsFieldBuilder().addBuilder(
+        return internalGetExternalPkgsFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.ExternalPkg.getDefaultInstance());
       }
       /**
@@ -8307,11 +8308,11 @@ public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder(
        */
       public java.util.List 
            getExternalPkgsBuilderList() {
-        return getExternalPkgsFieldBuilder().getBuilderList();
+        return internalGetExternalPkgsFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder> 
-          getExternalPkgsFieldBuilder() {
+          internalGetExternalPkgsFieldBuilder() {
         if (externalPkgsBuilder_ == null) {
           externalPkgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder>(
@@ -8324,23 +8325,23 @@ public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder(
         return externalPkgsBuilder_;
       }
 
-      // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseFile_Args)
+      // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseFileArgs)
     }
 
-    // @@protoc_insertion_point(class_scope:com.kcl.api.ParseFile_Args)
-    private static final com.kcl.api.Spec.ParseFile_Args DEFAULT_INSTANCE;
+    // @@protoc_insertion_point(class_scope:com.kcl.api.ParseFileArgs)
+    private static final com.kcl.api.Spec.ParseFileArgs DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseFile_Args();
+      DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseFileArgs();
     }
 
-    public static com.kcl.api.Spec.ParseFile_Args getDefaultInstance() {
+    public static com.kcl.api.Spec.ParseFileArgs getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
       @java.lang.Override
-      public ParseFile_Args parsePartialFrom(
+      public ParseFileArgs parsePartialFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
@@ -8359,24 +8360,24 @@ public ParseFile_Args parsePartialFrom(
       }
     };
 
-    public static com.google.protobuf.Parser parser() {
+    public static com.google.protobuf.Parser parser() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Parser getParserForType() {
+    public com.google.protobuf.Parser getParserForType() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.kcl.api.Spec.ParseFile_Args getDefaultInstanceForType() {
+    public com.kcl.api.Spec.ParseFileArgs getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
   }
 
-  public interface ParseFile_ResultOrBuilder extends
-      // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseFile_Result)
+  public interface ParseFileResultOrBuilder extends
+      // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseFileResult)
       com.google.protobuf.MessageOrBuilder {
 
     /**
@@ -8489,27 +8490,27 @@ com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder(
    * Message for parse file response.
    * 
* - * Protobuf type {@code com.kcl.api.ParseFile_Result} + * Protobuf type {@code com.kcl.api.ParseFileResult} */ - public static final class ParseFile_Result extends + public static final class ParseFileResult extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ParseFile_Result) - ParseFile_ResultOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.ParseFileResult) + ParseFileResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - ParseFile_Result.class.getName()); + "ParseFileResult"); } - // Use ParseFile_Result.newBuilder() to construct. - private ParseFile_Result(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use ParseFileResult.newBuilder() to construct. + private ParseFileResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private ParseFile_Result() { + private ParseFileResult() { astJson_ = ""; deps_ = com.google.protobuf.LazyStringArrayList.emptyList(); @@ -8518,15 +8519,15 @@ private ParseFile_Result() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFileResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFileResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ParseFile_Result.class, com.kcl.api.Spec.ParseFile_Result.Builder.class); + com.kcl.api.Spec.ParseFileResult.class, com.kcl.api.Spec.ParseFileResult.Builder.class); } public static final int AST_JSON_FIELD_NUMBER = 1; @@ -8747,10 +8748,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.ParseFile_Result)) { + if (!(obj instanceof com.kcl.api.Spec.ParseFileResult)) { return super.equals(obj); } - com.kcl.api.Spec.ParseFile_Result other = (com.kcl.api.Spec.ParseFile_Result) obj; + com.kcl.api.Spec.ParseFileResult other = (com.kcl.api.Spec.ParseFileResult) obj; if (!getAstJson() .equals(other.getAstJson())) return false; @@ -8784,44 +8785,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.ParseFile_Result parseFrom( + public static com.kcl.api.Spec.ParseFileResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ParseFile_Result parseFrom( + public static com.kcl.api.Spec.ParseFileResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ParseFile_Result parseFrom( + public static com.kcl.api.Spec.ParseFileResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ParseFile_Result parseFrom( + public static com.kcl.api.Spec.ParseFileResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ParseFile_Result parseFrom(byte[] data) + public static com.kcl.api.Spec.ParseFileResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ParseFile_Result parseFrom( + public static com.kcl.api.Spec.ParseFileResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ParseFile_Result parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ParseFileResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ParseFile_Result parseFrom( + public static com.kcl.api.Spec.ParseFileResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -8829,26 +8830,26 @@ public static com.kcl.api.Spec.ParseFile_Result parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ParseFile_Result parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ParseFileResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ParseFile_Result parseDelimitedFrom( + public static com.kcl.api.Spec.ParseFileResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ParseFile_Result parseFrom( + public static com.kcl.api.Spec.ParseFileResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ParseFile_Result parseFrom( + public static com.kcl.api.Spec.ParseFileResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -8861,7 +8862,7 @@ public static com.kcl.api.Spec.ParseFile_Result parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.ParseFile_Result prototype) { + public static Builder newBuilder(com.kcl.api.Spec.ParseFileResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -8881,26 +8882,26 @@ protected Builder newBuilderForType( * Message for parse file response. * * - * Protobuf type {@code com.kcl.api.ParseFile_Result} + * Protobuf type {@code com.kcl.api.ParseFileResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseFile_Result) - com.kcl.api.Spec.ParseFile_ResultOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseFileResult) + com.kcl.api.Spec.ParseFileResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFileResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFileResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ParseFile_Result.class, com.kcl.api.Spec.ParseFile_Result.Builder.class); + com.kcl.api.Spec.ParseFileResult.class, com.kcl.api.Spec.ParseFileResult.Builder.class); } - // Construct using com.kcl.api.Spec.ParseFile_Result.newBuilder() + // Construct using com.kcl.api.Spec.ParseFileResult.newBuilder() private Builder() { } @@ -8930,17 +8931,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFile_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseFileResult_descriptor; } @java.lang.Override - public com.kcl.api.Spec.ParseFile_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ParseFile_Result.getDefaultInstance(); + public com.kcl.api.Spec.ParseFileResult getDefaultInstanceForType() { + return com.kcl.api.Spec.ParseFileResult.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.ParseFile_Result build() { - com.kcl.api.Spec.ParseFile_Result result = buildPartial(); + public com.kcl.api.Spec.ParseFileResult build() { + com.kcl.api.Spec.ParseFileResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -8948,15 +8949,15 @@ public com.kcl.api.Spec.ParseFile_Result build() { } @java.lang.Override - public com.kcl.api.Spec.ParseFile_Result buildPartial() { - com.kcl.api.Spec.ParseFile_Result result = new com.kcl.api.Spec.ParseFile_Result(this); + public com.kcl.api.Spec.ParseFileResult buildPartial() { + com.kcl.api.Spec.ParseFileResult result = new com.kcl.api.Spec.ParseFileResult(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseFile_Result result) { + private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseFileResult result) { if (errorsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { errors_ = java.util.Collections.unmodifiableList(errors_); @@ -8968,7 +8969,7 @@ private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseFile_Result result } } - private void buildPartial0(com.kcl.api.Spec.ParseFile_Result result) { + private void buildPartial0(com.kcl.api.Spec.ParseFileResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.astJson_ = astJson_; @@ -8981,16 +8982,16 @@ private void buildPartial0(com.kcl.api.Spec.ParseFile_Result result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ParseFile_Result) { - return mergeFrom((com.kcl.api.Spec.ParseFile_Result)other); + if (other instanceof com.kcl.api.Spec.ParseFileResult) { + return mergeFrom((com.kcl.api.Spec.ParseFileResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.ParseFile_Result other) { - if (other == com.kcl.api.Spec.ParseFile_Result.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.ParseFileResult other) { + if (other == com.kcl.api.Spec.ParseFileResult.getDefaultInstance()) return this; if (!other.getAstJson().isEmpty()) { astJson_ = other.astJson_; bitField0_ |= 0x00000001; @@ -9026,7 +9027,7 @@ public Builder mergeFrom(com.kcl.api.Spec.ParseFile_Result other) { bitField0_ = (bitField0_ & ~0x00000004); errorsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + internalGetErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -9570,7 +9571,7 @@ public Builder removeErrors(int index) { */ public com.kcl.api.Spec.Error.Builder getErrorsBuilder( int index) { - return getErrorsFieldBuilder().getBuilder(index); + return internalGetErrorsFieldBuilder().getBuilder(index); } /** *
@@ -9609,7 +9610,7 @@ public com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder(
        * repeated .com.kcl.api.Error errors = 3;
        */
       public com.kcl.api.Spec.Error.Builder addErrorsBuilder() {
-        return getErrorsFieldBuilder().addBuilder(
+        return internalGetErrorsFieldBuilder().addBuilder(
             com.kcl.api.Spec.Error.getDefaultInstance());
       }
       /**
@@ -9621,7 +9622,7 @@ public com.kcl.api.Spec.Error.Builder addErrorsBuilder() {
        */
       public com.kcl.api.Spec.Error.Builder addErrorsBuilder(
           int index) {
-        return getErrorsFieldBuilder().addBuilder(
+        return internalGetErrorsFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.Error.getDefaultInstance());
       }
       /**
@@ -9633,11 +9634,11 @@ public com.kcl.api.Spec.Error.Builder addErrorsBuilder(
        */
       public java.util.List 
            getErrorsBuilderList() {
-        return getErrorsFieldBuilder().getBuilderList();
+        return internalGetErrorsFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> 
-          getErrorsFieldBuilder() {
+          internalGetErrorsFieldBuilder() {
         if (errorsBuilder_ == null) {
           errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder>(
@@ -9650,23 +9651,23 @@ public com.kcl.api.Spec.Error.Builder addErrorsBuilder(
         return errorsBuilder_;
       }
 
-      // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseFile_Result)
+      // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseFileResult)
     }
 
-    // @@protoc_insertion_point(class_scope:com.kcl.api.ParseFile_Result)
-    private static final com.kcl.api.Spec.ParseFile_Result DEFAULT_INSTANCE;
+    // @@protoc_insertion_point(class_scope:com.kcl.api.ParseFileResult)
+    private static final com.kcl.api.Spec.ParseFileResult DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseFile_Result();
+      DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseFileResult();
     }
 
-    public static com.kcl.api.Spec.ParseFile_Result getDefaultInstance() {
+    public static com.kcl.api.Spec.ParseFileResult getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
       @java.lang.Override
-      public ParseFile_Result parsePartialFrom(
+      public ParseFileResult parsePartialFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
@@ -9685,24 +9686,24 @@ public ParseFile_Result parsePartialFrom(
       }
     };
 
-    public static com.google.protobuf.Parser parser() {
+    public static com.google.protobuf.Parser parser() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Parser getParserForType() {
+    public com.google.protobuf.Parser getParserForType() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.kcl.api.Spec.ParseFile_Result getDefaultInstanceForType() {
+    public com.kcl.api.Spec.ParseFileResult getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
   }
 
-  public interface ParseProgram_ArgsOrBuilder extends
-      // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseProgram_Args)
+  public interface ParseProgramArgsOrBuilder extends
+      // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseProgramArgs)
       com.google.protobuf.MessageOrBuilder {
 
     /**
@@ -9836,27 +9837,27 @@ com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder(
    * Message for parse program request arguments.
    * 
* - * Protobuf type {@code com.kcl.api.ParseProgram_Args} + * Protobuf type {@code com.kcl.api.ParseProgramArgs} */ - public static final class ParseProgram_Args extends + public static final class ParseProgramArgs extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ParseProgram_Args) - ParseProgram_ArgsOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.ParseProgramArgs) + ParseProgramArgsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - ParseProgram_Args.class.getName()); + "ParseProgramArgs"); } - // Use ParseProgram_Args.newBuilder() to construct. - private ParseProgram_Args(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use ParseProgramArgs.newBuilder() to construct. + private ParseProgramArgs(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private ParseProgram_Args() { + private ParseProgramArgs() { paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); sources_ = @@ -9866,15 +9867,15 @@ private ParseProgram_Args() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgramArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgramArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ParseProgram_Args.class, com.kcl.api.Spec.ParseProgram_Args.Builder.class); + com.kcl.api.Spec.ParseProgramArgs.class, com.kcl.api.Spec.ParseProgramArgs.Builder.class); } public static final int PATHS_FIELD_NUMBER = 1; @@ -10106,10 +10107,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.ParseProgram_Args)) { + if (!(obj instanceof com.kcl.api.Spec.ParseProgramArgs)) { return super.equals(obj); } - com.kcl.api.Spec.ParseProgram_Args other = (com.kcl.api.Spec.ParseProgram_Args) obj; + com.kcl.api.Spec.ParseProgramArgs other = (com.kcl.api.Spec.ParseProgramArgs) obj; if (!getPathsList() .equals(other.getPathsList())) return false; @@ -10145,44 +10146,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.ParseProgram_Args parseFrom( + public static com.kcl.api.Spec.ParseProgramArgs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ParseProgram_Args parseFrom( + public static com.kcl.api.Spec.ParseProgramArgs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ParseProgram_Args parseFrom( + public static com.kcl.api.Spec.ParseProgramArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ParseProgram_Args parseFrom( + public static com.kcl.api.Spec.ParseProgramArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ParseProgram_Args parseFrom(byte[] data) + public static com.kcl.api.Spec.ParseProgramArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ParseProgram_Args parseFrom( + public static com.kcl.api.Spec.ParseProgramArgs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ParseProgram_Args parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ParseProgramArgs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ParseProgram_Args parseFrom( + public static com.kcl.api.Spec.ParseProgramArgs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -10190,26 +10191,26 @@ public static com.kcl.api.Spec.ParseProgram_Args parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ParseProgram_Args parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ParseProgramArgs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ParseProgram_Args parseDelimitedFrom( + public static com.kcl.api.Spec.ParseProgramArgs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ParseProgram_Args parseFrom( + public static com.kcl.api.Spec.ParseProgramArgs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ParseProgram_Args parseFrom( + public static com.kcl.api.Spec.ParseProgramArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -10222,7 +10223,7 @@ public static com.kcl.api.Spec.ParseProgram_Args parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.ParseProgram_Args prototype) { + public static Builder newBuilder(com.kcl.api.Spec.ParseProgramArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -10242,26 +10243,26 @@ protected Builder newBuilderForType( * Message for parse program request arguments. * * - * Protobuf type {@code com.kcl.api.ParseProgram_Args} + * Protobuf type {@code com.kcl.api.ParseProgramArgs} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseProgram_Args) - com.kcl.api.Spec.ParseProgram_ArgsOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseProgramArgs) + com.kcl.api.Spec.ParseProgramArgsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgramArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgramArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ParseProgram_Args.class, com.kcl.api.Spec.ParseProgram_Args.Builder.class); + com.kcl.api.Spec.ParseProgramArgs.class, com.kcl.api.Spec.ParseProgramArgs.Builder.class); } - // Construct using com.kcl.api.Spec.ParseProgram_Args.newBuilder() + // Construct using com.kcl.api.Spec.ParseProgramArgs.newBuilder() private Builder() { } @@ -10292,17 +10293,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgramArgs_descriptor; } @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance(); + public com.kcl.api.Spec.ParseProgramArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.ParseProgramArgs.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Args build() { - com.kcl.api.Spec.ParseProgram_Args result = buildPartial(); + public com.kcl.api.Spec.ParseProgramArgs build() { + com.kcl.api.Spec.ParseProgramArgs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -10310,15 +10311,15 @@ public com.kcl.api.Spec.ParseProgram_Args build() { } @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Args buildPartial() { - com.kcl.api.Spec.ParseProgram_Args result = new com.kcl.api.Spec.ParseProgram_Args(this); + public com.kcl.api.Spec.ParseProgramArgs buildPartial() { + com.kcl.api.Spec.ParseProgramArgs result = new com.kcl.api.Spec.ParseProgramArgs(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseProgram_Args result) { + private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseProgramArgs result) { if (externalPkgsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { externalPkgs_ = java.util.Collections.unmodifiableList(externalPkgs_); @@ -10330,7 +10331,7 @@ private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseProgram_Args resul } } - private void buildPartial0(com.kcl.api.Spec.ParseProgram_Args result) { + private void buildPartial0(com.kcl.api.Spec.ParseProgramArgs result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { paths_.makeImmutable(); @@ -10344,16 +10345,16 @@ private void buildPartial0(com.kcl.api.Spec.ParseProgram_Args result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ParseProgram_Args) { - return mergeFrom((com.kcl.api.Spec.ParseProgram_Args)other); + if (other instanceof com.kcl.api.Spec.ParseProgramArgs) { + return mergeFrom((com.kcl.api.Spec.ParseProgramArgs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.ParseProgram_Args other) { - if (other == com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.ParseProgramArgs other) { + if (other == com.kcl.api.Spec.ParseProgramArgs.getDefaultInstance()) return this; if (!other.paths_.isEmpty()) { if (paths_.isEmpty()) { paths_ = other.paths_; @@ -10394,7 +10395,7 @@ public Builder mergeFrom(com.kcl.api.Spec.ParseProgram_Args other) { bitField0_ = (bitField0_ & ~0x00000004); externalPkgsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getExternalPkgsFieldBuilder() : null; + internalGetExternalPkgsFieldBuilder() : null; } else { externalPkgsBuilder_.addAllMessages(other.externalPkgs_); } @@ -10994,7 +10995,7 @@ public Builder removeExternalPkgs(int index) { */ public com.kcl.api.Spec.ExternalPkg.Builder getExternalPkgsBuilder( int index) { - return getExternalPkgsFieldBuilder().getBuilder(index); + return internalGetExternalPkgsFieldBuilder().getBuilder(index); } /** *
@@ -11033,7 +11034,7 @@ public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder(
        * repeated .com.kcl.api.ExternalPkg external_pkgs = 3;
        */
       public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder() {
-        return getExternalPkgsFieldBuilder().addBuilder(
+        return internalGetExternalPkgsFieldBuilder().addBuilder(
             com.kcl.api.Spec.ExternalPkg.getDefaultInstance());
       }
       /**
@@ -11045,7 +11046,7 @@ public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder() {
        */
       public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder(
           int index) {
-        return getExternalPkgsFieldBuilder().addBuilder(
+        return internalGetExternalPkgsFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.ExternalPkg.getDefaultInstance());
       }
       /**
@@ -11057,11 +11058,11 @@ public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder(
        */
       public java.util.List 
            getExternalPkgsBuilderList() {
-        return getExternalPkgsFieldBuilder().getBuilderList();
+        return internalGetExternalPkgsFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder> 
-          getExternalPkgsFieldBuilder() {
+          internalGetExternalPkgsFieldBuilder() {
         if (externalPkgsBuilder_ == null) {
           externalPkgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder>(
@@ -11074,23 +11075,23 @@ public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder(
         return externalPkgsBuilder_;
       }
 
-      // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseProgram_Args)
+      // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseProgramArgs)
     }
 
-    // @@protoc_insertion_point(class_scope:com.kcl.api.ParseProgram_Args)
-    private static final com.kcl.api.Spec.ParseProgram_Args DEFAULT_INSTANCE;
+    // @@protoc_insertion_point(class_scope:com.kcl.api.ParseProgramArgs)
+    private static final com.kcl.api.Spec.ParseProgramArgs DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseProgram_Args();
+      DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseProgramArgs();
     }
 
-    public static com.kcl.api.Spec.ParseProgram_Args getDefaultInstance() {
+    public static com.kcl.api.Spec.ParseProgramArgs getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
       @java.lang.Override
-      public ParseProgram_Args parsePartialFrom(
+      public ParseProgramArgs parsePartialFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
@@ -11109,24 +11110,24 @@ public ParseProgram_Args parsePartialFrom(
       }
     };
 
-    public static com.google.protobuf.Parser parser() {
+    public static com.google.protobuf.Parser parser() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Parser getParserForType() {
+    public com.google.protobuf.Parser getParserForType() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.kcl.api.Spec.ParseProgram_Args getDefaultInstanceForType() {
+    public com.kcl.api.Spec.ParseProgramArgs getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
   }
 
-  public interface ParseProgram_ResultOrBuilder extends
-      // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseProgram_Result)
+  public interface ParseProgramResultOrBuilder extends
+      // @@protoc_insertion_point(interface_extends:com.kcl.api.ParseProgramResult)
       com.google.protobuf.MessageOrBuilder {
 
     /**
@@ -11239,27 +11240,27 @@ com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder(
    * Message for parse program response.
    * 
* - * Protobuf type {@code com.kcl.api.ParseProgram_Result} + * Protobuf type {@code com.kcl.api.ParseProgramResult} */ - public static final class ParseProgram_Result extends + public static final class ParseProgramResult extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ParseProgram_Result) - ParseProgram_ResultOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.ParseProgramResult) + ParseProgramResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - ParseProgram_Result.class.getName()); + "ParseProgramResult"); } - // Use ParseProgram_Result.newBuilder() to construct. - private ParseProgram_Result(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use ParseProgramResult.newBuilder() to construct. + private ParseProgramResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private ParseProgram_Result() { + private ParseProgramResult() { astJson_ = ""; paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); @@ -11268,15 +11269,15 @@ private ParseProgram_Result() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgramResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgramResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ParseProgram_Result.class, com.kcl.api.Spec.ParseProgram_Result.Builder.class); + com.kcl.api.Spec.ParseProgramResult.class, com.kcl.api.Spec.ParseProgramResult.Builder.class); } public static final int AST_JSON_FIELD_NUMBER = 1; @@ -11497,10 +11498,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.ParseProgram_Result)) { + if (!(obj instanceof com.kcl.api.Spec.ParseProgramResult)) { return super.equals(obj); } - com.kcl.api.Spec.ParseProgram_Result other = (com.kcl.api.Spec.ParseProgram_Result) obj; + com.kcl.api.Spec.ParseProgramResult other = (com.kcl.api.Spec.ParseProgramResult) obj; if (!getAstJson() .equals(other.getAstJson())) return false; @@ -11534,44 +11535,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.ParseProgram_Result parseFrom( + public static com.kcl.api.Spec.ParseProgramResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ParseProgram_Result parseFrom( + public static com.kcl.api.Spec.ParseProgramResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ParseProgram_Result parseFrom( + public static com.kcl.api.Spec.ParseProgramResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ParseProgram_Result parseFrom( + public static com.kcl.api.Spec.ParseProgramResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ParseProgram_Result parseFrom(byte[] data) + public static com.kcl.api.Spec.ParseProgramResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ParseProgram_Result parseFrom( + public static com.kcl.api.Spec.ParseProgramResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ParseProgram_Result parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ParseProgramResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ParseProgram_Result parseFrom( + public static com.kcl.api.Spec.ParseProgramResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -11579,26 +11580,26 @@ public static com.kcl.api.Spec.ParseProgram_Result parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ParseProgram_Result parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ParseProgramResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ParseProgram_Result parseDelimitedFrom( + public static com.kcl.api.Spec.ParseProgramResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ParseProgram_Result parseFrom( + public static com.kcl.api.Spec.ParseProgramResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ParseProgram_Result parseFrom( + public static com.kcl.api.Spec.ParseProgramResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -11611,7 +11612,7 @@ public static com.kcl.api.Spec.ParseProgram_Result parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.ParseProgram_Result prototype) { + public static Builder newBuilder(com.kcl.api.Spec.ParseProgramResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -11631,26 +11632,26 @@ protected Builder newBuilderForType( * Message for parse program response. * * - * Protobuf type {@code com.kcl.api.ParseProgram_Result} + * Protobuf type {@code com.kcl.api.ParseProgramResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseProgram_Result) - com.kcl.api.Spec.ParseProgram_ResultOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.ParseProgramResult) + com.kcl.api.Spec.ParseProgramResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgramResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgramResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ParseProgram_Result.class, com.kcl.api.Spec.ParseProgram_Result.Builder.class); + com.kcl.api.Spec.ParseProgramResult.class, com.kcl.api.Spec.ParseProgramResult.Builder.class); } - // Construct using com.kcl.api.Spec.ParseProgram_Result.newBuilder() + // Construct using com.kcl.api.Spec.ParseProgramResult.newBuilder() private Builder() { } @@ -11680,17 +11681,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgram_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ParseProgramResult_descriptor; } @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ParseProgram_Result.getDefaultInstance(); + public com.kcl.api.Spec.ParseProgramResult getDefaultInstanceForType() { + return com.kcl.api.Spec.ParseProgramResult.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Result build() { - com.kcl.api.Spec.ParseProgram_Result result = buildPartial(); + public com.kcl.api.Spec.ParseProgramResult build() { + com.kcl.api.Spec.ParseProgramResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -11698,15 +11699,15 @@ public com.kcl.api.Spec.ParseProgram_Result build() { } @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Result buildPartial() { - com.kcl.api.Spec.ParseProgram_Result result = new com.kcl.api.Spec.ParseProgram_Result(this); + public com.kcl.api.Spec.ParseProgramResult buildPartial() { + com.kcl.api.Spec.ParseProgramResult result = new com.kcl.api.Spec.ParseProgramResult(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseProgram_Result result) { + private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseProgramResult result) { if (errorsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { errors_ = java.util.Collections.unmodifiableList(errors_); @@ -11718,7 +11719,7 @@ private void buildPartialRepeatedFields(com.kcl.api.Spec.ParseProgram_Result res } } - private void buildPartial0(com.kcl.api.Spec.ParseProgram_Result result) { + private void buildPartial0(com.kcl.api.Spec.ParseProgramResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.astJson_ = astJson_; @@ -11731,16 +11732,16 @@ private void buildPartial0(com.kcl.api.Spec.ParseProgram_Result result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ParseProgram_Result) { - return mergeFrom((com.kcl.api.Spec.ParseProgram_Result)other); + if (other instanceof com.kcl.api.Spec.ParseProgramResult) { + return mergeFrom((com.kcl.api.Spec.ParseProgramResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.ParseProgram_Result other) { - if (other == com.kcl.api.Spec.ParseProgram_Result.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.ParseProgramResult other) { + if (other == com.kcl.api.Spec.ParseProgramResult.getDefaultInstance()) return this; if (!other.getAstJson().isEmpty()) { astJson_ = other.astJson_; bitField0_ |= 0x00000001; @@ -11776,7 +11777,7 @@ public Builder mergeFrom(com.kcl.api.Spec.ParseProgram_Result other) { bitField0_ = (bitField0_ & ~0x00000004); errorsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + internalGetErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -12320,7 +12321,7 @@ public Builder removeErrors(int index) { */ public com.kcl.api.Spec.Error.Builder getErrorsBuilder( int index) { - return getErrorsFieldBuilder().getBuilder(index); + return internalGetErrorsFieldBuilder().getBuilder(index); } /** *
@@ -12359,7 +12360,7 @@ public com.kcl.api.Spec.ErrorOrBuilder getErrorsOrBuilder(
        * repeated .com.kcl.api.Error errors = 3;
        */
       public com.kcl.api.Spec.Error.Builder addErrorsBuilder() {
-        return getErrorsFieldBuilder().addBuilder(
+        return internalGetErrorsFieldBuilder().addBuilder(
             com.kcl.api.Spec.Error.getDefaultInstance());
       }
       /**
@@ -12371,7 +12372,7 @@ public com.kcl.api.Spec.Error.Builder addErrorsBuilder() {
        */
       public com.kcl.api.Spec.Error.Builder addErrorsBuilder(
           int index) {
-        return getErrorsFieldBuilder().addBuilder(
+        return internalGetErrorsFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.Error.getDefaultInstance());
       }
       /**
@@ -12383,11 +12384,11 @@ public com.kcl.api.Spec.Error.Builder addErrorsBuilder(
        */
       public java.util.List 
            getErrorsBuilderList() {
-        return getErrorsFieldBuilder().getBuilderList();
+        return internalGetErrorsFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> 
-          getErrorsFieldBuilder() {
+          internalGetErrorsFieldBuilder() {
         if (errorsBuilder_ == null) {
           errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder>(
@@ -12400,23 +12401,23 @@ public com.kcl.api.Spec.Error.Builder addErrorsBuilder(
         return errorsBuilder_;
       }
 
-      // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseProgram_Result)
+      // @@protoc_insertion_point(builder_scope:com.kcl.api.ParseProgramResult)
     }
 
-    // @@protoc_insertion_point(class_scope:com.kcl.api.ParseProgram_Result)
-    private static final com.kcl.api.Spec.ParseProgram_Result DEFAULT_INSTANCE;
+    // @@protoc_insertion_point(class_scope:com.kcl.api.ParseProgramResult)
+    private static final com.kcl.api.Spec.ParseProgramResult DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseProgram_Result();
+      DEFAULT_INSTANCE = new com.kcl.api.Spec.ParseProgramResult();
     }
 
-    public static com.kcl.api.Spec.ParseProgram_Result getDefaultInstance() {
+    public static com.kcl.api.Spec.ParseProgramResult getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
       @java.lang.Override
-      public ParseProgram_Result parsePartialFrom(
+      public ParseProgramResult parsePartialFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
@@ -12435,24 +12436,24 @@ public ParseProgram_Result parsePartialFrom(
       }
     };
 
-    public static com.google.protobuf.Parser parser() {
+    public static com.google.protobuf.Parser parser() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Parser getParserForType() {
+    public com.google.protobuf.Parser getParserForType() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.kcl.api.Spec.ParseProgram_Result getDefaultInstanceForType() {
+    public com.kcl.api.Spec.ParseProgramResult getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
   }
 
-  public interface LoadPackage_ArgsOrBuilder extends
-      // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadPackage_Args)
+  public interface LoadPackageArgsOrBuilder extends
+      // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadPackageArgs)
       com.google.protobuf.MessageOrBuilder {
 
     /**
@@ -12460,7 +12461,7 @@ public interface LoadPackage_ArgsOrBuilder extends
      * Arguments for parsing the program.
      * 
* - * .com.kcl.api.ParseProgram_Args parse_args = 1; + * .com.kcl.api.ParseProgramArgs parse_args = 1; * @return Whether the parseArgs field is set. */ boolean hasParseArgs(); @@ -12469,18 +12470,18 @@ public interface LoadPackage_ArgsOrBuilder extends * Arguments for parsing the program. * * - * .com.kcl.api.ParseProgram_Args parse_args = 1; + * .com.kcl.api.ParseProgramArgs parse_args = 1; * @return The parseArgs. */ - com.kcl.api.Spec.ParseProgram_Args getParseArgs(); + com.kcl.api.Spec.ParseProgramArgs getParseArgs(); /** *
      * Arguments for parsing the program.
      * 
* - * .com.kcl.api.ParseProgram_Args parse_args = 1; + * .com.kcl.api.ParseProgramArgs parse_args = 1; */ - com.kcl.api.Spec.ParseProgram_ArgsOrBuilder getParseArgsOrBuilder(); + com.kcl.api.Spec.ParseProgramArgsOrBuilder getParseArgsOrBuilder(); /** *
@@ -12517,51 +12518,51 @@ public interface LoadPackage_ArgsOrBuilder extends
    * Message for load package request arguments.
    * 
* - * Protobuf type {@code com.kcl.api.LoadPackage_Args} + * Protobuf type {@code com.kcl.api.LoadPackageArgs} */ - public static final class LoadPackage_Args extends + public static final class LoadPackageArgs extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.LoadPackage_Args) - LoadPackage_ArgsOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.LoadPackageArgs) + LoadPackageArgsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - LoadPackage_Args.class.getName()); + "LoadPackageArgs"); } - // Use LoadPackage_Args.newBuilder() to construct. - private LoadPackage_Args(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use LoadPackageArgs.newBuilder() to construct. + private LoadPackageArgs(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private LoadPackage_Args() { + private LoadPackageArgs() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.LoadPackage_Args.class, com.kcl.api.Spec.LoadPackage_Args.Builder.class); + com.kcl.api.Spec.LoadPackageArgs.class, com.kcl.api.Spec.LoadPackageArgs.Builder.class); } private int bitField0_; public static final int PARSE_ARGS_FIELD_NUMBER = 1; - private com.kcl.api.Spec.ParseProgram_Args parseArgs_; + private com.kcl.api.Spec.ParseProgramArgs parseArgs_; /** *
      * Arguments for parsing the program.
      * 
* - * .com.kcl.api.ParseProgram_Args parse_args = 1; + * .com.kcl.api.ParseProgramArgs parse_args = 1; * @return Whether the parseArgs field is set. */ @java.lang.Override @@ -12573,23 +12574,23 @@ public boolean hasParseArgs() { * Arguments for parsing the program. * * - * .com.kcl.api.ParseProgram_Args parse_args = 1; + * .com.kcl.api.ParseProgramArgs parse_args = 1; * @return The parseArgs. */ @java.lang.Override - public com.kcl.api.Spec.ParseProgram_Args getParseArgs() { - return parseArgs_ == null ? com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance() : parseArgs_; + public com.kcl.api.Spec.ParseProgramArgs getParseArgs() { + return parseArgs_ == null ? com.kcl.api.Spec.ParseProgramArgs.getDefaultInstance() : parseArgs_; } /** *
      * Arguments for parsing the program.
      * 
* - * .com.kcl.api.ParseProgram_Args parse_args = 1; + * .com.kcl.api.ParseProgramArgs parse_args = 1; */ @java.lang.Override - public com.kcl.api.Spec.ParseProgram_ArgsOrBuilder getParseArgsOrBuilder() { - return parseArgs_ == null ? com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance() : parseArgs_; + public com.kcl.api.Spec.ParseProgramArgsOrBuilder getParseArgsOrBuilder() { + return parseArgs_ == null ? com.kcl.api.Spec.ParseProgramArgs.getDefaultInstance() : parseArgs_; } public static final int RESOLVE_AST_FIELD_NUMBER = 2; @@ -12698,10 +12699,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.LoadPackage_Args)) { + if (!(obj instanceof com.kcl.api.Spec.LoadPackageArgs)) { return super.equals(obj); } - com.kcl.api.Spec.LoadPackage_Args other = (com.kcl.api.Spec.LoadPackage_Args) obj; + com.kcl.api.Spec.LoadPackageArgs other = (com.kcl.api.Spec.LoadPackageArgs) obj; if (hasParseArgs() != other.hasParseArgs()) return false; if (hasParseArgs()) { @@ -12743,44 +12744,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.LoadPackage_Args parseFrom( + public static com.kcl.api.Spec.LoadPackageArgs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.LoadPackage_Args parseFrom( + public static com.kcl.api.Spec.LoadPackageArgs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.LoadPackage_Args parseFrom( + public static com.kcl.api.Spec.LoadPackageArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.LoadPackage_Args parseFrom( + public static com.kcl.api.Spec.LoadPackageArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.LoadPackage_Args parseFrom(byte[] data) + public static com.kcl.api.Spec.LoadPackageArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.LoadPackage_Args parseFrom( + public static com.kcl.api.Spec.LoadPackageArgs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.LoadPackage_Args parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.LoadPackageArgs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.LoadPackage_Args parseFrom( + public static com.kcl.api.Spec.LoadPackageArgs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -12788,26 +12789,26 @@ public static com.kcl.api.Spec.LoadPackage_Args parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.LoadPackage_Args parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.LoadPackageArgs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.LoadPackage_Args parseDelimitedFrom( + public static com.kcl.api.Spec.LoadPackageArgs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.LoadPackage_Args parseFrom( + public static com.kcl.api.Spec.LoadPackageArgs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.LoadPackage_Args parseFrom( + public static com.kcl.api.Spec.LoadPackageArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -12820,7 +12821,7 @@ public static com.kcl.api.Spec.LoadPackage_Args parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.LoadPackage_Args prototype) { + public static Builder newBuilder(com.kcl.api.Spec.LoadPackageArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -12840,26 +12841,26 @@ protected Builder newBuilderForType( * Message for load package request arguments. * * - * Protobuf type {@code com.kcl.api.LoadPackage_Args} + * Protobuf type {@code com.kcl.api.LoadPackageArgs} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadPackage_Args) - com.kcl.api.Spec.LoadPackage_ArgsOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadPackageArgs) + com.kcl.api.Spec.LoadPackageArgsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.LoadPackage_Args.class, com.kcl.api.Spec.LoadPackage_Args.Builder.class); + com.kcl.api.Spec.LoadPackageArgs.class, com.kcl.api.Spec.LoadPackageArgs.Builder.class); } - // Construct using com.kcl.api.Spec.LoadPackage_Args.newBuilder() + // Construct using com.kcl.api.Spec.LoadPackageArgs.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -12872,7 +12873,7 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { - getParseArgsFieldBuilder(); + internalGetParseArgsFieldBuilder(); } } @java.lang.Override @@ -12893,17 +12894,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageArgs_descriptor; } @java.lang.Override - public com.kcl.api.Spec.LoadPackage_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.LoadPackage_Args.getDefaultInstance(); + public com.kcl.api.Spec.LoadPackageArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.LoadPackageArgs.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.LoadPackage_Args build() { - com.kcl.api.Spec.LoadPackage_Args result = buildPartial(); + public com.kcl.api.Spec.LoadPackageArgs build() { + com.kcl.api.Spec.LoadPackageArgs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -12911,14 +12912,14 @@ public com.kcl.api.Spec.LoadPackage_Args build() { } @java.lang.Override - public com.kcl.api.Spec.LoadPackage_Args buildPartial() { - com.kcl.api.Spec.LoadPackage_Args result = new com.kcl.api.Spec.LoadPackage_Args(this); + public com.kcl.api.Spec.LoadPackageArgs buildPartial() { + com.kcl.api.Spec.LoadPackageArgs result = new com.kcl.api.Spec.LoadPackageArgs(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.LoadPackage_Args result) { + private void buildPartial0(com.kcl.api.Spec.LoadPackageArgs result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -12941,16 +12942,16 @@ private void buildPartial0(com.kcl.api.Spec.LoadPackage_Args result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.LoadPackage_Args) { - return mergeFrom((com.kcl.api.Spec.LoadPackage_Args)other); + if (other instanceof com.kcl.api.Spec.LoadPackageArgs) { + return mergeFrom((com.kcl.api.Spec.LoadPackageArgs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.LoadPackage_Args other) { - if (other == com.kcl.api.Spec.LoadPackage_Args.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.LoadPackageArgs other) { + if (other == com.kcl.api.Spec.LoadPackageArgs.getDefaultInstance()) return this; if (other.hasParseArgs()) { mergeParseArgs(other.getParseArgs()); } @@ -12991,7 +12992,7 @@ public Builder mergeFrom( break; case 10: { input.readMessage( - getParseArgsFieldBuilder().getBuilder(), + internalGetParseArgsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; @@ -13028,15 +13029,15 @@ public Builder mergeFrom( } private int bitField0_; - private com.kcl.api.Spec.ParseProgram_Args parseArgs_; + private com.kcl.api.Spec.ParseProgramArgs parseArgs_; private com.google.protobuf.SingleFieldBuilder< - com.kcl.api.Spec.ParseProgram_Args, com.kcl.api.Spec.ParseProgram_Args.Builder, com.kcl.api.Spec.ParseProgram_ArgsOrBuilder> parseArgsBuilder_; + com.kcl.api.Spec.ParseProgramArgs, com.kcl.api.Spec.ParseProgramArgs.Builder, com.kcl.api.Spec.ParseProgramArgsOrBuilder> parseArgsBuilder_; /** *
        * Arguments for parsing the program.
        * 
* - * .com.kcl.api.ParseProgram_Args parse_args = 1; + * .com.kcl.api.ParseProgramArgs parse_args = 1; * @return Whether the parseArgs field is set. */ public boolean hasParseArgs() { @@ -13047,12 +13048,12 @@ public boolean hasParseArgs() { * Arguments for parsing the program. * * - * .com.kcl.api.ParseProgram_Args parse_args = 1; + * .com.kcl.api.ParseProgramArgs parse_args = 1; * @return The parseArgs. */ - public com.kcl.api.Spec.ParseProgram_Args getParseArgs() { + public com.kcl.api.Spec.ParseProgramArgs getParseArgs() { if (parseArgsBuilder_ == null) { - return parseArgs_ == null ? com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance() : parseArgs_; + return parseArgs_ == null ? com.kcl.api.Spec.ParseProgramArgs.getDefaultInstance() : parseArgs_; } else { return parseArgsBuilder_.getMessage(); } @@ -13062,9 +13063,9 @@ public com.kcl.api.Spec.ParseProgram_Args getParseArgs() { * Arguments for parsing the program. * * - * .com.kcl.api.ParseProgram_Args parse_args = 1; + * .com.kcl.api.ParseProgramArgs parse_args = 1; */ - public Builder setParseArgs(com.kcl.api.Spec.ParseProgram_Args value) { + public Builder setParseArgs(com.kcl.api.Spec.ParseProgramArgs value) { if (parseArgsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13082,10 +13083,10 @@ public Builder setParseArgs(com.kcl.api.Spec.ParseProgram_Args value) { * Arguments for parsing the program. * * - * .com.kcl.api.ParseProgram_Args parse_args = 1; + * .com.kcl.api.ParseProgramArgs parse_args = 1; */ public Builder setParseArgs( - com.kcl.api.Spec.ParseProgram_Args.Builder builderForValue) { + com.kcl.api.Spec.ParseProgramArgs.Builder builderForValue) { if (parseArgsBuilder_ == null) { parseArgs_ = builderForValue.build(); } else { @@ -13100,13 +13101,13 @@ public Builder setParseArgs( * Arguments for parsing the program. * * - * .com.kcl.api.ParseProgram_Args parse_args = 1; + * .com.kcl.api.ParseProgramArgs parse_args = 1; */ - public Builder mergeParseArgs(com.kcl.api.Spec.ParseProgram_Args value) { + public Builder mergeParseArgs(com.kcl.api.Spec.ParseProgramArgs value) { if (parseArgsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && parseArgs_ != null && - parseArgs_ != com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance()) { + parseArgs_ != com.kcl.api.Spec.ParseProgramArgs.getDefaultInstance()) { getParseArgsBuilder().mergeFrom(value); } else { parseArgs_ = value; @@ -13125,7 +13126,7 @@ public Builder mergeParseArgs(com.kcl.api.Spec.ParseProgram_Args value) { * Arguments for parsing the program. * * - * .com.kcl.api.ParseProgram_Args parse_args = 1; + * .com.kcl.api.ParseProgramArgs parse_args = 1; */ public Builder clearParseArgs() { bitField0_ = (bitField0_ & ~0x00000001); @@ -13142,26 +13143,26 @@ public Builder clearParseArgs() { * Arguments for parsing the program. * * - * .com.kcl.api.ParseProgram_Args parse_args = 1; + * .com.kcl.api.ParseProgramArgs parse_args = 1; */ - public com.kcl.api.Spec.ParseProgram_Args.Builder getParseArgsBuilder() { + public com.kcl.api.Spec.ParseProgramArgs.Builder getParseArgsBuilder() { bitField0_ |= 0x00000001; onChanged(); - return getParseArgsFieldBuilder().getBuilder(); + return internalGetParseArgsFieldBuilder().getBuilder(); } /** *
        * Arguments for parsing the program.
        * 
* - * .com.kcl.api.ParseProgram_Args parse_args = 1; + * .com.kcl.api.ParseProgramArgs parse_args = 1; */ - public com.kcl.api.Spec.ParseProgram_ArgsOrBuilder getParseArgsOrBuilder() { + public com.kcl.api.Spec.ParseProgramArgsOrBuilder getParseArgsOrBuilder() { if (parseArgsBuilder_ != null) { return parseArgsBuilder_.getMessageOrBuilder(); } else { return parseArgs_ == null ? - com.kcl.api.Spec.ParseProgram_Args.getDefaultInstance() : parseArgs_; + com.kcl.api.Spec.ParseProgramArgs.getDefaultInstance() : parseArgs_; } } /** @@ -13169,14 +13170,14 @@ public com.kcl.api.Spec.ParseProgram_ArgsOrBuilder getParseArgsOrBuilder() { * Arguments for parsing the program. * * - * .com.kcl.api.ParseProgram_Args parse_args = 1; + * .com.kcl.api.ParseProgramArgs parse_args = 1; */ private com.google.protobuf.SingleFieldBuilder< - com.kcl.api.Spec.ParseProgram_Args, com.kcl.api.Spec.ParseProgram_Args.Builder, com.kcl.api.Spec.ParseProgram_ArgsOrBuilder> - getParseArgsFieldBuilder() { + com.kcl.api.Spec.ParseProgramArgs, com.kcl.api.Spec.ParseProgramArgs.Builder, com.kcl.api.Spec.ParseProgramArgsOrBuilder> + internalGetParseArgsFieldBuilder() { if (parseArgsBuilder_ == null) { parseArgsBuilder_ = new com.google.protobuf.SingleFieldBuilder< - com.kcl.api.Spec.ParseProgram_Args, com.kcl.api.Spec.ParseProgram_Args.Builder, com.kcl.api.Spec.ParseProgram_ArgsOrBuilder>( + com.kcl.api.Spec.ParseProgramArgs, com.kcl.api.Spec.ParseProgramArgs.Builder, com.kcl.api.Spec.ParseProgramArgsOrBuilder>( getParseArgs(), getParentForChildren(), isClean()); @@ -13317,23 +13318,23 @@ public Builder clearWithAstIndex() { return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadPackage_Args) + // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadPackageArgs) } - // @@protoc_insertion_point(class_scope:com.kcl.api.LoadPackage_Args) - private static final com.kcl.api.Spec.LoadPackage_Args DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.LoadPackageArgs) + private static final com.kcl.api.Spec.LoadPackageArgs DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadPackage_Args(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadPackageArgs(); } - public static com.kcl.api.Spec.LoadPackage_Args getDefaultInstance() { + public static com.kcl.api.Spec.LoadPackageArgs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public LoadPackage_Args parsePartialFrom( + public LoadPackageArgs parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -13352,24 +13353,24 @@ public LoadPackage_Args parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.LoadPackage_Args getDefaultInstanceForType() { + public com.kcl.api.Spec.LoadPackageArgs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface LoadPackage_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadPackage_Result) + public interface LoadPackageResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadPackageResult) com.google.protobuf.MessageOrBuilder { /** @@ -13850,27 +13851,27 @@ com.kcl.api.Spec.ScopeIndex getPkgScopeMapOrThrow( * Message for load package response. * * - * Protobuf type {@code com.kcl.api.LoadPackage_Result} + * Protobuf type {@code com.kcl.api.LoadPackageResult} */ - public static final class LoadPackage_Result extends + public static final class LoadPackageResult extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.LoadPackage_Result) - LoadPackage_ResultOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.LoadPackageResult) + LoadPackageResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - LoadPackage_Result.class.getName()); + "LoadPackageResult"); } - // Use LoadPackage_Result.newBuilder() to construct. - private LoadPackage_Result(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use LoadPackageResult.newBuilder() to construct. + private LoadPackageResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private LoadPackage_Result() { + private LoadPackageResult() { program_ = ""; paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); @@ -13880,7 +13881,7 @@ private LoadPackage_Result() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageResult_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -13908,9 +13909,9 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.LoadPackage_Result.class, com.kcl.api.Spec.LoadPackage_Result.Builder.class); + com.kcl.api.Spec.LoadPackageResult.class, com.kcl.api.Spec.LoadPackageResult.Builder.class); } public static final int PROGRAM_FIELD_NUMBER = 1; @@ -14141,7 +14142,7 @@ private static final class ScopesDefaultEntryHolder { java.lang.String, com.kcl.api.Spec.Scope> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_descriptor, + com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageResult_ScopesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, @@ -14236,7 +14237,7 @@ private static final class SymbolsDefaultEntryHolder { java.lang.String, com.kcl.api.Spec.Symbol> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_descriptor, + com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageResult_SymbolsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, @@ -14331,7 +14332,7 @@ private static final class NodeSymbolMapDefaultEntryHolder { java.lang.String, com.kcl.api.Spec.SymbolIndex> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_descriptor, + com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageResult_NodeSymbolMapEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, @@ -14426,7 +14427,7 @@ private static final class SymbolNodeMapDefaultEntryHolder { java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_descriptor, + com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageResult_SymbolNodeMapEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, @@ -14521,7 +14522,7 @@ private static final class FullyQualifiedNameMapDefaultEntryHolder { java.lang.String, com.kcl.api.Spec.SymbolIndex> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_descriptor, + com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageResult_FullyQualifiedNameMapEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, @@ -14616,7 +14617,7 @@ private static final class PkgScopeMapDefaultEntryHolder { java.lang.String, com.kcl.api.Spec.ScopeIndex> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_descriptor, + com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageResult_PkgScopeMapEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, @@ -14865,10 +14866,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.LoadPackage_Result)) { + if (!(obj instanceof com.kcl.api.Spec.LoadPackageResult)) { return super.equals(obj); } - com.kcl.api.Spec.LoadPackage_Result other = (com.kcl.api.Spec.LoadPackage_Result) obj; + com.kcl.api.Spec.LoadPackageResult other = (com.kcl.api.Spec.LoadPackageResult) obj; if (!getProgram() .equals(other.getProgram())) return false; @@ -14944,44 +14945,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.LoadPackage_Result parseFrom( + public static com.kcl.api.Spec.LoadPackageResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.LoadPackage_Result parseFrom( + public static com.kcl.api.Spec.LoadPackageResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.LoadPackage_Result parseFrom( + public static com.kcl.api.Spec.LoadPackageResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.LoadPackage_Result parseFrom( + public static com.kcl.api.Spec.LoadPackageResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.LoadPackage_Result parseFrom(byte[] data) + public static com.kcl.api.Spec.LoadPackageResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.LoadPackage_Result parseFrom( + public static com.kcl.api.Spec.LoadPackageResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.LoadPackage_Result parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.LoadPackageResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.LoadPackage_Result parseFrom( + public static com.kcl.api.Spec.LoadPackageResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -14989,26 +14990,26 @@ public static com.kcl.api.Spec.LoadPackage_Result parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.LoadPackage_Result parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.LoadPackageResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.LoadPackage_Result parseDelimitedFrom( + public static com.kcl.api.Spec.LoadPackageResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.LoadPackage_Result parseFrom( + public static com.kcl.api.Spec.LoadPackageResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.LoadPackage_Result parseFrom( + public static com.kcl.api.Spec.LoadPackageResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -15021,7 +15022,7 @@ public static com.kcl.api.Spec.LoadPackage_Result parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.LoadPackage_Result prototype) { + public static Builder newBuilder(com.kcl.api.Spec.LoadPackageResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -15041,15 +15042,15 @@ protected Builder newBuilderForType( * Message for load package response. * * - * Protobuf type {@code com.kcl.api.LoadPackage_Result} + * Protobuf type {@code com.kcl.api.LoadPackageResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadPackage_Result) - com.kcl.api.Spec.LoadPackage_ResultOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadPackageResult) + com.kcl.api.Spec.LoadPackageResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageResult_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -15097,12 +15098,12 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.LoadPackage_Result.class, com.kcl.api.Spec.LoadPackage_Result.Builder.class); + com.kcl.api.Spec.LoadPackageResult.class, com.kcl.api.Spec.LoadPackageResult.Builder.class); } - // Construct using com.kcl.api.Spec.LoadPackage_Result.newBuilder() + // Construct using com.kcl.api.Spec.LoadPackageResult.newBuilder() private Builder() { } @@ -15145,17 +15146,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackage_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadPackageResult_descriptor; } @java.lang.Override - public com.kcl.api.Spec.LoadPackage_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.LoadPackage_Result.getDefaultInstance(); + public com.kcl.api.Spec.LoadPackageResult getDefaultInstanceForType() { + return com.kcl.api.Spec.LoadPackageResult.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.LoadPackage_Result build() { - com.kcl.api.Spec.LoadPackage_Result result = buildPartial(); + public com.kcl.api.Spec.LoadPackageResult build() { + com.kcl.api.Spec.LoadPackageResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -15163,15 +15164,15 @@ public com.kcl.api.Spec.LoadPackage_Result build() { } @java.lang.Override - public com.kcl.api.Spec.LoadPackage_Result buildPartial() { - com.kcl.api.Spec.LoadPackage_Result result = new com.kcl.api.Spec.LoadPackage_Result(this); + public com.kcl.api.Spec.LoadPackageResult buildPartial() { + com.kcl.api.Spec.LoadPackageResult result = new com.kcl.api.Spec.LoadPackageResult(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.kcl.api.Spec.LoadPackage_Result result) { + private void buildPartialRepeatedFields(com.kcl.api.Spec.LoadPackageResult result) { if (parseErrorsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { parseErrors_ = java.util.Collections.unmodifiableList(parseErrors_); @@ -15192,7 +15193,7 @@ private void buildPartialRepeatedFields(com.kcl.api.Spec.LoadPackage_Result resu } } - private void buildPartial0(com.kcl.api.Spec.LoadPackage_Result result) { + private void buildPartial0(com.kcl.api.Spec.LoadPackageResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.program_ = program_; @@ -15224,16 +15225,16 @@ private void buildPartial0(com.kcl.api.Spec.LoadPackage_Result result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.LoadPackage_Result) { - return mergeFrom((com.kcl.api.Spec.LoadPackage_Result)other); + if (other instanceof com.kcl.api.Spec.LoadPackageResult) { + return mergeFrom((com.kcl.api.Spec.LoadPackageResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.LoadPackage_Result other) { - if (other == com.kcl.api.Spec.LoadPackage_Result.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.LoadPackageResult other) { + if (other == com.kcl.api.Spec.LoadPackageResult.getDefaultInstance()) return this; if (!other.getProgram().isEmpty()) { program_ = other.program_; bitField0_ |= 0x00000001; @@ -15269,7 +15270,7 @@ public Builder mergeFrom(com.kcl.api.Spec.LoadPackage_Result other) { bitField0_ = (bitField0_ & ~0x00000004); parseErrorsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getParseErrorsFieldBuilder() : null; + internalGetParseErrorsFieldBuilder() : null; } else { parseErrorsBuilder_.addAllMessages(other.parseErrors_); } @@ -15295,7 +15296,7 @@ public Builder mergeFrom(com.kcl.api.Spec.LoadPackage_Result other) { bitField0_ = (bitField0_ & ~0x00000008); typeErrorsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getTypeErrorsFieldBuilder() : null; + internalGetTypeErrorsFieldBuilder() : null; } else { typeErrorsBuilder_.addAllMessages(other.typeErrors_); } @@ -15924,7 +15925,7 @@ public Builder removeParseErrors(int index) { */ public com.kcl.api.Spec.Error.Builder getParseErrorsBuilder( int index) { - return getParseErrorsFieldBuilder().getBuilder(index); + return internalGetParseErrorsFieldBuilder().getBuilder(index); } /** *
@@ -15963,7 +15964,7 @@ public com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder(
        * repeated .com.kcl.api.Error parse_errors = 3;
        */
       public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder() {
-        return getParseErrorsFieldBuilder().addBuilder(
+        return internalGetParseErrorsFieldBuilder().addBuilder(
             com.kcl.api.Spec.Error.getDefaultInstance());
       }
       /**
@@ -15975,7 +15976,7 @@ public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder() {
        */
       public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder(
           int index) {
-        return getParseErrorsFieldBuilder().addBuilder(
+        return internalGetParseErrorsFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.Error.getDefaultInstance());
       }
       /**
@@ -15987,11 +15988,11 @@ public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder(
        */
       public java.util.List 
            getParseErrorsBuilderList() {
-        return getParseErrorsFieldBuilder().getBuilderList();
+        return internalGetParseErrorsFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> 
-          getParseErrorsFieldBuilder() {
+          internalGetParseErrorsFieldBuilder() {
         if (parseErrorsBuilder_ == null) {
           parseErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder>(
@@ -16236,7 +16237,7 @@ public Builder removeTypeErrors(int index) {
        */
       public com.kcl.api.Spec.Error.Builder getTypeErrorsBuilder(
           int index) {
-        return getTypeErrorsFieldBuilder().getBuilder(index);
+        return internalGetTypeErrorsFieldBuilder().getBuilder(index);
       }
       /**
        * 
@@ -16275,7 +16276,7 @@ public com.kcl.api.Spec.ErrorOrBuilder getTypeErrorsOrBuilder(
        * repeated .com.kcl.api.Error type_errors = 4;
        */
       public com.kcl.api.Spec.Error.Builder addTypeErrorsBuilder() {
-        return getTypeErrorsFieldBuilder().addBuilder(
+        return internalGetTypeErrorsFieldBuilder().addBuilder(
             com.kcl.api.Spec.Error.getDefaultInstance());
       }
       /**
@@ -16287,7 +16288,7 @@ public com.kcl.api.Spec.Error.Builder addTypeErrorsBuilder() {
        */
       public com.kcl.api.Spec.Error.Builder addTypeErrorsBuilder(
           int index) {
-        return getTypeErrorsFieldBuilder().addBuilder(
+        return internalGetTypeErrorsFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.Error.getDefaultInstance());
       }
       /**
@@ -16299,11 +16300,11 @@ public com.kcl.api.Spec.Error.Builder addTypeErrorsBuilder(
        */
       public java.util.List 
            getTypeErrorsBuilderList() {
-        return getTypeErrorsFieldBuilder().getBuilderList();
+        return internalGetTypeErrorsFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> 
-          getTypeErrorsFieldBuilder() {
+          internalGetTypeErrorsFieldBuilder() {
         if (typeErrorsBuilder_ == null) {
           typeErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder>(
@@ -17406,23 +17407,23 @@ public com.kcl.api.Spec.ScopeIndex.Builder putPkgScopeMapBuilderIfAbsent(
         return (com.kcl.api.Spec.ScopeIndex.Builder) entry;
       }
 
-      // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadPackage_Result)
+      // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadPackageResult)
     }
 
-    // @@protoc_insertion_point(class_scope:com.kcl.api.LoadPackage_Result)
-    private static final com.kcl.api.Spec.LoadPackage_Result DEFAULT_INSTANCE;
+    // @@protoc_insertion_point(class_scope:com.kcl.api.LoadPackageResult)
+    private static final com.kcl.api.Spec.LoadPackageResult DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadPackage_Result();
+      DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadPackageResult();
     }
 
-    public static com.kcl.api.Spec.LoadPackage_Result getDefaultInstance() {
+    public static com.kcl.api.Spec.LoadPackageResult getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
       @java.lang.Override
-      public LoadPackage_Result parsePartialFrom(
+      public LoadPackageResult parsePartialFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
@@ -17441,24 +17442,24 @@ public LoadPackage_Result parsePartialFrom(
       }
     };
 
-    public static com.google.protobuf.Parser parser() {
+    public static com.google.protobuf.Parser parser() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Parser getParserForType() {
+    public com.google.protobuf.Parser getParserForType() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.kcl.api.Spec.LoadPackage_Result getDefaultInstanceForType() {
+    public com.kcl.api.Spec.LoadPackageResult getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
   }
 
-  public interface ListOptions_ResultOrBuilder extends
-      // @@protoc_insertion_point(interface_extends:com.kcl.api.ListOptions_Result)
+  public interface ListOptionsResultOrBuilder extends
+      // @@protoc_insertion_point(interface_extends:com.kcl.api.ListOptionsResult)
       com.google.protobuf.MessageOrBuilder {
 
     /**
@@ -17510,41 +17511,41 @@ com.kcl.api.Spec.OptionHelpOrBuilder getOptionsOrBuilder(
    * Message for list options response.
    * 
* - * Protobuf type {@code com.kcl.api.ListOptions_Result} + * Protobuf type {@code com.kcl.api.ListOptionsResult} */ - public static final class ListOptions_Result extends + public static final class ListOptionsResult extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ListOptions_Result) - ListOptions_ResultOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.ListOptionsResult) + ListOptionsResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - ListOptions_Result.class.getName()); + "ListOptionsResult"); } - // Use ListOptions_Result.newBuilder() to construct. - private ListOptions_Result(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use ListOptionsResult.newBuilder() to construct. + private ListOptionsResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private ListOptions_Result() { + private ListOptionsResult() { options_ = java.util.Collections.emptyList(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptions_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptionsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptions_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptionsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ListOptions_Result.class, com.kcl.api.Spec.ListOptions_Result.Builder.class); + com.kcl.api.Spec.ListOptionsResult.class, com.kcl.api.Spec.ListOptionsResult.Builder.class); } public static final int OPTIONS_FIELD_NUMBER = 2; @@ -17648,10 +17649,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.ListOptions_Result)) { + if (!(obj instanceof com.kcl.api.Spec.ListOptionsResult)) { return super.equals(obj); } - com.kcl.api.Spec.ListOptions_Result other = (com.kcl.api.Spec.ListOptions_Result) obj; + com.kcl.api.Spec.ListOptionsResult other = (com.kcl.api.Spec.ListOptionsResult) obj; if (!getOptionsList() .equals(other.getOptionsList())) return false; @@ -17675,44 +17676,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.ListOptions_Result parseFrom( + public static com.kcl.api.Spec.ListOptionsResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListOptions_Result parseFrom( + public static com.kcl.api.Spec.ListOptionsResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListOptions_Result parseFrom( + public static com.kcl.api.Spec.ListOptionsResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListOptions_Result parseFrom( + public static com.kcl.api.Spec.ListOptionsResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListOptions_Result parseFrom(byte[] data) + public static com.kcl.api.Spec.ListOptionsResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListOptions_Result parseFrom( + public static com.kcl.api.Spec.ListOptionsResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListOptions_Result parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ListOptionsResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListOptions_Result parseFrom( + public static com.kcl.api.Spec.ListOptionsResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -17720,26 +17721,26 @@ public static com.kcl.api.Spec.ListOptions_Result parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ListOptions_Result parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ListOptionsResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListOptions_Result parseDelimitedFrom( + public static com.kcl.api.Spec.ListOptionsResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ListOptions_Result parseFrom( + public static com.kcl.api.Spec.ListOptionsResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListOptions_Result parseFrom( + public static com.kcl.api.Spec.ListOptionsResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -17752,7 +17753,7 @@ public static com.kcl.api.Spec.ListOptions_Result parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.ListOptions_Result prototype) { + public static Builder newBuilder(com.kcl.api.Spec.ListOptionsResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -17772,26 +17773,26 @@ protected Builder newBuilderForType( * Message for list options response. *
* - * Protobuf type {@code com.kcl.api.ListOptions_Result} + * Protobuf type {@code com.kcl.api.ListOptionsResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ListOptions_Result) - com.kcl.api.Spec.ListOptions_ResultOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.ListOptionsResult) + com.kcl.api.Spec.ListOptionsResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptions_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptionsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptions_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptionsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ListOptions_Result.class, com.kcl.api.Spec.ListOptions_Result.Builder.class); + com.kcl.api.Spec.ListOptionsResult.class, com.kcl.api.Spec.ListOptionsResult.Builder.class); } - // Construct using com.kcl.api.Spec.ListOptions_Result.newBuilder() + // Construct using com.kcl.api.Spec.ListOptionsResult.newBuilder() private Builder() { } @@ -17818,17 +17819,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptions_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListOptionsResult_descriptor; } @java.lang.Override - public com.kcl.api.Spec.ListOptions_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ListOptions_Result.getDefaultInstance(); + public com.kcl.api.Spec.ListOptionsResult getDefaultInstanceForType() { + return com.kcl.api.Spec.ListOptionsResult.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.ListOptions_Result build() { - com.kcl.api.Spec.ListOptions_Result result = buildPartial(); + public com.kcl.api.Spec.ListOptionsResult build() { + com.kcl.api.Spec.ListOptionsResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -17836,15 +17837,15 @@ public com.kcl.api.Spec.ListOptions_Result build() { } @java.lang.Override - public com.kcl.api.Spec.ListOptions_Result buildPartial() { - com.kcl.api.Spec.ListOptions_Result result = new com.kcl.api.Spec.ListOptions_Result(this); + public com.kcl.api.Spec.ListOptionsResult buildPartial() { + com.kcl.api.Spec.ListOptionsResult result = new com.kcl.api.Spec.ListOptionsResult(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.kcl.api.Spec.ListOptions_Result result) { + private void buildPartialRepeatedFields(com.kcl.api.Spec.ListOptionsResult result) { if (optionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { options_ = java.util.Collections.unmodifiableList(options_); @@ -17856,22 +17857,22 @@ private void buildPartialRepeatedFields(com.kcl.api.Spec.ListOptions_Result resu } } - private void buildPartial0(com.kcl.api.Spec.ListOptions_Result result) { + private void buildPartial0(com.kcl.api.Spec.ListOptionsResult result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ListOptions_Result) { - return mergeFrom((com.kcl.api.Spec.ListOptions_Result)other); + if (other instanceof com.kcl.api.Spec.ListOptionsResult) { + return mergeFrom((com.kcl.api.Spec.ListOptionsResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.ListOptions_Result other) { - if (other == com.kcl.api.Spec.ListOptions_Result.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.ListOptionsResult other) { + if (other == com.kcl.api.Spec.ListOptionsResult.getDefaultInstance()) return this; if (optionsBuilder_ == null) { if (!other.options_.isEmpty()) { if (options_.isEmpty()) { @@ -17892,7 +17893,7 @@ public Builder mergeFrom(com.kcl.api.Spec.ListOptions_Result other) { bitField0_ = (bitField0_ & ~0x00000001); optionsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getOptionsFieldBuilder() : null; + internalGetOptionsFieldBuilder() : null; } else { optionsBuilder_.addAllMessages(other.options_); } @@ -18186,7 +18187,7 @@ public Builder removeOptions(int index) { */ public com.kcl.api.Spec.OptionHelp.Builder getOptionsBuilder( int index) { - return getOptionsFieldBuilder().getBuilder(index); + return internalGetOptionsFieldBuilder().getBuilder(index); } /** *
@@ -18225,7 +18226,7 @@ public com.kcl.api.Spec.OptionHelpOrBuilder getOptionsOrBuilder(
        * repeated .com.kcl.api.OptionHelp options = 2;
        */
       public com.kcl.api.Spec.OptionHelp.Builder addOptionsBuilder() {
-        return getOptionsFieldBuilder().addBuilder(
+        return internalGetOptionsFieldBuilder().addBuilder(
             com.kcl.api.Spec.OptionHelp.getDefaultInstance());
       }
       /**
@@ -18237,7 +18238,7 @@ public com.kcl.api.Spec.OptionHelp.Builder addOptionsBuilder() {
        */
       public com.kcl.api.Spec.OptionHelp.Builder addOptionsBuilder(
           int index) {
-        return getOptionsFieldBuilder().addBuilder(
+        return internalGetOptionsFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.OptionHelp.getDefaultInstance());
       }
       /**
@@ -18249,11 +18250,11 @@ public com.kcl.api.Spec.OptionHelp.Builder addOptionsBuilder(
        */
       public java.util.List 
            getOptionsBuilderList() {
-        return getOptionsFieldBuilder().getBuilderList();
+        return internalGetOptionsFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.OptionHelp, com.kcl.api.Spec.OptionHelp.Builder, com.kcl.api.Spec.OptionHelpOrBuilder> 
-          getOptionsFieldBuilder() {
+          internalGetOptionsFieldBuilder() {
         if (optionsBuilder_ == null) {
           optionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.OptionHelp, com.kcl.api.Spec.OptionHelp.Builder, com.kcl.api.Spec.OptionHelpOrBuilder>(
@@ -18266,23 +18267,23 @@ public com.kcl.api.Spec.OptionHelp.Builder addOptionsBuilder(
         return optionsBuilder_;
       }
 
-      // @@protoc_insertion_point(builder_scope:com.kcl.api.ListOptions_Result)
+      // @@protoc_insertion_point(builder_scope:com.kcl.api.ListOptionsResult)
     }
 
-    // @@protoc_insertion_point(class_scope:com.kcl.api.ListOptions_Result)
-    private static final com.kcl.api.Spec.ListOptions_Result DEFAULT_INSTANCE;
+    // @@protoc_insertion_point(class_scope:com.kcl.api.ListOptionsResult)
+    private static final com.kcl.api.Spec.ListOptionsResult DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kcl.api.Spec.ListOptions_Result();
+      DEFAULT_INSTANCE = new com.kcl.api.Spec.ListOptionsResult();
     }
 
-    public static com.kcl.api.Spec.ListOptions_Result getDefaultInstance() {
+    public static com.kcl.api.Spec.ListOptionsResult getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
       @java.lang.Override
-      public ListOptions_Result parsePartialFrom(
+      public ListOptionsResult parsePartialFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
@@ -18301,17 +18302,17 @@ public ListOptions_Result parsePartialFrom(
       }
     };
 
-    public static com.google.protobuf.Parser parser() {
+    public static com.google.protobuf.Parser parser() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Parser getParserForType() {
+    public com.google.protobuf.Parser getParserForType() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.kcl.api.Spec.ListOptions_Result getDefaultInstanceForType() {
+    public com.kcl.api.Spec.ListOptionsResult getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
@@ -18427,10 +18428,10 @@ public static final class OptionHelp extends
       com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
         com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
         /* major= */ 4,
-        /* minor= */ 29,
-        /* patch= */ 3,
+        /* minor= */ 33,
+        /* patch= */ 1,
         /* suffix= */ "",
-        OptionHelp.class.getName());
+        "OptionHelp");
     }
     // Use OptionHelp.newBuilder() to construct.
     private OptionHelp(com.google.protobuf.GeneratedMessage.Builder builder) {
@@ -19691,10 +19692,10 @@ public static final class Symbol extends
       com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
         com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
         /* major= */ 4,
-        /* minor= */ 29,
-        /* patch= */ 3,
+        /* minor= */ 33,
+        /* patch= */ 1,
         /* suffix= */ "",
-        Symbol.class.getName());
+        "Symbol");
     }
     // Use Symbol.newBuilder() to construct.
     private Symbol(com.google.protobuf.GeneratedMessage.Builder builder) {
@@ -20222,10 +20223,10 @@ private Builder(
       private void maybeForceBuilderInitialization() {
         if (com.google.protobuf.GeneratedMessage
                 .alwaysUseFieldBuilders) {
-          getTyFieldBuilder();
-          getOwnerFieldBuilder();
-          getDefFieldBuilder();
-          getAttrsFieldBuilder();
+          internalGetTyFieldBuilder();
+          internalGetOwnerFieldBuilder();
+          internalGetDefFieldBuilder();
+          internalGetAttrsFieldBuilder();
         }
       }
       @java.lang.Override
@@ -20376,7 +20377,7 @@ public Builder mergeFrom(com.kcl.api.Spec.Symbol other) {
               bitField0_ = (bitField0_ & ~0x00000010);
               attrsBuilder_ = 
                 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
-                   getAttrsFieldBuilder() : null;
+                   internalGetAttrsFieldBuilder() : null;
             } else {
               attrsBuilder_.addAllMessages(other.attrs_);
             }
@@ -20413,7 +20414,7 @@ public Builder mergeFrom(
                 break;
               case 10: {
                 input.readMessage(
-                    getTyFieldBuilder().getBuilder(),
+                    internalGetTyFieldBuilder().getBuilder(),
                     extensionRegistry);
                 bitField0_ |= 0x00000001;
                 break;
@@ -20425,14 +20426,14 @@ public Builder mergeFrom(
               } // case 18
               case 26: {
                 input.readMessage(
-                    getOwnerFieldBuilder().getBuilder(),
+                    internalGetOwnerFieldBuilder().getBuilder(),
                     extensionRegistry);
                 bitField0_ |= 0x00000004;
                 break;
               } // case 26
               case 34: {
                 input.readMessage(
-                    getDefFieldBuilder().getBuilder(),
+                    internalGetDefFieldBuilder().getBuilder(),
                     extensionRegistry);
                 bitField0_ |= 0x00000008;
                 break;
@@ -20591,7 +20592,7 @@ public Builder clearTy() {
       public com.kcl.api.Spec.KclType.Builder getTyBuilder() {
         bitField0_ |= 0x00000001;
         onChanged();
-        return getTyFieldBuilder().getBuilder();
+        return internalGetTyFieldBuilder().getBuilder();
       }
       /**
        * 
@@ -20617,7 +20618,7 @@ public com.kcl.api.Spec.KclTypeOrBuilder getTyOrBuilder() {
        */
       private com.google.protobuf.SingleFieldBuilder<
           com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> 
-          getTyFieldBuilder() {
+          internalGetTyFieldBuilder() {
         if (tyBuilder_ == null) {
           tyBuilder_ = new com.google.protobuf.SingleFieldBuilder<
               com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder>(
@@ -20840,7 +20841,7 @@ public Builder clearOwner() {
       public com.kcl.api.Spec.SymbolIndex.Builder getOwnerBuilder() {
         bitField0_ |= 0x00000004;
         onChanged();
-        return getOwnerFieldBuilder().getBuilder();
+        return internalGetOwnerFieldBuilder().getBuilder();
       }
       /**
        * 
@@ -20866,7 +20867,7 @@ public com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder() {
        */
       private com.google.protobuf.SingleFieldBuilder<
           com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> 
-          getOwnerFieldBuilder() {
+          internalGetOwnerFieldBuilder() {
         if (ownerBuilder_ == null) {
           ownerBuilder_ = new com.google.protobuf.SingleFieldBuilder<
               com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder>(
@@ -20997,7 +20998,7 @@ public Builder clearDef() {
       public com.kcl.api.Spec.SymbolIndex.Builder getDefBuilder() {
         bitField0_ |= 0x00000008;
         onChanged();
-        return getDefFieldBuilder().getBuilder();
+        return internalGetDefFieldBuilder().getBuilder();
       }
       /**
        * 
@@ -21023,7 +21024,7 @@ public com.kcl.api.Spec.SymbolIndexOrBuilder getDefOrBuilder() {
        */
       private com.google.protobuf.SingleFieldBuilder<
           com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> 
-          getDefFieldBuilder() {
+          internalGetDefFieldBuilder() {
         if (defBuilder_ == null) {
           defBuilder_ = new com.google.protobuf.SingleFieldBuilder<
               com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder>(
@@ -21267,7 +21268,7 @@ public Builder removeAttrs(int index) {
        */
       public com.kcl.api.Spec.SymbolIndex.Builder getAttrsBuilder(
           int index) {
-        return getAttrsFieldBuilder().getBuilder(index);
+        return internalGetAttrsFieldBuilder().getBuilder(index);
       }
       /**
        * 
@@ -21306,7 +21307,7 @@ public com.kcl.api.Spec.SymbolIndexOrBuilder getAttrsOrBuilder(
        * repeated .com.kcl.api.SymbolIndex attrs = 5;
        */
       public com.kcl.api.Spec.SymbolIndex.Builder addAttrsBuilder() {
-        return getAttrsFieldBuilder().addBuilder(
+        return internalGetAttrsFieldBuilder().addBuilder(
             com.kcl.api.Spec.SymbolIndex.getDefaultInstance());
       }
       /**
@@ -21318,7 +21319,7 @@ public com.kcl.api.Spec.SymbolIndex.Builder addAttrsBuilder() {
        */
       public com.kcl.api.Spec.SymbolIndex.Builder addAttrsBuilder(
           int index) {
-        return getAttrsFieldBuilder().addBuilder(
+        return internalGetAttrsFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.SymbolIndex.getDefaultInstance());
       }
       /**
@@ -21330,11 +21331,11 @@ public com.kcl.api.Spec.SymbolIndex.Builder addAttrsBuilder(
        */
       public java.util.List 
            getAttrsBuilderList() {
-        return getAttrsFieldBuilder().getBuilderList();
+        return internalGetAttrsFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> 
-          getAttrsFieldBuilder() {
+          internalGetAttrsFieldBuilder() {
         if (attrsBuilder_ == null) {
           attrsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder>(
@@ -21624,10 +21625,10 @@ public static final class Scope extends
       com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
         com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
         /* major= */ 4,
-        /* minor= */ 29,
-        /* patch= */ 3,
+        /* minor= */ 33,
+        /* patch= */ 1,
         /* suffix= */ "",
-        Scope.class.getName());
+        "Scope");
     }
     // Use Scope.newBuilder() to construct.
     private Scope(com.google.protobuf.GeneratedMessage.Builder builder) {
@@ -22149,10 +22150,10 @@ private Builder(
       private void maybeForceBuilderInitialization() {
         if (com.google.protobuf.GeneratedMessage
                 .alwaysUseFieldBuilders) {
-          getParentFieldBuilder();
-          getOwnerFieldBuilder();
-          getChildrenFieldBuilder();
-          getDefsFieldBuilder();
+          internalGetParentFieldBuilder();
+          internalGetOwnerFieldBuilder();
+          internalGetChildrenFieldBuilder();
+          internalGetDefsFieldBuilder();
         }
       }
       @java.lang.Override
@@ -22301,7 +22302,7 @@ public Builder mergeFrom(com.kcl.api.Spec.Scope other) {
               bitField0_ = (bitField0_ & ~0x00000008);
               childrenBuilder_ = 
                 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
-                   getChildrenFieldBuilder() : null;
+                   internalGetChildrenFieldBuilder() : null;
             } else {
               childrenBuilder_.addAllMessages(other.children_);
             }
@@ -22327,7 +22328,7 @@ public Builder mergeFrom(com.kcl.api.Spec.Scope other) {
               bitField0_ = (bitField0_ & ~0x00000010);
               defsBuilder_ = 
                 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
-                   getDefsFieldBuilder() : null;
+                   internalGetDefsFieldBuilder() : null;
             } else {
               defsBuilder_.addAllMessages(other.defs_);
             }
@@ -22366,14 +22367,14 @@ public Builder mergeFrom(
               } // case 10
               case 18: {
                 input.readMessage(
-                    getParentFieldBuilder().getBuilder(),
+                    internalGetParentFieldBuilder().getBuilder(),
                     extensionRegistry);
                 bitField0_ |= 0x00000002;
                 break;
               } // case 18
               case 26: {
                 input.readMessage(
-                    getOwnerFieldBuilder().getBuilder(),
+                    internalGetOwnerFieldBuilder().getBuilder(),
                     extensionRegistry);
                 bitField0_ |= 0x00000004;
                 break;
@@ -22632,7 +22633,7 @@ public Builder clearParent() {
       public com.kcl.api.Spec.ScopeIndex.Builder getParentBuilder() {
         bitField0_ |= 0x00000002;
         onChanged();
-        return getParentFieldBuilder().getBuilder();
+        return internalGetParentFieldBuilder().getBuilder();
       }
       /**
        * 
@@ -22658,7 +22659,7 @@ public com.kcl.api.Spec.ScopeIndexOrBuilder getParentOrBuilder() {
        */
       private com.google.protobuf.SingleFieldBuilder<
           com.kcl.api.Spec.ScopeIndex, com.kcl.api.Spec.ScopeIndex.Builder, com.kcl.api.Spec.ScopeIndexOrBuilder> 
-          getParentFieldBuilder() {
+          internalGetParentFieldBuilder() {
         if (parentBuilder_ == null) {
           parentBuilder_ = new com.google.protobuf.SingleFieldBuilder<
               com.kcl.api.Spec.ScopeIndex, com.kcl.api.Spec.ScopeIndex.Builder, com.kcl.api.Spec.ScopeIndexOrBuilder>(
@@ -22789,7 +22790,7 @@ public Builder clearOwner() {
       public com.kcl.api.Spec.SymbolIndex.Builder getOwnerBuilder() {
         bitField0_ |= 0x00000004;
         onChanged();
-        return getOwnerFieldBuilder().getBuilder();
+        return internalGetOwnerFieldBuilder().getBuilder();
       }
       /**
        * 
@@ -22815,7 +22816,7 @@ public com.kcl.api.Spec.SymbolIndexOrBuilder getOwnerOrBuilder() {
        */
       private com.google.protobuf.SingleFieldBuilder<
           com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> 
-          getOwnerFieldBuilder() {
+          internalGetOwnerFieldBuilder() {
         if (ownerBuilder_ == null) {
           ownerBuilder_ = new com.google.protobuf.SingleFieldBuilder<
               com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder>(
@@ -23059,7 +23060,7 @@ public Builder removeChildren(int index) {
        */
       public com.kcl.api.Spec.ScopeIndex.Builder getChildrenBuilder(
           int index) {
-        return getChildrenFieldBuilder().getBuilder(index);
+        return internalGetChildrenFieldBuilder().getBuilder(index);
       }
       /**
        * 
@@ -23098,7 +23099,7 @@ public com.kcl.api.Spec.ScopeIndexOrBuilder getChildrenOrBuilder(
        * repeated .com.kcl.api.ScopeIndex children = 4;
        */
       public com.kcl.api.Spec.ScopeIndex.Builder addChildrenBuilder() {
-        return getChildrenFieldBuilder().addBuilder(
+        return internalGetChildrenFieldBuilder().addBuilder(
             com.kcl.api.Spec.ScopeIndex.getDefaultInstance());
       }
       /**
@@ -23110,7 +23111,7 @@ public com.kcl.api.Spec.ScopeIndex.Builder addChildrenBuilder() {
        */
       public com.kcl.api.Spec.ScopeIndex.Builder addChildrenBuilder(
           int index) {
-        return getChildrenFieldBuilder().addBuilder(
+        return internalGetChildrenFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.ScopeIndex.getDefaultInstance());
       }
       /**
@@ -23122,11 +23123,11 @@ public com.kcl.api.Spec.ScopeIndex.Builder addChildrenBuilder(
        */
       public java.util.List 
            getChildrenBuilderList() {
-        return getChildrenFieldBuilder().getBuilderList();
+        return internalGetChildrenFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.ScopeIndex, com.kcl.api.Spec.ScopeIndex.Builder, com.kcl.api.Spec.ScopeIndexOrBuilder> 
-          getChildrenFieldBuilder() {
+          internalGetChildrenFieldBuilder() {
         if (childrenBuilder_ == null) {
           childrenBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.ScopeIndex, com.kcl.api.Spec.ScopeIndex.Builder, com.kcl.api.Spec.ScopeIndexOrBuilder>(
@@ -23371,7 +23372,7 @@ public Builder removeDefs(int index) {
        */
       public com.kcl.api.Spec.SymbolIndex.Builder getDefsBuilder(
           int index) {
-        return getDefsFieldBuilder().getBuilder(index);
+        return internalGetDefsFieldBuilder().getBuilder(index);
       }
       /**
        * 
@@ -23410,7 +23411,7 @@ public com.kcl.api.Spec.SymbolIndexOrBuilder getDefsOrBuilder(
        * repeated .com.kcl.api.SymbolIndex defs = 5;
        */
       public com.kcl.api.Spec.SymbolIndex.Builder addDefsBuilder() {
-        return getDefsFieldBuilder().addBuilder(
+        return internalGetDefsFieldBuilder().addBuilder(
             com.kcl.api.Spec.SymbolIndex.getDefaultInstance());
       }
       /**
@@ -23422,7 +23423,7 @@ public com.kcl.api.Spec.SymbolIndex.Builder addDefsBuilder() {
        */
       public com.kcl.api.Spec.SymbolIndex.Builder addDefsBuilder(
           int index) {
-        return getDefsFieldBuilder().addBuilder(
+        return internalGetDefsFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.SymbolIndex.getDefaultInstance());
       }
       /**
@@ -23434,11 +23435,11 @@ public com.kcl.api.Spec.SymbolIndex.Builder addDefsBuilder(
        */
       public java.util.List 
            getDefsBuilderList() {
-        return getDefsFieldBuilder().getBuilderList();
+        return internalGetDefsFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder> 
-          getDefsFieldBuilder() {
+          internalGetDefsFieldBuilder() {
         if (defsBuilder_ == null) {
           defsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.SymbolIndex, com.kcl.api.Spec.SymbolIndex.Builder, com.kcl.api.Spec.SymbolIndexOrBuilder>(
@@ -23562,10 +23563,10 @@ public static final class SymbolIndex extends
       com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
         com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
         /* major= */ 4,
-        /* minor= */ 29,
-        /* patch= */ 3,
+        /* minor= */ 33,
+        /* patch= */ 1,
         /* suffix= */ "",
-        SymbolIndex.class.getName());
+        "SymbolIndex");
     }
     // Use SymbolIndex.newBuilder() to construct.
     private SymbolIndex(com.google.protobuf.GeneratedMessage.Builder builder) {
@@ -24302,10 +24303,10 @@ public static final class ScopeIndex extends
       com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
         com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
         /* major= */ 4,
-        /* minor= */ 29,
-        /* patch= */ 3,
+        /* minor= */ 33,
+        /* patch= */ 1,
         /* suffix= */ "",
-        ScopeIndex.class.getName());
+        "ScopeIndex");
     }
     // Use ScopeIndex.newBuilder() to construct.
     private ScopeIndex(com.google.protobuf.GeneratedMessage.Builder builder) {
@@ -24982,8 +24983,8 @@ public com.kcl.api.Spec.ScopeIndex getDefaultInstanceForType() {
 
   }
 
-  public interface ExecProgram_ArgsOrBuilder extends
-      // @@protoc_insertion_point(interface_extends:com.kcl.api.ExecProgram_Args)
+  public interface ExecProgramArgsOrBuilder extends
+      // @@protoc_insertion_point(interface_extends:com.kcl.api.ExecProgramArgs)
       com.google.protobuf.MessageOrBuilder {
 
     /**
@@ -25373,27 +25374,27 @@ com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder(
    * Message for execute program request arguments.
    * 
* - * Protobuf type {@code com.kcl.api.ExecProgram_Args} + * Protobuf type {@code com.kcl.api.ExecProgramArgs} */ - public static final class ExecProgram_Args extends + public static final class ExecProgramArgs extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ExecProgram_Args) - ExecProgram_ArgsOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.ExecProgramArgs) + ExecProgramArgsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - ExecProgram_Args.class.getName()); + "ExecProgramArgs"); } - // Use ExecProgram_Args.newBuilder() to construct. - private ExecProgram_Args(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use ExecProgramArgs.newBuilder() to construct. + private ExecProgramArgs(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private ExecProgram_Args() { + private ExecProgramArgs() { workDir_ = ""; kFilenameList_ = com.google.protobuf.LazyStringArrayList.emptyList(); @@ -25409,15 +25410,15 @@ private ExecProgram_Args() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgramArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgramArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ExecProgram_Args.class, com.kcl.api.Spec.ExecProgram_Args.Builder.class); + com.kcl.api.Spec.ExecProgramArgs.class, com.kcl.api.Spec.ExecProgramArgs.Builder.class); } public static final int WORK_DIR_FIELD_NUMBER = 1; @@ -26140,10 +26141,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.ExecProgram_Args)) { + if (!(obj instanceof com.kcl.api.Spec.ExecProgramArgs)) { return super.equals(obj); } - com.kcl.api.Spec.ExecProgram_Args other = (com.kcl.api.Spec.ExecProgram_Args) obj; + com.kcl.api.Spec.ExecProgramArgs other = (com.kcl.api.Spec.ExecProgramArgs) obj; if (!getWorkDir() .equals(other.getWorkDir())) return false; @@ -26254,44 +26255,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.ExecProgram_Args parseFrom( + public static com.kcl.api.Spec.ExecProgramArgs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ExecProgram_Args parseFrom( + public static com.kcl.api.Spec.ExecProgramArgs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ExecProgram_Args parseFrom( + public static com.kcl.api.Spec.ExecProgramArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ExecProgram_Args parseFrom( + public static com.kcl.api.Spec.ExecProgramArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ExecProgram_Args parseFrom(byte[] data) + public static com.kcl.api.Spec.ExecProgramArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ExecProgram_Args parseFrom( + public static com.kcl.api.Spec.ExecProgramArgs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ExecProgram_Args parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ExecProgramArgs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ExecProgram_Args parseFrom( + public static com.kcl.api.Spec.ExecProgramArgs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -26299,26 +26300,26 @@ public static com.kcl.api.Spec.ExecProgram_Args parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ExecProgram_Args parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ExecProgramArgs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ExecProgram_Args parseDelimitedFrom( + public static com.kcl.api.Spec.ExecProgramArgs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ExecProgram_Args parseFrom( + public static com.kcl.api.Spec.ExecProgramArgs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ExecProgram_Args parseFrom( + public static com.kcl.api.Spec.ExecProgramArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -26331,7 +26332,7 @@ public static com.kcl.api.Spec.ExecProgram_Args parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.ExecProgram_Args prototype) { + public static Builder newBuilder(com.kcl.api.Spec.ExecProgramArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -26351,26 +26352,26 @@ protected Builder newBuilderForType( * Message for execute program request arguments. *
* - * Protobuf type {@code com.kcl.api.ExecProgram_Args} + * Protobuf type {@code com.kcl.api.ExecProgramArgs} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ExecProgram_Args) - com.kcl.api.Spec.ExecProgram_ArgsOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.ExecProgramArgs) + com.kcl.api.Spec.ExecProgramArgsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgramArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgramArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ExecProgram_Args.class, com.kcl.api.Spec.ExecProgram_Args.Builder.class); + com.kcl.api.Spec.ExecProgramArgs.class, com.kcl.api.Spec.ExecProgramArgs.Builder.class); } - // Construct using com.kcl.api.Spec.ExecProgram_Args.newBuilder() + // Construct using com.kcl.api.Spec.ExecProgramArgs.newBuilder() private Builder() { } @@ -26424,17 +26425,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgramArgs_descriptor; } @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance(); + public com.kcl.api.Spec.ExecProgramArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Args build() { - com.kcl.api.Spec.ExecProgram_Args result = buildPartial(); + public com.kcl.api.Spec.ExecProgramArgs build() { + com.kcl.api.Spec.ExecProgramArgs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -26442,15 +26443,15 @@ public com.kcl.api.Spec.ExecProgram_Args build() { } @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Args buildPartial() { - com.kcl.api.Spec.ExecProgram_Args result = new com.kcl.api.Spec.ExecProgram_Args(this); + public com.kcl.api.Spec.ExecProgramArgs buildPartial() { + com.kcl.api.Spec.ExecProgramArgs result = new com.kcl.api.Spec.ExecProgramArgs(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.kcl.api.Spec.ExecProgram_Args result) { + private void buildPartialRepeatedFields(com.kcl.api.Spec.ExecProgramArgs result) { if (argsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { args_ = java.util.Collections.unmodifiableList(args_); @@ -26471,7 +26472,7 @@ private void buildPartialRepeatedFields(com.kcl.api.Spec.ExecProgram_Args result } } - private void buildPartial0(com.kcl.api.Spec.ExecProgram_Args result) { + private void buildPartial0(com.kcl.api.Spec.ExecProgramArgs result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.workDir_ = workDir_; @@ -26529,16 +26530,16 @@ private void buildPartial0(com.kcl.api.Spec.ExecProgram_Args result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ExecProgram_Args) { - return mergeFrom((com.kcl.api.Spec.ExecProgram_Args)other); + if (other instanceof com.kcl.api.Spec.ExecProgramArgs) { + return mergeFrom((com.kcl.api.Spec.ExecProgramArgs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.ExecProgram_Args other) { - if (other == com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.ExecProgramArgs other) { + if (other == com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance()) return this; if (!other.getWorkDir().isEmpty()) { workDir_ = other.workDir_; bitField0_ |= 0x00000001; @@ -26584,7 +26585,7 @@ public Builder mergeFrom(com.kcl.api.Spec.ExecProgram_Args other) { bitField0_ = (bitField0_ & ~0x00000008); argsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getArgsFieldBuilder() : null; + internalGetArgsFieldBuilder() : null; } else { argsBuilder_.addAllMessages(other.args_); } @@ -26641,7 +26642,7 @@ public Builder mergeFrom(com.kcl.api.Spec.ExecProgram_Args other) { bitField0_ = (bitField0_ & ~0x00001000); externalPkgsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getExternalPkgsFieldBuilder() : null; + internalGetExternalPkgsFieldBuilder() : null; } else { externalPkgsBuilder_.addAllMessages(other.externalPkgs_); } @@ -27440,7 +27441,7 @@ public Builder removeArgs(int index) { */ public com.kcl.api.Spec.Argument.Builder getArgsBuilder( int index) { - return getArgsFieldBuilder().getBuilder(index); + return internalGetArgsFieldBuilder().getBuilder(index); } /** *
@@ -27479,7 +27480,7 @@ public com.kcl.api.Spec.ArgumentOrBuilder getArgsOrBuilder(
        * repeated .com.kcl.api.Argument args = 4;
        */
       public com.kcl.api.Spec.Argument.Builder addArgsBuilder() {
-        return getArgsFieldBuilder().addBuilder(
+        return internalGetArgsFieldBuilder().addBuilder(
             com.kcl.api.Spec.Argument.getDefaultInstance());
       }
       /**
@@ -27491,7 +27492,7 @@ public com.kcl.api.Spec.Argument.Builder addArgsBuilder() {
        */
       public com.kcl.api.Spec.Argument.Builder addArgsBuilder(
           int index) {
-        return getArgsFieldBuilder().addBuilder(
+        return internalGetArgsFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.Argument.getDefaultInstance());
       }
       /**
@@ -27503,11 +27504,11 @@ public com.kcl.api.Spec.Argument.Builder addArgsBuilder(
        */
       public java.util.List 
            getArgsBuilderList() {
-        return getArgsFieldBuilder().getBuilderList();
+        return internalGetArgsFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.Argument, com.kcl.api.Spec.Argument.Builder, com.kcl.api.Spec.ArgumentOrBuilder> 
-          getArgsFieldBuilder() {
+          internalGetArgsFieldBuilder() {
         if (argsBuilder_ == null) {
           argsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.Argument, com.kcl.api.Spec.Argument.Builder, com.kcl.api.Spec.ArgumentOrBuilder>(
@@ -28207,7 +28208,7 @@ public Builder removeExternalPkgs(int index) {
        */
       public com.kcl.api.Spec.ExternalPkg.Builder getExternalPkgsBuilder(
           int index) {
-        return getExternalPkgsFieldBuilder().getBuilder(index);
+        return internalGetExternalPkgsFieldBuilder().getBuilder(index);
       }
       /**
        * 
@@ -28246,7 +28247,7 @@ public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder(
        * repeated .com.kcl.api.ExternalPkg external_pkgs = 13;
        */
       public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder() {
-        return getExternalPkgsFieldBuilder().addBuilder(
+        return internalGetExternalPkgsFieldBuilder().addBuilder(
             com.kcl.api.Spec.ExternalPkg.getDefaultInstance());
       }
       /**
@@ -28258,7 +28259,7 @@ public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder() {
        */
       public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder(
           int index) {
-        return getExternalPkgsFieldBuilder().addBuilder(
+        return internalGetExternalPkgsFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.ExternalPkg.getDefaultInstance());
       }
       /**
@@ -28270,11 +28271,11 @@ public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder(
        */
       public java.util.List 
            getExternalPkgsBuilderList() {
-        return getExternalPkgsFieldBuilder().getBuilderList();
+        return internalGetExternalPkgsFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder> 
-          getExternalPkgsFieldBuilder() {
+          internalGetExternalPkgsFieldBuilder() {
         if (externalPkgsBuilder_ == null) {
           externalPkgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder>(
@@ -28610,23 +28611,23 @@ public Builder clearFastEval() {
         return this;
       }
 
-      // @@protoc_insertion_point(builder_scope:com.kcl.api.ExecProgram_Args)
+      // @@protoc_insertion_point(builder_scope:com.kcl.api.ExecProgramArgs)
     }
 
-    // @@protoc_insertion_point(class_scope:com.kcl.api.ExecProgram_Args)
-    private static final com.kcl.api.Spec.ExecProgram_Args DEFAULT_INSTANCE;
+    // @@protoc_insertion_point(class_scope:com.kcl.api.ExecProgramArgs)
+    private static final com.kcl.api.Spec.ExecProgramArgs DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kcl.api.Spec.ExecProgram_Args();
+      DEFAULT_INSTANCE = new com.kcl.api.Spec.ExecProgramArgs();
     }
 
-    public static com.kcl.api.Spec.ExecProgram_Args getDefaultInstance() {
+    public static com.kcl.api.Spec.ExecProgramArgs getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
       @java.lang.Override
-      public ExecProgram_Args parsePartialFrom(
+      public ExecProgramArgs parsePartialFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
@@ -28645,24 +28646,24 @@ public ExecProgram_Args parsePartialFrom(
       }
     };
 
-    public static com.google.protobuf.Parser parser() {
+    public static com.google.protobuf.Parser parser() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Parser getParserForType() {
+    public com.google.protobuf.Parser getParserForType() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.kcl.api.Spec.ExecProgram_Args getDefaultInstanceForType() {
+    public com.kcl.api.Spec.ExecProgramArgs getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
   }
 
-  public interface ExecProgram_ResultOrBuilder extends
-      // @@protoc_insertion_point(interface_extends:com.kcl.api.ExecProgram_Result)
+  public interface ExecProgramResultOrBuilder extends
+      // @@protoc_insertion_point(interface_extends:com.kcl.api.ExecProgramResult)
       com.google.protobuf.MessageOrBuilder {
 
     /**
@@ -28750,27 +28751,27 @@ public interface ExecProgram_ResultOrBuilder extends
    * Message for execute program response.
    * 
* - * Protobuf type {@code com.kcl.api.ExecProgram_Result} + * Protobuf type {@code com.kcl.api.ExecProgramResult} */ - public static final class ExecProgram_Result extends + public static final class ExecProgramResult extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ExecProgram_Result) - ExecProgram_ResultOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.ExecProgramResult) + ExecProgramResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - ExecProgram_Result.class.getName()); + "ExecProgramResult"); } - // Use ExecProgram_Result.newBuilder() to construct. - private ExecProgram_Result(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use ExecProgramResult.newBuilder() to construct. + private ExecProgramResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private ExecProgram_Result() { + private ExecProgramResult() { jsonResult_ = ""; yamlResult_ = ""; logMessage_ = ""; @@ -28779,15 +28780,15 @@ private ExecProgram_Result() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgramResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgramResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ExecProgram_Result.class, com.kcl.api.Spec.ExecProgram_Result.Builder.class); + com.kcl.api.Spec.ExecProgramResult.class, com.kcl.api.Spec.ExecProgramResult.Builder.class); } public static final int JSON_RESULT_FIELD_NUMBER = 1; @@ -29035,10 +29036,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.ExecProgram_Result)) { + if (!(obj instanceof com.kcl.api.Spec.ExecProgramResult)) { return super.equals(obj); } - com.kcl.api.Spec.ExecProgram_Result other = (com.kcl.api.Spec.ExecProgram_Result) obj; + com.kcl.api.Spec.ExecProgramResult other = (com.kcl.api.Spec.ExecProgramResult) obj; if (!getJsonResult() .equals(other.getJsonResult())) return false; @@ -29072,44 +29073,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.ExecProgram_Result parseFrom( + public static com.kcl.api.Spec.ExecProgramResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ExecProgram_Result parseFrom( + public static com.kcl.api.Spec.ExecProgramResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ExecProgram_Result parseFrom( + public static com.kcl.api.Spec.ExecProgramResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ExecProgram_Result parseFrom( + public static com.kcl.api.Spec.ExecProgramResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ExecProgram_Result parseFrom(byte[] data) + public static com.kcl.api.Spec.ExecProgramResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ExecProgram_Result parseFrom( + public static com.kcl.api.Spec.ExecProgramResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ExecProgram_Result parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ExecProgramResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ExecProgram_Result parseFrom( + public static com.kcl.api.Spec.ExecProgramResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -29117,26 +29118,26 @@ public static com.kcl.api.Spec.ExecProgram_Result parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ExecProgram_Result parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ExecProgramResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ExecProgram_Result parseDelimitedFrom( + public static com.kcl.api.Spec.ExecProgramResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ExecProgram_Result parseFrom( + public static com.kcl.api.Spec.ExecProgramResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ExecProgram_Result parseFrom( + public static com.kcl.api.Spec.ExecProgramResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -29149,7 +29150,7 @@ public static com.kcl.api.Spec.ExecProgram_Result parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.ExecProgram_Result prototype) { + public static Builder newBuilder(com.kcl.api.Spec.ExecProgramResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -29169,26 +29170,26 @@ protected Builder newBuilderForType( * Message for execute program response. *
* - * Protobuf type {@code com.kcl.api.ExecProgram_Result} + * Protobuf type {@code com.kcl.api.ExecProgramResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ExecProgram_Result) - com.kcl.api.Spec.ExecProgram_ResultOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.ExecProgramResult) + com.kcl.api.Spec.ExecProgramResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgramResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgramResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ExecProgram_Result.class, com.kcl.api.Spec.ExecProgram_Result.Builder.class); + com.kcl.api.Spec.ExecProgramResult.class, com.kcl.api.Spec.ExecProgramResult.Builder.class); } - // Construct using com.kcl.api.Spec.ExecProgram_Result.newBuilder() + // Construct using com.kcl.api.Spec.ExecProgramResult.newBuilder() private Builder() { } @@ -29212,17 +29213,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgram_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecProgramResult_descriptor; } @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ExecProgram_Result.getDefaultInstance(); + public com.kcl.api.Spec.ExecProgramResult getDefaultInstanceForType() { + return com.kcl.api.Spec.ExecProgramResult.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Result build() { - com.kcl.api.Spec.ExecProgram_Result result = buildPartial(); + public com.kcl.api.Spec.ExecProgramResult build() { + com.kcl.api.Spec.ExecProgramResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -29230,14 +29231,14 @@ public com.kcl.api.Spec.ExecProgram_Result build() { } @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Result buildPartial() { - com.kcl.api.Spec.ExecProgram_Result result = new com.kcl.api.Spec.ExecProgram_Result(this); + public com.kcl.api.Spec.ExecProgramResult buildPartial() { + com.kcl.api.Spec.ExecProgramResult result = new com.kcl.api.Spec.ExecProgramResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.ExecProgram_Result result) { + private void buildPartial0(com.kcl.api.Spec.ExecProgramResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.jsonResult_ = jsonResult_; @@ -29255,16 +29256,16 @@ private void buildPartial0(com.kcl.api.Spec.ExecProgram_Result result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ExecProgram_Result) { - return mergeFrom((com.kcl.api.Spec.ExecProgram_Result)other); + if (other instanceof com.kcl.api.Spec.ExecProgramResult) { + return mergeFrom((com.kcl.api.Spec.ExecProgramResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.ExecProgram_Result other) { - if (other == com.kcl.api.Spec.ExecProgram_Result.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.ExecProgramResult other) { + if (other == com.kcl.api.Spec.ExecProgramResult.getDefaultInstance()) return this; if (!other.getJsonResult().isEmpty()) { jsonResult_ = other.jsonResult_; bitField0_ |= 0x00000001; @@ -29716,23 +29717,23 @@ public Builder setErrMessageBytes( return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.ExecProgram_Result) + // @@protoc_insertion_point(builder_scope:com.kcl.api.ExecProgramResult) } - // @@protoc_insertion_point(class_scope:com.kcl.api.ExecProgram_Result) - private static final com.kcl.api.Spec.ExecProgram_Result DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.ExecProgramResult) + private static final com.kcl.api.Spec.ExecProgramResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ExecProgram_Result(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.ExecProgramResult(); } - public static com.kcl.api.Spec.ExecProgram_Result getDefaultInstance() { + public static com.kcl.api.Spec.ExecProgramResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public ExecProgram_Result parsePartialFrom( + public ExecProgramResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -29751,24 +29752,24 @@ public ExecProgram_Result parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Result getDefaultInstanceForType() { + public com.kcl.api.Spec.ExecProgramResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface BuildProgram_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.BuildProgram_Args) + public interface BuildProgramArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.BuildProgramArgs) com.google.protobuf.MessageOrBuilder { /** @@ -29776,7 +29777,7 @@ public interface BuildProgram_ArgsOrBuilder extends * Arguments for executing the program. *
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; * @return Whether the execArgs field is set. */ boolean hasExecArgs(); @@ -29785,18 +29786,18 @@ public interface BuildProgram_ArgsOrBuilder extends * Arguments for executing the program. *
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; * @return The execArgs. */ - com.kcl.api.Spec.ExecProgram_Args getExecArgs(); + com.kcl.api.Spec.ExecProgramArgs getExecArgs(); /** *
      * Arguments for executing the program.
      * 
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ - com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder(); + com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder(); /** *
@@ -29823,52 +29824,52 @@ public interface BuildProgram_ArgsOrBuilder extends
    * Message for build program request arguments.
    * 
* - * Protobuf type {@code com.kcl.api.BuildProgram_Args} + * Protobuf type {@code com.kcl.api.BuildProgramArgs} */ - public static final class BuildProgram_Args extends + public static final class BuildProgramArgs extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.BuildProgram_Args) - BuildProgram_ArgsOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.BuildProgramArgs) + BuildProgramArgsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - BuildProgram_Args.class.getName()); + "BuildProgramArgs"); } - // Use BuildProgram_Args.newBuilder() to construct. - private BuildProgram_Args(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use BuildProgramArgs.newBuilder() to construct. + private BuildProgramArgs(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private BuildProgram_Args() { + private BuildProgramArgs() { output_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgramArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgramArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.BuildProgram_Args.class, com.kcl.api.Spec.BuildProgram_Args.Builder.class); + com.kcl.api.Spec.BuildProgramArgs.class, com.kcl.api.Spec.BuildProgramArgs.Builder.class); } private int bitField0_; public static final int EXEC_ARGS_FIELD_NUMBER = 1; - private com.kcl.api.Spec.ExecProgram_Args execArgs_; + private com.kcl.api.Spec.ExecProgramArgs execArgs_; /** *
      * Arguments for executing the program.
      * 
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; * @return Whether the execArgs field is set. */ @java.lang.Override @@ -29880,23 +29881,23 @@ public boolean hasExecArgs() { * Arguments for executing the program. *
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; * @return The execArgs. */ @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + public com.kcl.api.Spec.ExecProgramArgs getExecArgs() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; } /** *
      * Arguments for executing the program.
      * 
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ @java.lang.Override - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + public com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; } public static final int OUTPUT_FIELD_NUMBER = 2; @@ -29992,10 +29993,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.BuildProgram_Args)) { + if (!(obj instanceof com.kcl.api.Spec.BuildProgramArgs)) { return super.equals(obj); } - com.kcl.api.Spec.BuildProgram_Args other = (com.kcl.api.Spec.BuildProgram_Args) obj; + com.kcl.api.Spec.BuildProgramArgs other = (com.kcl.api.Spec.BuildProgramArgs) obj; if (hasExecArgs() != other.hasExecArgs()) return false; if (hasExecArgs()) { @@ -30026,44 +30027,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.BuildProgram_Args parseFrom( + public static com.kcl.api.Spec.BuildProgramArgs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.BuildProgram_Args parseFrom( + public static com.kcl.api.Spec.BuildProgramArgs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.BuildProgram_Args parseFrom( + public static com.kcl.api.Spec.BuildProgramArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.BuildProgram_Args parseFrom( + public static com.kcl.api.Spec.BuildProgramArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.BuildProgram_Args parseFrom(byte[] data) + public static com.kcl.api.Spec.BuildProgramArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.BuildProgram_Args parseFrom( + public static com.kcl.api.Spec.BuildProgramArgs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.BuildProgram_Args parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.BuildProgramArgs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.BuildProgram_Args parseFrom( + public static com.kcl.api.Spec.BuildProgramArgs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -30071,26 +30072,26 @@ public static com.kcl.api.Spec.BuildProgram_Args parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.BuildProgram_Args parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.BuildProgramArgs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.BuildProgram_Args parseDelimitedFrom( + public static com.kcl.api.Spec.BuildProgramArgs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.BuildProgram_Args parseFrom( + public static com.kcl.api.Spec.BuildProgramArgs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.BuildProgram_Args parseFrom( + public static com.kcl.api.Spec.BuildProgramArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -30103,7 +30104,7 @@ public static com.kcl.api.Spec.BuildProgram_Args parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.BuildProgram_Args prototype) { + public static Builder newBuilder(com.kcl.api.Spec.BuildProgramArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -30123,26 +30124,26 @@ protected Builder newBuilderForType( * Message for build program request arguments. *
* - * Protobuf type {@code com.kcl.api.BuildProgram_Args} + * Protobuf type {@code com.kcl.api.BuildProgramArgs} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.BuildProgram_Args) - com.kcl.api.Spec.BuildProgram_ArgsOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.BuildProgramArgs) + com.kcl.api.Spec.BuildProgramArgsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgramArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgramArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.BuildProgram_Args.class, com.kcl.api.Spec.BuildProgram_Args.Builder.class); + com.kcl.api.Spec.BuildProgramArgs.class, com.kcl.api.Spec.BuildProgramArgs.Builder.class); } - // Construct using com.kcl.api.Spec.BuildProgram_Args.newBuilder() + // Construct using com.kcl.api.Spec.BuildProgramArgs.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -30155,7 +30156,7 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { - getExecArgsFieldBuilder(); + internalGetExecArgsFieldBuilder(); } } @java.lang.Override @@ -30174,17 +30175,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgramArgs_descriptor; } @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.BuildProgram_Args.getDefaultInstance(); + public com.kcl.api.Spec.BuildProgramArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.BuildProgramArgs.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Args build() { - com.kcl.api.Spec.BuildProgram_Args result = buildPartial(); + public com.kcl.api.Spec.BuildProgramArgs build() { + com.kcl.api.Spec.BuildProgramArgs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -30192,14 +30193,14 @@ public com.kcl.api.Spec.BuildProgram_Args build() { } @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Args buildPartial() { - com.kcl.api.Spec.BuildProgram_Args result = new com.kcl.api.Spec.BuildProgram_Args(this); + public com.kcl.api.Spec.BuildProgramArgs buildPartial() { + com.kcl.api.Spec.BuildProgramArgs result = new com.kcl.api.Spec.BuildProgramArgs(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.BuildProgram_Args result) { + private void buildPartial0(com.kcl.api.Spec.BuildProgramArgs result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -30216,16 +30217,16 @@ private void buildPartial0(com.kcl.api.Spec.BuildProgram_Args result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.BuildProgram_Args) { - return mergeFrom((com.kcl.api.Spec.BuildProgram_Args)other); + if (other instanceof com.kcl.api.Spec.BuildProgramArgs) { + return mergeFrom((com.kcl.api.Spec.BuildProgramArgs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.BuildProgram_Args other) { - if (other == com.kcl.api.Spec.BuildProgram_Args.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.BuildProgramArgs other) { + if (other == com.kcl.api.Spec.BuildProgramArgs.getDefaultInstance()) return this; if (other.hasExecArgs()) { mergeExecArgs(other.getExecArgs()); } @@ -30262,7 +30263,7 @@ public Builder mergeFrom( break; case 10: { input.readMessage( - getExecArgsFieldBuilder().getBuilder(), + internalGetExecArgsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; @@ -30289,15 +30290,15 @@ public Builder mergeFrom( } private int bitField0_; - private com.kcl.api.Spec.ExecProgram_Args execArgs_; + private com.kcl.api.Spec.ExecProgramArgs execArgs_; private com.google.protobuf.SingleFieldBuilder< - com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder> execArgsBuilder_; + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder> execArgsBuilder_; /** *
        * Arguments for executing the program.
        * 
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; * @return Whether the execArgs field is set. */ public boolean hasExecArgs() { @@ -30308,12 +30309,12 @@ public boolean hasExecArgs() { * Arguments for executing the program. *
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; * @return The execArgs. */ - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { + public com.kcl.api.Spec.ExecProgramArgs getExecArgs() { if (execArgsBuilder_ == null) { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; } else { return execArgsBuilder_.getMessage(); } @@ -30323,9 +30324,9 @@ public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { * Arguments for executing the program. *
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ - public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { + public Builder setExecArgs(com.kcl.api.Spec.ExecProgramArgs value) { if (execArgsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -30343,10 +30344,10 @@ public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { * Arguments for executing the program. *
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ public Builder setExecArgs( - com.kcl.api.Spec.ExecProgram_Args.Builder builderForValue) { + com.kcl.api.Spec.ExecProgramArgs.Builder builderForValue) { if (execArgsBuilder_ == null) { execArgs_ = builderForValue.build(); } else { @@ -30361,13 +30362,13 @@ public Builder setExecArgs( * Arguments for executing the program. * * - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ - public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { + public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgramArgs value) { if (execArgsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && execArgs_ != null && - execArgs_ != com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance()) { + execArgs_ != com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance()) { getExecArgsBuilder().mergeFrom(value); } else { execArgs_ = value; @@ -30386,7 +30387,7 @@ public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { * Arguments for executing the program. * * - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ public Builder clearExecArgs() { bitField0_ = (bitField0_ & ~0x00000001); @@ -30403,26 +30404,26 @@ public Builder clearExecArgs() { * Arguments for executing the program. * * - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ - public com.kcl.api.Spec.ExecProgram_Args.Builder getExecArgsBuilder() { + public com.kcl.api.Spec.ExecProgramArgs.Builder getExecArgsBuilder() { bitField0_ |= 0x00000001; onChanged(); - return getExecArgsFieldBuilder().getBuilder(); + return internalGetExecArgsFieldBuilder().getBuilder(); } /** *
        * Arguments for executing the program.
        * 
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { + public com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder() { if (execArgsBuilder_ != null) { return execArgsBuilder_.getMessageOrBuilder(); } else { return execArgs_ == null ? - com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; } } /** @@ -30430,14 +30431,14 @@ public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { * Arguments for executing the program. * * - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ private com.google.protobuf.SingleFieldBuilder< - com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder> - getExecArgsFieldBuilder() { + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder> + internalGetExecArgsFieldBuilder() { if (execArgsBuilder_ == null) { execArgsBuilder_ = new com.google.protobuf.SingleFieldBuilder< - com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder>( + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder>( getExecArgs(), getParentForChildren(), isClean()); @@ -30538,23 +30539,23 @@ public Builder setOutputBytes( return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.BuildProgram_Args) + // @@protoc_insertion_point(builder_scope:com.kcl.api.BuildProgramArgs) } - // @@protoc_insertion_point(class_scope:com.kcl.api.BuildProgram_Args) - private static final com.kcl.api.Spec.BuildProgram_Args DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.BuildProgramArgs) + private static final com.kcl.api.Spec.BuildProgramArgs DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.BuildProgram_Args(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.BuildProgramArgs(); } - public static com.kcl.api.Spec.BuildProgram_Args getDefaultInstance() { + public static com.kcl.api.Spec.BuildProgramArgs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public BuildProgram_Args parsePartialFrom( + public BuildProgramArgs parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -30573,24 +30574,24 @@ public BuildProgram_Args parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Args getDefaultInstanceForType() { + public com.kcl.api.Spec.BuildProgramArgs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface BuildProgram_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.BuildProgram_Result) + public interface BuildProgramResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.BuildProgramResult) com.google.protobuf.MessageOrBuilder { /** @@ -30618,41 +30619,41 @@ public interface BuildProgram_ResultOrBuilder extends * Message for build program response. * * - * Protobuf type {@code com.kcl.api.BuildProgram_Result} + * Protobuf type {@code com.kcl.api.BuildProgramResult} */ - public static final class BuildProgram_Result extends + public static final class BuildProgramResult extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.BuildProgram_Result) - BuildProgram_ResultOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.BuildProgramResult) + BuildProgramResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - BuildProgram_Result.class.getName()); + "BuildProgramResult"); } - // Use BuildProgram_Result.newBuilder() to construct. - private BuildProgram_Result(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use BuildProgramResult.newBuilder() to construct. + private BuildProgramResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private BuildProgram_Result() { + private BuildProgramResult() { path_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgramResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgramResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.BuildProgram_Result.class, com.kcl.api.Spec.BuildProgram_Result.Builder.class); + com.kcl.api.Spec.BuildProgramResult.class, com.kcl.api.Spec.BuildProgramResult.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; @@ -30741,10 +30742,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.BuildProgram_Result)) { + if (!(obj instanceof com.kcl.api.Spec.BuildProgramResult)) { return super.equals(obj); } - com.kcl.api.Spec.BuildProgram_Result other = (com.kcl.api.Spec.BuildProgram_Result) obj; + com.kcl.api.Spec.BuildProgramResult other = (com.kcl.api.Spec.BuildProgramResult) obj; if (!getPath() .equals(other.getPath())) return false; @@ -30766,44 +30767,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.BuildProgram_Result parseFrom( + public static com.kcl.api.Spec.BuildProgramResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.BuildProgram_Result parseFrom( + public static com.kcl.api.Spec.BuildProgramResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.BuildProgram_Result parseFrom( + public static com.kcl.api.Spec.BuildProgramResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.BuildProgram_Result parseFrom( + public static com.kcl.api.Spec.BuildProgramResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.BuildProgram_Result parseFrom(byte[] data) + public static com.kcl.api.Spec.BuildProgramResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.BuildProgram_Result parseFrom( + public static com.kcl.api.Spec.BuildProgramResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.BuildProgram_Result parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.BuildProgramResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.BuildProgram_Result parseFrom( + public static com.kcl.api.Spec.BuildProgramResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -30811,26 +30812,26 @@ public static com.kcl.api.Spec.BuildProgram_Result parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.BuildProgram_Result parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.BuildProgramResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.BuildProgram_Result parseDelimitedFrom( + public static com.kcl.api.Spec.BuildProgramResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.BuildProgram_Result parseFrom( + public static com.kcl.api.Spec.BuildProgramResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.BuildProgram_Result parseFrom( + public static com.kcl.api.Spec.BuildProgramResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -30843,7 +30844,7 @@ public static com.kcl.api.Spec.BuildProgram_Result parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.BuildProgram_Result prototype) { + public static Builder newBuilder(com.kcl.api.Spec.BuildProgramResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -30863,26 +30864,26 @@ protected Builder newBuilderForType( * Message for build program response. * * - * Protobuf type {@code com.kcl.api.BuildProgram_Result} + * Protobuf type {@code com.kcl.api.BuildProgramResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.BuildProgram_Result) - com.kcl.api.Spec.BuildProgram_ResultOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.BuildProgramResult) + com.kcl.api.Spec.BuildProgramResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgramResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgramResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.BuildProgram_Result.class, com.kcl.api.Spec.BuildProgram_Result.Builder.class); + com.kcl.api.Spec.BuildProgramResult.class, com.kcl.api.Spec.BuildProgramResult.Builder.class); } - // Construct using com.kcl.api.Spec.BuildProgram_Result.newBuilder() + // Construct using com.kcl.api.Spec.BuildProgramResult.newBuilder() private Builder() { } @@ -30903,17 +30904,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgram_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_BuildProgramResult_descriptor; } @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.BuildProgram_Result.getDefaultInstance(); + public com.kcl.api.Spec.BuildProgramResult getDefaultInstanceForType() { + return com.kcl.api.Spec.BuildProgramResult.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Result build() { - com.kcl.api.Spec.BuildProgram_Result result = buildPartial(); + public com.kcl.api.Spec.BuildProgramResult build() { + com.kcl.api.Spec.BuildProgramResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -30921,14 +30922,14 @@ public com.kcl.api.Spec.BuildProgram_Result build() { } @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Result buildPartial() { - com.kcl.api.Spec.BuildProgram_Result result = new com.kcl.api.Spec.BuildProgram_Result(this); + public com.kcl.api.Spec.BuildProgramResult buildPartial() { + com.kcl.api.Spec.BuildProgramResult result = new com.kcl.api.Spec.BuildProgramResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.BuildProgram_Result result) { + private void buildPartial0(com.kcl.api.Spec.BuildProgramResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.path_ = path_; @@ -30937,16 +30938,16 @@ private void buildPartial0(com.kcl.api.Spec.BuildProgram_Result result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.BuildProgram_Result) { - return mergeFrom((com.kcl.api.Spec.BuildProgram_Result)other); + if (other instanceof com.kcl.api.Spec.BuildProgramResult) { + return mergeFrom((com.kcl.api.Spec.BuildProgramResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.BuildProgram_Result other) { - if (other == com.kcl.api.Spec.BuildProgram_Result.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.BuildProgramResult other) { + if (other == com.kcl.api.Spec.BuildProgramResult.getDefaultInstance()) return this; if (!other.getPath().isEmpty()) { path_ = other.path_; bitField0_ |= 0x00000001; @@ -31092,23 +31093,23 @@ public Builder setPathBytes( return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.BuildProgram_Result) + // @@protoc_insertion_point(builder_scope:com.kcl.api.BuildProgramResult) } - // @@protoc_insertion_point(class_scope:com.kcl.api.BuildProgram_Result) - private static final com.kcl.api.Spec.BuildProgram_Result DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.BuildProgramResult) + private static final com.kcl.api.Spec.BuildProgramResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.BuildProgram_Result(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.BuildProgramResult(); } - public static com.kcl.api.Spec.BuildProgram_Result getDefaultInstance() { + public static com.kcl.api.Spec.BuildProgramResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public BuildProgram_Result parsePartialFrom( + public BuildProgramResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -31127,24 +31128,24 @@ public BuildProgram_Result parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.BuildProgram_Result getDefaultInstanceForType() { + public com.kcl.api.Spec.BuildProgramResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface ExecArtifact_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ExecArtifact_Args) + public interface ExecArtifactArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ExecArtifactArgs) com.google.protobuf.MessageOrBuilder { /** @@ -31172,7 +31173,7 @@ public interface ExecArtifact_ArgsOrBuilder extends * Arguments for executing the program. * * - * .com.kcl.api.ExecProgram_Args exec_args = 2; + * .com.kcl.api.ExecProgramArgs exec_args = 2; * @return Whether the execArgs field is set. */ boolean hasExecArgs(); @@ -31181,59 +31182,59 @@ public interface ExecArtifact_ArgsOrBuilder extends * Arguments for executing the program. * * - * .com.kcl.api.ExecProgram_Args exec_args = 2; + * .com.kcl.api.ExecProgramArgs exec_args = 2; * @return The execArgs. */ - com.kcl.api.Spec.ExecProgram_Args getExecArgs(); + com.kcl.api.Spec.ExecProgramArgs getExecArgs(); /** *
      * Arguments for executing the program.
      * 
* - * .com.kcl.api.ExecProgram_Args exec_args = 2; + * .com.kcl.api.ExecProgramArgs exec_args = 2; */ - com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder(); + com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder(); } /** *
    * Message for execute artifact request arguments.
    * 
* - * Protobuf type {@code com.kcl.api.ExecArtifact_Args} + * Protobuf type {@code com.kcl.api.ExecArtifactArgs} */ - public static final class ExecArtifact_Args extends + public static final class ExecArtifactArgs extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ExecArtifact_Args) - ExecArtifact_ArgsOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.ExecArtifactArgs) + ExecArtifactArgsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - ExecArtifact_Args.class.getName()); + "ExecArtifactArgs"); } - // Use ExecArtifact_Args.newBuilder() to construct. - private ExecArtifact_Args(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use ExecArtifactArgs.newBuilder() to construct. + private ExecArtifactArgs(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private ExecArtifact_Args() { + private ExecArtifactArgs() { path_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifact_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifactArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifact_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifactArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ExecArtifact_Args.class, com.kcl.api.Spec.ExecArtifact_Args.Builder.class); + com.kcl.api.Spec.ExecArtifactArgs.class, com.kcl.api.Spec.ExecArtifactArgs.Builder.class); } private int bitField0_; @@ -31285,13 +31286,13 @@ public java.lang.String getPath() { } public static final int EXEC_ARGS_FIELD_NUMBER = 2; - private com.kcl.api.Spec.ExecProgram_Args execArgs_; + private com.kcl.api.Spec.ExecProgramArgs execArgs_; /** *
      * Arguments for executing the program.
      * 
* - * .com.kcl.api.ExecProgram_Args exec_args = 2; + * .com.kcl.api.ExecProgramArgs exec_args = 2; * @return Whether the execArgs field is set. */ @java.lang.Override @@ -31303,23 +31304,23 @@ public boolean hasExecArgs() { * Arguments for executing the program. * * - * .com.kcl.api.ExecProgram_Args exec_args = 2; + * .com.kcl.api.ExecProgramArgs exec_args = 2; * @return The execArgs. */ @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + public com.kcl.api.Spec.ExecProgramArgs getExecArgs() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; } /** *
      * Arguments for executing the program.
      * 
* - * .com.kcl.api.ExecProgram_Args exec_args = 2; + * .com.kcl.api.ExecProgramArgs exec_args = 2; */ @java.lang.Override - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + public com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; } private byte memoizedIsInitialized = -1; @@ -31368,10 +31369,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.ExecArtifact_Args)) { + if (!(obj instanceof com.kcl.api.Spec.ExecArtifactArgs)) { return super.equals(obj); } - com.kcl.api.Spec.ExecArtifact_Args other = (com.kcl.api.Spec.ExecArtifact_Args) obj; + com.kcl.api.Spec.ExecArtifactArgs other = (com.kcl.api.Spec.ExecArtifactArgs) obj; if (!getPath() .equals(other.getPath())) return false; @@ -31402,44 +31403,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom( + public static com.kcl.api.Spec.ExecArtifactArgs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom( + public static com.kcl.api.Spec.ExecArtifactArgs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom( + public static com.kcl.api.Spec.ExecArtifactArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom( + public static com.kcl.api.Spec.ExecArtifactArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom(byte[] data) + public static com.kcl.api.Spec.ExecArtifactArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom( + public static com.kcl.api.Spec.ExecArtifactArgs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ExecArtifactArgs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom( + public static com.kcl.api.Spec.ExecArtifactArgs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -31447,26 +31448,26 @@ public static com.kcl.api.Spec.ExecArtifact_Args parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ExecArtifact_Args parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ExecArtifactArgs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ExecArtifact_Args parseDelimitedFrom( + public static com.kcl.api.Spec.ExecArtifactArgs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom( + public static com.kcl.api.Spec.ExecArtifactArgs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ExecArtifact_Args parseFrom( + public static com.kcl.api.Spec.ExecArtifactArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -31479,7 +31480,7 @@ public static com.kcl.api.Spec.ExecArtifact_Args parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.ExecArtifact_Args prototype) { + public static Builder newBuilder(com.kcl.api.Spec.ExecArtifactArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -31499,26 +31500,26 @@ protected Builder newBuilderForType( * Message for execute artifact request arguments. * * - * Protobuf type {@code com.kcl.api.ExecArtifact_Args} + * Protobuf type {@code com.kcl.api.ExecArtifactArgs} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ExecArtifact_Args) - com.kcl.api.Spec.ExecArtifact_ArgsOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.ExecArtifactArgs) + com.kcl.api.Spec.ExecArtifactArgsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifact_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifactArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifact_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifactArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ExecArtifact_Args.class, com.kcl.api.Spec.ExecArtifact_Args.Builder.class); + com.kcl.api.Spec.ExecArtifactArgs.class, com.kcl.api.Spec.ExecArtifactArgs.Builder.class); } - // Construct using com.kcl.api.Spec.ExecArtifact_Args.newBuilder() + // Construct using com.kcl.api.Spec.ExecArtifactArgs.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -31531,7 +31532,7 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { - getExecArgsFieldBuilder(); + internalGetExecArgsFieldBuilder(); } } @java.lang.Override @@ -31550,17 +31551,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifact_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ExecArtifactArgs_descriptor; } @java.lang.Override - public com.kcl.api.Spec.ExecArtifact_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ExecArtifact_Args.getDefaultInstance(); + public com.kcl.api.Spec.ExecArtifactArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.ExecArtifactArgs.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.ExecArtifact_Args build() { - com.kcl.api.Spec.ExecArtifact_Args result = buildPartial(); + public com.kcl.api.Spec.ExecArtifactArgs build() { + com.kcl.api.Spec.ExecArtifactArgs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -31568,14 +31569,14 @@ public com.kcl.api.Spec.ExecArtifact_Args build() { } @java.lang.Override - public com.kcl.api.Spec.ExecArtifact_Args buildPartial() { - com.kcl.api.Spec.ExecArtifact_Args result = new com.kcl.api.Spec.ExecArtifact_Args(this); + public com.kcl.api.Spec.ExecArtifactArgs buildPartial() { + com.kcl.api.Spec.ExecArtifactArgs result = new com.kcl.api.Spec.ExecArtifactArgs(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.ExecArtifact_Args result) { + private void buildPartial0(com.kcl.api.Spec.ExecArtifactArgs result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.path_ = path_; @@ -31592,16 +31593,16 @@ private void buildPartial0(com.kcl.api.Spec.ExecArtifact_Args result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ExecArtifact_Args) { - return mergeFrom((com.kcl.api.Spec.ExecArtifact_Args)other); + if (other instanceof com.kcl.api.Spec.ExecArtifactArgs) { + return mergeFrom((com.kcl.api.Spec.ExecArtifactArgs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.ExecArtifact_Args other) { - if (other == com.kcl.api.Spec.ExecArtifact_Args.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.ExecArtifactArgs other) { + if (other == com.kcl.api.Spec.ExecArtifactArgs.getDefaultInstance()) return this; if (!other.getPath().isEmpty()) { path_ = other.path_; bitField0_ |= 0x00000001; @@ -31643,7 +31644,7 @@ public Builder mergeFrom( } // case 10 case 18: { input.readMessage( - getExecArgsFieldBuilder().getBuilder(), + internalGetExecArgsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; @@ -31757,15 +31758,15 @@ public Builder setPathBytes( return this; } - private com.kcl.api.Spec.ExecProgram_Args execArgs_; + private com.kcl.api.Spec.ExecProgramArgs execArgs_; private com.google.protobuf.SingleFieldBuilder< - com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder> execArgsBuilder_; + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder> execArgsBuilder_; /** *
        * Arguments for executing the program.
        * 
* - * .com.kcl.api.ExecProgram_Args exec_args = 2; + * .com.kcl.api.ExecProgramArgs exec_args = 2; * @return Whether the execArgs field is set. */ public boolean hasExecArgs() { @@ -31776,12 +31777,12 @@ public boolean hasExecArgs() { * Arguments for executing the program. * * - * .com.kcl.api.ExecProgram_Args exec_args = 2; + * .com.kcl.api.ExecProgramArgs exec_args = 2; * @return The execArgs. */ - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { + public com.kcl.api.Spec.ExecProgramArgs getExecArgs() { if (execArgsBuilder_ == null) { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; } else { return execArgsBuilder_.getMessage(); } @@ -31791,9 +31792,9 @@ public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { * Arguments for executing the program. * * - * .com.kcl.api.ExecProgram_Args exec_args = 2; + * .com.kcl.api.ExecProgramArgs exec_args = 2; */ - public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { + public Builder setExecArgs(com.kcl.api.Spec.ExecProgramArgs value) { if (execArgsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -31811,10 +31812,10 @@ public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { * Arguments for executing the program. * * - * .com.kcl.api.ExecProgram_Args exec_args = 2; + * .com.kcl.api.ExecProgramArgs exec_args = 2; */ public Builder setExecArgs( - com.kcl.api.Spec.ExecProgram_Args.Builder builderForValue) { + com.kcl.api.Spec.ExecProgramArgs.Builder builderForValue) { if (execArgsBuilder_ == null) { execArgs_ = builderForValue.build(); } else { @@ -31829,13 +31830,13 @@ public Builder setExecArgs( * Arguments for executing the program. * * - * .com.kcl.api.ExecProgram_Args exec_args = 2; + * .com.kcl.api.ExecProgramArgs exec_args = 2; */ - public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { + public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgramArgs value) { if (execArgsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && execArgs_ != null && - execArgs_ != com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance()) { + execArgs_ != com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance()) { getExecArgsBuilder().mergeFrom(value); } else { execArgs_ = value; @@ -31854,7 +31855,7 @@ public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { * Arguments for executing the program. * * - * .com.kcl.api.ExecProgram_Args exec_args = 2; + * .com.kcl.api.ExecProgramArgs exec_args = 2; */ public Builder clearExecArgs() { bitField0_ = (bitField0_ & ~0x00000002); @@ -31871,26 +31872,26 @@ public Builder clearExecArgs() { * Arguments for executing the program. * * - * .com.kcl.api.ExecProgram_Args exec_args = 2; + * .com.kcl.api.ExecProgramArgs exec_args = 2; */ - public com.kcl.api.Spec.ExecProgram_Args.Builder getExecArgsBuilder() { + public com.kcl.api.Spec.ExecProgramArgs.Builder getExecArgsBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getExecArgsFieldBuilder().getBuilder(); + return internalGetExecArgsFieldBuilder().getBuilder(); } /** *
        * Arguments for executing the program.
        * 
* - * .com.kcl.api.ExecProgram_Args exec_args = 2; + * .com.kcl.api.ExecProgramArgs exec_args = 2; */ - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { + public com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder() { if (execArgsBuilder_ != null) { return execArgsBuilder_.getMessageOrBuilder(); } else { return execArgs_ == null ? - com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; } } /** @@ -31898,14 +31899,14 @@ public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { * Arguments for executing the program. * * - * .com.kcl.api.ExecProgram_Args exec_args = 2; + * .com.kcl.api.ExecProgramArgs exec_args = 2; */ private com.google.protobuf.SingleFieldBuilder< - com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder> - getExecArgsFieldBuilder() { + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder> + internalGetExecArgsFieldBuilder() { if (execArgsBuilder_ == null) { execArgsBuilder_ = new com.google.protobuf.SingleFieldBuilder< - com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder>( + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder>( getExecArgs(), getParentForChildren(), isClean()); @@ -31914,23 +31915,23 @@ public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { return execArgsBuilder_; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.ExecArtifact_Args) + // @@protoc_insertion_point(builder_scope:com.kcl.api.ExecArtifactArgs) } - // @@protoc_insertion_point(class_scope:com.kcl.api.ExecArtifact_Args) - private static final com.kcl.api.Spec.ExecArtifact_Args DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.ExecArtifactArgs) + private static final com.kcl.api.Spec.ExecArtifactArgs DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ExecArtifact_Args(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.ExecArtifactArgs(); } - public static com.kcl.api.Spec.ExecArtifact_Args getDefaultInstance() { + public static com.kcl.api.Spec.ExecArtifactArgs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public ExecArtifact_Args parsePartialFrom( + public ExecArtifactArgs parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -31949,24 +31950,24 @@ public ExecArtifact_Args parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.ExecArtifact_Args getDefaultInstanceForType() { + public com.kcl.api.Spec.ExecArtifactArgs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface FormatCode_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatCode_Args) + public interface FormatCodeArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatCodeArgs) com.google.protobuf.MessageOrBuilder { /** @@ -31994,41 +31995,41 @@ public interface FormatCode_ArgsOrBuilder extends * Message for format code request arguments. * * - * Protobuf type {@code com.kcl.api.FormatCode_Args} + * Protobuf type {@code com.kcl.api.FormatCodeArgs} */ - public static final class FormatCode_Args extends + public static final class FormatCodeArgs extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.FormatCode_Args) - FormatCode_ArgsOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.FormatCodeArgs) + FormatCodeArgsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - FormatCode_Args.class.getName()); + "FormatCodeArgs"); } - // Use FormatCode_Args.newBuilder() to construct. - private FormatCode_Args(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use FormatCodeArgs.newBuilder() to construct. + private FormatCodeArgs(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private FormatCode_Args() { + private FormatCodeArgs() { source_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCodeArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCodeArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.FormatCode_Args.class, com.kcl.api.Spec.FormatCode_Args.Builder.class); + com.kcl.api.Spec.FormatCodeArgs.class, com.kcl.api.Spec.FormatCodeArgs.Builder.class); } public static final int SOURCE_FIELD_NUMBER = 1; @@ -32117,10 +32118,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.FormatCode_Args)) { + if (!(obj instanceof com.kcl.api.Spec.FormatCodeArgs)) { return super.equals(obj); } - com.kcl.api.Spec.FormatCode_Args other = (com.kcl.api.Spec.FormatCode_Args) obj; + com.kcl.api.Spec.FormatCodeArgs other = (com.kcl.api.Spec.FormatCodeArgs) obj; if (!getSource() .equals(other.getSource())) return false; @@ -32142,44 +32143,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.FormatCode_Args parseFrom( + public static com.kcl.api.Spec.FormatCodeArgs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.FormatCode_Args parseFrom( + public static com.kcl.api.Spec.FormatCodeArgs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.FormatCode_Args parseFrom( + public static com.kcl.api.Spec.FormatCodeArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.FormatCode_Args parseFrom( + public static com.kcl.api.Spec.FormatCodeArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.FormatCode_Args parseFrom(byte[] data) + public static com.kcl.api.Spec.FormatCodeArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.FormatCode_Args parseFrom( + public static com.kcl.api.Spec.FormatCodeArgs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.FormatCode_Args parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.FormatCodeArgs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.FormatCode_Args parseFrom( + public static com.kcl.api.Spec.FormatCodeArgs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -32187,26 +32188,26 @@ public static com.kcl.api.Spec.FormatCode_Args parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.FormatCode_Args parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.FormatCodeArgs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.FormatCode_Args parseDelimitedFrom( + public static com.kcl.api.Spec.FormatCodeArgs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.FormatCode_Args parseFrom( + public static com.kcl.api.Spec.FormatCodeArgs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.FormatCode_Args parseFrom( + public static com.kcl.api.Spec.FormatCodeArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -32219,7 +32220,7 @@ public static com.kcl.api.Spec.FormatCode_Args parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.FormatCode_Args prototype) { + public static Builder newBuilder(com.kcl.api.Spec.FormatCodeArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -32239,26 +32240,26 @@ protected Builder newBuilderForType( * Message for format code request arguments. * * - * Protobuf type {@code com.kcl.api.FormatCode_Args} + * Protobuf type {@code com.kcl.api.FormatCodeArgs} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatCode_Args) - com.kcl.api.Spec.FormatCode_ArgsOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatCodeArgs) + com.kcl.api.Spec.FormatCodeArgsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCodeArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCodeArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.FormatCode_Args.class, com.kcl.api.Spec.FormatCode_Args.Builder.class); + com.kcl.api.Spec.FormatCodeArgs.class, com.kcl.api.Spec.FormatCodeArgs.Builder.class); } - // Construct using com.kcl.api.Spec.FormatCode_Args.newBuilder() + // Construct using com.kcl.api.Spec.FormatCodeArgs.newBuilder() private Builder() { } @@ -32279,17 +32280,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCodeArgs_descriptor; } @java.lang.Override - public com.kcl.api.Spec.FormatCode_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.FormatCode_Args.getDefaultInstance(); + public com.kcl.api.Spec.FormatCodeArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.FormatCodeArgs.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.FormatCode_Args build() { - com.kcl.api.Spec.FormatCode_Args result = buildPartial(); + public com.kcl.api.Spec.FormatCodeArgs build() { + com.kcl.api.Spec.FormatCodeArgs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -32297,14 +32298,14 @@ public com.kcl.api.Spec.FormatCode_Args build() { } @java.lang.Override - public com.kcl.api.Spec.FormatCode_Args buildPartial() { - com.kcl.api.Spec.FormatCode_Args result = new com.kcl.api.Spec.FormatCode_Args(this); + public com.kcl.api.Spec.FormatCodeArgs buildPartial() { + com.kcl.api.Spec.FormatCodeArgs result = new com.kcl.api.Spec.FormatCodeArgs(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.FormatCode_Args result) { + private void buildPartial0(com.kcl.api.Spec.FormatCodeArgs result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.source_ = source_; @@ -32313,16 +32314,16 @@ private void buildPartial0(com.kcl.api.Spec.FormatCode_Args result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.FormatCode_Args) { - return mergeFrom((com.kcl.api.Spec.FormatCode_Args)other); + if (other instanceof com.kcl.api.Spec.FormatCodeArgs) { + return mergeFrom((com.kcl.api.Spec.FormatCodeArgs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.FormatCode_Args other) { - if (other == com.kcl.api.Spec.FormatCode_Args.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.FormatCodeArgs other) { + if (other == com.kcl.api.Spec.FormatCodeArgs.getDefaultInstance()) return this; if (!other.getSource().isEmpty()) { source_ = other.source_; bitField0_ |= 0x00000001; @@ -32468,23 +32469,23 @@ public Builder setSourceBytes( return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatCode_Args) + // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatCodeArgs) } - // @@protoc_insertion_point(class_scope:com.kcl.api.FormatCode_Args) - private static final com.kcl.api.Spec.FormatCode_Args DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.FormatCodeArgs) + private static final com.kcl.api.Spec.FormatCodeArgs DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatCode_Args(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatCodeArgs(); } - public static com.kcl.api.Spec.FormatCode_Args getDefaultInstance() { + public static com.kcl.api.Spec.FormatCodeArgs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public FormatCode_Args parsePartialFrom( + public FormatCodeArgs parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -32503,24 +32504,24 @@ public FormatCode_Args parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.FormatCode_Args getDefaultInstanceForType() { + public com.kcl.api.Spec.FormatCodeArgs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface FormatCode_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatCode_Result) + public interface FormatCodeResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatCodeResult) com.google.protobuf.MessageOrBuilder { /** @@ -32538,41 +32539,41 @@ public interface FormatCode_ResultOrBuilder extends * Message for format code response. * * - * Protobuf type {@code com.kcl.api.FormatCode_Result} + * Protobuf type {@code com.kcl.api.FormatCodeResult} */ - public static final class FormatCode_Result extends + public static final class FormatCodeResult extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.FormatCode_Result) - FormatCode_ResultOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.FormatCodeResult) + FormatCodeResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - FormatCode_Result.class.getName()); + "FormatCodeResult"); } - // Use FormatCode_Result.newBuilder() to construct. - private FormatCode_Result(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use FormatCodeResult.newBuilder() to construct. + private FormatCodeResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private FormatCode_Result() { + private FormatCodeResult() { formatted_ = com.google.protobuf.ByteString.EMPTY; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCodeResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCodeResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.FormatCode_Result.class, com.kcl.api.Spec.FormatCode_Result.Builder.class); + com.kcl.api.Spec.FormatCodeResult.class, com.kcl.api.Spec.FormatCodeResult.Builder.class); } public static final int FORMATTED_FIELD_NUMBER = 1; @@ -32630,10 +32631,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.FormatCode_Result)) { + if (!(obj instanceof com.kcl.api.Spec.FormatCodeResult)) { return super.equals(obj); } - com.kcl.api.Spec.FormatCode_Result other = (com.kcl.api.Spec.FormatCode_Result) obj; + com.kcl.api.Spec.FormatCodeResult other = (com.kcl.api.Spec.FormatCodeResult) obj; if (!getFormatted() .equals(other.getFormatted())) return false; @@ -32655,44 +32656,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.FormatCode_Result parseFrom( + public static com.kcl.api.Spec.FormatCodeResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.FormatCode_Result parseFrom( + public static com.kcl.api.Spec.FormatCodeResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.FormatCode_Result parseFrom( + public static com.kcl.api.Spec.FormatCodeResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.FormatCode_Result parseFrom( + public static com.kcl.api.Spec.FormatCodeResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.FormatCode_Result parseFrom(byte[] data) + public static com.kcl.api.Spec.FormatCodeResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.FormatCode_Result parseFrom( + public static com.kcl.api.Spec.FormatCodeResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.FormatCode_Result parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.FormatCodeResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.FormatCode_Result parseFrom( + public static com.kcl.api.Spec.FormatCodeResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -32700,26 +32701,26 @@ public static com.kcl.api.Spec.FormatCode_Result parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.FormatCode_Result parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.FormatCodeResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.FormatCode_Result parseDelimitedFrom( + public static com.kcl.api.Spec.FormatCodeResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.FormatCode_Result parseFrom( + public static com.kcl.api.Spec.FormatCodeResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.FormatCode_Result parseFrom( + public static com.kcl.api.Spec.FormatCodeResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -32732,7 +32733,7 @@ public static com.kcl.api.Spec.FormatCode_Result parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.FormatCode_Result prototype) { + public static Builder newBuilder(com.kcl.api.Spec.FormatCodeResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -32752,26 +32753,26 @@ protected Builder newBuilderForType( * Message for format code response. * * - * Protobuf type {@code com.kcl.api.FormatCode_Result} + * Protobuf type {@code com.kcl.api.FormatCodeResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatCode_Result) - com.kcl.api.Spec.FormatCode_ResultOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatCodeResult) + com.kcl.api.Spec.FormatCodeResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCodeResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCodeResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.FormatCode_Result.class, com.kcl.api.Spec.FormatCode_Result.Builder.class); + com.kcl.api.Spec.FormatCodeResult.class, com.kcl.api.Spec.FormatCodeResult.Builder.class); } - // Construct using com.kcl.api.Spec.FormatCode_Result.newBuilder() + // Construct using com.kcl.api.Spec.FormatCodeResult.newBuilder() private Builder() { } @@ -32792,17 +32793,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCode_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatCodeResult_descriptor; } @java.lang.Override - public com.kcl.api.Spec.FormatCode_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.FormatCode_Result.getDefaultInstance(); + public com.kcl.api.Spec.FormatCodeResult getDefaultInstanceForType() { + return com.kcl.api.Spec.FormatCodeResult.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.FormatCode_Result build() { - com.kcl.api.Spec.FormatCode_Result result = buildPartial(); + public com.kcl.api.Spec.FormatCodeResult build() { + com.kcl.api.Spec.FormatCodeResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -32810,14 +32811,14 @@ public com.kcl.api.Spec.FormatCode_Result build() { } @java.lang.Override - public com.kcl.api.Spec.FormatCode_Result buildPartial() { - com.kcl.api.Spec.FormatCode_Result result = new com.kcl.api.Spec.FormatCode_Result(this); + public com.kcl.api.Spec.FormatCodeResult buildPartial() { + com.kcl.api.Spec.FormatCodeResult result = new com.kcl.api.Spec.FormatCodeResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.FormatCode_Result result) { + private void buildPartial0(com.kcl.api.Spec.FormatCodeResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.formatted_ = formatted_; @@ -32826,17 +32827,17 @@ private void buildPartial0(com.kcl.api.Spec.FormatCode_Result result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.FormatCode_Result) { - return mergeFrom((com.kcl.api.Spec.FormatCode_Result)other); + if (other instanceof com.kcl.api.Spec.FormatCodeResult) { + return mergeFrom((com.kcl.api.Spec.FormatCodeResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.FormatCode_Result other) { - if (other == com.kcl.api.Spec.FormatCode_Result.getDefaultInstance()) return this; - if (other.getFormatted() != com.google.protobuf.ByteString.EMPTY) { + public Builder mergeFrom(com.kcl.api.Spec.FormatCodeResult other) { + if (other == com.kcl.api.Spec.FormatCodeResult.getDefaultInstance()) return this; + if (!other.getFormatted().isEmpty()) { setFormatted(other.getFormatted()); } this.mergeUnknownFields(other.getUnknownFields()); @@ -32931,23 +32932,23 @@ public Builder clearFormatted() { return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatCode_Result) + // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatCodeResult) } - // @@protoc_insertion_point(class_scope:com.kcl.api.FormatCode_Result) - private static final com.kcl.api.Spec.FormatCode_Result DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.FormatCodeResult) + private static final com.kcl.api.Spec.FormatCodeResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatCode_Result(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatCodeResult(); } - public static com.kcl.api.Spec.FormatCode_Result getDefaultInstance() { + public static com.kcl.api.Spec.FormatCodeResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public FormatCode_Result parsePartialFrom( + public FormatCodeResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -32966,24 +32967,24 @@ public FormatCode_Result parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.FormatCode_Result getDefaultInstanceForType() { + public com.kcl.api.Spec.FormatCodeResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface FormatPath_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatPath_Args) + public interface FormatPathArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatPathArgs) com.google.protobuf.MessageOrBuilder { /** @@ -33011,41 +33012,41 @@ public interface FormatPath_ArgsOrBuilder extends * Message for format file path request arguments. * * - * Protobuf type {@code com.kcl.api.FormatPath_Args} + * Protobuf type {@code com.kcl.api.FormatPathArgs} */ - public static final class FormatPath_Args extends + public static final class FormatPathArgs extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.FormatPath_Args) - FormatPath_ArgsOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.FormatPathArgs) + FormatPathArgsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - FormatPath_Args.class.getName()); + "FormatPathArgs"); } - // Use FormatPath_Args.newBuilder() to construct. - private FormatPath_Args(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use FormatPathArgs.newBuilder() to construct. + private FormatPathArgs(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private FormatPath_Args() { + private FormatPathArgs() { path_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPathArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPathArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.FormatPath_Args.class, com.kcl.api.Spec.FormatPath_Args.Builder.class); + com.kcl.api.Spec.FormatPathArgs.class, com.kcl.api.Spec.FormatPathArgs.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; @@ -33134,10 +33135,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.FormatPath_Args)) { + if (!(obj instanceof com.kcl.api.Spec.FormatPathArgs)) { return super.equals(obj); } - com.kcl.api.Spec.FormatPath_Args other = (com.kcl.api.Spec.FormatPath_Args) obj; + com.kcl.api.Spec.FormatPathArgs other = (com.kcl.api.Spec.FormatPathArgs) obj; if (!getPath() .equals(other.getPath())) return false; @@ -33159,44 +33160,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.FormatPath_Args parseFrom( + public static com.kcl.api.Spec.FormatPathArgs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.FormatPath_Args parseFrom( + public static com.kcl.api.Spec.FormatPathArgs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.FormatPath_Args parseFrom( + public static com.kcl.api.Spec.FormatPathArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.FormatPath_Args parseFrom( + public static com.kcl.api.Spec.FormatPathArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.FormatPath_Args parseFrom(byte[] data) + public static com.kcl.api.Spec.FormatPathArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.FormatPath_Args parseFrom( + public static com.kcl.api.Spec.FormatPathArgs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.FormatPath_Args parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.FormatPathArgs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.FormatPath_Args parseFrom( + public static com.kcl.api.Spec.FormatPathArgs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -33204,26 +33205,26 @@ public static com.kcl.api.Spec.FormatPath_Args parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.FormatPath_Args parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.FormatPathArgs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.FormatPath_Args parseDelimitedFrom( + public static com.kcl.api.Spec.FormatPathArgs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.FormatPath_Args parseFrom( + public static com.kcl.api.Spec.FormatPathArgs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.FormatPath_Args parseFrom( + public static com.kcl.api.Spec.FormatPathArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -33236,7 +33237,7 @@ public static com.kcl.api.Spec.FormatPath_Args parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.FormatPath_Args prototype) { + public static Builder newBuilder(com.kcl.api.Spec.FormatPathArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -33256,26 +33257,26 @@ protected Builder newBuilderForType( * Message for format file path request arguments. * * - * Protobuf type {@code com.kcl.api.FormatPath_Args} + * Protobuf type {@code com.kcl.api.FormatPathArgs} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatPath_Args) - com.kcl.api.Spec.FormatPath_ArgsOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatPathArgs) + com.kcl.api.Spec.FormatPathArgsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPathArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPathArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.FormatPath_Args.class, com.kcl.api.Spec.FormatPath_Args.Builder.class); + com.kcl.api.Spec.FormatPathArgs.class, com.kcl.api.Spec.FormatPathArgs.Builder.class); } - // Construct using com.kcl.api.Spec.FormatPath_Args.newBuilder() + // Construct using com.kcl.api.Spec.FormatPathArgs.newBuilder() private Builder() { } @@ -33296,17 +33297,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPathArgs_descriptor; } @java.lang.Override - public com.kcl.api.Spec.FormatPath_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.FormatPath_Args.getDefaultInstance(); + public com.kcl.api.Spec.FormatPathArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.FormatPathArgs.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.FormatPath_Args build() { - com.kcl.api.Spec.FormatPath_Args result = buildPartial(); + public com.kcl.api.Spec.FormatPathArgs build() { + com.kcl.api.Spec.FormatPathArgs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -33314,14 +33315,14 @@ public com.kcl.api.Spec.FormatPath_Args build() { } @java.lang.Override - public com.kcl.api.Spec.FormatPath_Args buildPartial() { - com.kcl.api.Spec.FormatPath_Args result = new com.kcl.api.Spec.FormatPath_Args(this); + public com.kcl.api.Spec.FormatPathArgs buildPartial() { + com.kcl.api.Spec.FormatPathArgs result = new com.kcl.api.Spec.FormatPathArgs(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.FormatPath_Args result) { + private void buildPartial0(com.kcl.api.Spec.FormatPathArgs result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.path_ = path_; @@ -33330,16 +33331,16 @@ private void buildPartial0(com.kcl.api.Spec.FormatPath_Args result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.FormatPath_Args) { - return mergeFrom((com.kcl.api.Spec.FormatPath_Args)other); + if (other instanceof com.kcl.api.Spec.FormatPathArgs) { + return mergeFrom((com.kcl.api.Spec.FormatPathArgs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.FormatPath_Args other) { - if (other == com.kcl.api.Spec.FormatPath_Args.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.FormatPathArgs other) { + if (other == com.kcl.api.Spec.FormatPathArgs.getDefaultInstance()) return this; if (!other.getPath().isEmpty()) { path_ = other.path_; bitField0_ |= 0x00000001; @@ -33485,23 +33486,23 @@ public Builder setPathBytes( return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatPath_Args) + // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatPathArgs) } - // @@protoc_insertion_point(class_scope:com.kcl.api.FormatPath_Args) - private static final com.kcl.api.Spec.FormatPath_Args DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.FormatPathArgs) + private static final com.kcl.api.Spec.FormatPathArgs DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatPath_Args(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatPathArgs(); } - public static com.kcl.api.Spec.FormatPath_Args getDefaultInstance() { + public static com.kcl.api.Spec.FormatPathArgs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public FormatPath_Args parsePartialFrom( + public FormatPathArgs parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -33520,24 +33521,24 @@ public FormatPath_Args parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.FormatPath_Args getDefaultInstanceForType() { + public com.kcl.api.Spec.FormatPathArgs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface FormatPath_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatPath_Result) + public interface FormatPathResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.FormatPathResult) com.google.protobuf.MessageOrBuilder { /** @@ -33586,42 +33587,42 @@ public interface FormatPath_ResultOrBuilder extends * Message for format file path response. * * - * Protobuf type {@code com.kcl.api.FormatPath_Result} + * Protobuf type {@code com.kcl.api.FormatPathResult} */ - public static final class FormatPath_Result extends + public static final class FormatPathResult extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.FormatPath_Result) - FormatPath_ResultOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.FormatPathResult) + FormatPathResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - FormatPath_Result.class.getName()); + "FormatPathResult"); } - // Use FormatPath_Result.newBuilder() to construct. - private FormatPath_Result(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use FormatPathResult.newBuilder() to construct. + private FormatPathResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private FormatPath_Result() { + private FormatPathResult() { changedPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPathResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPathResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.FormatPath_Result.class, com.kcl.api.Spec.FormatPath_Result.Builder.class); + com.kcl.api.Spec.FormatPathResult.class, com.kcl.api.Spec.FormatPathResult.Builder.class); } public static final int CHANGED_PATHS_FIELD_NUMBER = 1; @@ -33721,10 +33722,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.FormatPath_Result)) { + if (!(obj instanceof com.kcl.api.Spec.FormatPathResult)) { return super.equals(obj); } - com.kcl.api.Spec.FormatPath_Result other = (com.kcl.api.Spec.FormatPath_Result) obj; + com.kcl.api.Spec.FormatPathResult other = (com.kcl.api.Spec.FormatPathResult) obj; if (!getChangedPathsList() .equals(other.getChangedPathsList())) return false; @@ -33748,44 +33749,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.FormatPath_Result parseFrom( + public static com.kcl.api.Spec.FormatPathResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.FormatPath_Result parseFrom( + public static com.kcl.api.Spec.FormatPathResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.FormatPath_Result parseFrom( + public static com.kcl.api.Spec.FormatPathResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.FormatPath_Result parseFrom( + public static com.kcl.api.Spec.FormatPathResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.FormatPath_Result parseFrom(byte[] data) + public static com.kcl.api.Spec.FormatPathResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.FormatPath_Result parseFrom( + public static com.kcl.api.Spec.FormatPathResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.FormatPath_Result parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.FormatPathResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.FormatPath_Result parseFrom( + public static com.kcl.api.Spec.FormatPathResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -33793,26 +33794,26 @@ public static com.kcl.api.Spec.FormatPath_Result parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.FormatPath_Result parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.FormatPathResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.FormatPath_Result parseDelimitedFrom( + public static com.kcl.api.Spec.FormatPathResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.FormatPath_Result parseFrom( + public static com.kcl.api.Spec.FormatPathResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.FormatPath_Result parseFrom( + public static com.kcl.api.Spec.FormatPathResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -33825,7 +33826,7 @@ public static com.kcl.api.Spec.FormatPath_Result parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.FormatPath_Result prototype) { + public static Builder newBuilder(com.kcl.api.Spec.FormatPathResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -33845,26 +33846,26 @@ protected Builder newBuilderForType( * Message for format file path response. * * - * Protobuf type {@code com.kcl.api.FormatPath_Result} + * Protobuf type {@code com.kcl.api.FormatPathResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatPath_Result) - com.kcl.api.Spec.FormatPath_ResultOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.FormatPathResult) + com.kcl.api.Spec.FormatPathResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPathResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPathResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.FormatPath_Result.class, com.kcl.api.Spec.FormatPath_Result.Builder.class); + com.kcl.api.Spec.FormatPathResult.class, com.kcl.api.Spec.FormatPathResult.Builder.class); } - // Construct using com.kcl.api.Spec.FormatPath_Result.newBuilder() + // Construct using com.kcl.api.Spec.FormatPathResult.newBuilder() private Builder() { } @@ -33886,17 +33887,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPath_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_FormatPathResult_descriptor; } @java.lang.Override - public com.kcl.api.Spec.FormatPath_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.FormatPath_Result.getDefaultInstance(); + public com.kcl.api.Spec.FormatPathResult getDefaultInstanceForType() { + return com.kcl.api.Spec.FormatPathResult.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.FormatPath_Result build() { - com.kcl.api.Spec.FormatPath_Result result = buildPartial(); + public com.kcl.api.Spec.FormatPathResult build() { + com.kcl.api.Spec.FormatPathResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -33904,14 +33905,14 @@ public com.kcl.api.Spec.FormatPath_Result build() { } @java.lang.Override - public com.kcl.api.Spec.FormatPath_Result buildPartial() { - com.kcl.api.Spec.FormatPath_Result result = new com.kcl.api.Spec.FormatPath_Result(this); + public com.kcl.api.Spec.FormatPathResult buildPartial() { + com.kcl.api.Spec.FormatPathResult result = new com.kcl.api.Spec.FormatPathResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.FormatPath_Result result) { + private void buildPartial0(com.kcl.api.Spec.FormatPathResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { changedPaths_.makeImmutable(); @@ -33921,16 +33922,16 @@ private void buildPartial0(com.kcl.api.Spec.FormatPath_Result result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.FormatPath_Result) { - return mergeFrom((com.kcl.api.Spec.FormatPath_Result)other); + if (other instanceof com.kcl.api.Spec.FormatPathResult) { + return mergeFrom((com.kcl.api.Spec.FormatPathResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.FormatPath_Result other) { - if (other == com.kcl.api.Spec.FormatPath_Result.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.FormatPathResult other) { + if (other == com.kcl.api.Spec.FormatPathResult.getDefaultInstance()) return this; if (!other.changedPaths_.isEmpty()) { if (changedPaths_.isEmpty()) { changedPaths_ = other.changedPaths_; @@ -34137,23 +34138,23 @@ public Builder addChangedPathsBytes( return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatPath_Result) + // @@protoc_insertion_point(builder_scope:com.kcl.api.FormatPathResult) } - // @@protoc_insertion_point(class_scope:com.kcl.api.FormatPath_Result) - private static final com.kcl.api.Spec.FormatPath_Result DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.FormatPathResult) + private static final com.kcl.api.Spec.FormatPathResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatPath_Result(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.FormatPathResult(); } - public static com.kcl.api.Spec.FormatPath_Result getDefaultInstance() { + public static com.kcl.api.Spec.FormatPathResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public FormatPath_Result parsePartialFrom( + public FormatPathResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -34172,24 +34173,24 @@ public FormatPath_Result parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.FormatPath_Result getDefaultInstanceForType() { + public com.kcl.api.Spec.FormatPathResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface LintPath_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.LintPath_Args) + public interface LintPathArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.LintPathArgs) com.google.protobuf.MessageOrBuilder { /** @@ -34238,42 +34239,42 @@ public interface LintPath_ArgsOrBuilder extends * Message for lint file path request arguments. * * - * Protobuf type {@code com.kcl.api.LintPath_Args} + * Protobuf type {@code com.kcl.api.LintPathArgs} */ - public static final class LintPath_Args extends + public static final class LintPathArgs extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.LintPath_Args) - LintPath_ArgsOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.LintPathArgs) + LintPathArgsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - LintPath_Args.class.getName()); + "LintPathArgs"); } - // Use LintPath_Args.newBuilder() to construct. - private LintPath_Args(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use LintPathArgs.newBuilder() to construct. + private LintPathArgs(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private LintPath_Args() { + private LintPathArgs() { paths_ = com.google.protobuf.LazyStringArrayList.emptyList(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPathArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPathArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.LintPath_Args.class, com.kcl.api.Spec.LintPath_Args.Builder.class); + com.kcl.api.Spec.LintPathArgs.class, com.kcl.api.Spec.LintPathArgs.Builder.class); } public static final int PATHS_FIELD_NUMBER = 1; @@ -34373,10 +34374,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.LintPath_Args)) { + if (!(obj instanceof com.kcl.api.Spec.LintPathArgs)) { return super.equals(obj); } - com.kcl.api.Spec.LintPath_Args other = (com.kcl.api.Spec.LintPath_Args) obj; + com.kcl.api.Spec.LintPathArgs other = (com.kcl.api.Spec.LintPathArgs) obj; if (!getPathsList() .equals(other.getPathsList())) return false; @@ -34400,44 +34401,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.LintPath_Args parseFrom( + public static com.kcl.api.Spec.LintPathArgs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.LintPath_Args parseFrom( + public static com.kcl.api.Spec.LintPathArgs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.LintPath_Args parseFrom( + public static com.kcl.api.Spec.LintPathArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.LintPath_Args parseFrom( + public static com.kcl.api.Spec.LintPathArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.LintPath_Args parseFrom(byte[] data) + public static com.kcl.api.Spec.LintPathArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.LintPath_Args parseFrom( + public static com.kcl.api.Spec.LintPathArgs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.LintPath_Args parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.LintPathArgs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.LintPath_Args parseFrom( + public static com.kcl.api.Spec.LintPathArgs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -34445,26 +34446,26 @@ public static com.kcl.api.Spec.LintPath_Args parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.LintPath_Args parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.LintPathArgs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.LintPath_Args parseDelimitedFrom( + public static com.kcl.api.Spec.LintPathArgs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.LintPath_Args parseFrom( + public static com.kcl.api.Spec.LintPathArgs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.LintPath_Args parseFrom( + public static com.kcl.api.Spec.LintPathArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -34477,7 +34478,7 @@ public static com.kcl.api.Spec.LintPath_Args parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.LintPath_Args prototype) { + public static Builder newBuilder(com.kcl.api.Spec.LintPathArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -34497,26 +34498,26 @@ protected Builder newBuilderForType( * Message for lint file path request arguments. * * - * Protobuf type {@code com.kcl.api.LintPath_Args} + * Protobuf type {@code com.kcl.api.LintPathArgs} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.LintPath_Args) - com.kcl.api.Spec.LintPath_ArgsOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.LintPathArgs) + com.kcl.api.Spec.LintPathArgsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPathArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPathArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.LintPath_Args.class, com.kcl.api.Spec.LintPath_Args.Builder.class); + com.kcl.api.Spec.LintPathArgs.class, com.kcl.api.Spec.LintPathArgs.Builder.class); } - // Construct using com.kcl.api.Spec.LintPath_Args.newBuilder() + // Construct using com.kcl.api.Spec.LintPathArgs.newBuilder() private Builder() { } @@ -34538,17 +34539,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPathArgs_descriptor; } @java.lang.Override - public com.kcl.api.Spec.LintPath_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.LintPath_Args.getDefaultInstance(); + public com.kcl.api.Spec.LintPathArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.LintPathArgs.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.LintPath_Args build() { - com.kcl.api.Spec.LintPath_Args result = buildPartial(); + public com.kcl.api.Spec.LintPathArgs build() { + com.kcl.api.Spec.LintPathArgs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -34556,14 +34557,14 @@ public com.kcl.api.Spec.LintPath_Args build() { } @java.lang.Override - public com.kcl.api.Spec.LintPath_Args buildPartial() { - com.kcl.api.Spec.LintPath_Args result = new com.kcl.api.Spec.LintPath_Args(this); + public com.kcl.api.Spec.LintPathArgs buildPartial() { + com.kcl.api.Spec.LintPathArgs result = new com.kcl.api.Spec.LintPathArgs(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.LintPath_Args result) { + private void buildPartial0(com.kcl.api.Spec.LintPathArgs result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { paths_.makeImmutable(); @@ -34573,16 +34574,16 @@ private void buildPartial0(com.kcl.api.Spec.LintPath_Args result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.LintPath_Args) { - return mergeFrom((com.kcl.api.Spec.LintPath_Args)other); + if (other instanceof com.kcl.api.Spec.LintPathArgs) { + return mergeFrom((com.kcl.api.Spec.LintPathArgs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.LintPath_Args other) { - if (other == com.kcl.api.Spec.LintPath_Args.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.LintPathArgs other) { + if (other == com.kcl.api.Spec.LintPathArgs.getDefaultInstance()) return this; if (!other.paths_.isEmpty()) { if (paths_.isEmpty()) { paths_ = other.paths_; @@ -34789,23 +34790,23 @@ public Builder addPathsBytes( return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.LintPath_Args) + // @@protoc_insertion_point(builder_scope:com.kcl.api.LintPathArgs) } - // @@protoc_insertion_point(class_scope:com.kcl.api.LintPath_Args) - private static final com.kcl.api.Spec.LintPath_Args DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.LintPathArgs) + private static final com.kcl.api.Spec.LintPathArgs DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.LintPath_Args(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.LintPathArgs(); } - public static com.kcl.api.Spec.LintPath_Args getDefaultInstance() { + public static com.kcl.api.Spec.LintPathArgs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public LintPath_Args parsePartialFrom( + public LintPathArgs parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -34824,24 +34825,24 @@ public LintPath_Args parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.LintPath_Args getDefaultInstanceForType() { + public com.kcl.api.Spec.LintPathArgs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface LintPath_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.LintPath_Result) + public interface LintPathResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.LintPathResult) com.google.protobuf.MessageOrBuilder { /** @@ -34890,42 +34891,42 @@ public interface LintPath_ResultOrBuilder extends * Message for lint file path response. * * - * Protobuf type {@code com.kcl.api.LintPath_Result} + * Protobuf type {@code com.kcl.api.LintPathResult} */ - public static final class LintPath_Result extends + public static final class LintPathResult extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.LintPath_Result) - LintPath_ResultOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.LintPathResult) + LintPathResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - LintPath_Result.class.getName()); + "LintPathResult"); } - // Use LintPath_Result.newBuilder() to construct. - private LintPath_Result(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use LintPathResult.newBuilder() to construct. + private LintPathResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private LintPath_Result() { + private LintPathResult() { results_ = com.google.protobuf.LazyStringArrayList.emptyList(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPathResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPathResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.LintPath_Result.class, com.kcl.api.Spec.LintPath_Result.Builder.class); + com.kcl.api.Spec.LintPathResult.class, com.kcl.api.Spec.LintPathResult.Builder.class); } public static final int RESULTS_FIELD_NUMBER = 1; @@ -35025,10 +35026,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.LintPath_Result)) { + if (!(obj instanceof com.kcl.api.Spec.LintPathResult)) { return super.equals(obj); } - com.kcl.api.Spec.LintPath_Result other = (com.kcl.api.Spec.LintPath_Result) obj; + com.kcl.api.Spec.LintPathResult other = (com.kcl.api.Spec.LintPathResult) obj; if (!getResultsList() .equals(other.getResultsList())) return false; @@ -35052,44 +35053,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.LintPath_Result parseFrom( + public static com.kcl.api.Spec.LintPathResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.LintPath_Result parseFrom( + public static com.kcl.api.Spec.LintPathResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.LintPath_Result parseFrom( + public static com.kcl.api.Spec.LintPathResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.LintPath_Result parseFrom( + public static com.kcl.api.Spec.LintPathResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.LintPath_Result parseFrom(byte[] data) + public static com.kcl.api.Spec.LintPathResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.LintPath_Result parseFrom( + public static com.kcl.api.Spec.LintPathResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.LintPath_Result parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.LintPathResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.LintPath_Result parseFrom( + public static com.kcl.api.Spec.LintPathResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -35097,26 +35098,26 @@ public static com.kcl.api.Spec.LintPath_Result parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.LintPath_Result parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.LintPathResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.LintPath_Result parseDelimitedFrom( + public static com.kcl.api.Spec.LintPathResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.LintPath_Result parseFrom( + public static com.kcl.api.Spec.LintPathResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.LintPath_Result parseFrom( + public static com.kcl.api.Spec.LintPathResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -35129,7 +35130,7 @@ public static com.kcl.api.Spec.LintPath_Result parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.LintPath_Result prototype) { + public static Builder newBuilder(com.kcl.api.Spec.LintPathResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -35149,26 +35150,26 @@ protected Builder newBuilderForType( * Message for lint file path response. * * - * Protobuf type {@code com.kcl.api.LintPath_Result} + * Protobuf type {@code com.kcl.api.LintPathResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.LintPath_Result) - com.kcl.api.Spec.LintPath_ResultOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.LintPathResult) + com.kcl.api.Spec.LintPathResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPathResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPathResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.LintPath_Result.class, com.kcl.api.Spec.LintPath_Result.Builder.class); + com.kcl.api.Spec.LintPathResult.class, com.kcl.api.Spec.LintPathResult.Builder.class); } - // Construct using com.kcl.api.Spec.LintPath_Result.newBuilder() + // Construct using com.kcl.api.Spec.LintPathResult.newBuilder() private Builder() { } @@ -35190,17 +35191,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LintPath_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_LintPathResult_descriptor; } @java.lang.Override - public com.kcl.api.Spec.LintPath_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.LintPath_Result.getDefaultInstance(); + public com.kcl.api.Spec.LintPathResult getDefaultInstanceForType() { + return com.kcl.api.Spec.LintPathResult.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.LintPath_Result build() { - com.kcl.api.Spec.LintPath_Result result = buildPartial(); + public com.kcl.api.Spec.LintPathResult build() { + com.kcl.api.Spec.LintPathResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -35208,14 +35209,14 @@ public com.kcl.api.Spec.LintPath_Result build() { } @java.lang.Override - public com.kcl.api.Spec.LintPath_Result buildPartial() { - com.kcl.api.Spec.LintPath_Result result = new com.kcl.api.Spec.LintPath_Result(this); + public com.kcl.api.Spec.LintPathResult buildPartial() { + com.kcl.api.Spec.LintPathResult result = new com.kcl.api.Spec.LintPathResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.LintPath_Result result) { + private void buildPartial0(com.kcl.api.Spec.LintPathResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { results_.makeImmutable(); @@ -35225,16 +35226,16 @@ private void buildPartial0(com.kcl.api.Spec.LintPath_Result result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.LintPath_Result) { - return mergeFrom((com.kcl.api.Spec.LintPath_Result)other); + if (other instanceof com.kcl.api.Spec.LintPathResult) { + return mergeFrom((com.kcl.api.Spec.LintPathResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.LintPath_Result other) { - if (other == com.kcl.api.Spec.LintPath_Result.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.LintPathResult other) { + if (other == com.kcl.api.Spec.LintPathResult.getDefaultInstance()) return this; if (!other.results_.isEmpty()) { if (results_.isEmpty()) { results_ = other.results_; @@ -35441,23 +35442,23 @@ public Builder addResultsBytes( return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.LintPath_Result) + // @@protoc_insertion_point(builder_scope:com.kcl.api.LintPathResult) } - // @@protoc_insertion_point(class_scope:com.kcl.api.LintPath_Result) - private static final com.kcl.api.Spec.LintPath_Result DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.LintPathResult) + private static final com.kcl.api.Spec.LintPathResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.LintPath_Result(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.LintPathResult(); } - public static com.kcl.api.Spec.LintPath_Result getDefaultInstance() { + public static com.kcl.api.Spec.LintPathResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public LintPath_Result parsePartialFrom( + public LintPathResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -35476,24 +35477,24 @@ public LintPath_Result parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.LintPath_Result getDefaultInstanceForType() { + public com.kcl.api.Spec.LintPathResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface OverrideFile_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.OverrideFile_Args) + public interface OverrideFileArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.OverrideFileArgs) com.google.protobuf.MessageOrBuilder { /** @@ -35603,27 +35604,27 @@ public interface OverrideFile_ArgsOrBuilder extends * Message for override file request arguments. * * - * Protobuf type {@code com.kcl.api.OverrideFile_Args} + * Protobuf type {@code com.kcl.api.OverrideFileArgs} */ - public static final class OverrideFile_Args extends + public static final class OverrideFileArgs extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.OverrideFile_Args) - OverrideFile_ArgsOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.OverrideFileArgs) + OverrideFileArgsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - OverrideFile_Args.class.getName()); + "OverrideFileArgs"); } - // Use OverrideFile_Args.newBuilder() to construct. - private OverrideFile_Args(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use OverrideFileArgs.newBuilder() to construct. + private OverrideFileArgs(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private OverrideFile_Args() { + private OverrideFileArgs() { file_ = ""; specs_ = com.google.protobuf.LazyStringArrayList.emptyList(); @@ -35633,15 +35634,15 @@ private OverrideFile_Args() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFileArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFileArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.OverrideFile_Args.class, com.kcl.api.Spec.OverrideFile_Args.Builder.class); + com.kcl.api.Spec.OverrideFileArgs.class, com.kcl.api.Spec.OverrideFileArgs.Builder.class); } public static final int FILE_FIELD_NUMBER = 1; @@ -35858,10 +35859,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.OverrideFile_Args)) { + if (!(obj instanceof com.kcl.api.Spec.OverrideFileArgs)) { return super.equals(obj); } - com.kcl.api.Spec.OverrideFile_Args other = (com.kcl.api.Spec.OverrideFile_Args) obj; + com.kcl.api.Spec.OverrideFileArgs other = (com.kcl.api.Spec.OverrideFileArgs) obj; if (!getFile() .equals(other.getFile())) return false; @@ -35895,44 +35896,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.OverrideFile_Args parseFrom( + public static com.kcl.api.Spec.OverrideFileArgs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.OverrideFile_Args parseFrom( + public static com.kcl.api.Spec.OverrideFileArgs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.OverrideFile_Args parseFrom( + public static com.kcl.api.Spec.OverrideFileArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.OverrideFile_Args parseFrom( + public static com.kcl.api.Spec.OverrideFileArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.OverrideFile_Args parseFrom(byte[] data) + public static com.kcl.api.Spec.OverrideFileArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.OverrideFile_Args parseFrom( + public static com.kcl.api.Spec.OverrideFileArgs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.OverrideFile_Args parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.OverrideFileArgs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.OverrideFile_Args parseFrom( + public static com.kcl.api.Spec.OverrideFileArgs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -35940,26 +35941,26 @@ public static com.kcl.api.Spec.OverrideFile_Args parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.OverrideFile_Args parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.OverrideFileArgs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.OverrideFile_Args parseDelimitedFrom( + public static com.kcl.api.Spec.OverrideFileArgs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.OverrideFile_Args parseFrom( + public static com.kcl.api.Spec.OverrideFileArgs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.OverrideFile_Args parseFrom( + public static com.kcl.api.Spec.OverrideFileArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -35972,7 +35973,7 @@ public static com.kcl.api.Spec.OverrideFile_Args parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.OverrideFile_Args prototype) { + public static Builder newBuilder(com.kcl.api.Spec.OverrideFileArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -35992,26 +35993,26 @@ protected Builder newBuilderForType( * Message for override file request arguments. * * - * Protobuf type {@code com.kcl.api.OverrideFile_Args} + * Protobuf type {@code com.kcl.api.OverrideFileArgs} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.OverrideFile_Args) - com.kcl.api.Spec.OverrideFile_ArgsOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.OverrideFileArgs) + com.kcl.api.Spec.OverrideFileArgsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFileArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFileArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.OverrideFile_Args.class, com.kcl.api.Spec.OverrideFile_Args.Builder.class); + com.kcl.api.Spec.OverrideFileArgs.class, com.kcl.api.Spec.OverrideFileArgs.Builder.class); } - // Construct using com.kcl.api.Spec.OverrideFile_Args.newBuilder() + // Construct using com.kcl.api.Spec.OverrideFileArgs.newBuilder() private Builder() { } @@ -36036,17 +36037,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFileArgs_descriptor; } @java.lang.Override - public com.kcl.api.Spec.OverrideFile_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.OverrideFile_Args.getDefaultInstance(); + public com.kcl.api.Spec.OverrideFileArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.OverrideFileArgs.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.OverrideFile_Args build() { - com.kcl.api.Spec.OverrideFile_Args result = buildPartial(); + public com.kcl.api.Spec.OverrideFileArgs build() { + com.kcl.api.Spec.OverrideFileArgs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -36054,14 +36055,14 @@ public com.kcl.api.Spec.OverrideFile_Args build() { } @java.lang.Override - public com.kcl.api.Spec.OverrideFile_Args buildPartial() { - com.kcl.api.Spec.OverrideFile_Args result = new com.kcl.api.Spec.OverrideFile_Args(this); + public com.kcl.api.Spec.OverrideFileArgs buildPartial() { + com.kcl.api.Spec.OverrideFileArgs result = new com.kcl.api.Spec.OverrideFileArgs(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.OverrideFile_Args result) { + private void buildPartial0(com.kcl.api.Spec.OverrideFileArgs result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.file_ = file_; @@ -36078,16 +36079,16 @@ private void buildPartial0(com.kcl.api.Spec.OverrideFile_Args result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.OverrideFile_Args) { - return mergeFrom((com.kcl.api.Spec.OverrideFile_Args)other); + if (other instanceof com.kcl.api.Spec.OverrideFileArgs) { + return mergeFrom((com.kcl.api.Spec.OverrideFileArgs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.OverrideFile_Args other) { - if (other == com.kcl.api.Spec.OverrideFile_Args.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.OverrideFileArgs other) { + if (other == com.kcl.api.Spec.OverrideFileArgs.getDefaultInstance()) return this; if (!other.getFile().isEmpty()) { file_ = other.file_; bitField0_ |= 0x00000001; @@ -36559,23 +36560,23 @@ public Builder addImportPathsBytes( return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.OverrideFile_Args) + // @@protoc_insertion_point(builder_scope:com.kcl.api.OverrideFileArgs) } - // @@protoc_insertion_point(class_scope:com.kcl.api.OverrideFile_Args) - private static final com.kcl.api.Spec.OverrideFile_Args DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.OverrideFileArgs) + private static final com.kcl.api.Spec.OverrideFileArgs DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.OverrideFile_Args(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.OverrideFileArgs(); } - public static com.kcl.api.Spec.OverrideFile_Args getDefaultInstance() { + public static com.kcl.api.Spec.OverrideFileArgs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public OverrideFile_Args parsePartialFrom( + public OverrideFileArgs parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -36594,24 +36595,24 @@ public OverrideFile_Args parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.OverrideFile_Args getDefaultInstanceForType() { + public com.kcl.api.Spec.OverrideFileArgs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface OverrideFile_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.OverrideFile_Result) + public interface OverrideFileResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.OverrideFileResult) com.google.protobuf.MessageOrBuilder { /** @@ -36673,41 +36674,41 @@ com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder( * Message for override file response. * * - * Protobuf type {@code com.kcl.api.OverrideFile_Result} + * Protobuf type {@code com.kcl.api.OverrideFileResult} */ - public static final class OverrideFile_Result extends + public static final class OverrideFileResult extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.OverrideFile_Result) - OverrideFile_ResultOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.OverrideFileResult) + OverrideFileResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - OverrideFile_Result.class.getName()); + "OverrideFileResult"); } - // Use OverrideFile_Result.newBuilder() to construct. - private OverrideFile_Result(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use OverrideFileResult.newBuilder() to construct. + private OverrideFileResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private OverrideFile_Result() { + private OverrideFileResult() { parseErrors_ = java.util.Collections.emptyList(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFileResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFileResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.OverrideFile_Result.class, com.kcl.api.Spec.OverrideFile_Result.Builder.class); + com.kcl.api.Spec.OverrideFileResult.class, com.kcl.api.Spec.OverrideFileResult.Builder.class); } public static final int RESULT_FIELD_NUMBER = 1; @@ -36833,10 +36834,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.OverrideFile_Result)) { + if (!(obj instanceof com.kcl.api.Spec.OverrideFileResult)) { return super.equals(obj); } - com.kcl.api.Spec.OverrideFile_Result other = (com.kcl.api.Spec.OverrideFile_Result) obj; + com.kcl.api.Spec.OverrideFileResult other = (com.kcl.api.Spec.OverrideFileResult) obj; if (getResult() != other.getResult()) return false; @@ -36865,44 +36866,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.OverrideFile_Result parseFrom( + public static com.kcl.api.Spec.OverrideFileResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.OverrideFile_Result parseFrom( + public static com.kcl.api.Spec.OverrideFileResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.OverrideFile_Result parseFrom( + public static com.kcl.api.Spec.OverrideFileResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.OverrideFile_Result parseFrom( + public static com.kcl.api.Spec.OverrideFileResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.OverrideFile_Result parseFrom(byte[] data) + public static com.kcl.api.Spec.OverrideFileResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.OverrideFile_Result parseFrom( + public static com.kcl.api.Spec.OverrideFileResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.OverrideFile_Result parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.OverrideFileResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.OverrideFile_Result parseFrom( + public static com.kcl.api.Spec.OverrideFileResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -36910,26 +36911,26 @@ public static com.kcl.api.Spec.OverrideFile_Result parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.OverrideFile_Result parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.OverrideFileResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.OverrideFile_Result parseDelimitedFrom( + public static com.kcl.api.Spec.OverrideFileResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.OverrideFile_Result parseFrom( + public static com.kcl.api.Spec.OverrideFileResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.OverrideFile_Result parseFrom( + public static com.kcl.api.Spec.OverrideFileResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -36942,7 +36943,7 @@ public static com.kcl.api.Spec.OverrideFile_Result parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.OverrideFile_Result prototype) { + public static Builder newBuilder(com.kcl.api.Spec.OverrideFileResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -36962,26 +36963,26 @@ protected Builder newBuilderForType( * Message for override file response. * * - * Protobuf type {@code com.kcl.api.OverrideFile_Result} + * Protobuf type {@code com.kcl.api.OverrideFileResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.OverrideFile_Result) - com.kcl.api.Spec.OverrideFile_ResultOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.OverrideFileResult) + com.kcl.api.Spec.OverrideFileResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFileResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFileResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.OverrideFile_Result.class, com.kcl.api.Spec.OverrideFile_Result.Builder.class); + com.kcl.api.Spec.OverrideFileResult.class, com.kcl.api.Spec.OverrideFileResult.Builder.class); } - // Construct using com.kcl.api.Spec.OverrideFile_Result.newBuilder() + // Construct using com.kcl.api.Spec.OverrideFileResult.newBuilder() private Builder() { } @@ -37009,17 +37010,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFile_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_OverrideFileResult_descriptor; } @java.lang.Override - public com.kcl.api.Spec.OverrideFile_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.OverrideFile_Result.getDefaultInstance(); + public com.kcl.api.Spec.OverrideFileResult getDefaultInstanceForType() { + return com.kcl.api.Spec.OverrideFileResult.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.OverrideFile_Result build() { - com.kcl.api.Spec.OverrideFile_Result result = buildPartial(); + public com.kcl.api.Spec.OverrideFileResult build() { + com.kcl.api.Spec.OverrideFileResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -37027,15 +37028,15 @@ public com.kcl.api.Spec.OverrideFile_Result build() { } @java.lang.Override - public com.kcl.api.Spec.OverrideFile_Result buildPartial() { - com.kcl.api.Spec.OverrideFile_Result result = new com.kcl.api.Spec.OverrideFile_Result(this); + public com.kcl.api.Spec.OverrideFileResult buildPartial() { + com.kcl.api.Spec.OverrideFileResult result = new com.kcl.api.Spec.OverrideFileResult(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.kcl.api.Spec.OverrideFile_Result result) { + private void buildPartialRepeatedFields(com.kcl.api.Spec.OverrideFileResult result) { if (parseErrorsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { parseErrors_ = java.util.Collections.unmodifiableList(parseErrors_); @@ -37047,7 +37048,7 @@ private void buildPartialRepeatedFields(com.kcl.api.Spec.OverrideFile_Result res } } - private void buildPartial0(com.kcl.api.Spec.OverrideFile_Result result) { + private void buildPartial0(com.kcl.api.Spec.OverrideFileResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.result_ = result_; @@ -37056,16 +37057,16 @@ private void buildPartial0(com.kcl.api.Spec.OverrideFile_Result result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.OverrideFile_Result) { - return mergeFrom((com.kcl.api.Spec.OverrideFile_Result)other); + if (other instanceof com.kcl.api.Spec.OverrideFileResult) { + return mergeFrom((com.kcl.api.Spec.OverrideFileResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.OverrideFile_Result other) { - if (other == com.kcl.api.Spec.OverrideFile_Result.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.OverrideFileResult other) { + if (other == com.kcl.api.Spec.OverrideFileResult.getDefaultInstance()) return this; if (other.getResult() != false) { setResult(other.getResult()); } @@ -37089,7 +37090,7 @@ public Builder mergeFrom(com.kcl.api.Spec.OverrideFile_Result other) { bitField0_ = (bitField0_ & ~0x00000002); parseErrorsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getParseErrorsFieldBuilder() : null; + internalGetParseErrorsFieldBuilder() : null; } else { parseErrorsBuilder_.addAllMessages(other.parseErrors_); } @@ -37432,7 +37433,7 @@ public Builder removeParseErrors(int index) { */ public com.kcl.api.Spec.Error.Builder getParseErrorsBuilder( int index) { - return getParseErrorsFieldBuilder().getBuilder(index); + return internalGetParseErrorsFieldBuilder().getBuilder(index); } /** *
@@ -37471,7 +37472,7 @@ public com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder(
        * repeated .com.kcl.api.Error parse_errors = 2;
        */
       public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder() {
-        return getParseErrorsFieldBuilder().addBuilder(
+        return internalGetParseErrorsFieldBuilder().addBuilder(
             com.kcl.api.Spec.Error.getDefaultInstance());
       }
       /**
@@ -37483,7 +37484,7 @@ public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder() {
        */
       public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder(
           int index) {
-        return getParseErrorsFieldBuilder().addBuilder(
+        return internalGetParseErrorsFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.Error.getDefaultInstance());
       }
       /**
@@ -37495,11 +37496,11 @@ public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder(
        */
       public java.util.List 
            getParseErrorsBuilderList() {
-        return getParseErrorsFieldBuilder().getBuilderList();
+        return internalGetParseErrorsFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> 
-          getParseErrorsFieldBuilder() {
+          internalGetParseErrorsFieldBuilder() {
         if (parseErrorsBuilder_ == null) {
           parseErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder>(
@@ -37512,23 +37513,23 @@ public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder(
         return parseErrorsBuilder_;
       }
 
-      // @@protoc_insertion_point(builder_scope:com.kcl.api.OverrideFile_Result)
+      // @@protoc_insertion_point(builder_scope:com.kcl.api.OverrideFileResult)
     }
 
-    // @@protoc_insertion_point(class_scope:com.kcl.api.OverrideFile_Result)
-    private static final com.kcl.api.Spec.OverrideFile_Result DEFAULT_INSTANCE;
+    // @@protoc_insertion_point(class_scope:com.kcl.api.OverrideFileResult)
+    private static final com.kcl.api.Spec.OverrideFileResult DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kcl.api.Spec.OverrideFile_Result();
+      DEFAULT_INSTANCE = new com.kcl.api.Spec.OverrideFileResult();
     }
 
-    public static com.kcl.api.Spec.OverrideFile_Result getDefaultInstance() {
+    public static com.kcl.api.Spec.OverrideFileResult getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
       @java.lang.Override
-      public OverrideFile_Result parsePartialFrom(
+      public OverrideFileResult parsePartialFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
@@ -37547,24 +37548,24 @@ public OverrideFile_Result parsePartialFrom(
       }
     };
 
-    public static com.google.protobuf.Parser parser() {
+    public static com.google.protobuf.Parser parser() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Parser getParserForType() {
+    public com.google.protobuf.Parser getParserForType() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.kcl.api.Spec.OverrideFile_Result getDefaultInstanceForType() {
+    public com.kcl.api.Spec.OverrideFileResult getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
   }
 
-  public interface ListVariables_OptionsOrBuilder extends
-      // @@protoc_insertion_point(interface_extends:com.kcl.api.ListVariables_Options)
+  public interface ListVariablesOptionsOrBuilder extends
+      // @@protoc_insertion_point(interface_extends:com.kcl.api.ListVariablesOptions)
       com.google.protobuf.MessageOrBuilder {
 
     /**
@@ -37582,40 +37583,40 @@ public interface ListVariables_OptionsOrBuilder extends
    * Message for list variables options.
    * 
* - * Protobuf type {@code com.kcl.api.ListVariables_Options} + * Protobuf type {@code com.kcl.api.ListVariablesOptions} */ - public static final class ListVariables_Options extends + public static final class ListVariablesOptions extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ListVariables_Options) - ListVariables_OptionsOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.ListVariablesOptions) + ListVariablesOptionsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - ListVariables_Options.class.getName()); + "ListVariablesOptions"); } - // Use ListVariables_Options.newBuilder() to construct. - private ListVariables_Options(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use ListVariablesOptions.newBuilder() to construct. + private ListVariablesOptions(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private ListVariables_Options() { + private ListVariablesOptions() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Options_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Options_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ListVariables_Options.class, com.kcl.api.Spec.ListVariables_Options.Builder.class); + com.kcl.api.Spec.ListVariablesOptions.class, com.kcl.api.Spec.ListVariablesOptions.Builder.class); } public static final int MERGE_PROGRAM_FIELD_NUMBER = 1; @@ -37673,10 +37674,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.ListVariables_Options)) { + if (!(obj instanceof com.kcl.api.Spec.ListVariablesOptions)) { return super.equals(obj); } - com.kcl.api.Spec.ListVariables_Options other = (com.kcl.api.Spec.ListVariables_Options) obj; + com.kcl.api.Spec.ListVariablesOptions other = (com.kcl.api.Spec.ListVariablesOptions) obj; if (getMergeProgram() != other.getMergeProgram()) return false; @@ -37699,44 +37700,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.ListVariables_Options parseFrom( + public static com.kcl.api.Spec.ListVariablesOptions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListVariables_Options parseFrom( + public static com.kcl.api.Spec.ListVariablesOptions parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListVariables_Options parseFrom( + public static com.kcl.api.Spec.ListVariablesOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListVariables_Options parseFrom( + public static com.kcl.api.Spec.ListVariablesOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListVariables_Options parseFrom(byte[] data) + public static com.kcl.api.Spec.ListVariablesOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListVariables_Options parseFrom( + public static com.kcl.api.Spec.ListVariablesOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListVariables_Options parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ListVariablesOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListVariables_Options parseFrom( + public static com.kcl.api.Spec.ListVariablesOptions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -37744,26 +37745,26 @@ public static com.kcl.api.Spec.ListVariables_Options parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ListVariables_Options parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ListVariablesOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListVariables_Options parseDelimitedFrom( + public static com.kcl.api.Spec.ListVariablesOptions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ListVariables_Options parseFrom( + public static com.kcl.api.Spec.ListVariablesOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListVariables_Options parseFrom( + public static com.kcl.api.Spec.ListVariablesOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -37776,7 +37777,7 @@ public static com.kcl.api.Spec.ListVariables_Options parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.ListVariables_Options prototype) { + public static Builder newBuilder(com.kcl.api.Spec.ListVariablesOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -37796,26 +37797,26 @@ protected Builder newBuilderForType( * Message for list variables options. * * - * Protobuf type {@code com.kcl.api.ListVariables_Options} + * Protobuf type {@code com.kcl.api.ListVariablesOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ListVariables_Options) - com.kcl.api.Spec.ListVariables_OptionsOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.ListVariablesOptions) + com.kcl.api.Spec.ListVariablesOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Options_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Options_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ListVariables_Options.class, com.kcl.api.Spec.ListVariables_Options.Builder.class); + com.kcl.api.Spec.ListVariablesOptions.class, com.kcl.api.Spec.ListVariablesOptions.Builder.class); } - // Construct using com.kcl.api.Spec.ListVariables_Options.newBuilder() + // Construct using com.kcl.api.Spec.ListVariablesOptions.newBuilder() private Builder() { } @@ -37836,17 +37837,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Options_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesOptions_descriptor; } @java.lang.Override - public com.kcl.api.Spec.ListVariables_Options getDefaultInstanceForType() { - return com.kcl.api.Spec.ListVariables_Options.getDefaultInstance(); + public com.kcl.api.Spec.ListVariablesOptions getDefaultInstanceForType() { + return com.kcl.api.Spec.ListVariablesOptions.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.ListVariables_Options build() { - com.kcl.api.Spec.ListVariables_Options result = buildPartial(); + public com.kcl.api.Spec.ListVariablesOptions build() { + com.kcl.api.Spec.ListVariablesOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -37854,14 +37855,14 @@ public com.kcl.api.Spec.ListVariables_Options build() { } @java.lang.Override - public com.kcl.api.Spec.ListVariables_Options buildPartial() { - com.kcl.api.Spec.ListVariables_Options result = new com.kcl.api.Spec.ListVariables_Options(this); + public com.kcl.api.Spec.ListVariablesOptions buildPartial() { + com.kcl.api.Spec.ListVariablesOptions result = new com.kcl.api.Spec.ListVariablesOptions(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.ListVariables_Options result) { + private void buildPartial0(com.kcl.api.Spec.ListVariablesOptions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.mergeProgram_ = mergeProgram_; @@ -37870,16 +37871,16 @@ private void buildPartial0(com.kcl.api.Spec.ListVariables_Options result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ListVariables_Options) { - return mergeFrom((com.kcl.api.Spec.ListVariables_Options)other); + if (other instanceof com.kcl.api.Spec.ListVariablesOptions) { + return mergeFrom((com.kcl.api.Spec.ListVariablesOptions)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.ListVariables_Options other) { - if (other == com.kcl.api.Spec.ListVariables_Options.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.ListVariablesOptions other) { + if (other == com.kcl.api.Spec.ListVariablesOptions.getDefaultInstance()) return this; if (other.getMergeProgram() != false) { setMergeProgram(other.getMergeProgram()); } @@ -37975,23 +37976,23 @@ public Builder clearMergeProgram() { return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.ListVariables_Options) + // @@protoc_insertion_point(builder_scope:com.kcl.api.ListVariablesOptions) } - // @@protoc_insertion_point(class_scope:com.kcl.api.ListVariables_Options) - private static final com.kcl.api.Spec.ListVariables_Options DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.ListVariablesOptions) + private static final com.kcl.api.Spec.ListVariablesOptions DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ListVariables_Options(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.ListVariablesOptions(); } - public static com.kcl.api.Spec.ListVariables_Options getDefaultInstance() { + public static com.kcl.api.Spec.ListVariablesOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public ListVariables_Options parsePartialFrom( + public ListVariablesOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -38010,17 +38011,17 @@ public ListVariables_Options parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.ListVariables_Options getDefaultInstanceForType() { + public com.kcl.api.Spec.ListVariablesOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -38090,10 +38091,10 @@ public static final class VariableList extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - VariableList.class.getName()); + "VariableList"); } // Use VariableList.newBuilder() to construct. private VariableList(com.google.protobuf.GeneratedMessage.Builder builder) { @@ -38461,7 +38462,7 @@ public Builder mergeFrom(com.kcl.api.Spec.VariableList other) { bitField0_ = (bitField0_ & ~0x00000001); variablesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getVariablesFieldBuilder() : null; + internalGetVariablesFieldBuilder() : null; } else { variablesBuilder_.addAllMessages(other.variables_); } @@ -38755,7 +38756,7 @@ public Builder removeVariables(int index) { */ public com.kcl.api.Spec.Variable.Builder getVariablesBuilder( int index) { - return getVariablesFieldBuilder().getBuilder(index); + return internalGetVariablesFieldBuilder().getBuilder(index); } /** *
@@ -38794,7 +38795,7 @@ public com.kcl.api.Spec.VariableOrBuilder getVariablesOrBuilder(
        * repeated .com.kcl.api.Variable variables = 1;
        */
       public com.kcl.api.Spec.Variable.Builder addVariablesBuilder() {
-        return getVariablesFieldBuilder().addBuilder(
+        return internalGetVariablesFieldBuilder().addBuilder(
             com.kcl.api.Spec.Variable.getDefaultInstance());
       }
       /**
@@ -38806,7 +38807,7 @@ public com.kcl.api.Spec.Variable.Builder addVariablesBuilder() {
        */
       public com.kcl.api.Spec.Variable.Builder addVariablesBuilder(
           int index) {
-        return getVariablesFieldBuilder().addBuilder(
+        return internalGetVariablesFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.Variable.getDefaultInstance());
       }
       /**
@@ -38818,11 +38819,11 @@ public com.kcl.api.Spec.Variable.Builder addVariablesBuilder(
        */
       public java.util.List 
            getVariablesBuilderList() {
-        return getVariablesFieldBuilder().getBuilderList();
+        return internalGetVariablesFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.Variable, com.kcl.api.Spec.Variable.Builder, com.kcl.api.Spec.VariableOrBuilder> 
-          getVariablesFieldBuilder() {
+          internalGetVariablesFieldBuilder() {
         if (variablesBuilder_ == null) {
           variablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.Variable, com.kcl.api.Spec.Variable.Builder, com.kcl.api.Spec.VariableOrBuilder>(
@@ -38886,8 +38887,8 @@ public com.kcl.api.Spec.VariableList getDefaultInstanceForType() {
 
   }
 
-  public interface ListVariables_ArgsOrBuilder extends
-      // @@protoc_insertion_point(interface_extends:com.kcl.api.ListVariables_Args)
+  public interface ListVariablesArgsOrBuilder extends
+      // @@protoc_insertion_point(interface_extends:com.kcl.api.ListVariablesArgs)
       com.google.protobuf.MessageOrBuilder {
 
     /**
@@ -38977,7 +38978,7 @@ public interface ListVariables_ArgsOrBuilder extends
      * Options for listing variables.
      * 
* - * .com.kcl.api.ListVariables_Options options = 3; + * .com.kcl.api.ListVariablesOptions options = 3; * @return Whether the options field is set. */ boolean hasOptions(); @@ -38986,45 +38987,45 @@ public interface ListVariables_ArgsOrBuilder extends * Options for listing variables. * * - * .com.kcl.api.ListVariables_Options options = 3; + * .com.kcl.api.ListVariablesOptions options = 3; * @return The options. */ - com.kcl.api.Spec.ListVariables_Options getOptions(); + com.kcl.api.Spec.ListVariablesOptions getOptions(); /** *
      * Options for listing variables.
      * 
* - * .com.kcl.api.ListVariables_Options options = 3; + * .com.kcl.api.ListVariablesOptions options = 3; */ - com.kcl.api.Spec.ListVariables_OptionsOrBuilder getOptionsOrBuilder(); + com.kcl.api.Spec.ListVariablesOptionsOrBuilder getOptionsOrBuilder(); } /** *
    * Message for list variables request arguments.
    * 
* - * Protobuf type {@code com.kcl.api.ListVariables_Args} + * Protobuf type {@code com.kcl.api.ListVariablesArgs} */ - public static final class ListVariables_Args extends + public static final class ListVariablesArgs extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ListVariables_Args) - ListVariables_ArgsOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.ListVariablesArgs) + ListVariablesArgsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - ListVariables_Args.class.getName()); + "ListVariablesArgs"); } - // Use ListVariables_Args.newBuilder() to construct. - private ListVariables_Args(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use ListVariablesArgs.newBuilder() to construct. + private ListVariablesArgs(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private ListVariables_Args() { + private ListVariablesArgs() { files_ = com.google.protobuf.LazyStringArrayList.emptyList(); specs_ = @@ -39033,15 +39034,15 @@ private ListVariables_Args() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ListVariables_Args.class, com.kcl.api.Spec.ListVariables_Args.Builder.class); + com.kcl.api.Spec.ListVariablesArgs.class, com.kcl.api.Spec.ListVariablesArgs.Builder.class); } private int bitField0_; @@ -39152,13 +39153,13 @@ public java.lang.String getSpecs(int index) { } public static final int OPTIONS_FIELD_NUMBER = 3; - private com.kcl.api.Spec.ListVariables_Options options_; + private com.kcl.api.Spec.ListVariablesOptions options_; /** *
      * Options for listing variables.
      * 
* - * .com.kcl.api.ListVariables_Options options = 3; + * .com.kcl.api.ListVariablesOptions options = 3; * @return Whether the options field is set. */ @java.lang.Override @@ -39170,23 +39171,23 @@ public boolean hasOptions() { * Options for listing variables. * * - * .com.kcl.api.ListVariables_Options options = 3; + * .com.kcl.api.ListVariablesOptions options = 3; * @return The options. */ @java.lang.Override - public com.kcl.api.Spec.ListVariables_Options getOptions() { - return options_ == null ? com.kcl.api.Spec.ListVariables_Options.getDefaultInstance() : options_; + public com.kcl.api.Spec.ListVariablesOptions getOptions() { + return options_ == null ? com.kcl.api.Spec.ListVariablesOptions.getDefaultInstance() : options_; } /** *
      * Options for listing variables.
      * 
* - * .com.kcl.api.ListVariables_Options options = 3; + * .com.kcl.api.ListVariablesOptions options = 3; */ @java.lang.Override - public com.kcl.api.Spec.ListVariables_OptionsOrBuilder getOptionsOrBuilder() { - return options_ == null ? com.kcl.api.Spec.ListVariables_Options.getDefaultInstance() : options_; + public com.kcl.api.Spec.ListVariablesOptionsOrBuilder getOptionsOrBuilder() { + return options_ == null ? com.kcl.api.Spec.ListVariablesOptions.getDefaultInstance() : options_; } private byte memoizedIsInitialized = -1; @@ -39251,10 +39252,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.ListVariables_Args)) { + if (!(obj instanceof com.kcl.api.Spec.ListVariablesArgs)) { return super.equals(obj); } - com.kcl.api.Spec.ListVariables_Args other = (com.kcl.api.Spec.ListVariables_Args) obj; + com.kcl.api.Spec.ListVariablesArgs other = (com.kcl.api.Spec.ListVariablesArgs) obj; if (!getFilesList() .equals(other.getFilesList())) return false; @@ -39293,44 +39294,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.ListVariables_Args parseFrom( + public static com.kcl.api.Spec.ListVariablesArgs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListVariables_Args parseFrom( + public static com.kcl.api.Spec.ListVariablesArgs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListVariables_Args parseFrom( + public static com.kcl.api.Spec.ListVariablesArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListVariables_Args parseFrom( + public static com.kcl.api.Spec.ListVariablesArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListVariables_Args parseFrom(byte[] data) + public static com.kcl.api.Spec.ListVariablesArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListVariables_Args parseFrom( + public static com.kcl.api.Spec.ListVariablesArgs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListVariables_Args parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ListVariablesArgs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListVariables_Args parseFrom( + public static com.kcl.api.Spec.ListVariablesArgs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -39338,26 +39339,26 @@ public static com.kcl.api.Spec.ListVariables_Args parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ListVariables_Args parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ListVariablesArgs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListVariables_Args parseDelimitedFrom( + public static com.kcl.api.Spec.ListVariablesArgs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ListVariables_Args parseFrom( + public static com.kcl.api.Spec.ListVariablesArgs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListVariables_Args parseFrom( + public static com.kcl.api.Spec.ListVariablesArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -39370,7 +39371,7 @@ public static com.kcl.api.Spec.ListVariables_Args parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.ListVariables_Args prototype) { + public static Builder newBuilder(com.kcl.api.Spec.ListVariablesArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -39390,26 +39391,26 @@ protected Builder newBuilderForType( * Message for list variables request arguments. * * - * Protobuf type {@code com.kcl.api.ListVariables_Args} + * Protobuf type {@code com.kcl.api.ListVariablesArgs} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ListVariables_Args) - com.kcl.api.Spec.ListVariables_ArgsOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.ListVariablesArgs) + com.kcl.api.Spec.ListVariablesArgsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ListVariables_Args.class, com.kcl.api.Spec.ListVariables_Args.Builder.class); + com.kcl.api.Spec.ListVariablesArgs.class, com.kcl.api.Spec.ListVariablesArgs.Builder.class); } - // Construct using com.kcl.api.Spec.ListVariables_Args.newBuilder() + // Construct using com.kcl.api.Spec.ListVariablesArgs.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -39422,7 +39423,7 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { - getOptionsFieldBuilder(); + internalGetOptionsFieldBuilder(); } } @java.lang.Override @@ -39444,17 +39445,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesArgs_descriptor; } @java.lang.Override - public com.kcl.api.Spec.ListVariables_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ListVariables_Args.getDefaultInstance(); + public com.kcl.api.Spec.ListVariablesArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.ListVariablesArgs.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.ListVariables_Args build() { - com.kcl.api.Spec.ListVariables_Args result = buildPartial(); + public com.kcl.api.Spec.ListVariablesArgs build() { + com.kcl.api.Spec.ListVariablesArgs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -39462,14 +39463,14 @@ public com.kcl.api.Spec.ListVariables_Args build() { } @java.lang.Override - public com.kcl.api.Spec.ListVariables_Args buildPartial() { - com.kcl.api.Spec.ListVariables_Args result = new com.kcl.api.Spec.ListVariables_Args(this); + public com.kcl.api.Spec.ListVariablesArgs buildPartial() { + com.kcl.api.Spec.ListVariablesArgs result = new com.kcl.api.Spec.ListVariablesArgs(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.ListVariables_Args result) { + private void buildPartial0(com.kcl.api.Spec.ListVariablesArgs result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { files_.makeImmutable(); @@ -39491,16 +39492,16 @@ private void buildPartial0(com.kcl.api.Spec.ListVariables_Args result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ListVariables_Args) { - return mergeFrom((com.kcl.api.Spec.ListVariables_Args)other); + if (other instanceof com.kcl.api.Spec.ListVariablesArgs) { + return mergeFrom((com.kcl.api.Spec.ListVariablesArgs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.ListVariables_Args other) { - if (other == com.kcl.api.Spec.ListVariables_Args.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.ListVariablesArgs other) { + if (other == com.kcl.api.Spec.ListVariablesArgs.getDefaultInstance()) return this; if (!other.files_.isEmpty()) { if (files_.isEmpty()) { files_ = other.files_; @@ -39564,7 +39565,7 @@ public Builder mergeFrom( } // case 18 case 26: { input.readMessage( - getOptionsFieldBuilder().getBuilder(), + internalGetOptionsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; @@ -39880,15 +39881,15 @@ public Builder addSpecsBytes( return this; } - private com.kcl.api.Spec.ListVariables_Options options_; + private com.kcl.api.Spec.ListVariablesOptions options_; private com.google.protobuf.SingleFieldBuilder< - com.kcl.api.Spec.ListVariables_Options, com.kcl.api.Spec.ListVariables_Options.Builder, com.kcl.api.Spec.ListVariables_OptionsOrBuilder> optionsBuilder_; + com.kcl.api.Spec.ListVariablesOptions, com.kcl.api.Spec.ListVariablesOptions.Builder, com.kcl.api.Spec.ListVariablesOptionsOrBuilder> optionsBuilder_; /** *
        * Options for listing variables.
        * 
* - * .com.kcl.api.ListVariables_Options options = 3; + * .com.kcl.api.ListVariablesOptions options = 3; * @return Whether the options field is set. */ public boolean hasOptions() { @@ -39899,12 +39900,12 @@ public boolean hasOptions() { * Options for listing variables. * * - * .com.kcl.api.ListVariables_Options options = 3; + * .com.kcl.api.ListVariablesOptions options = 3; * @return The options. */ - public com.kcl.api.Spec.ListVariables_Options getOptions() { + public com.kcl.api.Spec.ListVariablesOptions getOptions() { if (optionsBuilder_ == null) { - return options_ == null ? com.kcl.api.Spec.ListVariables_Options.getDefaultInstance() : options_; + return options_ == null ? com.kcl.api.Spec.ListVariablesOptions.getDefaultInstance() : options_; } else { return optionsBuilder_.getMessage(); } @@ -39914,9 +39915,9 @@ public com.kcl.api.Spec.ListVariables_Options getOptions() { * Options for listing variables. * * - * .com.kcl.api.ListVariables_Options options = 3; + * .com.kcl.api.ListVariablesOptions options = 3; */ - public Builder setOptions(com.kcl.api.Spec.ListVariables_Options value) { + public Builder setOptions(com.kcl.api.Spec.ListVariablesOptions value) { if (optionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -39934,10 +39935,10 @@ public Builder setOptions(com.kcl.api.Spec.ListVariables_Options value) { * Options for listing variables. * * - * .com.kcl.api.ListVariables_Options options = 3; + * .com.kcl.api.ListVariablesOptions options = 3; */ public Builder setOptions( - com.kcl.api.Spec.ListVariables_Options.Builder builderForValue) { + com.kcl.api.Spec.ListVariablesOptions.Builder builderForValue) { if (optionsBuilder_ == null) { options_ = builderForValue.build(); } else { @@ -39952,13 +39953,13 @@ public Builder setOptions( * Options for listing variables. * * - * .com.kcl.api.ListVariables_Options options = 3; + * .com.kcl.api.ListVariablesOptions options = 3; */ - public Builder mergeOptions(com.kcl.api.Spec.ListVariables_Options value) { + public Builder mergeOptions(com.kcl.api.Spec.ListVariablesOptions value) { if (optionsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && options_ != null && - options_ != com.kcl.api.Spec.ListVariables_Options.getDefaultInstance()) { + options_ != com.kcl.api.Spec.ListVariablesOptions.getDefaultInstance()) { getOptionsBuilder().mergeFrom(value); } else { options_ = value; @@ -39977,7 +39978,7 @@ public Builder mergeOptions(com.kcl.api.Spec.ListVariables_Options value) { * Options for listing variables. * * - * .com.kcl.api.ListVariables_Options options = 3; + * .com.kcl.api.ListVariablesOptions options = 3; */ public Builder clearOptions() { bitField0_ = (bitField0_ & ~0x00000004); @@ -39994,26 +39995,26 @@ public Builder clearOptions() { * Options for listing variables. * * - * .com.kcl.api.ListVariables_Options options = 3; + * .com.kcl.api.ListVariablesOptions options = 3; */ - public com.kcl.api.Spec.ListVariables_Options.Builder getOptionsBuilder() { + public com.kcl.api.Spec.ListVariablesOptions.Builder getOptionsBuilder() { bitField0_ |= 0x00000004; onChanged(); - return getOptionsFieldBuilder().getBuilder(); + return internalGetOptionsFieldBuilder().getBuilder(); } /** *
        * Options for listing variables.
        * 
* - * .com.kcl.api.ListVariables_Options options = 3; + * .com.kcl.api.ListVariablesOptions options = 3; */ - public com.kcl.api.Spec.ListVariables_OptionsOrBuilder getOptionsOrBuilder() { + public com.kcl.api.Spec.ListVariablesOptionsOrBuilder getOptionsOrBuilder() { if (optionsBuilder_ != null) { return optionsBuilder_.getMessageOrBuilder(); } else { return options_ == null ? - com.kcl.api.Spec.ListVariables_Options.getDefaultInstance() : options_; + com.kcl.api.Spec.ListVariablesOptions.getDefaultInstance() : options_; } } /** @@ -40021,14 +40022,14 @@ public com.kcl.api.Spec.ListVariables_OptionsOrBuilder getOptionsOrBuilder() { * Options for listing variables. * * - * .com.kcl.api.ListVariables_Options options = 3; + * .com.kcl.api.ListVariablesOptions options = 3; */ private com.google.protobuf.SingleFieldBuilder< - com.kcl.api.Spec.ListVariables_Options, com.kcl.api.Spec.ListVariables_Options.Builder, com.kcl.api.Spec.ListVariables_OptionsOrBuilder> - getOptionsFieldBuilder() { + com.kcl.api.Spec.ListVariablesOptions, com.kcl.api.Spec.ListVariablesOptions.Builder, com.kcl.api.Spec.ListVariablesOptionsOrBuilder> + internalGetOptionsFieldBuilder() { if (optionsBuilder_ == null) { optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder< - com.kcl.api.Spec.ListVariables_Options, com.kcl.api.Spec.ListVariables_Options.Builder, com.kcl.api.Spec.ListVariables_OptionsOrBuilder>( + com.kcl.api.Spec.ListVariablesOptions, com.kcl.api.Spec.ListVariablesOptions.Builder, com.kcl.api.Spec.ListVariablesOptionsOrBuilder>( getOptions(), getParentForChildren(), isClean()); @@ -40037,23 +40038,23 @@ public com.kcl.api.Spec.ListVariables_OptionsOrBuilder getOptionsOrBuilder() { return optionsBuilder_; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.ListVariables_Args) + // @@protoc_insertion_point(builder_scope:com.kcl.api.ListVariablesArgs) } - // @@protoc_insertion_point(class_scope:com.kcl.api.ListVariables_Args) - private static final com.kcl.api.Spec.ListVariables_Args DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.ListVariablesArgs) + private static final com.kcl.api.Spec.ListVariablesArgs DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ListVariables_Args(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.ListVariablesArgs(); } - public static com.kcl.api.Spec.ListVariables_Args getDefaultInstance() { + public static com.kcl.api.Spec.ListVariablesArgs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public ListVariables_Args parsePartialFrom( + public ListVariablesArgs parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -40072,24 +40073,24 @@ public ListVariables_Args parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.ListVariables_Args getDefaultInstanceForType() { + public com.kcl.api.Spec.ListVariablesArgs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface ListVariables_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ListVariables_Result) + public interface ListVariablesResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ListVariablesResult) com.google.protobuf.MessageOrBuilder { /** @@ -40236,27 +40237,27 @@ com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder( * Message for list variables response. * * - * Protobuf type {@code com.kcl.api.ListVariables_Result} + * Protobuf type {@code com.kcl.api.ListVariablesResult} */ - public static final class ListVariables_Result extends + public static final class ListVariablesResult extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ListVariables_Result) - ListVariables_ResultOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.ListVariablesResult) + ListVariablesResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - ListVariables_Result.class.getName()); + "ListVariablesResult"); } - // Use ListVariables_Result.newBuilder() to construct. - private ListVariables_Result(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use ListVariablesResult.newBuilder() to construct. + private ListVariablesResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private ListVariables_Result() { + private ListVariablesResult() { unsupportedCodes_ = com.google.protobuf.LazyStringArrayList.emptyList(); parseErrors_ = java.util.Collections.emptyList(); @@ -40264,7 +40265,7 @@ private ListVariables_Result() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesResult_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -40282,9 +40283,9 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ListVariables_Result.class, com.kcl.api.Spec.ListVariables_Result.Builder.class); + com.kcl.api.Spec.ListVariablesResult.class, com.kcl.api.Spec.ListVariablesResult.Builder.class); } public static final int VARIABLES_FIELD_NUMBER = 1; @@ -40293,7 +40294,7 @@ private static final class VariablesDefaultEntryHolder { java.lang.String, com.kcl.api.Spec.VariableList> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_descriptor, + com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesResult_VariablesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, @@ -40563,10 +40564,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.ListVariables_Result)) { + if (!(obj instanceof com.kcl.api.Spec.ListVariablesResult)) { return super.equals(obj); } - com.kcl.api.Spec.ListVariables_Result other = (com.kcl.api.Spec.ListVariables_Result) obj; + com.kcl.api.Spec.ListVariablesResult other = (com.kcl.api.Spec.ListVariablesResult) obj; if (!internalGetVariables().equals( other.internalGetVariables())) return false; @@ -40602,44 +40603,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.ListVariables_Result parseFrom( + public static com.kcl.api.Spec.ListVariablesResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListVariables_Result parseFrom( + public static com.kcl.api.Spec.ListVariablesResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListVariables_Result parseFrom( + public static com.kcl.api.Spec.ListVariablesResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListVariables_Result parseFrom( + public static com.kcl.api.Spec.ListVariablesResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListVariables_Result parseFrom(byte[] data) + public static com.kcl.api.Spec.ListVariablesResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListVariables_Result parseFrom( + public static com.kcl.api.Spec.ListVariablesResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListVariables_Result parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ListVariablesResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListVariables_Result parseFrom( + public static com.kcl.api.Spec.ListVariablesResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -40647,26 +40648,26 @@ public static com.kcl.api.Spec.ListVariables_Result parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ListVariables_Result parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ListVariablesResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListVariables_Result parseDelimitedFrom( + public static com.kcl.api.Spec.ListVariablesResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ListVariables_Result parseFrom( + public static com.kcl.api.Spec.ListVariablesResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListVariables_Result parseFrom( + public static com.kcl.api.Spec.ListVariablesResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -40679,7 +40680,7 @@ public static com.kcl.api.Spec.ListVariables_Result parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.ListVariables_Result prototype) { + public static Builder newBuilder(com.kcl.api.Spec.ListVariablesResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -40699,15 +40700,15 @@ protected Builder newBuilderForType( * Message for list variables response. * * - * Protobuf type {@code com.kcl.api.ListVariables_Result} + * Protobuf type {@code com.kcl.api.ListVariablesResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ListVariables_Result) - com.kcl.api.Spec.ListVariables_ResultOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.ListVariablesResult) + com.kcl.api.Spec.ListVariablesResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesResult_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -40735,12 +40736,12 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ListVariables_Result.class, com.kcl.api.Spec.ListVariables_Result.Builder.class); + com.kcl.api.Spec.ListVariablesResult.class, com.kcl.api.Spec.ListVariablesResult.Builder.class); } - // Construct using com.kcl.api.Spec.ListVariables_Result.newBuilder() + // Construct using com.kcl.api.Spec.ListVariablesResult.newBuilder() private Builder() { } @@ -40770,17 +40771,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariables_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListVariablesResult_descriptor; } @java.lang.Override - public com.kcl.api.Spec.ListVariables_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ListVariables_Result.getDefaultInstance(); + public com.kcl.api.Spec.ListVariablesResult getDefaultInstanceForType() { + return com.kcl.api.Spec.ListVariablesResult.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.ListVariables_Result build() { - com.kcl.api.Spec.ListVariables_Result result = buildPartial(); + public com.kcl.api.Spec.ListVariablesResult build() { + com.kcl.api.Spec.ListVariablesResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -40788,15 +40789,15 @@ public com.kcl.api.Spec.ListVariables_Result build() { } @java.lang.Override - public com.kcl.api.Spec.ListVariables_Result buildPartial() { - com.kcl.api.Spec.ListVariables_Result result = new com.kcl.api.Spec.ListVariables_Result(this); + public com.kcl.api.Spec.ListVariablesResult buildPartial() { + com.kcl.api.Spec.ListVariablesResult result = new com.kcl.api.Spec.ListVariablesResult(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.kcl.api.Spec.ListVariables_Result result) { + private void buildPartialRepeatedFields(com.kcl.api.Spec.ListVariablesResult result) { if (parseErrorsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { parseErrors_ = java.util.Collections.unmodifiableList(parseErrors_); @@ -40808,7 +40809,7 @@ private void buildPartialRepeatedFields(com.kcl.api.Spec.ListVariables_Result re } } - private void buildPartial0(com.kcl.api.Spec.ListVariables_Result result) { + private void buildPartial0(com.kcl.api.Spec.ListVariablesResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.variables_ = internalGetVariables().build(VariablesDefaultEntryHolder.defaultEntry); @@ -40821,16 +40822,16 @@ private void buildPartial0(com.kcl.api.Spec.ListVariables_Result result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ListVariables_Result) { - return mergeFrom((com.kcl.api.Spec.ListVariables_Result)other); + if (other instanceof com.kcl.api.Spec.ListVariablesResult) { + return mergeFrom((com.kcl.api.Spec.ListVariablesResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.ListVariables_Result other) { - if (other == com.kcl.api.Spec.ListVariables_Result.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.ListVariablesResult other) { + if (other == com.kcl.api.Spec.ListVariablesResult.getDefaultInstance()) return this; internalGetMutableVariables().mergeFrom( other.internalGetVariables()); bitField0_ |= 0x00000001; @@ -40864,7 +40865,7 @@ public Builder mergeFrom(com.kcl.api.Spec.ListVariables_Result other) { bitField0_ = (bitField0_ & ~0x00000004); parseErrorsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getParseErrorsFieldBuilder() : null; + internalGetParseErrorsFieldBuilder() : null; } else { parseErrorsBuilder_.addAllMessages(other.parseErrors_); } @@ -41507,7 +41508,7 @@ public Builder removeParseErrors(int index) { */ public com.kcl.api.Spec.Error.Builder getParseErrorsBuilder( int index) { - return getParseErrorsFieldBuilder().getBuilder(index); + return internalGetParseErrorsFieldBuilder().getBuilder(index); } /** *
@@ -41546,7 +41547,7 @@ public com.kcl.api.Spec.ErrorOrBuilder getParseErrorsOrBuilder(
        * repeated .com.kcl.api.Error parse_errors = 3;
        */
       public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder() {
-        return getParseErrorsFieldBuilder().addBuilder(
+        return internalGetParseErrorsFieldBuilder().addBuilder(
             com.kcl.api.Spec.Error.getDefaultInstance());
       }
       /**
@@ -41558,7 +41559,7 @@ public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder() {
        */
       public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder(
           int index) {
-        return getParseErrorsFieldBuilder().addBuilder(
+        return internalGetParseErrorsFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.Error.getDefaultInstance());
       }
       /**
@@ -41570,11 +41571,11 @@ public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder(
        */
       public java.util.List 
            getParseErrorsBuilderList() {
-        return getParseErrorsFieldBuilder().getBuilderList();
+        return internalGetParseErrorsFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder> 
-          getParseErrorsFieldBuilder() {
+          internalGetParseErrorsFieldBuilder() {
         if (parseErrorsBuilder_ == null) {
           parseErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.Error, com.kcl.api.Spec.Error.Builder, com.kcl.api.Spec.ErrorOrBuilder>(
@@ -41587,23 +41588,23 @@ public com.kcl.api.Spec.Error.Builder addParseErrorsBuilder(
         return parseErrorsBuilder_;
       }
 
-      // @@protoc_insertion_point(builder_scope:com.kcl.api.ListVariables_Result)
+      // @@protoc_insertion_point(builder_scope:com.kcl.api.ListVariablesResult)
     }
 
-    // @@protoc_insertion_point(class_scope:com.kcl.api.ListVariables_Result)
-    private static final com.kcl.api.Spec.ListVariables_Result DEFAULT_INSTANCE;
+    // @@protoc_insertion_point(class_scope:com.kcl.api.ListVariablesResult)
+    private static final com.kcl.api.Spec.ListVariablesResult DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kcl.api.Spec.ListVariables_Result();
+      DEFAULT_INSTANCE = new com.kcl.api.Spec.ListVariablesResult();
     }
 
-    public static com.kcl.api.Spec.ListVariables_Result getDefaultInstance() {
+    public static com.kcl.api.Spec.ListVariablesResult getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
       @java.lang.Override
-      public ListVariables_Result parsePartialFrom(
+      public ListVariablesResult parsePartialFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
@@ -41622,17 +41623,17 @@ public ListVariables_Result parsePartialFrom(
       }
     };
 
-    public static com.google.protobuf.Parser parser() {
+    public static com.google.protobuf.Parser parser() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Parser getParserForType() {
+    public com.google.protobuf.Parser getParserForType() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.kcl.api.Spec.ListVariables_Result getDefaultInstanceForType() {
+    public com.kcl.api.Spec.ListVariablesResult getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
@@ -41806,10 +41807,10 @@ public static final class Variable extends
       com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
         com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
         /* major= */ 4,
-        /* minor= */ 29,
-        /* patch= */ 3,
+        /* minor= */ 33,
+        /* patch= */ 1,
         /* suffix= */ "",
-        Variable.class.getName());
+        "Variable");
     }
     // Use Variable.newBuilder() to construct.
     private Variable(com.google.protobuf.GeneratedMessage.Builder builder) {
@@ -42469,7 +42470,7 @@ public Builder mergeFrom(com.kcl.api.Spec.Variable other) {
               bitField0_ = (bitField0_ & ~0x00000008);
               listItemsBuilder_ = 
                 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
-                   getListItemsFieldBuilder() : null;
+                   internalGetListItemsFieldBuilder() : null;
             } else {
               listItemsBuilder_.addAllMessages(other.listItems_);
             }
@@ -42495,7 +42496,7 @@ public Builder mergeFrom(com.kcl.api.Spec.Variable other) {
               bitField0_ = (bitField0_ & ~0x00000010);
               dictEntriesBuilder_ = 
                 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
-                   getDictEntriesFieldBuilder() : null;
+                   internalGetDictEntriesFieldBuilder() : null;
             } else {
               dictEntriesBuilder_.addAllMessages(other.dictEntries_);
             }
@@ -43093,7 +43094,7 @@ public Builder removeListItems(int index) {
        */
       public com.kcl.api.Spec.Variable.Builder getListItemsBuilder(
           int index) {
-        return getListItemsFieldBuilder().getBuilder(index);
+        return internalGetListItemsFieldBuilder().getBuilder(index);
       }
       /**
        * 
@@ -43132,7 +43133,7 @@ public com.kcl.api.Spec.VariableOrBuilder getListItemsOrBuilder(
        * repeated .com.kcl.api.Variable list_items = 4;
        */
       public com.kcl.api.Spec.Variable.Builder addListItemsBuilder() {
-        return getListItemsFieldBuilder().addBuilder(
+        return internalGetListItemsFieldBuilder().addBuilder(
             com.kcl.api.Spec.Variable.getDefaultInstance());
       }
       /**
@@ -43144,7 +43145,7 @@ public com.kcl.api.Spec.Variable.Builder addListItemsBuilder() {
        */
       public com.kcl.api.Spec.Variable.Builder addListItemsBuilder(
           int index) {
-        return getListItemsFieldBuilder().addBuilder(
+        return internalGetListItemsFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.Variable.getDefaultInstance());
       }
       /**
@@ -43156,11 +43157,11 @@ public com.kcl.api.Spec.Variable.Builder addListItemsBuilder(
        */
       public java.util.List 
            getListItemsBuilderList() {
-        return getListItemsFieldBuilder().getBuilderList();
+        return internalGetListItemsFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.Variable, com.kcl.api.Spec.Variable.Builder, com.kcl.api.Spec.VariableOrBuilder> 
-          getListItemsFieldBuilder() {
+          internalGetListItemsFieldBuilder() {
         if (listItemsBuilder_ == null) {
           listItemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.Variable, com.kcl.api.Spec.Variable.Builder, com.kcl.api.Spec.VariableOrBuilder>(
@@ -43405,7 +43406,7 @@ public Builder removeDictEntries(int index) {
        */
       public com.kcl.api.Spec.MapEntry.Builder getDictEntriesBuilder(
           int index) {
-        return getDictEntriesFieldBuilder().getBuilder(index);
+        return internalGetDictEntriesFieldBuilder().getBuilder(index);
       }
       /**
        * 
@@ -43444,7 +43445,7 @@ public com.kcl.api.Spec.MapEntryOrBuilder getDictEntriesOrBuilder(
        * repeated .com.kcl.api.MapEntry dict_entries = 5;
        */
       public com.kcl.api.Spec.MapEntry.Builder addDictEntriesBuilder() {
-        return getDictEntriesFieldBuilder().addBuilder(
+        return internalGetDictEntriesFieldBuilder().addBuilder(
             com.kcl.api.Spec.MapEntry.getDefaultInstance());
       }
       /**
@@ -43456,7 +43457,7 @@ public com.kcl.api.Spec.MapEntry.Builder addDictEntriesBuilder() {
        */
       public com.kcl.api.Spec.MapEntry.Builder addDictEntriesBuilder(
           int index) {
-        return getDictEntriesFieldBuilder().addBuilder(
+        return internalGetDictEntriesFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.MapEntry.getDefaultInstance());
       }
       /**
@@ -43468,11 +43469,11 @@ public com.kcl.api.Spec.MapEntry.Builder addDictEntriesBuilder(
        */
       public java.util.List 
            getDictEntriesBuilderList() {
-        return getDictEntriesFieldBuilder().getBuilderList();
+        return internalGetDictEntriesFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.MapEntry, com.kcl.api.Spec.MapEntry.Builder, com.kcl.api.Spec.MapEntryOrBuilder> 
-          getDictEntriesFieldBuilder() {
+          internalGetDictEntriesFieldBuilder() {
         if (dictEntriesBuilder_ == null) {
           dictEntriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.MapEntry, com.kcl.api.Spec.MapEntry.Builder, com.kcl.api.Spec.MapEntryOrBuilder>(
@@ -43603,10 +43604,10 @@ public static final class MapEntry extends
       com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
         com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
         /* major= */ 4,
-        /* minor= */ 29,
-        /* patch= */ 3,
+        /* minor= */ 33,
+        /* patch= */ 1,
         /* suffix= */ "",
-        MapEntry.class.getName());
+        "MapEntry");
     }
     // Use MapEntry.newBuilder() to construct.
     private MapEntry(com.google.protobuf.GeneratedMessage.Builder builder) {
@@ -43924,7 +43925,7 @@ private Builder(
       private void maybeForceBuilderInitialization() {
         if (com.google.protobuf.GeneratedMessage
                 .alwaysUseFieldBuilders) {
-          getValueFieldBuilder();
+          internalGetValueFieldBuilder();
         }
       }
       @java.lang.Override
@@ -44036,7 +44037,7 @@ public Builder mergeFrom(
               } // case 10
               case 18: {
                 input.readMessage(
-                    getValueFieldBuilder().getBuilder(),
+                    internalGetValueFieldBuilder().getBuilder(),
                     extensionRegistry);
                 bitField0_ |= 0x00000002;
                 break;
@@ -44269,7 +44270,7 @@ public Builder clearValue() {
       public com.kcl.api.Spec.Variable.Builder getValueBuilder() {
         bitField0_ |= 0x00000002;
         onChanged();
-        return getValueFieldBuilder().getBuilder();
+        return internalGetValueFieldBuilder().getBuilder();
       }
       /**
        * 
@@ -44295,7 +44296,7 @@ public com.kcl.api.Spec.VariableOrBuilder getValueOrBuilder() {
        */
       private com.google.protobuf.SingleFieldBuilder<
           com.kcl.api.Spec.Variable, com.kcl.api.Spec.Variable.Builder, com.kcl.api.Spec.VariableOrBuilder> 
-          getValueFieldBuilder() {
+          internalGetValueFieldBuilder() {
         if (valueBuilder_ == null) {
           valueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
               com.kcl.api.Spec.Variable, com.kcl.api.Spec.Variable.Builder, com.kcl.api.Spec.VariableOrBuilder>(
@@ -44358,8 +44359,8 @@ public com.kcl.api.Spec.MapEntry getDefaultInstanceForType() {
 
   }
 
-  public interface GetSchemaTypeMapping_ArgsOrBuilder extends
-      // @@protoc_insertion_point(interface_extends:com.kcl.api.GetSchemaTypeMapping_Args)
+  public interface GetSchemaTypeMappingArgsOrBuilder extends
+      // @@protoc_insertion_point(interface_extends:com.kcl.api.GetSchemaTypeMappingArgs)
       com.google.protobuf.MessageOrBuilder {
 
     /**
@@ -44367,7 +44368,7 @@ public interface GetSchemaTypeMapping_ArgsOrBuilder extends
      * Arguments for executing the program.
      * 
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; * @return Whether the execArgs field is set. */ boolean hasExecArgs(); @@ -44376,18 +44377,18 @@ public interface GetSchemaTypeMapping_ArgsOrBuilder extends * Arguments for executing the program. *
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; * @return The execArgs. */ - com.kcl.api.Spec.ExecProgram_Args getExecArgs(); + com.kcl.api.Spec.ExecProgramArgs getExecArgs(); /** *
      * Arguments for executing the program.
      * 
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ - com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder(); + com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder(); /** *
@@ -44414,52 +44415,52 @@ public interface GetSchemaTypeMapping_ArgsOrBuilder extends
    * Message for get schema type mapping request arguments.
    * 
* - * Protobuf type {@code com.kcl.api.GetSchemaTypeMapping_Args} + * Protobuf type {@code com.kcl.api.GetSchemaTypeMappingArgs} */ - public static final class GetSchemaTypeMapping_Args extends + public static final class GetSchemaTypeMappingArgs extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.GetSchemaTypeMapping_Args) - GetSchemaTypeMapping_ArgsOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.GetSchemaTypeMappingArgs) + GetSchemaTypeMappingArgsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - GetSchemaTypeMapping_Args.class.getName()); + "GetSchemaTypeMappingArgs"); } - // Use GetSchemaTypeMapping_Args.newBuilder() to construct. - private GetSchemaTypeMapping_Args(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use GetSchemaTypeMappingArgs.newBuilder() to construct. + private GetSchemaTypeMappingArgs(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private GetSchemaTypeMapping_Args() { + private GetSchemaTypeMappingArgs() { schemaName_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.GetSchemaTypeMapping_Args.class, com.kcl.api.Spec.GetSchemaTypeMapping_Args.Builder.class); + com.kcl.api.Spec.GetSchemaTypeMappingArgs.class, com.kcl.api.Spec.GetSchemaTypeMappingArgs.Builder.class); } private int bitField0_; public static final int EXEC_ARGS_FIELD_NUMBER = 1; - private com.kcl.api.Spec.ExecProgram_Args execArgs_; + private com.kcl.api.Spec.ExecProgramArgs execArgs_; /** *
      * Arguments for executing the program.
      * 
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; * @return Whether the execArgs field is set. */ @java.lang.Override @@ -44471,23 +44472,23 @@ public boolean hasExecArgs() { * Arguments for executing the program. *
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; * @return The execArgs. */ @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + public com.kcl.api.Spec.ExecProgramArgs getExecArgs() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; } /** *
      * Arguments for executing the program.
      * 
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ @java.lang.Override - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + public com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; } public static final int SCHEMA_NAME_FIELD_NUMBER = 2; @@ -44583,10 +44584,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.GetSchemaTypeMapping_Args)) { + if (!(obj instanceof com.kcl.api.Spec.GetSchemaTypeMappingArgs)) { return super.equals(obj); } - com.kcl.api.Spec.GetSchemaTypeMapping_Args other = (com.kcl.api.Spec.GetSchemaTypeMapping_Args) obj; + com.kcl.api.Spec.GetSchemaTypeMappingArgs other = (com.kcl.api.Spec.GetSchemaTypeMappingArgs) obj; if (hasExecArgs() != other.hasExecArgs()) return false; if (hasExecArgs()) { @@ -44617,44 +44618,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom( + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom( + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom( + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom( + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom(byte[] data) + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom( + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom( + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -44662,26 +44663,26 @@ public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseDelimitedFrom( + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom( + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom( + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -44694,7 +44695,7 @@ public static com.kcl.api.Spec.GetSchemaTypeMapping_Args parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.GetSchemaTypeMapping_Args prototype) { + public static Builder newBuilder(com.kcl.api.Spec.GetSchemaTypeMappingArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -44714,26 +44715,26 @@ protected Builder newBuilderForType( * Message for get schema type mapping request arguments. *
* - * Protobuf type {@code com.kcl.api.GetSchemaTypeMapping_Args} + * Protobuf type {@code com.kcl.api.GetSchemaTypeMappingArgs} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.GetSchemaTypeMapping_Args) - com.kcl.api.Spec.GetSchemaTypeMapping_ArgsOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.GetSchemaTypeMappingArgs) + com.kcl.api.Spec.GetSchemaTypeMappingArgsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.GetSchemaTypeMapping_Args.class, com.kcl.api.Spec.GetSchemaTypeMapping_Args.Builder.class); + com.kcl.api.Spec.GetSchemaTypeMappingArgs.class, com.kcl.api.Spec.GetSchemaTypeMappingArgs.Builder.class); } - // Construct using com.kcl.api.Spec.GetSchemaTypeMapping_Args.newBuilder() + // Construct using com.kcl.api.Spec.GetSchemaTypeMappingArgs.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -44746,7 +44747,7 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { - getExecArgsFieldBuilder(); + internalGetExecArgsFieldBuilder(); } } @java.lang.Override @@ -44765,17 +44766,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingArgs_descriptor; } @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.GetSchemaTypeMapping_Args.getDefaultInstance(); + public com.kcl.api.Spec.GetSchemaTypeMappingArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.GetSchemaTypeMappingArgs.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Args build() { - com.kcl.api.Spec.GetSchemaTypeMapping_Args result = buildPartial(); + public com.kcl.api.Spec.GetSchemaTypeMappingArgs build() { + com.kcl.api.Spec.GetSchemaTypeMappingArgs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -44783,14 +44784,14 @@ public com.kcl.api.Spec.GetSchemaTypeMapping_Args build() { } @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Args buildPartial() { - com.kcl.api.Spec.GetSchemaTypeMapping_Args result = new com.kcl.api.Spec.GetSchemaTypeMapping_Args(this); + public com.kcl.api.Spec.GetSchemaTypeMappingArgs buildPartial() { + com.kcl.api.Spec.GetSchemaTypeMappingArgs result = new com.kcl.api.Spec.GetSchemaTypeMappingArgs(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.GetSchemaTypeMapping_Args result) { + private void buildPartial0(com.kcl.api.Spec.GetSchemaTypeMappingArgs result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -44807,16 +44808,16 @@ private void buildPartial0(com.kcl.api.Spec.GetSchemaTypeMapping_Args result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.GetSchemaTypeMapping_Args) { - return mergeFrom((com.kcl.api.Spec.GetSchemaTypeMapping_Args)other); + if (other instanceof com.kcl.api.Spec.GetSchemaTypeMappingArgs) { + return mergeFrom((com.kcl.api.Spec.GetSchemaTypeMappingArgs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.GetSchemaTypeMapping_Args other) { - if (other == com.kcl.api.Spec.GetSchemaTypeMapping_Args.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.GetSchemaTypeMappingArgs other) { + if (other == com.kcl.api.Spec.GetSchemaTypeMappingArgs.getDefaultInstance()) return this; if (other.hasExecArgs()) { mergeExecArgs(other.getExecArgs()); } @@ -44853,7 +44854,7 @@ public Builder mergeFrom( break; case 10: { input.readMessage( - getExecArgsFieldBuilder().getBuilder(), + internalGetExecArgsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; @@ -44880,15 +44881,15 @@ public Builder mergeFrom( } private int bitField0_; - private com.kcl.api.Spec.ExecProgram_Args execArgs_; + private com.kcl.api.Spec.ExecProgramArgs execArgs_; private com.google.protobuf.SingleFieldBuilder< - com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder> execArgsBuilder_; + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder> execArgsBuilder_; /** *
        * Arguments for executing the program.
        * 
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; * @return Whether the execArgs field is set. */ public boolean hasExecArgs() { @@ -44899,12 +44900,12 @@ public boolean hasExecArgs() { * Arguments for executing the program. * * - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; * @return The execArgs. */ - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { + public com.kcl.api.Spec.ExecProgramArgs getExecArgs() { if (execArgsBuilder_ == null) { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; } else { return execArgsBuilder_.getMessage(); } @@ -44914,9 +44915,9 @@ public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { * Arguments for executing the program. * * - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ - public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { + public Builder setExecArgs(com.kcl.api.Spec.ExecProgramArgs value) { if (execArgsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -44934,10 +44935,10 @@ public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { * Arguments for executing the program. * * - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ public Builder setExecArgs( - com.kcl.api.Spec.ExecProgram_Args.Builder builderForValue) { + com.kcl.api.Spec.ExecProgramArgs.Builder builderForValue) { if (execArgsBuilder_ == null) { execArgs_ = builderForValue.build(); } else { @@ -44952,13 +44953,13 @@ public Builder setExecArgs( * Arguments for executing the program. * * - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ - public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { + public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgramArgs value) { if (execArgsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && execArgs_ != null && - execArgs_ != com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance()) { + execArgs_ != com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance()) { getExecArgsBuilder().mergeFrom(value); } else { execArgs_ = value; @@ -44977,7 +44978,7 @@ public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { * Arguments for executing the program. * * - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ public Builder clearExecArgs() { bitField0_ = (bitField0_ & ~0x00000001); @@ -44994,26 +44995,26 @@ public Builder clearExecArgs() { * Arguments for executing the program. * * - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ - public com.kcl.api.Spec.ExecProgram_Args.Builder getExecArgsBuilder() { + public com.kcl.api.Spec.ExecProgramArgs.Builder getExecArgsBuilder() { bitField0_ |= 0x00000001; onChanged(); - return getExecArgsFieldBuilder().getBuilder(); + return internalGetExecArgsFieldBuilder().getBuilder(); } /** *
        * Arguments for executing the program.
        * 
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { + public com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder() { if (execArgsBuilder_ != null) { return execArgsBuilder_.getMessageOrBuilder(); } else { return execArgs_ == null ? - com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; } } /** @@ -45021,14 +45022,14 @@ public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { * Arguments for executing the program. * * - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ private com.google.protobuf.SingleFieldBuilder< - com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder> - getExecArgsFieldBuilder() { + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder> + internalGetExecArgsFieldBuilder() { if (execArgsBuilder_ == null) { execArgsBuilder_ = new com.google.protobuf.SingleFieldBuilder< - com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder>( + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder>( getExecArgs(), getParentForChildren(), isClean()); @@ -45129,23 +45130,23 @@ public Builder setSchemaNameBytes( return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.GetSchemaTypeMapping_Args) + // @@protoc_insertion_point(builder_scope:com.kcl.api.GetSchemaTypeMappingArgs) } - // @@protoc_insertion_point(class_scope:com.kcl.api.GetSchemaTypeMapping_Args) - private static final com.kcl.api.Spec.GetSchemaTypeMapping_Args DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.GetSchemaTypeMappingArgs) + private static final com.kcl.api.Spec.GetSchemaTypeMappingArgs DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.GetSchemaTypeMapping_Args(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.GetSchemaTypeMappingArgs(); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Args getDefaultInstance() { + public static com.kcl.api.Spec.GetSchemaTypeMappingArgs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public GetSchemaTypeMapping_Args parsePartialFrom( + public GetSchemaTypeMappingArgs parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -45164,24 +45165,24 @@ public GetSchemaTypeMapping_Args parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Args getDefaultInstanceForType() { + public com.kcl.api.Spec.GetSchemaTypeMappingArgs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface GetSchemaTypeMapping_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.GetSchemaTypeMapping_Result) + public interface GetSchemaTypeMappingResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.GetSchemaTypeMappingResult) com.google.protobuf.MessageOrBuilder { /** @@ -45243,32 +45244,32 @@ com.kcl.api.Spec.KclType getSchemaTypeMappingOrThrow( * Message for get schema type mapping response. * * - * Protobuf type {@code com.kcl.api.GetSchemaTypeMapping_Result} + * Protobuf type {@code com.kcl.api.GetSchemaTypeMappingResult} */ - public static final class GetSchemaTypeMapping_Result extends + public static final class GetSchemaTypeMappingResult extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.GetSchemaTypeMapping_Result) - GetSchemaTypeMapping_ResultOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.GetSchemaTypeMappingResult) + GetSchemaTypeMappingResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - GetSchemaTypeMapping_Result.class.getName()); + "GetSchemaTypeMappingResult"); } - // Use GetSchemaTypeMapping_Result.newBuilder() to construct. - private GetSchemaTypeMapping_Result(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use GetSchemaTypeMappingResult.newBuilder() to construct. + private GetSchemaTypeMappingResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private GetSchemaTypeMapping_Result() { + private GetSchemaTypeMappingResult() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingResult_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -45286,9 +45287,9 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.GetSchemaTypeMapping_Result.class, com.kcl.api.Spec.GetSchemaTypeMapping_Result.Builder.class); + com.kcl.api.Spec.GetSchemaTypeMappingResult.class, com.kcl.api.Spec.GetSchemaTypeMappingResult.Builder.class); } public static final int SCHEMA_TYPE_MAPPING_FIELD_NUMBER = 1; @@ -45297,7 +45298,7 @@ private static final class SchemaTypeMappingDefaultEntryHolder { java.lang.String, com.kcl.api.Spec.KclType> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_descriptor, + com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingResult_SchemaTypeMappingEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, @@ -45435,10 +45436,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.GetSchemaTypeMapping_Result)) { + if (!(obj instanceof com.kcl.api.Spec.GetSchemaTypeMappingResult)) { return super.equals(obj); } - com.kcl.api.Spec.GetSchemaTypeMapping_Result other = (com.kcl.api.Spec.GetSchemaTypeMapping_Result) obj; + com.kcl.api.Spec.GetSchemaTypeMappingResult other = (com.kcl.api.Spec.GetSchemaTypeMappingResult) obj; if (!internalGetSchemaTypeMapping().equals( other.internalGetSchemaTypeMapping())) return false; @@ -45462,44 +45463,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom( + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom( + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom( + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom( + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom(byte[] data) + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom( + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom( + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -45507,26 +45508,26 @@ public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseDelimitedFrom( + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom( + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom( + public static com.kcl.api.Spec.GetSchemaTypeMappingResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -45539,7 +45540,7 @@ public static com.kcl.api.Spec.GetSchemaTypeMapping_Result parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.GetSchemaTypeMapping_Result prototype) { + public static Builder newBuilder(com.kcl.api.Spec.GetSchemaTypeMappingResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -45559,15 +45560,15 @@ protected Builder newBuilderForType( * Message for get schema type mapping response. * * - * Protobuf type {@code com.kcl.api.GetSchemaTypeMapping_Result} + * Protobuf type {@code com.kcl.api.GetSchemaTypeMappingResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.GetSchemaTypeMapping_Result) - com.kcl.api.Spec.GetSchemaTypeMapping_ResultOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.GetSchemaTypeMappingResult) + com.kcl.api.Spec.GetSchemaTypeMappingResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingResult_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -45595,12 +45596,12 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.GetSchemaTypeMapping_Result.class, com.kcl.api.Spec.GetSchemaTypeMapping_Result.Builder.class); + com.kcl.api.Spec.GetSchemaTypeMappingResult.class, com.kcl.api.Spec.GetSchemaTypeMappingResult.Builder.class); } - // Construct using com.kcl.api.Spec.GetSchemaTypeMapping_Result.newBuilder() + // Construct using com.kcl.api.Spec.GetSchemaTypeMappingResult.newBuilder() private Builder() { } @@ -45621,17 +45622,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingResult_descriptor; } @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.GetSchemaTypeMapping_Result.getDefaultInstance(); + public com.kcl.api.Spec.GetSchemaTypeMappingResult getDefaultInstanceForType() { + return com.kcl.api.Spec.GetSchemaTypeMappingResult.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Result build() { - com.kcl.api.Spec.GetSchemaTypeMapping_Result result = buildPartial(); + public com.kcl.api.Spec.GetSchemaTypeMappingResult build() { + com.kcl.api.Spec.GetSchemaTypeMappingResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -45639,14 +45640,14 @@ public com.kcl.api.Spec.GetSchemaTypeMapping_Result build() { } @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Result buildPartial() { - com.kcl.api.Spec.GetSchemaTypeMapping_Result result = new com.kcl.api.Spec.GetSchemaTypeMapping_Result(this); + public com.kcl.api.Spec.GetSchemaTypeMappingResult buildPartial() { + com.kcl.api.Spec.GetSchemaTypeMappingResult result = new com.kcl.api.Spec.GetSchemaTypeMappingResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.GetSchemaTypeMapping_Result result) { + private void buildPartial0(com.kcl.api.Spec.GetSchemaTypeMappingResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.schemaTypeMapping_ = internalGetSchemaTypeMapping().build(SchemaTypeMappingDefaultEntryHolder.defaultEntry); @@ -45655,16 +45656,16 @@ private void buildPartial0(com.kcl.api.Spec.GetSchemaTypeMapping_Result result) @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.GetSchemaTypeMapping_Result) { - return mergeFrom((com.kcl.api.Spec.GetSchemaTypeMapping_Result)other); + if (other instanceof com.kcl.api.Spec.GetSchemaTypeMappingResult) { + return mergeFrom((com.kcl.api.Spec.GetSchemaTypeMappingResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.GetSchemaTypeMapping_Result other) { - if (other == com.kcl.api.Spec.GetSchemaTypeMapping_Result.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.GetSchemaTypeMappingResult other) { + if (other == com.kcl.api.Spec.GetSchemaTypeMappingResult.getDefaultInstance()) return this; internalGetMutableSchemaTypeMapping().mergeFrom( other.internalGetSchemaTypeMapping()); bitField0_ |= 0x00000001; @@ -45907,23 +45908,23 @@ public com.kcl.api.Spec.KclType.Builder putSchemaTypeMappingBuilderIfAbsent( return (com.kcl.api.Spec.KclType.Builder) entry; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.GetSchemaTypeMapping_Result) + // @@protoc_insertion_point(builder_scope:com.kcl.api.GetSchemaTypeMappingResult) } - // @@protoc_insertion_point(class_scope:com.kcl.api.GetSchemaTypeMapping_Result) - private static final com.kcl.api.Spec.GetSchemaTypeMapping_Result DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.GetSchemaTypeMappingResult) + private static final com.kcl.api.Spec.GetSchemaTypeMappingResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.GetSchemaTypeMapping_Result(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.GetSchemaTypeMappingResult(); } - public static com.kcl.api.Spec.GetSchemaTypeMapping_Result getDefaultInstance() { + public static com.kcl.api.Spec.GetSchemaTypeMappingResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public GetSchemaTypeMapping_Result parsePartialFrom( + public GetSchemaTypeMappingResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -45942,24 +45943,1654 @@ public GetSchemaTypeMapping_Result parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.GetSchemaTypeMapping_Result getDefaultInstanceForType() { + public com.kcl.api.Spec.GetSchemaTypeMappingResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface ValidateCode_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ValidateCode_Args) + public interface GetSchemaTypeMappingUnderPathResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.GetSchemaTypeMappingUnderPathResult) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Map of pkg and schema types mappings.
+     * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + int getSchemaTypeMappingCount(); + /** + *
+     * Map of pkg and schema types mappings.
+     * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + boolean containsSchemaTypeMapping( + java.lang.String key); + /** + * Use {@link #getSchemaTypeMappingMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getSchemaTypeMapping(); + /** + *
+     * Map of pkg and schema types mappings.
+     * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + java.util.Map + getSchemaTypeMappingMap(); + /** + *
+     * Map of pkg and schema types mappings.
+     * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + /* nullable */ +com.kcl.api.Spec.SchemaTypes getSchemaTypeMappingOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.SchemaTypes defaultValue); + /** + *
+     * Map of pkg and schema types mappings.
+     * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + com.kcl.api.Spec.SchemaTypes getSchemaTypeMappingOrThrow( + java.lang.String key); + } + /** + *
+   * Message for get schema type mapping response.
+   * 
+ * + * Protobuf type {@code com.kcl.api.GetSchemaTypeMappingUnderPathResult} + */ + public static final class GetSchemaTypeMappingUnderPathResult extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.GetSchemaTypeMappingUnderPathResult) + GetSchemaTypeMappingUnderPathResultOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "GetSchemaTypeMappingUnderPathResult"); + } + // Use GetSchemaTypeMappingUnderPathResult.newBuilder() to construct. + private GetSchemaTypeMappingUnderPathResult(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private GetSchemaTypeMappingUnderPathResult() { + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetSchemaTypeMapping(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult.class, com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult.Builder.class); + } + + public static final int SCHEMA_TYPE_MAPPING_FIELD_NUMBER = 1; + private static final class SchemaTypeMappingDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.kcl.api.Spec.SchemaTypes> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_SchemaTypeMappingEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.kcl.api.Spec.SchemaTypes.getDefaultInstance()); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.kcl.api.Spec.SchemaTypes> schemaTypeMapping_; + private com.google.protobuf.MapField + internalGetSchemaTypeMapping() { + if (schemaTypeMapping_ == null) { + return com.google.protobuf.MapField.emptyMapField( + SchemaTypeMappingDefaultEntryHolder.defaultEntry); + } + return schemaTypeMapping_; + } + public int getSchemaTypeMappingCount() { + return internalGetSchemaTypeMapping().getMap().size(); + } + /** + *
+     * Map of pkg and schema types mappings.
+     * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + @java.lang.Override + public boolean containsSchemaTypeMapping( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetSchemaTypeMapping().getMap().containsKey(key); + } + /** + * Use {@link #getSchemaTypeMappingMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSchemaTypeMapping() { + return getSchemaTypeMappingMap(); + } + /** + *
+     * Map of pkg and schema types mappings.
+     * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + @java.lang.Override + public java.util.Map getSchemaTypeMappingMap() { + return internalGetSchemaTypeMapping().getMap(); + } + /** + *
+     * Map of pkg and schema types mappings.
+     * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.SchemaTypes getSchemaTypeMappingOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.SchemaTypes defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSchemaTypeMapping().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Map of pkg and schema types mappings.
+     * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.SchemaTypes getSchemaTypeMappingOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetSchemaTypeMapping().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessage + .serializeStringMapTo( + output, + internalGetSchemaTypeMapping(), + SchemaTypeMappingDefaultEntryHolder.defaultEntry, + 1); + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry entry + : internalGetSchemaTypeMapping().getMap().entrySet()) { + com.google.protobuf.MapEntry + schemaTypeMapping__ = SchemaTypeMappingDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, schemaTypeMapping__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult)) { + return super.equals(obj); + } + com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult other = (com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult) obj; + + if (!internalGetSchemaTypeMapping().equals( + other.internalGetSchemaTypeMapping())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetSchemaTypeMapping().getMap().isEmpty()) { + hash = (37 * hash) + SCHEMA_TYPE_MAPPING_FIELD_NUMBER; + hash = (53 * hash) + internalGetSchemaTypeMapping().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Message for get schema type mapping response.
+     * 
+ * + * Protobuf type {@code com.kcl.api.GetSchemaTypeMappingUnderPathResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.GetSchemaTypeMappingUnderPathResult) + com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetSchemaTypeMapping(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetMutableSchemaTypeMapping(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult.class, com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult.Builder.class); + } + + // Construct using com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + internalGetMutableSchemaTypeMapping().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult getDefaultInstanceForType() { + return com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult build() { + com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult buildPartial() { + com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult result = new com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.schemaTypeMapping_ = internalGetSchemaTypeMapping().build(SchemaTypeMappingDefaultEntryHolder.defaultEntry); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult) { + return mergeFrom((com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult other) { + if (other == com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult.getDefaultInstance()) return this; + internalGetMutableSchemaTypeMapping().mergeFrom( + other.internalGetSchemaTypeMapping()); + bitField0_ |= 0x00000001; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.MapEntry + schemaTypeMapping__ = input.readMessage( + SchemaTypeMappingDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableSchemaTypeMapping().ensureBuilderMap().put( + schemaTypeMapping__.getKey(), schemaTypeMapping__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private static final class SchemaTypeMappingConverter implements com.google.protobuf.MapFieldBuilder.Converter { + @java.lang.Override + public com.kcl.api.Spec.SchemaTypes build(com.kcl.api.Spec.SchemaTypesOrBuilder val) { + if (val instanceof com.kcl.api.Spec.SchemaTypes) { return (com.kcl.api.Spec.SchemaTypes) val; } + return ((com.kcl.api.Spec.SchemaTypes.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry defaultEntry() { + return SchemaTypeMappingDefaultEntryHolder.defaultEntry; + } + }; + private static final SchemaTypeMappingConverter schemaTypeMappingConverter = new SchemaTypeMappingConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, com.kcl.api.Spec.SchemaTypesOrBuilder, com.kcl.api.Spec.SchemaTypes, com.kcl.api.Spec.SchemaTypes.Builder> schemaTypeMapping_; + private com.google.protobuf.MapFieldBuilder + internalGetSchemaTypeMapping() { + if (schemaTypeMapping_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(schemaTypeMappingConverter); + } + return schemaTypeMapping_; + } + private com.google.protobuf.MapFieldBuilder + internalGetMutableSchemaTypeMapping() { + if (schemaTypeMapping_ == null) { + schemaTypeMapping_ = new com.google.protobuf.MapFieldBuilder<>(schemaTypeMappingConverter); + } + bitField0_ |= 0x00000001; + onChanged(); + return schemaTypeMapping_; + } + public int getSchemaTypeMappingCount() { + return internalGetSchemaTypeMapping().ensureBuilderMap().size(); + } + /** + *
+       * Map of pkg and schema types mappings.
+       * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + @java.lang.Override + public boolean containsSchemaTypeMapping( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetSchemaTypeMapping().ensureBuilderMap().containsKey(key); + } + /** + * Use {@link #getSchemaTypeMappingMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getSchemaTypeMapping() { + return getSchemaTypeMappingMap(); + } + /** + *
+       * Map of pkg and schema types mappings.
+       * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + @java.lang.Override + public java.util.Map getSchemaTypeMappingMap() { + return internalGetSchemaTypeMapping().getImmutableMap(); + } + /** + *
+       * Map of pkg and schema types mappings.
+       * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + @java.lang.Override + public /* nullable */ +com.kcl.api.Spec.SchemaTypes getSchemaTypeMappingOrDefault( + java.lang.String key, + /* nullable */ +com.kcl.api.Spec.SchemaTypes defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableSchemaTypeMapping().ensureBuilderMap(); + return map.containsKey(key) ? schemaTypeMappingConverter.build(map.get(key)) : defaultValue; + } + /** + *
+       * Map of pkg and schema types mappings.
+       * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.SchemaTypes getSchemaTypeMappingOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableSchemaTypeMapping().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return schemaTypeMappingConverter.build(map.get(key)); + } + public Builder clearSchemaTypeMapping() { + bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableSchemaTypeMapping().clear(); + return this; + } + /** + *
+       * Map of pkg and schema types mappings.
+       * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + public Builder removeSchemaTypeMapping( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableSchemaTypeMapping().ensureBuilderMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableSchemaTypeMapping() { + bitField0_ |= 0x00000001; + return internalGetMutableSchemaTypeMapping().ensureMessageMap(); + } + /** + *
+       * Map of pkg and schema types mappings.
+       * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + public Builder putSchemaTypeMapping( + java.lang.String key, + com.kcl.api.Spec.SchemaTypes value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableSchemaTypeMapping().ensureBuilderMap() + .put(key, value); + bitField0_ |= 0x00000001; + return this; + } + /** + *
+       * Map of pkg and schema types mappings.
+       * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + public Builder putAllSchemaTypeMapping( + java.util.Map values) { + for (java.util.Map.Entry e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableSchemaTypeMapping().ensureBuilderMap() + .putAll(values); + bitField0_ |= 0x00000001; + return this; + } + /** + *
+       * Map of pkg and schema types mappings.
+       * 
+ * + * map<string, .com.kcl.api.SchemaTypes> schema_type_mapping = 1; + */ + public com.kcl.api.Spec.SchemaTypes.Builder putSchemaTypeMappingBuilderIfAbsent( + java.lang.String key) { + java.util.Map builderMap = internalGetMutableSchemaTypeMapping().ensureBuilderMap(); + com.kcl.api.Spec.SchemaTypesOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.kcl.api.Spec.SchemaTypes.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.kcl.api.Spec.SchemaTypes) { + entry = ((com.kcl.api.Spec.SchemaTypes) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.kcl.api.Spec.SchemaTypes.Builder) entry; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.GetSchemaTypeMappingUnderPathResult) + } + + // @@protoc_insertion_point(class_scope:com.kcl.api.GetSchemaTypeMappingUnderPathResult) + private static final com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult(); + } + + public static com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSchemaTypeMappingUnderPathResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SchemaTypesOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.SchemaTypes) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * List of schema type mappings.
+     * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + java.util.List + getSchemaTypeList(); + /** + *
+     * List of schema type mappings.
+     * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + com.kcl.api.Spec.KclType getSchemaType(int index); + /** + *
+     * List of schema type mappings.
+     * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + int getSchemaTypeCount(); + /** + *
+     * List of schema type mappings.
+     * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + java.util.List + getSchemaTypeOrBuilderList(); + /** + *
+     * List of schema type mappings.
+     * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + com.kcl.api.Spec.KclTypeOrBuilder getSchemaTypeOrBuilder( + int index); + } + /** + * Protobuf type {@code com.kcl.api.SchemaTypes} + */ + public static final class SchemaTypes extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:com.kcl.api.SchemaTypes) + SchemaTypesOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "SchemaTypes"); + } + // Use SchemaTypes.newBuilder() to construct. + private SchemaTypes(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private SchemaTypes() { + schemaType_ = java.util.Collections.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_SchemaTypes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_SchemaTypes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.SchemaTypes.class, com.kcl.api.Spec.SchemaTypes.Builder.class); + } + + public static final int SCHEMA_TYPE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List schemaType_; + /** + *
+     * List of schema type mappings.
+     * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + @java.lang.Override + public java.util.List getSchemaTypeList() { + return schemaType_; + } + /** + *
+     * List of schema type mappings.
+     * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + @java.lang.Override + public java.util.List + getSchemaTypeOrBuilderList() { + return schemaType_; + } + /** + *
+     * List of schema type mappings.
+     * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + @java.lang.Override + public int getSchemaTypeCount() { + return schemaType_.size(); + } + /** + *
+     * List of schema type mappings.
+     * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.KclType getSchemaType(int index) { + return schemaType_.get(index); + } + /** + *
+     * List of schema type mappings.
+     * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + @java.lang.Override + public com.kcl.api.Spec.KclTypeOrBuilder getSchemaTypeOrBuilder( + int index) { + return schemaType_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < schemaType_.size(); i++) { + output.writeMessage(1, schemaType_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < schemaType_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, schemaType_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.kcl.api.Spec.SchemaTypes)) { + return super.equals(obj); + } + com.kcl.api.Spec.SchemaTypes other = (com.kcl.api.Spec.SchemaTypes) obj; + + if (!getSchemaTypeList() + .equals(other.getSchemaTypeList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getSchemaTypeCount() > 0) { + hash = (37 * hash) + SCHEMA_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getSchemaTypeList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.kcl.api.Spec.SchemaTypes parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.SchemaTypes parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.SchemaTypes parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.SchemaTypes parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.SchemaTypes parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.kcl.api.Spec.SchemaTypes parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.kcl.api.Spec.SchemaTypes parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.SchemaTypes parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.kcl.api.Spec.SchemaTypes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.kcl.api.Spec.SchemaTypes parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.kcl.api.Spec.SchemaTypes parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static com.kcl.api.Spec.SchemaTypes parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.kcl.api.Spec.SchemaTypes prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.kcl.api.SchemaTypes} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:com.kcl.api.SchemaTypes) + com.kcl.api.Spec.SchemaTypesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.kcl.api.Spec.internal_static_com_kcl_api_SchemaTypes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.kcl.api.Spec.internal_static_com_kcl_api_SchemaTypes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.kcl.api.Spec.SchemaTypes.class, com.kcl.api.Spec.SchemaTypes.Builder.class); + } + + // Construct using com.kcl.api.Spec.SchemaTypes.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (schemaTypeBuilder_ == null) { + schemaType_ = java.util.Collections.emptyList(); + } else { + schemaType_ = null; + schemaTypeBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.kcl.api.Spec.internal_static_com_kcl_api_SchemaTypes_descriptor; + } + + @java.lang.Override + public com.kcl.api.Spec.SchemaTypes getDefaultInstanceForType() { + return com.kcl.api.Spec.SchemaTypes.getDefaultInstance(); + } + + @java.lang.Override + public com.kcl.api.Spec.SchemaTypes build() { + com.kcl.api.Spec.SchemaTypes result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.kcl.api.Spec.SchemaTypes buildPartial() { + com.kcl.api.Spec.SchemaTypes result = new com.kcl.api.Spec.SchemaTypes(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.kcl.api.Spec.SchemaTypes result) { + if (schemaTypeBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + schemaType_ = java.util.Collections.unmodifiableList(schemaType_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.schemaType_ = schemaType_; + } else { + result.schemaType_ = schemaTypeBuilder_.build(); + } + } + + private void buildPartial0(com.kcl.api.Spec.SchemaTypes result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.kcl.api.Spec.SchemaTypes) { + return mergeFrom((com.kcl.api.Spec.SchemaTypes)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.kcl.api.Spec.SchemaTypes other) { + if (other == com.kcl.api.Spec.SchemaTypes.getDefaultInstance()) return this; + if (schemaTypeBuilder_ == null) { + if (!other.schemaType_.isEmpty()) { + if (schemaType_.isEmpty()) { + schemaType_ = other.schemaType_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureSchemaTypeIsMutable(); + schemaType_.addAll(other.schemaType_); + } + onChanged(); + } + } else { + if (!other.schemaType_.isEmpty()) { + if (schemaTypeBuilder_.isEmpty()) { + schemaTypeBuilder_.dispose(); + schemaTypeBuilder_ = null; + schemaType_ = other.schemaType_; + bitField0_ = (bitField0_ & ~0x00000001); + schemaTypeBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetSchemaTypeFieldBuilder() : null; + } else { + schemaTypeBuilder_.addAllMessages(other.schemaType_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.kcl.api.Spec.KclType m = + input.readMessage( + com.kcl.api.Spec.KclType.parser(), + extensionRegistry); + if (schemaTypeBuilder_ == null) { + ensureSchemaTypeIsMutable(); + schemaType_.add(m); + } else { + schemaTypeBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List schemaType_ = + java.util.Collections.emptyList(); + private void ensureSchemaTypeIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + schemaType_ = new java.util.ArrayList(schemaType_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> schemaTypeBuilder_; + + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public java.util.List getSchemaTypeList() { + if (schemaTypeBuilder_ == null) { + return java.util.Collections.unmodifiableList(schemaType_); + } else { + return schemaTypeBuilder_.getMessageList(); + } + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public int getSchemaTypeCount() { + if (schemaTypeBuilder_ == null) { + return schemaType_.size(); + } else { + return schemaTypeBuilder_.getCount(); + } + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public com.kcl.api.Spec.KclType getSchemaType(int index) { + if (schemaTypeBuilder_ == null) { + return schemaType_.get(index); + } else { + return schemaTypeBuilder_.getMessage(index); + } + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public Builder setSchemaType( + int index, com.kcl.api.Spec.KclType value) { + if (schemaTypeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSchemaTypeIsMutable(); + schemaType_.set(index, value); + onChanged(); + } else { + schemaTypeBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public Builder setSchemaType( + int index, com.kcl.api.Spec.KclType.Builder builderForValue) { + if (schemaTypeBuilder_ == null) { + ensureSchemaTypeIsMutable(); + schemaType_.set(index, builderForValue.build()); + onChanged(); + } else { + schemaTypeBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public Builder addSchemaType(com.kcl.api.Spec.KclType value) { + if (schemaTypeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSchemaTypeIsMutable(); + schemaType_.add(value); + onChanged(); + } else { + schemaTypeBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public Builder addSchemaType( + int index, com.kcl.api.Spec.KclType value) { + if (schemaTypeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSchemaTypeIsMutable(); + schemaType_.add(index, value); + onChanged(); + } else { + schemaTypeBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public Builder addSchemaType( + com.kcl.api.Spec.KclType.Builder builderForValue) { + if (schemaTypeBuilder_ == null) { + ensureSchemaTypeIsMutable(); + schemaType_.add(builderForValue.build()); + onChanged(); + } else { + schemaTypeBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public Builder addSchemaType( + int index, com.kcl.api.Spec.KclType.Builder builderForValue) { + if (schemaTypeBuilder_ == null) { + ensureSchemaTypeIsMutable(); + schemaType_.add(index, builderForValue.build()); + onChanged(); + } else { + schemaTypeBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public Builder addAllSchemaType( + java.lang.Iterable values) { + if (schemaTypeBuilder_ == null) { + ensureSchemaTypeIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, schemaType_); + onChanged(); + } else { + schemaTypeBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public Builder clearSchemaType() { + if (schemaTypeBuilder_ == null) { + schemaType_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + schemaTypeBuilder_.clear(); + } + return this; + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public Builder removeSchemaType(int index) { + if (schemaTypeBuilder_ == null) { + ensureSchemaTypeIsMutable(); + schemaType_.remove(index); + onChanged(); + } else { + schemaTypeBuilder_.remove(index); + } + return this; + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public com.kcl.api.Spec.KclType.Builder getSchemaTypeBuilder( + int index) { + return internalGetSchemaTypeFieldBuilder().getBuilder(index); + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public com.kcl.api.Spec.KclTypeOrBuilder getSchemaTypeOrBuilder( + int index) { + if (schemaTypeBuilder_ == null) { + return schemaType_.get(index); } else { + return schemaTypeBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public java.util.List + getSchemaTypeOrBuilderList() { + if (schemaTypeBuilder_ != null) { + return schemaTypeBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(schemaType_); + } + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public com.kcl.api.Spec.KclType.Builder addSchemaTypeBuilder() { + return internalGetSchemaTypeFieldBuilder().addBuilder( + com.kcl.api.Spec.KclType.getDefaultInstance()); + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public com.kcl.api.Spec.KclType.Builder addSchemaTypeBuilder( + int index) { + return internalGetSchemaTypeFieldBuilder().addBuilder( + index, com.kcl.api.Spec.KclType.getDefaultInstance()); + } + /** + *
+       * List of schema type mappings.
+       * 
+ * + * repeated .com.kcl.api.KclType schema_type = 1; + */ + public java.util.List + getSchemaTypeBuilderList() { + return internalGetSchemaTypeFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> + internalGetSchemaTypeFieldBuilder() { + if (schemaTypeBuilder_ == null) { + schemaTypeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder>( + schemaType_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + schemaType_ = null; + } + return schemaTypeBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.kcl.api.SchemaTypes) + } + + // @@protoc_insertion_point(class_scope:com.kcl.api.SchemaTypes) + private static final com.kcl.api.Spec.SchemaTypes DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.kcl.api.Spec.SchemaTypes(); + } + + public static com.kcl.api.Spec.SchemaTypes getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SchemaTypes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.kcl.api.Spec.SchemaTypes getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ValidateCodeArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ValidateCodeArgs) com.google.protobuf.MessageOrBuilder { /** @@ -46151,27 +47782,27 @@ com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder( * Message for validate code request arguments. * * - * Protobuf type {@code com.kcl.api.ValidateCode_Args} + * Protobuf type {@code com.kcl.api.ValidateCodeArgs} */ - public static final class ValidateCode_Args extends + public static final class ValidateCodeArgs extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ValidateCode_Args) - ValidateCode_ArgsOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.ValidateCodeArgs) + ValidateCodeArgsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - ValidateCode_Args.class.getName()); + "ValidateCodeArgs"); } - // Use ValidateCode_Args.newBuilder() to construct. - private ValidateCode_Args(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use ValidateCodeArgs.newBuilder() to construct. + private ValidateCodeArgs(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private ValidateCode_Args() { + private ValidateCodeArgs() { datafile_ = ""; data_ = ""; file_ = ""; @@ -46184,15 +47815,15 @@ private ValidateCode_Args() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCodeArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCodeArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ValidateCode_Args.class, com.kcl.api.Spec.ValidateCode_Args.Builder.class); + com.kcl.api.Spec.ValidateCodeArgs.class, com.kcl.api.Spec.ValidateCodeArgs.Builder.class); } public static final int DATAFILE_FIELD_NUMBER = 1; @@ -46667,10 +48298,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.ValidateCode_Args)) { + if (!(obj instanceof com.kcl.api.Spec.ValidateCodeArgs)) { return super.equals(obj); } - com.kcl.api.Spec.ValidateCode_Args other = (com.kcl.api.Spec.ValidateCode_Args) obj; + com.kcl.api.Spec.ValidateCodeArgs other = (com.kcl.api.Spec.ValidateCodeArgs) obj; if (!getDatafile() .equals(other.getDatafile())) return false; @@ -46722,44 +48353,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.ValidateCode_Args parseFrom( + public static com.kcl.api.Spec.ValidateCodeArgs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ValidateCode_Args parseFrom( + public static com.kcl.api.Spec.ValidateCodeArgs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ValidateCode_Args parseFrom( + public static com.kcl.api.Spec.ValidateCodeArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ValidateCode_Args parseFrom( + public static com.kcl.api.Spec.ValidateCodeArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ValidateCode_Args parseFrom(byte[] data) + public static com.kcl.api.Spec.ValidateCodeArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ValidateCode_Args parseFrom( + public static com.kcl.api.Spec.ValidateCodeArgs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ValidateCode_Args parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ValidateCodeArgs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ValidateCode_Args parseFrom( + public static com.kcl.api.Spec.ValidateCodeArgs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -46767,26 +48398,26 @@ public static com.kcl.api.Spec.ValidateCode_Args parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ValidateCode_Args parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ValidateCodeArgs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ValidateCode_Args parseDelimitedFrom( + public static com.kcl.api.Spec.ValidateCodeArgs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ValidateCode_Args parseFrom( + public static com.kcl.api.Spec.ValidateCodeArgs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ValidateCode_Args parseFrom( + public static com.kcl.api.Spec.ValidateCodeArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -46799,7 +48430,7 @@ public static com.kcl.api.Spec.ValidateCode_Args parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.ValidateCode_Args prototype) { + public static Builder newBuilder(com.kcl.api.Spec.ValidateCodeArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -46819,26 +48450,26 @@ protected Builder newBuilderForType( * Message for validate code request arguments. * * - * Protobuf type {@code com.kcl.api.ValidateCode_Args} + * Protobuf type {@code com.kcl.api.ValidateCodeArgs} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ValidateCode_Args) - com.kcl.api.Spec.ValidateCode_ArgsOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.ValidateCodeArgs) + com.kcl.api.Spec.ValidateCodeArgsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCodeArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCodeArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ValidateCode_Args.class, com.kcl.api.Spec.ValidateCode_Args.Builder.class); + com.kcl.api.Spec.ValidateCodeArgs.class, com.kcl.api.Spec.ValidateCodeArgs.Builder.class); } - // Construct using com.kcl.api.Spec.ValidateCode_Args.newBuilder() + // Construct using com.kcl.api.Spec.ValidateCodeArgs.newBuilder() private Builder() { } @@ -46872,17 +48503,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCodeArgs_descriptor; } @java.lang.Override - public com.kcl.api.Spec.ValidateCode_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ValidateCode_Args.getDefaultInstance(); + public com.kcl.api.Spec.ValidateCodeArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.ValidateCodeArgs.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.ValidateCode_Args build() { - com.kcl.api.Spec.ValidateCode_Args result = buildPartial(); + public com.kcl.api.Spec.ValidateCodeArgs build() { + com.kcl.api.Spec.ValidateCodeArgs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -46890,15 +48521,15 @@ public com.kcl.api.Spec.ValidateCode_Args build() { } @java.lang.Override - public com.kcl.api.Spec.ValidateCode_Args buildPartial() { - com.kcl.api.Spec.ValidateCode_Args result = new com.kcl.api.Spec.ValidateCode_Args(this); + public com.kcl.api.Spec.ValidateCodeArgs buildPartial() { + com.kcl.api.Spec.ValidateCodeArgs result = new com.kcl.api.Spec.ValidateCodeArgs(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.kcl.api.Spec.ValidateCode_Args result) { + private void buildPartialRepeatedFields(com.kcl.api.Spec.ValidateCodeArgs result) { if (externalPkgsBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0)) { externalPkgs_ = java.util.Collections.unmodifiableList(externalPkgs_); @@ -46910,7 +48541,7 @@ private void buildPartialRepeatedFields(com.kcl.api.Spec.ValidateCode_Args resul } } - private void buildPartial0(com.kcl.api.Spec.ValidateCode_Args result) { + private void buildPartial0(com.kcl.api.Spec.ValidateCodeArgs result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.datafile_ = datafile_; @@ -46937,16 +48568,16 @@ private void buildPartial0(com.kcl.api.Spec.ValidateCode_Args result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ValidateCode_Args) { - return mergeFrom((com.kcl.api.Spec.ValidateCode_Args)other); + if (other instanceof com.kcl.api.Spec.ValidateCodeArgs) { + return mergeFrom((com.kcl.api.Spec.ValidateCodeArgs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.ValidateCode_Args other) { - if (other == com.kcl.api.Spec.ValidateCode_Args.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.ValidateCodeArgs other) { + if (other == com.kcl.api.Spec.ValidateCodeArgs.getDefaultInstance()) return this; if (!other.getDatafile().isEmpty()) { datafile_ = other.datafile_; bitField0_ |= 0x00000001; @@ -47002,7 +48633,7 @@ public Builder mergeFrom(com.kcl.api.Spec.ValidateCode_Args other) { bitField0_ = (bitField0_ & ~0x00000080); externalPkgsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getExternalPkgsFieldBuilder() : null; + internalGetExternalPkgsFieldBuilder() : null; } else { externalPkgsBuilder_.addAllMessages(other.externalPkgs_); } @@ -47975,7 +49606,7 @@ public Builder removeExternalPkgs(int index) { */ public com.kcl.api.Spec.ExternalPkg.Builder getExternalPkgsBuilder( int index) { - return getExternalPkgsFieldBuilder().getBuilder(index); + return internalGetExternalPkgsFieldBuilder().getBuilder(index); } /** *
@@ -48014,7 +49645,7 @@ public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder(
        * repeated .com.kcl.api.ExternalPkg external_pkgs = 8;
        */
       public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder() {
-        return getExternalPkgsFieldBuilder().addBuilder(
+        return internalGetExternalPkgsFieldBuilder().addBuilder(
             com.kcl.api.Spec.ExternalPkg.getDefaultInstance());
       }
       /**
@@ -48026,7 +49657,7 @@ public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder() {
        */
       public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder(
           int index) {
-        return getExternalPkgsFieldBuilder().addBuilder(
+        return internalGetExternalPkgsFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.ExternalPkg.getDefaultInstance());
       }
       /**
@@ -48038,11 +49669,11 @@ public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder(
        */
       public java.util.List 
            getExternalPkgsBuilderList() {
-        return getExternalPkgsFieldBuilder().getBuilderList();
+        return internalGetExternalPkgsFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder> 
-          getExternalPkgsFieldBuilder() {
+          internalGetExternalPkgsFieldBuilder() {
         if (externalPkgsBuilder_ == null) {
           externalPkgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder>(
@@ -48055,23 +49686,23 @@ public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder(
         return externalPkgsBuilder_;
       }
 
-      // @@protoc_insertion_point(builder_scope:com.kcl.api.ValidateCode_Args)
+      // @@protoc_insertion_point(builder_scope:com.kcl.api.ValidateCodeArgs)
     }
 
-    // @@protoc_insertion_point(class_scope:com.kcl.api.ValidateCode_Args)
-    private static final com.kcl.api.Spec.ValidateCode_Args DEFAULT_INSTANCE;
+    // @@protoc_insertion_point(class_scope:com.kcl.api.ValidateCodeArgs)
+    private static final com.kcl.api.Spec.ValidateCodeArgs DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kcl.api.Spec.ValidateCode_Args();
+      DEFAULT_INSTANCE = new com.kcl.api.Spec.ValidateCodeArgs();
     }
 
-    public static com.kcl.api.Spec.ValidateCode_Args getDefaultInstance() {
+    public static com.kcl.api.Spec.ValidateCodeArgs getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
       @java.lang.Override
-      public ValidateCode_Args parsePartialFrom(
+      public ValidateCodeArgs parsePartialFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
@@ -48090,24 +49721,24 @@ public ValidateCode_Args parsePartialFrom(
       }
     };
 
-    public static com.google.protobuf.Parser parser() {
+    public static com.google.protobuf.Parser parser() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Parser getParserForType() {
+    public com.google.protobuf.Parser getParserForType() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.kcl.api.Spec.ValidateCode_Args getDefaultInstanceForType() {
+    public com.kcl.api.Spec.ValidateCodeArgs getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
   }
 
-  public interface ValidateCode_ResultOrBuilder extends
-      // @@protoc_insertion_point(interface_extends:com.kcl.api.ValidateCode_Result)
+  public interface ValidateCodeResultOrBuilder extends
+      // @@protoc_insertion_point(interface_extends:com.kcl.api.ValidateCodeResult)
       com.google.protobuf.MessageOrBuilder {
 
     /**
@@ -48145,41 +49776,41 @@ public interface ValidateCode_ResultOrBuilder extends
    * Message for validate code response.
    * 
* - * Protobuf type {@code com.kcl.api.ValidateCode_Result} + * Protobuf type {@code com.kcl.api.ValidateCodeResult} */ - public static final class ValidateCode_Result extends + public static final class ValidateCodeResult extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ValidateCode_Result) - ValidateCode_ResultOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.ValidateCodeResult) + ValidateCodeResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - ValidateCode_Result.class.getName()); + "ValidateCodeResult"); } - // Use ValidateCode_Result.newBuilder() to construct. - private ValidateCode_Result(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use ValidateCodeResult.newBuilder() to construct. + private ValidateCodeResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private ValidateCode_Result() { + private ValidateCodeResult() { errMessage_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCodeResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCodeResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ValidateCode_Result.class, com.kcl.api.Spec.ValidateCode_Result.Builder.class); + com.kcl.api.Spec.ValidateCodeResult.class, com.kcl.api.Spec.ValidateCodeResult.Builder.class); } public static final int SUCCESS_FIELD_NUMBER = 1; @@ -48290,10 +49921,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.ValidateCode_Result)) { + if (!(obj instanceof com.kcl.api.Spec.ValidateCodeResult)) { return super.equals(obj); } - com.kcl.api.Spec.ValidateCode_Result other = (com.kcl.api.Spec.ValidateCode_Result) obj; + com.kcl.api.Spec.ValidateCodeResult other = (com.kcl.api.Spec.ValidateCodeResult) obj; if (getSuccess() != other.getSuccess()) return false; @@ -48320,44 +49951,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.ValidateCode_Result parseFrom( + public static com.kcl.api.Spec.ValidateCodeResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ValidateCode_Result parseFrom( + public static com.kcl.api.Spec.ValidateCodeResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ValidateCode_Result parseFrom( + public static com.kcl.api.Spec.ValidateCodeResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ValidateCode_Result parseFrom( + public static com.kcl.api.Spec.ValidateCodeResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ValidateCode_Result parseFrom(byte[] data) + public static com.kcl.api.Spec.ValidateCodeResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ValidateCode_Result parseFrom( + public static com.kcl.api.Spec.ValidateCodeResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ValidateCode_Result parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ValidateCodeResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ValidateCode_Result parseFrom( + public static com.kcl.api.Spec.ValidateCodeResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -48365,26 +49996,26 @@ public static com.kcl.api.Spec.ValidateCode_Result parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ValidateCode_Result parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ValidateCodeResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ValidateCode_Result parseDelimitedFrom( + public static com.kcl.api.Spec.ValidateCodeResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ValidateCode_Result parseFrom( + public static com.kcl.api.Spec.ValidateCodeResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ValidateCode_Result parseFrom( + public static com.kcl.api.Spec.ValidateCodeResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -48397,7 +50028,7 @@ public static com.kcl.api.Spec.ValidateCode_Result parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.ValidateCode_Result prototype) { + public static Builder newBuilder(com.kcl.api.Spec.ValidateCodeResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -48417,26 +50048,26 @@ protected Builder newBuilderForType( * Message for validate code response. * * - * Protobuf type {@code com.kcl.api.ValidateCode_Result} + * Protobuf type {@code com.kcl.api.ValidateCodeResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ValidateCode_Result) - com.kcl.api.Spec.ValidateCode_ResultOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.ValidateCodeResult) + com.kcl.api.Spec.ValidateCodeResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCodeResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCodeResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ValidateCode_Result.class, com.kcl.api.Spec.ValidateCode_Result.Builder.class); + com.kcl.api.Spec.ValidateCodeResult.class, com.kcl.api.Spec.ValidateCodeResult.Builder.class); } - // Construct using com.kcl.api.Spec.ValidateCode_Result.newBuilder() + // Construct using com.kcl.api.Spec.ValidateCodeResult.newBuilder() private Builder() { } @@ -48458,17 +50089,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCode_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ValidateCodeResult_descriptor; } @java.lang.Override - public com.kcl.api.Spec.ValidateCode_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ValidateCode_Result.getDefaultInstance(); + public com.kcl.api.Spec.ValidateCodeResult getDefaultInstanceForType() { + return com.kcl.api.Spec.ValidateCodeResult.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.ValidateCode_Result build() { - com.kcl.api.Spec.ValidateCode_Result result = buildPartial(); + public com.kcl.api.Spec.ValidateCodeResult build() { + com.kcl.api.Spec.ValidateCodeResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -48476,14 +50107,14 @@ public com.kcl.api.Spec.ValidateCode_Result build() { } @java.lang.Override - public com.kcl.api.Spec.ValidateCode_Result buildPartial() { - com.kcl.api.Spec.ValidateCode_Result result = new com.kcl.api.Spec.ValidateCode_Result(this); + public com.kcl.api.Spec.ValidateCodeResult buildPartial() { + com.kcl.api.Spec.ValidateCodeResult result = new com.kcl.api.Spec.ValidateCodeResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.ValidateCode_Result result) { + private void buildPartial0(com.kcl.api.Spec.ValidateCodeResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.success_ = success_; @@ -48495,16 +50126,16 @@ private void buildPartial0(com.kcl.api.Spec.ValidateCode_Result result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ValidateCode_Result) { - return mergeFrom((com.kcl.api.Spec.ValidateCode_Result)other); + if (other instanceof com.kcl.api.Spec.ValidateCodeResult) { + return mergeFrom((com.kcl.api.Spec.ValidateCodeResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.ValidateCode_Result other) { - if (other == com.kcl.api.Spec.ValidateCode_Result.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.ValidateCodeResult other) { + if (other == com.kcl.api.Spec.ValidateCodeResult.getDefaultInstance()) return this; if (other.getSuccess() != false) { setSuccess(other.getSuccess()); } @@ -48702,23 +50333,23 @@ public Builder setErrMessageBytes( return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.ValidateCode_Result) + // @@protoc_insertion_point(builder_scope:com.kcl.api.ValidateCodeResult) } - // @@protoc_insertion_point(class_scope:com.kcl.api.ValidateCode_Result) - private static final com.kcl.api.Spec.ValidateCode_Result DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.ValidateCodeResult) + private static final com.kcl.api.Spec.ValidateCodeResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ValidateCode_Result(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.ValidateCodeResult(); } - public static com.kcl.api.Spec.ValidateCode_Result getDefaultInstance() { + public static com.kcl.api.Spec.ValidateCodeResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public ValidateCode_Result parsePartialFrom( + public ValidateCodeResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -48737,17 +50368,17 @@ public ValidateCode_Result parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.ValidateCode_Result getDefaultInstanceForType() { + public com.kcl.api.Spec.ValidateCodeResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -48813,10 +50444,10 @@ public static final class Position extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - Position.class.getName()); + "Position"); } // Use Position.newBuilder() to construct. private Position(com.google.protobuf.GeneratedMessage.Builder builder) { @@ -49493,8 +51124,8 @@ public com.kcl.api.Spec.Position getDefaultInstanceForType() { } - public interface ListDepFiles_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ListDepFiles_Args) + public interface ListDepFilesArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ListDepFilesArgs) com.google.protobuf.MessageOrBuilder { /** @@ -49552,41 +51183,41 @@ public interface ListDepFiles_ArgsOrBuilder extends * Message for list dependency files request arguments. * * - * Protobuf type {@code com.kcl.api.ListDepFiles_Args} + * Protobuf type {@code com.kcl.api.ListDepFilesArgs} */ - public static final class ListDepFiles_Args extends + public static final class ListDepFilesArgs extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ListDepFiles_Args) - ListDepFiles_ArgsOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.ListDepFilesArgs) + ListDepFilesArgsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - ListDepFiles_Args.class.getName()); + "ListDepFilesArgs"); } - // Use ListDepFiles_Args.newBuilder() to construct. - private ListDepFiles_Args(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use ListDepFilesArgs.newBuilder() to construct. + private ListDepFilesArgs(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private ListDepFiles_Args() { + private ListDepFilesArgs() { workDir_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFilesArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFilesArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ListDepFiles_Args.class, com.kcl.api.Spec.ListDepFiles_Args.Builder.class); + com.kcl.api.Spec.ListDepFilesArgs.class, com.kcl.api.Spec.ListDepFilesArgs.Builder.class); } public static final int WORK_DIR_FIELD_NUMBER = 1; @@ -49741,10 +51372,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.ListDepFiles_Args)) { + if (!(obj instanceof com.kcl.api.Spec.ListDepFilesArgs)) { return super.equals(obj); } - com.kcl.api.Spec.ListDepFiles_Args other = (com.kcl.api.Spec.ListDepFiles_Args) obj; + com.kcl.api.Spec.ListDepFilesArgs other = (com.kcl.api.Spec.ListDepFilesArgs) obj; if (!getWorkDir() .equals(other.getWorkDir())) return false; @@ -49781,44 +51412,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom( + public static com.kcl.api.Spec.ListDepFilesArgs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom( + public static com.kcl.api.Spec.ListDepFilesArgs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom( + public static com.kcl.api.Spec.ListDepFilesArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom( + public static com.kcl.api.Spec.ListDepFilesArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom(byte[] data) + public static com.kcl.api.Spec.ListDepFilesArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom( + public static com.kcl.api.Spec.ListDepFilesArgs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ListDepFilesArgs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom( + public static com.kcl.api.Spec.ListDepFilesArgs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -49826,26 +51457,26 @@ public static com.kcl.api.Spec.ListDepFiles_Args parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ListDepFiles_Args parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ListDepFilesArgs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListDepFiles_Args parseDelimitedFrom( + public static com.kcl.api.Spec.ListDepFilesArgs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom( + public static com.kcl.api.Spec.ListDepFilesArgs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListDepFiles_Args parseFrom( + public static com.kcl.api.Spec.ListDepFilesArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -49858,7 +51489,7 @@ public static com.kcl.api.Spec.ListDepFiles_Args parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.ListDepFiles_Args prototype) { + public static Builder newBuilder(com.kcl.api.Spec.ListDepFilesArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -49878,26 +51509,26 @@ protected Builder newBuilderForType( * Message for list dependency files request arguments. * * - * Protobuf type {@code com.kcl.api.ListDepFiles_Args} + * Protobuf type {@code com.kcl.api.ListDepFilesArgs} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ListDepFiles_Args) - com.kcl.api.Spec.ListDepFiles_ArgsOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.ListDepFilesArgs) + com.kcl.api.Spec.ListDepFilesArgsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFilesArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFilesArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ListDepFiles_Args.class, com.kcl.api.Spec.ListDepFiles_Args.Builder.class); + com.kcl.api.Spec.ListDepFilesArgs.class, com.kcl.api.Spec.ListDepFilesArgs.Builder.class); } - // Construct using com.kcl.api.Spec.ListDepFiles_Args.newBuilder() + // Construct using com.kcl.api.Spec.ListDepFilesArgs.newBuilder() private Builder() { } @@ -49921,17 +51552,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFilesArgs_descriptor; } @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.ListDepFiles_Args.getDefaultInstance(); + public com.kcl.api.Spec.ListDepFilesArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.ListDepFilesArgs.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Args build() { - com.kcl.api.Spec.ListDepFiles_Args result = buildPartial(); + public com.kcl.api.Spec.ListDepFilesArgs build() { + com.kcl.api.Spec.ListDepFilesArgs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -49939,14 +51570,14 @@ public com.kcl.api.Spec.ListDepFiles_Args build() { } @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Args buildPartial() { - com.kcl.api.Spec.ListDepFiles_Args result = new com.kcl.api.Spec.ListDepFiles_Args(this); + public com.kcl.api.Spec.ListDepFilesArgs buildPartial() { + com.kcl.api.Spec.ListDepFilesArgs result = new com.kcl.api.Spec.ListDepFilesArgs(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.ListDepFiles_Args result) { + private void buildPartial0(com.kcl.api.Spec.ListDepFilesArgs result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.workDir_ = workDir_; @@ -49964,16 +51595,16 @@ private void buildPartial0(com.kcl.api.Spec.ListDepFiles_Args result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ListDepFiles_Args) { - return mergeFrom((com.kcl.api.Spec.ListDepFiles_Args)other); + if (other instanceof com.kcl.api.Spec.ListDepFilesArgs) { + return mergeFrom((com.kcl.api.Spec.ListDepFilesArgs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.ListDepFiles_Args other) { - if (other == com.kcl.api.Spec.ListDepFiles_Args.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.ListDepFilesArgs other) { + if (other == com.kcl.api.Spec.ListDepFilesArgs.getDefaultInstance()) return this; if (!other.getWorkDir().isEmpty()) { workDir_ = other.workDir_; bitField0_ |= 0x00000001; @@ -50275,23 +51906,23 @@ public Builder clearUseFastParser() { return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.ListDepFiles_Args) + // @@protoc_insertion_point(builder_scope:com.kcl.api.ListDepFilesArgs) } - // @@protoc_insertion_point(class_scope:com.kcl.api.ListDepFiles_Args) - private static final com.kcl.api.Spec.ListDepFiles_Args DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.ListDepFilesArgs) + private static final com.kcl.api.Spec.ListDepFilesArgs DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ListDepFiles_Args(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.ListDepFilesArgs(); } - public static com.kcl.api.Spec.ListDepFiles_Args getDefaultInstance() { + public static com.kcl.api.Spec.ListDepFilesArgs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public ListDepFiles_Args parsePartialFrom( + public ListDepFilesArgs parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -50310,24 +51941,24 @@ public ListDepFiles_Args parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Args getDefaultInstanceForType() { + public com.kcl.api.Spec.ListDepFilesArgs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface ListDepFiles_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.ListDepFiles_Result) + public interface ListDepFilesResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.ListDepFilesResult) com.google.protobuf.MessageOrBuilder { /** @@ -50416,27 +52047,27 @@ public interface ListDepFiles_ResultOrBuilder extends * Message for list dependency files response. * * - * Protobuf type {@code com.kcl.api.ListDepFiles_Result} + * Protobuf type {@code com.kcl.api.ListDepFilesResult} */ - public static final class ListDepFiles_Result extends + public static final class ListDepFilesResult extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.ListDepFiles_Result) - ListDepFiles_ResultOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.ListDepFilesResult) + ListDepFilesResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - ListDepFiles_Result.class.getName()); + "ListDepFilesResult"); } - // Use ListDepFiles_Result.newBuilder() to construct. - private ListDepFiles_Result(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use ListDepFilesResult.newBuilder() to construct. + private ListDepFilesResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private ListDepFiles_Result() { + private ListDepFilesResult() { pkgroot_ = ""; pkgpath_ = ""; files_ = @@ -50445,15 +52076,15 @@ private ListDepFiles_Result() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFilesResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFilesResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ListDepFiles_Result.class, com.kcl.api.Spec.ListDepFiles_Result.Builder.class); + com.kcl.api.Spec.ListDepFilesResult.class, com.kcl.api.Spec.ListDepFilesResult.Builder.class); } public static final int PKGROOT_FIELD_NUMBER = 1; @@ -50659,10 +52290,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.ListDepFiles_Result)) { + if (!(obj instanceof com.kcl.api.Spec.ListDepFilesResult)) { return super.equals(obj); } - com.kcl.api.Spec.ListDepFiles_Result other = (com.kcl.api.Spec.ListDepFiles_Result) obj; + com.kcl.api.Spec.ListDepFilesResult other = (com.kcl.api.Spec.ListDepFilesResult) obj; if (!getPkgroot() .equals(other.getPkgroot())) return false; @@ -50694,44 +52325,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom( + public static com.kcl.api.Spec.ListDepFilesResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom( + public static com.kcl.api.Spec.ListDepFilesResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom( + public static com.kcl.api.Spec.ListDepFilesResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom( + public static com.kcl.api.Spec.ListDepFilesResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom(byte[] data) + public static com.kcl.api.Spec.ListDepFilesResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom( + public static com.kcl.api.Spec.ListDepFilesResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ListDepFilesResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom( + public static com.kcl.api.Spec.ListDepFilesResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -50739,26 +52370,26 @@ public static com.kcl.api.Spec.ListDepFiles_Result parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ListDepFiles_Result parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.ListDepFilesResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListDepFiles_Result parseDelimitedFrom( + public static com.kcl.api.Spec.ListDepFilesResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom( + public static com.kcl.api.Spec.ListDepFilesResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.ListDepFiles_Result parseFrom( + public static com.kcl.api.Spec.ListDepFilesResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -50771,7 +52402,7 @@ public static com.kcl.api.Spec.ListDepFiles_Result parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.ListDepFiles_Result prototype) { + public static Builder newBuilder(com.kcl.api.Spec.ListDepFilesResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -50791,26 +52422,26 @@ protected Builder newBuilderForType( * Message for list dependency files response. * * - * Protobuf type {@code com.kcl.api.ListDepFiles_Result} + * Protobuf type {@code com.kcl.api.ListDepFilesResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.ListDepFiles_Result) - com.kcl.api.Spec.ListDepFiles_ResultOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.ListDepFilesResult) + com.kcl.api.Spec.ListDepFilesResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFilesResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFilesResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.ListDepFiles_Result.class, com.kcl.api.Spec.ListDepFiles_Result.Builder.class); + com.kcl.api.Spec.ListDepFilesResult.class, com.kcl.api.Spec.ListDepFilesResult.Builder.class); } - // Construct using com.kcl.api.Spec.ListDepFiles_Result.newBuilder() + // Construct using com.kcl.api.Spec.ListDepFilesResult.newBuilder() private Builder() { } @@ -50834,17 +52465,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFiles_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_ListDepFilesResult_descriptor; } @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.ListDepFiles_Result.getDefaultInstance(); + public com.kcl.api.Spec.ListDepFilesResult getDefaultInstanceForType() { + return com.kcl.api.Spec.ListDepFilesResult.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Result build() { - com.kcl.api.Spec.ListDepFiles_Result result = buildPartial(); + public com.kcl.api.Spec.ListDepFilesResult build() { + com.kcl.api.Spec.ListDepFilesResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -50852,14 +52483,14 @@ public com.kcl.api.Spec.ListDepFiles_Result build() { } @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Result buildPartial() { - com.kcl.api.Spec.ListDepFiles_Result result = new com.kcl.api.Spec.ListDepFiles_Result(this); + public com.kcl.api.Spec.ListDepFilesResult buildPartial() { + com.kcl.api.Spec.ListDepFilesResult result = new com.kcl.api.Spec.ListDepFilesResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.ListDepFiles_Result result) { + private void buildPartial0(com.kcl.api.Spec.ListDepFilesResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.pkgroot_ = pkgroot_; @@ -50875,16 +52506,16 @@ private void buildPartial0(com.kcl.api.Spec.ListDepFiles_Result result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.ListDepFiles_Result) { - return mergeFrom((com.kcl.api.Spec.ListDepFiles_Result)other); + if (other instanceof com.kcl.api.Spec.ListDepFilesResult) { + return mergeFrom((com.kcl.api.Spec.ListDepFilesResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.ListDepFiles_Result other) { - if (other == com.kcl.api.Spec.ListDepFiles_Result.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.ListDepFilesResult other) { + if (other == com.kcl.api.Spec.ListDepFilesResult.getDefaultInstance()) return this; if (!other.getPkgroot().isEmpty()) { pkgroot_ = other.pkgroot_; bitField0_ |= 0x00000001; @@ -51295,23 +52926,23 @@ public Builder addFilesBytes( return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.ListDepFiles_Result) + // @@protoc_insertion_point(builder_scope:com.kcl.api.ListDepFilesResult) } - // @@protoc_insertion_point(class_scope:com.kcl.api.ListDepFiles_Result) - private static final com.kcl.api.Spec.ListDepFiles_Result DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.ListDepFilesResult) + private static final com.kcl.api.Spec.ListDepFilesResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.ListDepFiles_Result(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.ListDepFilesResult(); } - public static com.kcl.api.Spec.ListDepFiles_Result getDefaultInstance() { + public static com.kcl.api.Spec.ListDepFilesResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public ListDepFiles_Result parsePartialFrom( + public ListDepFilesResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -51330,24 +52961,24 @@ public ListDepFiles_Result parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.ListDepFiles_Result getDefaultInstanceForType() { + public com.kcl.api.Spec.ListDepFilesResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface LoadSettingsFiles_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadSettingsFiles_Args) + public interface LoadSettingsFilesArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadSettingsFilesArgs) com.google.protobuf.MessageOrBuilder { /** @@ -51416,27 +53047,27 @@ public interface LoadSettingsFiles_ArgsOrBuilder extends * Message for load settings files request arguments. * * - * Protobuf type {@code com.kcl.api.LoadSettingsFiles_Args} + * Protobuf type {@code com.kcl.api.LoadSettingsFilesArgs} */ - public static final class LoadSettingsFiles_Args extends + public static final class LoadSettingsFilesArgs extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.LoadSettingsFiles_Args) - LoadSettingsFiles_ArgsOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.LoadSettingsFilesArgs) + LoadSettingsFilesArgsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - LoadSettingsFiles_Args.class.getName()); + "LoadSettingsFilesArgs"); } - // Use LoadSettingsFiles_Args.newBuilder() to construct. - private LoadSettingsFiles_Args(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use LoadSettingsFilesArgs.newBuilder() to construct. + private LoadSettingsFilesArgs(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private LoadSettingsFiles_Args() { + private LoadSettingsFilesArgs() { workDir_ = ""; files_ = com.google.protobuf.LazyStringArrayList.emptyList(); @@ -51444,15 +53075,15 @@ private LoadSettingsFiles_Args() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFilesArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFilesArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.LoadSettingsFiles_Args.class, com.kcl.api.Spec.LoadSettingsFiles_Args.Builder.class); + com.kcl.api.Spec.LoadSettingsFilesArgs.class, com.kcl.api.Spec.LoadSettingsFilesArgs.Builder.class); } public static final int WORK_DIR_FIELD_NUMBER = 1; @@ -51605,10 +53236,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.LoadSettingsFiles_Args)) { + if (!(obj instanceof com.kcl.api.Spec.LoadSettingsFilesArgs)) { return super.equals(obj); } - com.kcl.api.Spec.LoadSettingsFiles_Args other = (com.kcl.api.Spec.LoadSettingsFiles_Args) obj; + com.kcl.api.Spec.LoadSettingsFilesArgs other = (com.kcl.api.Spec.LoadSettingsFilesArgs) obj; if (!getWorkDir() .equals(other.getWorkDir())) return false; @@ -51636,44 +53267,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom( + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom( + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom( + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom( + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom(byte[] data) + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom( + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom( + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -51681,26 +53312,26 @@ public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseDelimitedFrom( + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom( + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom( + public static com.kcl.api.Spec.LoadSettingsFilesArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -51713,7 +53344,7 @@ public static com.kcl.api.Spec.LoadSettingsFiles_Args parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.LoadSettingsFiles_Args prototype) { + public static Builder newBuilder(com.kcl.api.Spec.LoadSettingsFilesArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -51733,26 +53364,26 @@ protected Builder newBuilderForType( * Message for load settings files request arguments. * * - * Protobuf type {@code com.kcl.api.LoadSettingsFiles_Args} + * Protobuf type {@code com.kcl.api.LoadSettingsFilesArgs} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadSettingsFiles_Args) - com.kcl.api.Spec.LoadSettingsFiles_ArgsOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadSettingsFilesArgs) + com.kcl.api.Spec.LoadSettingsFilesArgsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFilesArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFilesArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.LoadSettingsFiles_Args.class, com.kcl.api.Spec.LoadSettingsFiles_Args.Builder.class); + com.kcl.api.Spec.LoadSettingsFilesArgs.class, com.kcl.api.Spec.LoadSettingsFilesArgs.Builder.class); } - // Construct using com.kcl.api.Spec.LoadSettingsFiles_Args.newBuilder() + // Construct using com.kcl.api.Spec.LoadSettingsFilesArgs.newBuilder() private Builder() { } @@ -51775,17 +53406,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFilesArgs_descriptor; } @java.lang.Override - public com.kcl.api.Spec.LoadSettingsFiles_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.LoadSettingsFiles_Args.getDefaultInstance(); + public com.kcl.api.Spec.LoadSettingsFilesArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.LoadSettingsFilesArgs.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.LoadSettingsFiles_Args build() { - com.kcl.api.Spec.LoadSettingsFiles_Args result = buildPartial(); + public com.kcl.api.Spec.LoadSettingsFilesArgs build() { + com.kcl.api.Spec.LoadSettingsFilesArgs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -51793,14 +53424,14 @@ public com.kcl.api.Spec.LoadSettingsFiles_Args build() { } @java.lang.Override - public com.kcl.api.Spec.LoadSettingsFiles_Args buildPartial() { - com.kcl.api.Spec.LoadSettingsFiles_Args result = new com.kcl.api.Spec.LoadSettingsFiles_Args(this); + public com.kcl.api.Spec.LoadSettingsFilesArgs buildPartial() { + com.kcl.api.Spec.LoadSettingsFilesArgs result = new com.kcl.api.Spec.LoadSettingsFilesArgs(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.LoadSettingsFiles_Args result) { + private void buildPartial0(com.kcl.api.Spec.LoadSettingsFilesArgs result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.workDir_ = workDir_; @@ -51813,16 +53444,16 @@ private void buildPartial0(com.kcl.api.Spec.LoadSettingsFiles_Args result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.LoadSettingsFiles_Args) { - return mergeFrom((com.kcl.api.Spec.LoadSettingsFiles_Args)other); + if (other instanceof com.kcl.api.Spec.LoadSettingsFilesArgs) { + return mergeFrom((com.kcl.api.Spec.LoadSettingsFilesArgs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.LoadSettingsFiles_Args other) { - if (other == com.kcl.api.Spec.LoadSettingsFiles_Args.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.LoadSettingsFilesArgs other) { + if (other == com.kcl.api.Spec.LoadSettingsFilesArgs.getDefaultInstance()) return this; if (!other.getWorkDir().isEmpty()) { workDir_ = other.workDir_; bitField0_ |= 0x00000001; @@ -52131,23 +53762,23 @@ public Builder addFilesBytes( return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadSettingsFiles_Args) + // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadSettingsFilesArgs) } - // @@protoc_insertion_point(class_scope:com.kcl.api.LoadSettingsFiles_Args) - private static final com.kcl.api.Spec.LoadSettingsFiles_Args DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.LoadSettingsFilesArgs) + private static final com.kcl.api.Spec.LoadSettingsFilesArgs DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadSettingsFiles_Args(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadSettingsFilesArgs(); } - public static com.kcl.api.Spec.LoadSettingsFiles_Args getDefaultInstance() { + public static com.kcl.api.Spec.LoadSettingsFilesArgs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public LoadSettingsFiles_Args parsePartialFrom( + public LoadSettingsFilesArgs parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -52166,24 +53797,24 @@ public LoadSettingsFiles_Args parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.LoadSettingsFiles_Args getDefaultInstanceForType() { + public com.kcl.api.Spec.LoadSettingsFilesArgs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface LoadSettingsFiles_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadSettingsFiles_Result) + public interface LoadSettingsFilesResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.LoadSettingsFilesResult) com.google.protobuf.MessageOrBuilder { /** @@ -52262,41 +53893,41 @@ com.kcl.api.Spec.KeyValuePairOrBuilder getKclOptionsOrBuilder( * Message for load settings files response. * * - * Protobuf type {@code com.kcl.api.LoadSettingsFiles_Result} + * Protobuf type {@code com.kcl.api.LoadSettingsFilesResult} */ - public static final class LoadSettingsFiles_Result extends + public static final class LoadSettingsFilesResult extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.LoadSettingsFiles_Result) - LoadSettingsFiles_ResultOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.LoadSettingsFilesResult) + LoadSettingsFilesResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - LoadSettingsFiles_Result.class.getName()); + "LoadSettingsFilesResult"); } - // Use LoadSettingsFiles_Result.newBuilder() to construct. - private LoadSettingsFiles_Result(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use LoadSettingsFilesResult.newBuilder() to construct. + private LoadSettingsFilesResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private LoadSettingsFiles_Result() { + private LoadSettingsFilesResult() { kclOptions_ = java.util.Collections.emptyList(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFilesResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFilesResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.LoadSettingsFiles_Result.class, com.kcl.api.Spec.LoadSettingsFiles_Result.Builder.class); + com.kcl.api.Spec.LoadSettingsFilesResult.class, com.kcl.api.Spec.LoadSettingsFilesResult.Builder.class); } private int bitField0_; @@ -52446,10 +54077,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.LoadSettingsFiles_Result)) { + if (!(obj instanceof com.kcl.api.Spec.LoadSettingsFilesResult)) { return super.equals(obj); } - com.kcl.api.Spec.LoadSettingsFiles_Result other = (com.kcl.api.Spec.LoadSettingsFiles_Result) obj; + com.kcl.api.Spec.LoadSettingsFilesResult other = (com.kcl.api.Spec.LoadSettingsFilesResult) obj; if (hasKclCliConfigs() != other.hasKclCliConfigs()) return false; if (hasKclCliConfigs()) { @@ -52482,44 +54113,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom( + public static com.kcl.api.Spec.LoadSettingsFilesResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom( + public static com.kcl.api.Spec.LoadSettingsFilesResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom( + public static com.kcl.api.Spec.LoadSettingsFilesResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom( + public static com.kcl.api.Spec.LoadSettingsFilesResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(byte[] data) + public static com.kcl.api.Spec.LoadSettingsFilesResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom( + public static com.kcl.api.Spec.LoadSettingsFilesResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.LoadSettingsFilesResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom( + public static com.kcl.api.Spec.LoadSettingsFilesResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -52527,26 +54158,26 @@ public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.LoadSettingsFilesResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseDelimitedFrom( + public static com.kcl.api.Spec.LoadSettingsFilesResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom( + public static com.kcl.api.Spec.LoadSettingsFilesResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom( + public static com.kcl.api.Spec.LoadSettingsFilesResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -52559,7 +54190,7 @@ public static com.kcl.api.Spec.LoadSettingsFiles_Result parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.LoadSettingsFiles_Result prototype) { + public static Builder newBuilder(com.kcl.api.Spec.LoadSettingsFilesResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -52579,26 +54210,26 @@ protected Builder newBuilderForType( * Message for load settings files response. * * - * Protobuf type {@code com.kcl.api.LoadSettingsFiles_Result} + * Protobuf type {@code com.kcl.api.LoadSettingsFilesResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadSettingsFiles_Result) - com.kcl.api.Spec.LoadSettingsFiles_ResultOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.LoadSettingsFilesResult) + com.kcl.api.Spec.LoadSettingsFilesResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFilesResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFilesResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.LoadSettingsFiles_Result.class, com.kcl.api.Spec.LoadSettingsFiles_Result.Builder.class); + com.kcl.api.Spec.LoadSettingsFilesResult.class, com.kcl.api.Spec.LoadSettingsFilesResult.Builder.class); } - // Construct using com.kcl.api.Spec.LoadSettingsFiles_Result.newBuilder() + // Construct using com.kcl.api.Spec.LoadSettingsFilesResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -52611,8 +54242,8 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { - getKclCliConfigsFieldBuilder(); - getKclOptionsFieldBuilder(); + internalGetKclCliConfigsFieldBuilder(); + internalGetKclOptionsFieldBuilder(); } } @java.lang.Override @@ -52637,17 +54268,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_LoadSettingsFilesResult_descriptor; } @java.lang.Override - public com.kcl.api.Spec.LoadSettingsFiles_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.LoadSettingsFiles_Result.getDefaultInstance(); + public com.kcl.api.Spec.LoadSettingsFilesResult getDefaultInstanceForType() { + return com.kcl.api.Spec.LoadSettingsFilesResult.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.LoadSettingsFiles_Result build() { - com.kcl.api.Spec.LoadSettingsFiles_Result result = buildPartial(); + public com.kcl.api.Spec.LoadSettingsFilesResult build() { + com.kcl.api.Spec.LoadSettingsFilesResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -52655,15 +54286,15 @@ public com.kcl.api.Spec.LoadSettingsFiles_Result build() { } @java.lang.Override - public com.kcl.api.Spec.LoadSettingsFiles_Result buildPartial() { - com.kcl.api.Spec.LoadSettingsFiles_Result result = new com.kcl.api.Spec.LoadSettingsFiles_Result(this); + public com.kcl.api.Spec.LoadSettingsFilesResult buildPartial() { + com.kcl.api.Spec.LoadSettingsFilesResult result = new com.kcl.api.Spec.LoadSettingsFilesResult(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.kcl.api.Spec.LoadSettingsFiles_Result result) { + private void buildPartialRepeatedFields(com.kcl.api.Spec.LoadSettingsFilesResult result) { if (kclOptionsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { kclOptions_ = java.util.Collections.unmodifiableList(kclOptions_); @@ -52675,7 +54306,7 @@ private void buildPartialRepeatedFields(com.kcl.api.Spec.LoadSettingsFiles_Resul } } - private void buildPartial0(com.kcl.api.Spec.LoadSettingsFiles_Result result) { + private void buildPartial0(com.kcl.api.Spec.LoadSettingsFilesResult result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -52689,16 +54320,16 @@ private void buildPartial0(com.kcl.api.Spec.LoadSettingsFiles_Result result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.LoadSettingsFiles_Result) { - return mergeFrom((com.kcl.api.Spec.LoadSettingsFiles_Result)other); + if (other instanceof com.kcl.api.Spec.LoadSettingsFilesResult) { + return mergeFrom((com.kcl.api.Spec.LoadSettingsFilesResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.LoadSettingsFiles_Result other) { - if (other == com.kcl.api.Spec.LoadSettingsFiles_Result.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.LoadSettingsFilesResult other) { + if (other == com.kcl.api.Spec.LoadSettingsFilesResult.getDefaultInstance()) return this; if (other.hasKclCliConfigs()) { mergeKclCliConfigs(other.getKclCliConfigs()); } @@ -52722,7 +54353,7 @@ public Builder mergeFrom(com.kcl.api.Spec.LoadSettingsFiles_Result other) { bitField0_ = (bitField0_ & ~0x00000002); kclOptionsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getKclOptionsFieldBuilder() : null; + internalGetKclOptionsFieldBuilder() : null; } else { kclOptionsBuilder_.addAllMessages(other.kclOptions_); } @@ -52756,7 +54387,7 @@ public Builder mergeFrom( break; case 10: { input.readMessage( - getKclCliConfigsFieldBuilder().getBuilder(), + internalGetKclCliConfigsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; @@ -52910,7 +54541,7 @@ public Builder clearKclCliConfigs() { public com.kcl.api.Spec.CliConfig.Builder getKclCliConfigsBuilder() { bitField0_ |= 0x00000001; onChanged(); - return getKclCliConfigsFieldBuilder().getBuilder(); + return internalGetKclCliConfigsFieldBuilder().getBuilder(); } /** *
@@ -52936,7 +54567,7 @@ public com.kcl.api.Spec.CliConfigOrBuilder getKclCliConfigsOrBuilder() {
        */
       private com.google.protobuf.SingleFieldBuilder<
           com.kcl.api.Spec.CliConfig, com.kcl.api.Spec.CliConfig.Builder, com.kcl.api.Spec.CliConfigOrBuilder> 
-          getKclCliConfigsFieldBuilder() {
+          internalGetKclCliConfigsFieldBuilder() {
         if (kclCliConfigsBuilder_ == null) {
           kclCliConfigsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
               com.kcl.api.Spec.CliConfig, com.kcl.api.Spec.CliConfig.Builder, com.kcl.api.Spec.CliConfigOrBuilder>(
@@ -53180,7 +54811,7 @@ public Builder removeKclOptions(int index) {
        */
       public com.kcl.api.Spec.KeyValuePair.Builder getKclOptionsBuilder(
           int index) {
-        return getKclOptionsFieldBuilder().getBuilder(index);
+        return internalGetKclOptionsFieldBuilder().getBuilder(index);
       }
       /**
        * 
@@ -53219,7 +54850,7 @@ public com.kcl.api.Spec.KeyValuePairOrBuilder getKclOptionsOrBuilder(
        * repeated .com.kcl.api.KeyValuePair kcl_options = 2;
        */
       public com.kcl.api.Spec.KeyValuePair.Builder addKclOptionsBuilder() {
-        return getKclOptionsFieldBuilder().addBuilder(
+        return internalGetKclOptionsFieldBuilder().addBuilder(
             com.kcl.api.Spec.KeyValuePair.getDefaultInstance());
       }
       /**
@@ -53231,7 +54862,7 @@ public com.kcl.api.Spec.KeyValuePair.Builder addKclOptionsBuilder() {
        */
       public com.kcl.api.Spec.KeyValuePair.Builder addKclOptionsBuilder(
           int index) {
-        return getKclOptionsFieldBuilder().addBuilder(
+        return internalGetKclOptionsFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.KeyValuePair.getDefaultInstance());
       }
       /**
@@ -53243,11 +54874,11 @@ public com.kcl.api.Spec.KeyValuePair.Builder addKclOptionsBuilder(
        */
       public java.util.List 
            getKclOptionsBuilderList() {
-        return getKclOptionsFieldBuilder().getBuilderList();
+        return internalGetKclOptionsFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.KeyValuePair, com.kcl.api.Spec.KeyValuePair.Builder, com.kcl.api.Spec.KeyValuePairOrBuilder> 
-          getKclOptionsFieldBuilder() {
+          internalGetKclOptionsFieldBuilder() {
         if (kclOptionsBuilder_ == null) {
           kclOptionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.KeyValuePair, com.kcl.api.Spec.KeyValuePair.Builder, com.kcl.api.Spec.KeyValuePairOrBuilder>(
@@ -53260,23 +54891,23 @@ public com.kcl.api.Spec.KeyValuePair.Builder addKclOptionsBuilder(
         return kclOptionsBuilder_;
       }
 
-      // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadSettingsFiles_Result)
+      // @@protoc_insertion_point(builder_scope:com.kcl.api.LoadSettingsFilesResult)
     }
 
-    // @@protoc_insertion_point(class_scope:com.kcl.api.LoadSettingsFiles_Result)
-    private static final com.kcl.api.Spec.LoadSettingsFiles_Result DEFAULT_INSTANCE;
+    // @@protoc_insertion_point(class_scope:com.kcl.api.LoadSettingsFilesResult)
+    private static final com.kcl.api.Spec.LoadSettingsFilesResult DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadSettingsFiles_Result();
+      DEFAULT_INSTANCE = new com.kcl.api.Spec.LoadSettingsFilesResult();
     }
 
-    public static com.kcl.api.Spec.LoadSettingsFiles_Result getDefaultInstance() {
+    public static com.kcl.api.Spec.LoadSettingsFilesResult getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
       @java.lang.Override
-      public LoadSettingsFiles_Result parsePartialFrom(
+      public LoadSettingsFilesResult parsePartialFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
@@ -53295,17 +54926,17 @@ public LoadSettingsFiles_Result parsePartialFrom(
       }
     };
 
-    public static com.google.protobuf.Parser parser() {
+    public static com.google.protobuf.Parser parser() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Parser getParserForType() {
+    public com.google.protobuf.Parser getParserForType() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.kcl.api.Spec.LoadSettingsFiles_Result getDefaultInstanceForType() {
+    public com.kcl.api.Spec.LoadSettingsFilesResult getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
@@ -53554,10 +55185,10 @@ public static final class CliConfig extends
       com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
         com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
         /* major= */ 4,
-        /* minor= */ 29,
-        /* patch= */ 3,
+        /* minor= */ 33,
+        /* patch= */ 1,
         /* suffix= */ "",
-        CliConfig.class.getName());
+        "CliConfig");
     }
     // Use CliConfig.newBuilder() to construct.
     private CliConfig(com.google.protobuf.GeneratedMessage.Builder builder) {
@@ -55515,10 +57146,10 @@ public static final class KeyValuePair extends
       com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
         com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
         /* major= */ 4,
-        /* minor= */ 29,
-        /* patch= */ 3,
+        /* minor= */ 33,
+        /* patch= */ 1,
         /* suffix= */ "",
-        KeyValuePair.class.getName());
+        "KeyValuePair");
     }
     // Use KeyValuePair.newBuilder() to construct.
     private KeyValuePair(com.google.protobuf.GeneratedMessage.Builder builder) {
@@ -56193,8 +57824,8 @@ public com.kcl.api.Spec.KeyValuePair getDefaultInstanceForType() {
 
   }
 
-  public interface Rename_ArgsOrBuilder extends
-      // @@protoc_insertion_point(interface_extends:com.kcl.api.Rename_Args)
+  public interface RenameArgsOrBuilder extends
+      // @@protoc_insertion_point(interface_extends:com.kcl.api.RenameArgs)
       com.google.protobuf.MessageOrBuilder {
 
     /**
@@ -56303,27 +57934,27 @@ public interface Rename_ArgsOrBuilder extends
    * Message for rename request arguments.
    * 
* - * Protobuf type {@code com.kcl.api.Rename_Args} + * Protobuf type {@code com.kcl.api.RenameArgs} */ - public static final class Rename_Args extends + public static final class RenameArgs extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Rename_Args) - Rename_ArgsOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.RenameArgs) + RenameArgsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - Rename_Args.class.getName()); + "RenameArgs"); } - // Use Rename_Args.newBuilder() to construct. - private Rename_Args(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use RenameArgs.newBuilder() to construct. + private RenameArgs(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private Rename_Args() { + private RenameArgs() { packageRoot_ = ""; symbolPath_ = ""; filePaths_ = @@ -56333,15 +57964,15 @@ private Rename_Args() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.Rename_Args.class, com.kcl.api.Spec.Rename_Args.Builder.class); + com.kcl.api.Spec.RenameArgs.class, com.kcl.api.Spec.RenameArgs.Builder.class); } public static final int PACKAGE_ROOT_FIELD_NUMBER = 1; @@ -56600,10 +58231,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.Rename_Args)) { + if (!(obj instanceof com.kcl.api.Spec.RenameArgs)) { return super.equals(obj); } - com.kcl.api.Spec.Rename_Args other = (com.kcl.api.Spec.Rename_Args) obj; + com.kcl.api.Spec.RenameArgs other = (com.kcl.api.Spec.RenameArgs) obj; if (!getPackageRoot() .equals(other.getPackageRoot())) return false; @@ -56639,44 +58270,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.Rename_Args parseFrom( + public static com.kcl.api.Spec.RenameArgs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.Rename_Args parseFrom( + public static com.kcl.api.Spec.RenameArgs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.Rename_Args parseFrom( + public static com.kcl.api.Spec.RenameArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.Rename_Args parseFrom( + public static com.kcl.api.Spec.RenameArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.Rename_Args parseFrom(byte[] data) + public static com.kcl.api.Spec.RenameArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.Rename_Args parseFrom( + public static com.kcl.api.Spec.RenameArgs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.Rename_Args parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.RenameArgs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.Rename_Args parseFrom( + public static com.kcl.api.Spec.RenameArgs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -56684,26 +58315,26 @@ public static com.kcl.api.Spec.Rename_Args parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.Rename_Args parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.RenameArgs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.Rename_Args parseDelimitedFrom( + public static com.kcl.api.Spec.RenameArgs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.Rename_Args parseFrom( + public static com.kcl.api.Spec.RenameArgs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.Rename_Args parseFrom( + public static com.kcl.api.Spec.RenameArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -56716,7 +58347,7 @@ public static com.kcl.api.Spec.Rename_Args parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.Rename_Args prototype) { + public static Builder newBuilder(com.kcl.api.Spec.RenameArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -56736,26 +58367,26 @@ protected Builder newBuilderForType( * Message for rename request arguments. *
* - * Protobuf type {@code com.kcl.api.Rename_Args} + * Protobuf type {@code com.kcl.api.RenameArgs} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Rename_Args) - com.kcl.api.Spec.Rename_ArgsOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.RenameArgs) + com.kcl.api.Spec.RenameArgsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.Rename_Args.class, com.kcl.api.Spec.Rename_Args.Builder.class); + com.kcl.api.Spec.RenameArgs.class, com.kcl.api.Spec.RenameArgs.Builder.class); } - // Construct using com.kcl.api.Spec.Rename_Args.newBuilder() + // Construct using com.kcl.api.Spec.RenameArgs.newBuilder() private Builder() { } @@ -56780,17 +58411,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameArgs_descriptor; } @java.lang.Override - public com.kcl.api.Spec.Rename_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.Rename_Args.getDefaultInstance(); + public com.kcl.api.Spec.RenameArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.RenameArgs.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.Rename_Args build() { - com.kcl.api.Spec.Rename_Args result = buildPartial(); + public com.kcl.api.Spec.RenameArgs build() { + com.kcl.api.Spec.RenameArgs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -56798,14 +58429,14 @@ public com.kcl.api.Spec.Rename_Args build() { } @java.lang.Override - public com.kcl.api.Spec.Rename_Args buildPartial() { - com.kcl.api.Spec.Rename_Args result = new com.kcl.api.Spec.Rename_Args(this); + public com.kcl.api.Spec.RenameArgs buildPartial() { + com.kcl.api.Spec.RenameArgs result = new com.kcl.api.Spec.RenameArgs(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.Rename_Args result) { + private void buildPartial0(com.kcl.api.Spec.RenameArgs result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.packageRoot_ = packageRoot_; @@ -56824,16 +58455,16 @@ private void buildPartial0(com.kcl.api.Spec.Rename_Args result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Rename_Args) { - return mergeFrom((com.kcl.api.Spec.Rename_Args)other); + if (other instanceof com.kcl.api.Spec.RenameArgs) { + return mergeFrom((com.kcl.api.Spec.RenameArgs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.Rename_Args other) { - if (other == com.kcl.api.Spec.Rename_Args.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.RenameArgs other) { + if (other == com.kcl.api.Spec.RenameArgs.getDefaultInstance()) return this; if (!other.getPackageRoot().isEmpty()) { packageRoot_ = other.packageRoot_; bitField0_ |= 0x00000001; @@ -57346,23 +58977,23 @@ public Builder setNewNameBytes( return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.Rename_Args) + // @@protoc_insertion_point(builder_scope:com.kcl.api.RenameArgs) } - // @@protoc_insertion_point(class_scope:com.kcl.api.Rename_Args) - private static final com.kcl.api.Spec.Rename_Args DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.RenameArgs) + private static final com.kcl.api.Spec.RenameArgs DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Rename_Args(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.RenameArgs(); } - public static com.kcl.api.Spec.Rename_Args getDefaultInstance() { + public static com.kcl.api.Spec.RenameArgs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public Rename_Args parsePartialFrom( + public RenameArgs parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -57381,24 +59012,24 @@ public Rename_Args parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.Rename_Args getDefaultInstanceForType() { + public com.kcl.api.Spec.RenameArgs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface Rename_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Rename_Result) + public interface RenameResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.RenameResult) com.google.protobuf.MessageOrBuilder { /** @@ -57447,42 +59078,42 @@ public interface Rename_ResultOrBuilder extends * Message for rename response. * * - * Protobuf type {@code com.kcl.api.Rename_Result} + * Protobuf type {@code com.kcl.api.RenameResult} */ - public static final class Rename_Result extends + public static final class RenameResult extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Rename_Result) - Rename_ResultOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.RenameResult) + RenameResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - Rename_Result.class.getName()); + "RenameResult"); } - // Use Rename_Result.newBuilder() to construct. - private Rename_Result(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use RenameResult.newBuilder() to construct. + private RenameResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private Rename_Result() { + private RenameResult() { changedFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.Rename_Result.class, com.kcl.api.Spec.Rename_Result.Builder.class); + com.kcl.api.Spec.RenameResult.class, com.kcl.api.Spec.RenameResult.Builder.class); } public static final int CHANGED_FILES_FIELD_NUMBER = 1; @@ -57582,10 +59213,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.Rename_Result)) { + if (!(obj instanceof com.kcl.api.Spec.RenameResult)) { return super.equals(obj); } - com.kcl.api.Spec.Rename_Result other = (com.kcl.api.Spec.Rename_Result) obj; + com.kcl.api.Spec.RenameResult other = (com.kcl.api.Spec.RenameResult) obj; if (!getChangedFilesList() .equals(other.getChangedFilesList())) return false; @@ -57609,44 +59240,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.Rename_Result parseFrom( + public static com.kcl.api.Spec.RenameResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.Rename_Result parseFrom( + public static com.kcl.api.Spec.RenameResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.Rename_Result parseFrom( + public static com.kcl.api.Spec.RenameResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.Rename_Result parseFrom( + public static com.kcl.api.Spec.RenameResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.Rename_Result parseFrom(byte[] data) + public static com.kcl.api.Spec.RenameResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.Rename_Result parseFrom( + public static com.kcl.api.Spec.RenameResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.Rename_Result parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.RenameResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.Rename_Result parseFrom( + public static com.kcl.api.Spec.RenameResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -57654,26 +59285,26 @@ public static com.kcl.api.Spec.Rename_Result parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.Rename_Result parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.RenameResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.Rename_Result parseDelimitedFrom( + public static com.kcl.api.Spec.RenameResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.Rename_Result parseFrom( + public static com.kcl.api.Spec.RenameResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.Rename_Result parseFrom( + public static com.kcl.api.Spec.RenameResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -57686,7 +59317,7 @@ public static com.kcl.api.Spec.Rename_Result parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.Rename_Result prototype) { + public static Builder newBuilder(com.kcl.api.Spec.RenameResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -57706,26 +59337,26 @@ protected Builder newBuilderForType( * Message for rename response. * * - * Protobuf type {@code com.kcl.api.Rename_Result} + * Protobuf type {@code com.kcl.api.RenameResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Rename_Result) - com.kcl.api.Spec.Rename_ResultOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.RenameResult) + com.kcl.api.Spec.RenameResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.Rename_Result.class, com.kcl.api.Spec.Rename_Result.Builder.class); + com.kcl.api.Spec.RenameResult.class, com.kcl.api.Spec.RenameResult.Builder.class); } - // Construct using com.kcl.api.Spec.Rename_Result.newBuilder() + // Construct using com.kcl.api.Spec.RenameResult.newBuilder() private Builder() { } @@ -57747,17 +59378,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Rename_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameResult_descriptor; } @java.lang.Override - public com.kcl.api.Spec.Rename_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.Rename_Result.getDefaultInstance(); + public com.kcl.api.Spec.RenameResult getDefaultInstanceForType() { + return com.kcl.api.Spec.RenameResult.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.Rename_Result build() { - com.kcl.api.Spec.Rename_Result result = buildPartial(); + public com.kcl.api.Spec.RenameResult build() { + com.kcl.api.Spec.RenameResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -57765,14 +59396,14 @@ public com.kcl.api.Spec.Rename_Result build() { } @java.lang.Override - public com.kcl.api.Spec.Rename_Result buildPartial() { - com.kcl.api.Spec.Rename_Result result = new com.kcl.api.Spec.Rename_Result(this); + public com.kcl.api.Spec.RenameResult buildPartial() { + com.kcl.api.Spec.RenameResult result = new com.kcl.api.Spec.RenameResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.Rename_Result result) { + private void buildPartial0(com.kcl.api.Spec.RenameResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { changedFiles_.makeImmutable(); @@ -57782,16 +59413,16 @@ private void buildPartial0(com.kcl.api.Spec.Rename_Result result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Rename_Result) { - return mergeFrom((com.kcl.api.Spec.Rename_Result)other); + if (other instanceof com.kcl.api.Spec.RenameResult) { + return mergeFrom((com.kcl.api.Spec.RenameResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.Rename_Result other) { - if (other == com.kcl.api.Spec.Rename_Result.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.RenameResult other) { + if (other == com.kcl.api.Spec.RenameResult.getDefaultInstance()) return this; if (!other.changedFiles_.isEmpty()) { if (changedFiles_.isEmpty()) { changedFiles_ = other.changedFiles_; @@ -57998,23 +59629,23 @@ public Builder addChangedFilesBytes( return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.Rename_Result) + // @@protoc_insertion_point(builder_scope:com.kcl.api.RenameResult) } - // @@protoc_insertion_point(class_scope:com.kcl.api.Rename_Result) - private static final com.kcl.api.Spec.Rename_Result DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.RenameResult) + private static final com.kcl.api.Spec.RenameResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Rename_Result(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.RenameResult(); } - public static com.kcl.api.Spec.Rename_Result getDefaultInstance() { + public static com.kcl.api.Spec.RenameResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public Rename_Result parsePartialFrom( + public RenameResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -58033,24 +59664,24 @@ public Rename_Result parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.Rename_Result getDefaultInstanceForType() { + public com.kcl.api.Spec.RenameResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface RenameCode_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.RenameCode_Args) + public interface RenameCodeArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.RenameCodeArgs) com.google.protobuf.MessageOrBuilder { /** @@ -58172,27 +59803,27 @@ java.lang.String getSourceCodesOrThrow( * Message for rename code request arguments. * * - * Protobuf type {@code com.kcl.api.RenameCode_Args} + * Protobuf type {@code com.kcl.api.RenameCodeArgs} */ - public static final class RenameCode_Args extends + public static final class RenameCodeArgs extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.RenameCode_Args) - RenameCode_ArgsOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.RenameCodeArgs) + RenameCodeArgsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - RenameCode_Args.class.getName()); + "RenameCodeArgs"); } - // Use RenameCode_Args.newBuilder() to construct. - private RenameCode_Args(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use RenameCodeArgs.newBuilder() to construct. + private RenameCodeArgs(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private RenameCode_Args() { + private RenameCodeArgs() { packageRoot_ = ""; symbolPath_ = ""; newName_ = ""; @@ -58200,7 +59831,7 @@ private RenameCode_Args() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeArgs_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -58218,9 +59849,9 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.RenameCode_Args.class, com.kcl.api.Spec.RenameCode_Args.Builder.class); + com.kcl.api.Spec.RenameCodeArgs.class, com.kcl.api.Spec.RenameCodeArgs.Builder.class); } public static final int PACKAGE_ROOT_FIELD_NUMBER = 1; @@ -58323,7 +59954,7 @@ private static final class SourceCodesDefaultEntryHolder { java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_descriptor, + com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeArgs_SourceCodesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, @@ -58526,10 +60157,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.RenameCode_Args)) { + if (!(obj instanceof com.kcl.api.Spec.RenameCodeArgs)) { return super.equals(obj); } - com.kcl.api.Spec.RenameCode_Args other = (com.kcl.api.Spec.RenameCode_Args) obj; + com.kcl.api.Spec.RenameCodeArgs other = (com.kcl.api.Spec.RenameCodeArgs) obj; if (!getPackageRoot() .equals(other.getPackageRoot())) return false; @@ -58565,44 +60196,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.RenameCode_Args parseFrom( + public static com.kcl.api.Spec.RenameCodeArgs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.RenameCode_Args parseFrom( + public static com.kcl.api.Spec.RenameCodeArgs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.RenameCode_Args parseFrom( + public static com.kcl.api.Spec.RenameCodeArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.RenameCode_Args parseFrom( + public static com.kcl.api.Spec.RenameCodeArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.RenameCode_Args parseFrom(byte[] data) + public static com.kcl.api.Spec.RenameCodeArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.RenameCode_Args parseFrom( + public static com.kcl.api.Spec.RenameCodeArgs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.RenameCode_Args parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.RenameCodeArgs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.RenameCode_Args parseFrom( + public static com.kcl.api.Spec.RenameCodeArgs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -58610,26 +60241,26 @@ public static com.kcl.api.Spec.RenameCode_Args parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.RenameCode_Args parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.RenameCodeArgs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.RenameCode_Args parseDelimitedFrom( + public static com.kcl.api.Spec.RenameCodeArgs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.RenameCode_Args parseFrom( + public static com.kcl.api.Spec.RenameCodeArgs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.RenameCode_Args parseFrom( + public static com.kcl.api.Spec.RenameCodeArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -58642,7 +60273,7 @@ public static com.kcl.api.Spec.RenameCode_Args parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.RenameCode_Args prototype) { + public static Builder newBuilder(com.kcl.api.Spec.RenameCodeArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -58662,15 +60293,15 @@ protected Builder newBuilderForType( * Message for rename code request arguments. * * - * Protobuf type {@code com.kcl.api.RenameCode_Args} + * Protobuf type {@code com.kcl.api.RenameCodeArgs} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.RenameCode_Args) - com.kcl.api.Spec.RenameCode_ArgsOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.RenameCodeArgs) + com.kcl.api.Spec.RenameCodeArgsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeArgs_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -58698,12 +60329,12 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.RenameCode_Args.class, com.kcl.api.Spec.RenameCode_Args.Builder.class); + com.kcl.api.Spec.RenameCodeArgs.class, com.kcl.api.Spec.RenameCodeArgs.Builder.class); } - // Construct using com.kcl.api.Spec.RenameCode_Args.newBuilder() + // Construct using com.kcl.api.Spec.RenameCodeArgs.newBuilder() private Builder() { } @@ -58727,17 +60358,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeArgs_descriptor; } @java.lang.Override - public com.kcl.api.Spec.RenameCode_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.RenameCode_Args.getDefaultInstance(); + public com.kcl.api.Spec.RenameCodeArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.RenameCodeArgs.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.RenameCode_Args build() { - com.kcl.api.Spec.RenameCode_Args result = buildPartial(); + public com.kcl.api.Spec.RenameCodeArgs build() { + com.kcl.api.Spec.RenameCodeArgs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -58745,14 +60376,14 @@ public com.kcl.api.Spec.RenameCode_Args build() { } @java.lang.Override - public com.kcl.api.Spec.RenameCode_Args buildPartial() { - com.kcl.api.Spec.RenameCode_Args result = new com.kcl.api.Spec.RenameCode_Args(this); + public com.kcl.api.Spec.RenameCodeArgs buildPartial() { + com.kcl.api.Spec.RenameCodeArgs result = new com.kcl.api.Spec.RenameCodeArgs(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.RenameCode_Args result) { + private void buildPartial0(com.kcl.api.Spec.RenameCodeArgs result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.packageRoot_ = packageRoot_; @@ -58771,16 +60402,16 @@ private void buildPartial0(com.kcl.api.Spec.RenameCode_Args result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.RenameCode_Args) { - return mergeFrom((com.kcl.api.Spec.RenameCode_Args)other); + if (other instanceof com.kcl.api.Spec.RenameCodeArgs) { + return mergeFrom((com.kcl.api.Spec.RenameCodeArgs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.RenameCode_Args other) { - if (other == com.kcl.api.Spec.RenameCode_Args.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.RenameCodeArgs other) { + if (other == com.kcl.api.Spec.RenameCodeArgs.getDefaultInstance()) return this; if (!other.getPackageRoot().isEmpty()) { packageRoot_ = other.packageRoot_; bitField0_ |= 0x00000001; @@ -59297,23 +60928,23 @@ public Builder setNewNameBytes( return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.RenameCode_Args) + // @@protoc_insertion_point(builder_scope:com.kcl.api.RenameCodeArgs) } - // @@protoc_insertion_point(class_scope:com.kcl.api.RenameCode_Args) - private static final com.kcl.api.Spec.RenameCode_Args DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.RenameCodeArgs) + private static final com.kcl.api.Spec.RenameCodeArgs DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.RenameCode_Args(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.RenameCodeArgs(); } - public static com.kcl.api.Spec.RenameCode_Args getDefaultInstance() { + public static com.kcl.api.Spec.RenameCodeArgs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public RenameCode_Args parsePartialFrom( + public RenameCodeArgs parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -59332,24 +60963,24 @@ public RenameCode_Args parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.RenameCode_Args getDefaultInstanceForType() { + public com.kcl.api.Spec.RenameCodeArgs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface RenameCode_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.RenameCode_Result) + public interface RenameCodeResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.RenameCodeResult) com.google.protobuf.MessageOrBuilder { /** @@ -59411,32 +61042,32 @@ java.lang.String getChangedCodesOrThrow( * Message for rename code response. * * - * Protobuf type {@code com.kcl.api.RenameCode_Result} + * Protobuf type {@code com.kcl.api.RenameCodeResult} */ - public static final class RenameCode_Result extends + public static final class RenameCodeResult extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.RenameCode_Result) - RenameCode_ResultOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.RenameCodeResult) + RenameCodeResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - RenameCode_Result.class.getName()); + "RenameCodeResult"); } - // Use RenameCode_Result.newBuilder() to construct. - private RenameCode_Result(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use RenameCodeResult.newBuilder() to construct. + private RenameCodeResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private RenameCode_Result() { + private RenameCodeResult() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeResult_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -59454,9 +61085,9 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.RenameCode_Result.class, com.kcl.api.Spec.RenameCode_Result.Builder.class); + com.kcl.api.Spec.RenameCodeResult.class, com.kcl.api.Spec.RenameCodeResult.Builder.class); } public static final int CHANGED_CODES_FIELD_NUMBER = 1; @@ -59465,7 +61096,7 @@ private static final class ChangedCodesDefaultEntryHolder { java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( - com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_descriptor, + com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeResult_ChangedCodesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, @@ -59603,10 +61234,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.RenameCode_Result)) { + if (!(obj instanceof com.kcl.api.Spec.RenameCodeResult)) { return super.equals(obj); } - com.kcl.api.Spec.RenameCode_Result other = (com.kcl.api.Spec.RenameCode_Result) obj; + com.kcl.api.Spec.RenameCodeResult other = (com.kcl.api.Spec.RenameCodeResult) obj; if (!internalGetChangedCodes().equals( other.internalGetChangedCodes())) return false; @@ -59630,44 +61261,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.RenameCode_Result parseFrom( + public static com.kcl.api.Spec.RenameCodeResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.RenameCode_Result parseFrom( + public static com.kcl.api.Spec.RenameCodeResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.RenameCode_Result parseFrom( + public static com.kcl.api.Spec.RenameCodeResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.RenameCode_Result parseFrom( + public static com.kcl.api.Spec.RenameCodeResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.RenameCode_Result parseFrom(byte[] data) + public static com.kcl.api.Spec.RenameCodeResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.RenameCode_Result parseFrom( + public static com.kcl.api.Spec.RenameCodeResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.RenameCode_Result parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.RenameCodeResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.RenameCode_Result parseFrom( + public static com.kcl.api.Spec.RenameCodeResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -59675,26 +61306,26 @@ public static com.kcl.api.Spec.RenameCode_Result parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.RenameCode_Result parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.RenameCodeResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.RenameCode_Result parseDelimitedFrom( + public static com.kcl.api.Spec.RenameCodeResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.RenameCode_Result parseFrom( + public static com.kcl.api.Spec.RenameCodeResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.RenameCode_Result parseFrom( + public static com.kcl.api.Spec.RenameCodeResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -59707,7 +61338,7 @@ public static com.kcl.api.Spec.RenameCode_Result parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.RenameCode_Result prototype) { + public static Builder newBuilder(com.kcl.api.Spec.RenameCodeResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -59727,15 +61358,15 @@ protected Builder newBuilderForType( * Message for rename code response. * * - * Protobuf type {@code com.kcl.api.RenameCode_Result} + * Protobuf type {@code com.kcl.api.RenameCodeResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.RenameCode_Result) - com.kcl.api.Spec.RenameCode_ResultOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.RenameCodeResult) + com.kcl.api.Spec.RenameCodeResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeResult_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -59763,12 +61394,12 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.RenameCode_Result.class, com.kcl.api.Spec.RenameCode_Result.Builder.class); + com.kcl.api.Spec.RenameCodeResult.class, com.kcl.api.Spec.RenameCodeResult.Builder.class); } - // Construct using com.kcl.api.Spec.RenameCode_Result.newBuilder() + // Construct using com.kcl.api.Spec.RenameCodeResult.newBuilder() private Builder() { } @@ -59789,17 +61420,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCode_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_RenameCodeResult_descriptor; } @java.lang.Override - public com.kcl.api.Spec.RenameCode_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.RenameCode_Result.getDefaultInstance(); + public com.kcl.api.Spec.RenameCodeResult getDefaultInstanceForType() { + return com.kcl.api.Spec.RenameCodeResult.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.RenameCode_Result build() { - com.kcl.api.Spec.RenameCode_Result result = buildPartial(); + public com.kcl.api.Spec.RenameCodeResult build() { + com.kcl.api.Spec.RenameCodeResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -59807,14 +61438,14 @@ public com.kcl.api.Spec.RenameCode_Result build() { } @java.lang.Override - public com.kcl.api.Spec.RenameCode_Result buildPartial() { - com.kcl.api.Spec.RenameCode_Result result = new com.kcl.api.Spec.RenameCode_Result(this); + public com.kcl.api.Spec.RenameCodeResult buildPartial() { + com.kcl.api.Spec.RenameCodeResult result = new com.kcl.api.Spec.RenameCodeResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.RenameCode_Result result) { + private void buildPartial0(com.kcl.api.Spec.RenameCodeResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.changedCodes_ = internalGetChangedCodes(); @@ -59824,16 +61455,16 @@ private void buildPartial0(com.kcl.api.Spec.RenameCode_Result result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.RenameCode_Result) { - return mergeFrom((com.kcl.api.Spec.RenameCode_Result)other); + if (other instanceof com.kcl.api.Spec.RenameCodeResult) { + return mergeFrom((com.kcl.api.Spec.RenameCodeResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.RenameCode_Result other) { - if (other == com.kcl.api.Spec.RenameCode_Result.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.RenameCodeResult other) { + if (other == com.kcl.api.Spec.RenameCodeResult.getDefaultInstance()) return this; internalGetMutableChangedCodes().mergeFrom( other.internalGetChangedCodes()); bitField0_ |= 0x00000001; @@ -60044,23 +61675,23 @@ public Builder putAllChangedCodes( return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.RenameCode_Result) + // @@protoc_insertion_point(builder_scope:com.kcl.api.RenameCodeResult) } - // @@protoc_insertion_point(class_scope:com.kcl.api.RenameCode_Result) - private static final com.kcl.api.Spec.RenameCode_Result DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.RenameCodeResult) + private static final com.kcl.api.Spec.RenameCodeResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.RenameCode_Result(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.RenameCodeResult(); } - public static com.kcl.api.Spec.RenameCode_Result getDefaultInstance() { + public static com.kcl.api.Spec.RenameCodeResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public RenameCode_Result parsePartialFrom( + public RenameCodeResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -60079,24 +61710,24 @@ public RenameCode_Result parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.RenameCode_Result getDefaultInstanceForType() { + public com.kcl.api.Spec.RenameCodeResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface Test_ArgsOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Test_Args) + public interface TestArgsOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.TestArgs) com.google.protobuf.MessageOrBuilder { /** @@ -60104,7 +61735,7 @@ public interface Test_ArgsOrBuilder extends * Execution program arguments. * * - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; * @return Whether the execArgs field is set. */ boolean hasExecArgs(); @@ -60113,18 +61744,18 @@ public interface Test_ArgsOrBuilder extends * Execution program arguments. * * - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; * @return The execArgs. */ - com.kcl.api.Spec.ExecProgram_Args getExecArgs(); + com.kcl.api.Spec.ExecProgramArgs getExecArgs(); /** *
      * Execution program arguments.
      * 
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ - com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder(); + com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder(); /** *
@@ -60202,27 +61833,27 @@ public interface Test_ArgsOrBuilder extends
    * Message for test request arguments.
    * 
* - * Protobuf type {@code com.kcl.api.Test_Args} + * Protobuf type {@code com.kcl.api.TestArgs} */ - public static final class Test_Args extends + public static final class TestArgs extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Test_Args) - Test_ArgsOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.TestArgs) + TestArgsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - Test_Args.class.getName()); + "TestArgs"); } - // Use Test_Args.newBuilder() to construct. - private Test_Args(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use TestArgs.newBuilder() to construct. + private TestArgs(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private Test_Args() { + private TestArgs() { pkgList_ = com.google.protobuf.LazyStringArrayList.emptyList(); runRegexp_ = ""; @@ -60230,26 +61861,26 @@ private Test_Args() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_TestArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_TestArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.Test_Args.class, com.kcl.api.Spec.Test_Args.Builder.class); + com.kcl.api.Spec.TestArgs.class, com.kcl.api.Spec.TestArgs.Builder.class); } private int bitField0_; public static final int EXEC_ARGS_FIELD_NUMBER = 1; - private com.kcl.api.Spec.ExecProgram_Args execArgs_; + private com.kcl.api.Spec.ExecProgramArgs execArgs_; /** *
      * Execution program arguments.
      * 
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; * @return Whether the execArgs field is set. */ @java.lang.Override @@ -60261,23 +61892,23 @@ public boolean hasExecArgs() { * Execution program arguments. * * - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; * @return The execArgs. */ @java.lang.Override - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + public com.kcl.api.Spec.ExecProgramArgs getExecArgs() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; } /** *
      * Execution program arguments.
      * 
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ @java.lang.Override - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + public com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder() { + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; } public static final int PKG_LIST_FIELD_NUMBER = 2; @@ -60459,10 +62090,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.Test_Args)) { + if (!(obj instanceof com.kcl.api.Spec.TestArgs)) { return super.equals(obj); } - com.kcl.api.Spec.Test_Args other = (com.kcl.api.Spec.Test_Args) obj; + com.kcl.api.Spec.TestArgs other = (com.kcl.api.Spec.TestArgs) obj; if (hasExecArgs() != other.hasExecArgs()) return false; if (hasExecArgs()) { @@ -60504,44 +62135,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.Test_Args parseFrom( + public static com.kcl.api.Spec.TestArgs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.Test_Args parseFrom( + public static com.kcl.api.Spec.TestArgs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.Test_Args parseFrom( + public static com.kcl.api.Spec.TestArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.Test_Args parseFrom( + public static com.kcl.api.Spec.TestArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.Test_Args parseFrom(byte[] data) + public static com.kcl.api.Spec.TestArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.Test_Args parseFrom( + public static com.kcl.api.Spec.TestArgs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.Test_Args parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.TestArgs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.Test_Args parseFrom( + public static com.kcl.api.Spec.TestArgs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -60549,26 +62180,26 @@ public static com.kcl.api.Spec.Test_Args parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.Test_Args parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.TestArgs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.Test_Args parseDelimitedFrom( + public static com.kcl.api.Spec.TestArgs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.Test_Args parseFrom( + public static com.kcl.api.Spec.TestArgs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.Test_Args parseFrom( + public static com.kcl.api.Spec.TestArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -60581,7 +62212,7 @@ public static com.kcl.api.Spec.Test_Args parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.Test_Args prototype) { + public static Builder newBuilder(com.kcl.api.Spec.TestArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -60601,26 +62232,26 @@ protected Builder newBuilderForType( * Message for test request arguments. * * - * Protobuf type {@code com.kcl.api.Test_Args} + * Protobuf type {@code com.kcl.api.TestArgs} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Test_Args) - com.kcl.api.Spec.Test_ArgsOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.TestArgs) + com.kcl.api.Spec.TestArgsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_TestArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_TestArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.Test_Args.class, com.kcl.api.Spec.Test_Args.Builder.class); + com.kcl.api.Spec.TestArgs.class, com.kcl.api.Spec.TestArgs.Builder.class); } - // Construct using com.kcl.api.Spec.Test_Args.newBuilder() + // Construct using com.kcl.api.Spec.TestArgs.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -60633,7 +62264,7 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { - getExecArgsFieldBuilder(); + internalGetExecArgsFieldBuilder(); } } @java.lang.Override @@ -60655,17 +62286,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_TestArgs_descriptor; } @java.lang.Override - public com.kcl.api.Spec.Test_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.Test_Args.getDefaultInstance(); + public com.kcl.api.Spec.TestArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.TestArgs.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.Test_Args build() { - com.kcl.api.Spec.Test_Args result = buildPartial(); + public com.kcl.api.Spec.TestArgs build() { + com.kcl.api.Spec.TestArgs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -60673,14 +62304,14 @@ public com.kcl.api.Spec.Test_Args build() { } @java.lang.Override - public com.kcl.api.Spec.Test_Args buildPartial() { - com.kcl.api.Spec.Test_Args result = new com.kcl.api.Spec.Test_Args(this); + public com.kcl.api.Spec.TestArgs buildPartial() { + com.kcl.api.Spec.TestArgs result = new com.kcl.api.Spec.TestArgs(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.Test_Args result) { + private void buildPartial0(com.kcl.api.Spec.TestArgs result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -60704,16 +62335,16 @@ private void buildPartial0(com.kcl.api.Spec.Test_Args result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Test_Args) { - return mergeFrom((com.kcl.api.Spec.Test_Args)other); + if (other instanceof com.kcl.api.Spec.TestArgs) { + return mergeFrom((com.kcl.api.Spec.TestArgs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.Test_Args other) { - if (other == com.kcl.api.Spec.Test_Args.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.TestArgs other) { + if (other == com.kcl.api.Spec.TestArgs.getDefaultInstance()) return this; if (other.hasExecArgs()) { mergeExecArgs(other.getExecArgs()); } @@ -60763,7 +62394,7 @@ public Builder mergeFrom( break; case 10: { input.readMessage( - getExecArgsFieldBuilder().getBuilder(), + internalGetExecArgsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; @@ -60801,15 +62432,15 @@ public Builder mergeFrom( } private int bitField0_; - private com.kcl.api.Spec.ExecProgram_Args execArgs_; + private com.kcl.api.Spec.ExecProgramArgs execArgs_; private com.google.protobuf.SingleFieldBuilder< - com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder> execArgsBuilder_; + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder> execArgsBuilder_; /** *
        * Execution program arguments.
        * 
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; * @return Whether the execArgs field is set. */ public boolean hasExecArgs() { @@ -60820,12 +62451,12 @@ public boolean hasExecArgs() { * Execution program arguments. * * - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; * @return The execArgs. */ - public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { + public com.kcl.api.Spec.ExecProgramArgs getExecArgs() { if (execArgsBuilder_ == null) { - return execArgs_ == null ? com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + return execArgs_ == null ? com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; } else { return execArgsBuilder_.getMessage(); } @@ -60835,9 +62466,9 @@ public com.kcl.api.Spec.ExecProgram_Args getExecArgs() { * Execution program arguments. * * - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ - public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { + public Builder setExecArgs(com.kcl.api.Spec.ExecProgramArgs value) { if (execArgsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -60855,10 +62486,10 @@ public Builder setExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { * Execution program arguments. * * - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ public Builder setExecArgs( - com.kcl.api.Spec.ExecProgram_Args.Builder builderForValue) { + com.kcl.api.Spec.ExecProgramArgs.Builder builderForValue) { if (execArgsBuilder_ == null) { execArgs_ = builderForValue.build(); } else { @@ -60873,13 +62504,13 @@ public Builder setExecArgs( * Execution program arguments. * * - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ - public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { + public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgramArgs value) { if (execArgsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && execArgs_ != null && - execArgs_ != com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance()) { + execArgs_ != com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance()) { getExecArgsBuilder().mergeFrom(value); } else { execArgs_ = value; @@ -60898,7 +62529,7 @@ public Builder mergeExecArgs(com.kcl.api.Spec.ExecProgram_Args value) { * Execution program arguments. * * - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ public Builder clearExecArgs() { bitField0_ = (bitField0_ & ~0x00000001); @@ -60915,26 +62546,26 @@ public Builder clearExecArgs() { * Execution program arguments. * * - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ - public com.kcl.api.Spec.ExecProgram_Args.Builder getExecArgsBuilder() { + public com.kcl.api.Spec.ExecProgramArgs.Builder getExecArgsBuilder() { bitField0_ |= 0x00000001; onChanged(); - return getExecArgsFieldBuilder().getBuilder(); + return internalGetExecArgsFieldBuilder().getBuilder(); } /** *
        * Execution program arguments.
        * 
* - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ - public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { + public com.kcl.api.Spec.ExecProgramArgsOrBuilder getExecArgsOrBuilder() { if (execArgsBuilder_ != null) { return execArgsBuilder_.getMessageOrBuilder(); } else { return execArgs_ == null ? - com.kcl.api.Spec.ExecProgram_Args.getDefaultInstance() : execArgs_; + com.kcl.api.Spec.ExecProgramArgs.getDefaultInstance() : execArgs_; } } /** @@ -60942,14 +62573,14 @@ public com.kcl.api.Spec.ExecProgram_ArgsOrBuilder getExecArgsOrBuilder() { * Execution program arguments. * * - * .com.kcl.api.ExecProgram_Args exec_args = 1; + * .com.kcl.api.ExecProgramArgs exec_args = 1; */ private com.google.protobuf.SingleFieldBuilder< - com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder> - getExecArgsFieldBuilder() { + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder> + internalGetExecArgsFieldBuilder() { if (execArgsBuilder_ == null) { execArgsBuilder_ = new com.google.protobuf.SingleFieldBuilder< - com.kcl.api.Spec.ExecProgram_Args, com.kcl.api.Spec.ExecProgram_Args.Builder, com.kcl.api.Spec.ExecProgram_ArgsOrBuilder>( + com.kcl.api.Spec.ExecProgramArgs, com.kcl.api.Spec.ExecProgramArgs.Builder, com.kcl.api.Spec.ExecProgramArgsOrBuilder>( getExecArgs(), getParentForChildren(), isClean()); @@ -61241,23 +62872,23 @@ public Builder clearFailFast() { return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.Test_Args) + // @@protoc_insertion_point(builder_scope:com.kcl.api.TestArgs) } - // @@protoc_insertion_point(class_scope:com.kcl.api.Test_Args) - private static final com.kcl.api.Spec.Test_Args DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.TestArgs) + private static final com.kcl.api.Spec.TestArgs DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.Test_Args(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.TestArgs(); } - public static com.kcl.api.Spec.Test_Args getDefaultInstance() { + public static com.kcl.api.Spec.TestArgs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public Test_Args parsePartialFrom( + public TestArgs parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -61276,24 +62907,24 @@ public Test_Args parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.Test_Args getDefaultInstanceForType() { + public com.kcl.api.Spec.TestArgs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface Test_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.Test_Result) + public interface TestResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.TestResult) com.google.protobuf.MessageOrBuilder { /** @@ -61345,41 +62976,41 @@ com.kcl.api.Spec.TestCaseInfoOrBuilder getInfoOrBuilder( * Message for test response. * * - * Protobuf type {@code com.kcl.api.Test_Result} + * Protobuf type {@code com.kcl.api.TestResult} */ - public static final class Test_Result extends + public static final class TestResult extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.Test_Result) - Test_ResultOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.TestResult) + TestResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - Test_Result.class.getName()); + "TestResult"); } - // Use Test_Result.newBuilder() to construct. - private Test_Result(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use TestResult.newBuilder() to construct. + private TestResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private Test_Result() { + private TestResult() { info_ = java.util.Collections.emptyList(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_TestResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_TestResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.Test_Result.class, com.kcl.api.Spec.Test_Result.Builder.class); + com.kcl.api.Spec.TestResult.class, com.kcl.api.Spec.TestResult.Builder.class); } public static final int INFO_FIELD_NUMBER = 2; @@ -61483,10 +63114,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.Test_Result)) { + if (!(obj instanceof com.kcl.api.Spec.TestResult)) { return super.equals(obj); } - com.kcl.api.Spec.Test_Result other = (com.kcl.api.Spec.Test_Result) obj; + com.kcl.api.Spec.TestResult other = (com.kcl.api.Spec.TestResult) obj; if (!getInfoList() .equals(other.getInfoList())) return false; @@ -61510,44 +63141,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.Test_Result parseFrom( + public static com.kcl.api.Spec.TestResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.Test_Result parseFrom( + public static com.kcl.api.Spec.TestResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.Test_Result parseFrom( + public static com.kcl.api.Spec.TestResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.Test_Result parseFrom( + public static com.kcl.api.Spec.TestResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.Test_Result parseFrom(byte[] data) + public static com.kcl.api.Spec.TestResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.Test_Result parseFrom( + public static com.kcl.api.Spec.TestResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.Test_Result parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.TestResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.Test_Result parseFrom( + public static com.kcl.api.Spec.TestResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -61555,26 +63186,26 @@ public static com.kcl.api.Spec.Test_Result parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.Test_Result parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.TestResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.Test_Result parseDelimitedFrom( + public static com.kcl.api.Spec.TestResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.Test_Result parseFrom( + public static com.kcl.api.Spec.TestResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.Test_Result parseFrom( + public static com.kcl.api.Spec.TestResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -61587,7 +63218,7 @@ public static com.kcl.api.Spec.Test_Result parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.Test_Result prototype) { + public static Builder newBuilder(com.kcl.api.Spec.TestResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -61607,26 +63238,26 @@ protected Builder newBuilderForType( * Message for test response. * * - * Protobuf type {@code com.kcl.api.Test_Result} + * Protobuf type {@code com.kcl.api.TestResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.Test_Result) - com.kcl.api.Spec.Test_ResultOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.TestResult) + com.kcl.api.Spec.TestResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_TestResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_TestResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.Test_Result.class, com.kcl.api.Spec.Test_Result.Builder.class); + com.kcl.api.Spec.TestResult.class, com.kcl.api.Spec.TestResult.Builder.class); } - // Construct using com.kcl.api.Spec.Test_Result.newBuilder() + // Construct using com.kcl.api.Spec.TestResult.newBuilder() private Builder() { } @@ -61653,17 +63284,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_Test_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_TestResult_descriptor; } @java.lang.Override - public com.kcl.api.Spec.Test_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.Test_Result.getDefaultInstance(); + public com.kcl.api.Spec.TestResult getDefaultInstanceForType() { + return com.kcl.api.Spec.TestResult.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.Test_Result build() { - com.kcl.api.Spec.Test_Result result = buildPartial(); + public com.kcl.api.Spec.TestResult build() { + com.kcl.api.Spec.TestResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -61671,15 +63302,15 @@ public com.kcl.api.Spec.Test_Result build() { } @java.lang.Override - public com.kcl.api.Spec.Test_Result buildPartial() { - com.kcl.api.Spec.Test_Result result = new com.kcl.api.Spec.Test_Result(this); + public com.kcl.api.Spec.TestResult buildPartial() { + com.kcl.api.Spec.TestResult result = new com.kcl.api.Spec.TestResult(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.kcl.api.Spec.Test_Result result) { + private void buildPartialRepeatedFields(com.kcl.api.Spec.TestResult result) { if (infoBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { info_ = java.util.Collections.unmodifiableList(info_); @@ -61691,22 +63322,22 @@ private void buildPartialRepeatedFields(com.kcl.api.Spec.Test_Result result) { } } - private void buildPartial0(com.kcl.api.Spec.Test_Result result) { + private void buildPartial0(com.kcl.api.Spec.TestResult result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.Test_Result) { - return mergeFrom((com.kcl.api.Spec.Test_Result)other); + if (other instanceof com.kcl.api.Spec.TestResult) { + return mergeFrom((com.kcl.api.Spec.TestResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.Test_Result other) { - if (other == com.kcl.api.Spec.Test_Result.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.TestResult other) { + if (other == com.kcl.api.Spec.TestResult.getDefaultInstance()) return this; if (infoBuilder_ == null) { if (!other.info_.isEmpty()) { if (info_.isEmpty()) { @@ -61727,7 +63358,7 @@ public Builder mergeFrom(com.kcl.api.Spec.Test_Result other) { bitField0_ = (bitField0_ & ~0x00000001); infoBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getInfoFieldBuilder() : null; + internalGetInfoFieldBuilder() : null; } else { infoBuilder_.addAllMessages(other.info_); } @@ -62021,7 +63652,7 @@ public Builder removeInfo(int index) { */ public com.kcl.api.Spec.TestCaseInfo.Builder getInfoBuilder( int index) { - return getInfoFieldBuilder().getBuilder(index); + return internalGetInfoFieldBuilder().getBuilder(index); } /** *
@@ -62060,7 +63691,7 @@ public com.kcl.api.Spec.TestCaseInfoOrBuilder getInfoOrBuilder(
        * repeated .com.kcl.api.TestCaseInfo info = 2;
        */
       public com.kcl.api.Spec.TestCaseInfo.Builder addInfoBuilder() {
-        return getInfoFieldBuilder().addBuilder(
+        return internalGetInfoFieldBuilder().addBuilder(
             com.kcl.api.Spec.TestCaseInfo.getDefaultInstance());
       }
       /**
@@ -62072,7 +63703,7 @@ public com.kcl.api.Spec.TestCaseInfo.Builder addInfoBuilder() {
        */
       public com.kcl.api.Spec.TestCaseInfo.Builder addInfoBuilder(
           int index) {
-        return getInfoFieldBuilder().addBuilder(
+        return internalGetInfoFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.TestCaseInfo.getDefaultInstance());
       }
       /**
@@ -62084,11 +63715,11 @@ public com.kcl.api.Spec.TestCaseInfo.Builder addInfoBuilder(
        */
       public java.util.List 
            getInfoBuilderList() {
-        return getInfoFieldBuilder().getBuilderList();
+        return internalGetInfoFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.TestCaseInfo, com.kcl.api.Spec.TestCaseInfo.Builder, com.kcl.api.Spec.TestCaseInfoOrBuilder> 
-          getInfoFieldBuilder() {
+          internalGetInfoFieldBuilder() {
         if (infoBuilder_ == null) {
           infoBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.TestCaseInfo, com.kcl.api.Spec.TestCaseInfo.Builder, com.kcl.api.Spec.TestCaseInfoOrBuilder>(
@@ -62101,23 +63732,23 @@ public com.kcl.api.Spec.TestCaseInfo.Builder addInfoBuilder(
         return infoBuilder_;
       }
 
-      // @@protoc_insertion_point(builder_scope:com.kcl.api.Test_Result)
+      // @@protoc_insertion_point(builder_scope:com.kcl.api.TestResult)
     }
 
-    // @@protoc_insertion_point(class_scope:com.kcl.api.Test_Result)
-    private static final com.kcl.api.Spec.Test_Result DEFAULT_INSTANCE;
+    // @@protoc_insertion_point(class_scope:com.kcl.api.TestResult)
+    private static final com.kcl.api.Spec.TestResult DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kcl.api.Spec.Test_Result();
+      DEFAULT_INSTANCE = new com.kcl.api.Spec.TestResult();
     }
 
-    public static com.kcl.api.Spec.Test_Result getDefaultInstance() {
+    public static com.kcl.api.Spec.TestResult getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
       @java.lang.Override
-      public Test_Result parsePartialFrom(
+      public TestResult parsePartialFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
@@ -62136,17 +63767,17 @@ public Test_Result parsePartialFrom(
       }
     };
 
-    public static com.google.protobuf.Parser parser() {
+    public static com.google.protobuf.Parser parser() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Parser getParserForType() {
+    public com.google.protobuf.Parser getParserForType() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.kcl.api.Spec.Test_Result getDefaultInstanceForType() {
+    public com.kcl.api.Spec.TestResult getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
@@ -62242,10 +63873,10 @@ public static final class TestCaseInfo extends
       com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
         com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
         /* major= */ 4,
-        /* minor= */ 29,
-        /* patch= */ 3,
+        /* minor= */ 33,
+        /* patch= */ 1,
         /* suffix= */ "",
-        TestCaseInfo.class.getName());
+        "TestCaseInfo");
     }
     // Use TestCaseInfo.newBuilder() to construct.
     private TestCaseInfo(com.google.protobuf.GeneratedMessage.Builder builder) {
@@ -63167,8 +64798,8 @@ public com.kcl.api.Spec.TestCaseInfo getDefaultInstanceForType() {
 
   }
 
-  public interface UpdateDependencies_ArgsOrBuilder extends
-      // @@protoc_insertion_point(interface_extends:com.kcl.api.UpdateDependencies_Args)
+  public interface UpdateDependenciesArgsOrBuilder extends
+      // @@protoc_insertion_point(interface_extends:com.kcl.api.UpdateDependenciesArgs)
       com.google.protobuf.MessageOrBuilder {
 
     /**
@@ -63206,41 +64837,41 @@ public interface UpdateDependencies_ArgsOrBuilder extends
    * Message for update dependencies request arguments.
    * 
* - * Protobuf type {@code com.kcl.api.UpdateDependencies_Args} + * Protobuf type {@code com.kcl.api.UpdateDependenciesArgs} */ - public static final class UpdateDependencies_Args extends + public static final class UpdateDependenciesArgs extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.UpdateDependencies_Args) - UpdateDependencies_ArgsOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.UpdateDependenciesArgs) + UpdateDependenciesArgsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - UpdateDependencies_Args.class.getName()); + "UpdateDependenciesArgs"); } - // Use UpdateDependencies_Args.newBuilder() to construct. - private UpdateDependencies_Args(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use UpdateDependenciesArgs.newBuilder() to construct. + private UpdateDependenciesArgs(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private UpdateDependencies_Args() { + private UpdateDependenciesArgs() { manifestPath_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependencies_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependenciesArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependencies_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependenciesArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.UpdateDependencies_Args.class, com.kcl.api.Spec.UpdateDependencies_Args.Builder.class); + com.kcl.api.Spec.UpdateDependenciesArgs.class, com.kcl.api.Spec.UpdateDependenciesArgs.Builder.class); } public static final int MANIFEST_PATH_FIELD_NUMBER = 1; @@ -63351,10 +64982,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.UpdateDependencies_Args)) { + if (!(obj instanceof com.kcl.api.Spec.UpdateDependenciesArgs)) { return super.equals(obj); } - com.kcl.api.Spec.UpdateDependencies_Args other = (com.kcl.api.Spec.UpdateDependencies_Args) obj; + com.kcl.api.Spec.UpdateDependenciesArgs other = (com.kcl.api.Spec.UpdateDependenciesArgs) obj; if (!getManifestPath() .equals(other.getManifestPath())) return false; @@ -63381,44 +65012,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.UpdateDependencies_Args parseFrom( + public static com.kcl.api.Spec.UpdateDependenciesArgs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.UpdateDependencies_Args parseFrom( + public static com.kcl.api.Spec.UpdateDependenciesArgs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.UpdateDependencies_Args parseFrom( + public static com.kcl.api.Spec.UpdateDependenciesArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.UpdateDependencies_Args parseFrom( + public static com.kcl.api.Spec.UpdateDependenciesArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.UpdateDependencies_Args parseFrom(byte[] data) + public static com.kcl.api.Spec.UpdateDependenciesArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.UpdateDependencies_Args parseFrom( + public static com.kcl.api.Spec.UpdateDependenciesArgs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.UpdateDependencies_Args parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.UpdateDependenciesArgs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.UpdateDependencies_Args parseFrom( + public static com.kcl.api.Spec.UpdateDependenciesArgs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -63426,26 +65057,26 @@ public static com.kcl.api.Spec.UpdateDependencies_Args parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.UpdateDependencies_Args parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.UpdateDependenciesArgs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.UpdateDependencies_Args parseDelimitedFrom( + public static com.kcl.api.Spec.UpdateDependenciesArgs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.UpdateDependencies_Args parseFrom( + public static com.kcl.api.Spec.UpdateDependenciesArgs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.UpdateDependencies_Args parseFrom( + public static com.kcl.api.Spec.UpdateDependenciesArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -63458,7 +65089,7 @@ public static com.kcl.api.Spec.UpdateDependencies_Args parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.UpdateDependencies_Args prototype) { + public static Builder newBuilder(com.kcl.api.Spec.UpdateDependenciesArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -63478,26 +65109,26 @@ protected Builder newBuilderForType( * Message for update dependencies request arguments. * * - * Protobuf type {@code com.kcl.api.UpdateDependencies_Args} + * Protobuf type {@code com.kcl.api.UpdateDependenciesArgs} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.UpdateDependencies_Args) - com.kcl.api.Spec.UpdateDependencies_ArgsOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.UpdateDependenciesArgs) + com.kcl.api.Spec.UpdateDependenciesArgsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependencies_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependenciesArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependencies_Args_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependenciesArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.UpdateDependencies_Args.class, com.kcl.api.Spec.UpdateDependencies_Args.Builder.class); + com.kcl.api.Spec.UpdateDependenciesArgs.class, com.kcl.api.Spec.UpdateDependenciesArgs.Builder.class); } - // Construct using com.kcl.api.Spec.UpdateDependencies_Args.newBuilder() + // Construct using com.kcl.api.Spec.UpdateDependenciesArgs.newBuilder() private Builder() { } @@ -63519,17 +65150,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependencies_Args_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependenciesArgs_descriptor; } @java.lang.Override - public com.kcl.api.Spec.UpdateDependencies_Args getDefaultInstanceForType() { - return com.kcl.api.Spec.UpdateDependencies_Args.getDefaultInstance(); + public com.kcl.api.Spec.UpdateDependenciesArgs getDefaultInstanceForType() { + return com.kcl.api.Spec.UpdateDependenciesArgs.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.UpdateDependencies_Args build() { - com.kcl.api.Spec.UpdateDependencies_Args result = buildPartial(); + public com.kcl.api.Spec.UpdateDependenciesArgs build() { + com.kcl.api.Spec.UpdateDependenciesArgs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -63537,14 +65168,14 @@ public com.kcl.api.Spec.UpdateDependencies_Args build() { } @java.lang.Override - public com.kcl.api.Spec.UpdateDependencies_Args buildPartial() { - com.kcl.api.Spec.UpdateDependencies_Args result = new com.kcl.api.Spec.UpdateDependencies_Args(this); + public com.kcl.api.Spec.UpdateDependenciesArgs buildPartial() { + com.kcl.api.Spec.UpdateDependenciesArgs result = new com.kcl.api.Spec.UpdateDependenciesArgs(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(com.kcl.api.Spec.UpdateDependencies_Args result) { + private void buildPartial0(com.kcl.api.Spec.UpdateDependenciesArgs result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.manifestPath_ = manifestPath_; @@ -63556,16 +65187,16 @@ private void buildPartial0(com.kcl.api.Spec.UpdateDependencies_Args result) { @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.UpdateDependencies_Args) { - return mergeFrom((com.kcl.api.Spec.UpdateDependencies_Args)other); + if (other instanceof com.kcl.api.Spec.UpdateDependenciesArgs) { + return mergeFrom((com.kcl.api.Spec.UpdateDependenciesArgs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.UpdateDependencies_Args other) { - if (other == com.kcl.api.Spec.UpdateDependencies_Args.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.UpdateDependenciesArgs other) { + if (other == com.kcl.api.Spec.UpdateDependenciesArgs.getDefaultInstance()) return this; if (!other.getManifestPath().isEmpty()) { manifestPath_ = other.manifestPath_; bitField0_ |= 0x00000001; @@ -63763,23 +65394,23 @@ public Builder clearVendor() { return this; } - // @@protoc_insertion_point(builder_scope:com.kcl.api.UpdateDependencies_Args) + // @@protoc_insertion_point(builder_scope:com.kcl.api.UpdateDependenciesArgs) } - // @@protoc_insertion_point(class_scope:com.kcl.api.UpdateDependencies_Args) - private static final com.kcl.api.Spec.UpdateDependencies_Args DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:com.kcl.api.UpdateDependenciesArgs) + private static final com.kcl.api.Spec.UpdateDependenciesArgs DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.kcl.api.Spec.UpdateDependencies_Args(); + DEFAULT_INSTANCE = new com.kcl.api.Spec.UpdateDependenciesArgs(); } - public static com.kcl.api.Spec.UpdateDependencies_Args getDefaultInstance() { + public static com.kcl.api.Spec.UpdateDependenciesArgs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public UpdateDependencies_Args parsePartialFrom( + public UpdateDependenciesArgs parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -63798,24 +65429,24 @@ public UpdateDependencies_Args parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.kcl.api.Spec.UpdateDependencies_Args getDefaultInstanceForType() { + public com.kcl.api.Spec.UpdateDependenciesArgs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface UpdateDependencies_ResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.kcl.api.UpdateDependencies_Result) + public interface UpdateDependenciesResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:com.kcl.api.UpdateDependenciesResult) com.google.protobuf.MessageOrBuilder { /** @@ -63867,41 +65498,41 @@ com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder( * Message for update dependencies response. * * - * Protobuf type {@code com.kcl.api.UpdateDependencies_Result} + * Protobuf type {@code com.kcl.api.UpdateDependenciesResult} */ - public static final class UpdateDependencies_Result extends + public static final class UpdateDependenciesResult extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:com.kcl.api.UpdateDependencies_Result) - UpdateDependencies_ResultOrBuilder { + // @@protoc_insertion_point(message_implements:com.kcl.api.UpdateDependenciesResult) + UpdateDependenciesResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 29, - /* patch= */ 3, + /* minor= */ 33, + /* patch= */ 1, /* suffix= */ "", - UpdateDependencies_Result.class.getName()); + "UpdateDependenciesResult"); } - // Use UpdateDependencies_Result.newBuilder() to construct. - private UpdateDependencies_Result(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use UpdateDependenciesResult.newBuilder() to construct. + private UpdateDependenciesResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private UpdateDependencies_Result() { + private UpdateDependenciesResult() { externalPkgs_ = java.util.Collections.emptyList(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependencies_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependenciesResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependencies_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependenciesResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.UpdateDependencies_Result.class, com.kcl.api.Spec.UpdateDependencies_Result.Builder.class); + com.kcl.api.Spec.UpdateDependenciesResult.class, com.kcl.api.Spec.UpdateDependenciesResult.Builder.class); } public static final int EXTERNAL_PKGS_FIELD_NUMBER = 3; @@ -64005,10 +65636,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.kcl.api.Spec.UpdateDependencies_Result)) { + if (!(obj instanceof com.kcl.api.Spec.UpdateDependenciesResult)) { return super.equals(obj); } - com.kcl.api.Spec.UpdateDependencies_Result other = (com.kcl.api.Spec.UpdateDependencies_Result) obj; + com.kcl.api.Spec.UpdateDependenciesResult other = (com.kcl.api.Spec.UpdateDependenciesResult) obj; if (!getExternalPkgsList() .equals(other.getExternalPkgsList())) return false; @@ -64032,44 +65663,44 @@ public int hashCode() { return hash; } - public static com.kcl.api.Spec.UpdateDependencies_Result parseFrom( + public static com.kcl.api.Spec.UpdateDependenciesResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.UpdateDependencies_Result parseFrom( + public static com.kcl.api.Spec.UpdateDependenciesResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.UpdateDependencies_Result parseFrom( + public static com.kcl.api.Spec.UpdateDependenciesResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.UpdateDependencies_Result parseFrom( + public static com.kcl.api.Spec.UpdateDependenciesResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.UpdateDependencies_Result parseFrom(byte[] data) + public static com.kcl.api.Spec.UpdateDependenciesResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.kcl.api.Spec.UpdateDependencies_Result parseFrom( + public static com.kcl.api.Spec.UpdateDependenciesResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.kcl.api.Spec.UpdateDependencies_Result parseFrom(java.io.InputStream input) + public static com.kcl.api.Spec.UpdateDependenciesResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.UpdateDependencies_Result parseFrom( + public static com.kcl.api.Spec.UpdateDependenciesResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -64077,26 +65708,26 @@ public static com.kcl.api.Spec.UpdateDependencies_Result parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.UpdateDependencies_Result parseDelimitedFrom(java.io.InputStream input) + public static com.kcl.api.Spec.UpdateDependenciesResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static com.kcl.api.Spec.UpdateDependencies_Result parseDelimitedFrom( + public static com.kcl.api.Spec.UpdateDependenciesResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.kcl.api.Spec.UpdateDependencies_Result parseFrom( + public static com.kcl.api.Spec.UpdateDependenciesResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static com.kcl.api.Spec.UpdateDependencies_Result parseFrom( + public static com.kcl.api.Spec.UpdateDependenciesResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -64109,7 +65740,7 @@ public static com.kcl.api.Spec.UpdateDependencies_Result parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.kcl.api.Spec.UpdateDependencies_Result prototype) { + public static Builder newBuilder(com.kcl.api.Spec.UpdateDependenciesResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -64129,26 +65760,26 @@ protected Builder newBuilderForType( * Message for update dependencies response. * * - * Protobuf type {@code com.kcl.api.UpdateDependencies_Result} + * Protobuf type {@code com.kcl.api.UpdateDependenciesResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:com.kcl.api.UpdateDependencies_Result) - com.kcl.api.Spec.UpdateDependencies_ResultOrBuilder { + // @@protoc_insertion_point(builder_implements:com.kcl.api.UpdateDependenciesResult) + com.kcl.api.Spec.UpdateDependenciesResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependencies_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependenciesResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependencies_Result_fieldAccessorTable + return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependenciesResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.kcl.api.Spec.UpdateDependencies_Result.class, com.kcl.api.Spec.UpdateDependencies_Result.Builder.class); + com.kcl.api.Spec.UpdateDependenciesResult.class, com.kcl.api.Spec.UpdateDependenciesResult.Builder.class); } - // Construct using com.kcl.api.Spec.UpdateDependencies_Result.newBuilder() + // Construct using com.kcl.api.Spec.UpdateDependenciesResult.newBuilder() private Builder() { } @@ -64175,17 +65806,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependencies_Result_descriptor; + return com.kcl.api.Spec.internal_static_com_kcl_api_UpdateDependenciesResult_descriptor; } @java.lang.Override - public com.kcl.api.Spec.UpdateDependencies_Result getDefaultInstanceForType() { - return com.kcl.api.Spec.UpdateDependencies_Result.getDefaultInstance(); + public com.kcl.api.Spec.UpdateDependenciesResult getDefaultInstanceForType() { + return com.kcl.api.Spec.UpdateDependenciesResult.getDefaultInstance(); } @java.lang.Override - public com.kcl.api.Spec.UpdateDependencies_Result build() { - com.kcl.api.Spec.UpdateDependencies_Result result = buildPartial(); + public com.kcl.api.Spec.UpdateDependenciesResult build() { + com.kcl.api.Spec.UpdateDependenciesResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -64193,15 +65824,15 @@ public com.kcl.api.Spec.UpdateDependencies_Result build() { } @java.lang.Override - public com.kcl.api.Spec.UpdateDependencies_Result buildPartial() { - com.kcl.api.Spec.UpdateDependencies_Result result = new com.kcl.api.Spec.UpdateDependencies_Result(this); + public com.kcl.api.Spec.UpdateDependenciesResult buildPartial() { + com.kcl.api.Spec.UpdateDependenciesResult result = new com.kcl.api.Spec.UpdateDependenciesResult(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.kcl.api.Spec.UpdateDependencies_Result result) { + private void buildPartialRepeatedFields(com.kcl.api.Spec.UpdateDependenciesResult result) { if (externalPkgsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { externalPkgs_ = java.util.Collections.unmodifiableList(externalPkgs_); @@ -64213,22 +65844,22 @@ private void buildPartialRepeatedFields(com.kcl.api.Spec.UpdateDependencies_Resu } } - private void buildPartial0(com.kcl.api.Spec.UpdateDependencies_Result result) { + private void buildPartial0(com.kcl.api.Spec.UpdateDependenciesResult result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.kcl.api.Spec.UpdateDependencies_Result) { - return mergeFrom((com.kcl.api.Spec.UpdateDependencies_Result)other); + if (other instanceof com.kcl.api.Spec.UpdateDependenciesResult) { + return mergeFrom((com.kcl.api.Spec.UpdateDependenciesResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.kcl.api.Spec.UpdateDependencies_Result other) { - if (other == com.kcl.api.Spec.UpdateDependencies_Result.getDefaultInstance()) return this; + public Builder mergeFrom(com.kcl.api.Spec.UpdateDependenciesResult other) { + if (other == com.kcl.api.Spec.UpdateDependenciesResult.getDefaultInstance()) return this; if (externalPkgsBuilder_ == null) { if (!other.externalPkgs_.isEmpty()) { if (externalPkgs_.isEmpty()) { @@ -64249,7 +65880,7 @@ public Builder mergeFrom(com.kcl.api.Spec.UpdateDependencies_Result other) { bitField0_ = (bitField0_ & ~0x00000001); externalPkgsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getExternalPkgsFieldBuilder() : null; + internalGetExternalPkgsFieldBuilder() : null; } else { externalPkgsBuilder_.addAllMessages(other.externalPkgs_); } @@ -64543,7 +66174,7 @@ public Builder removeExternalPkgs(int index) { */ public com.kcl.api.Spec.ExternalPkg.Builder getExternalPkgsBuilder( int index) { - return getExternalPkgsFieldBuilder().getBuilder(index); + return internalGetExternalPkgsFieldBuilder().getBuilder(index); } /** *
@@ -64582,7 +66213,7 @@ public com.kcl.api.Spec.ExternalPkgOrBuilder getExternalPkgsOrBuilder(
        * repeated .com.kcl.api.ExternalPkg external_pkgs = 3;
        */
       public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder() {
-        return getExternalPkgsFieldBuilder().addBuilder(
+        return internalGetExternalPkgsFieldBuilder().addBuilder(
             com.kcl.api.Spec.ExternalPkg.getDefaultInstance());
       }
       /**
@@ -64594,7 +66225,7 @@ public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder() {
        */
       public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder(
           int index) {
-        return getExternalPkgsFieldBuilder().addBuilder(
+        return internalGetExternalPkgsFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.ExternalPkg.getDefaultInstance());
       }
       /**
@@ -64606,11 +66237,11 @@ public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder(
        */
       public java.util.List 
            getExternalPkgsBuilderList() {
-        return getExternalPkgsFieldBuilder().getBuilderList();
+        return internalGetExternalPkgsFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder> 
-          getExternalPkgsFieldBuilder() {
+          internalGetExternalPkgsFieldBuilder() {
         if (externalPkgsBuilder_ == null) {
           externalPkgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.ExternalPkg, com.kcl.api.Spec.ExternalPkg.Builder, com.kcl.api.Spec.ExternalPkgOrBuilder>(
@@ -64623,23 +66254,23 @@ public com.kcl.api.Spec.ExternalPkg.Builder addExternalPkgsBuilder(
         return externalPkgsBuilder_;
       }
 
-      // @@protoc_insertion_point(builder_scope:com.kcl.api.UpdateDependencies_Result)
+      // @@protoc_insertion_point(builder_scope:com.kcl.api.UpdateDependenciesResult)
     }
 
-    // @@protoc_insertion_point(class_scope:com.kcl.api.UpdateDependencies_Result)
-    private static final com.kcl.api.Spec.UpdateDependencies_Result DEFAULT_INSTANCE;
+    // @@protoc_insertion_point(class_scope:com.kcl.api.UpdateDependenciesResult)
+    private static final com.kcl.api.Spec.UpdateDependenciesResult DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE = new com.kcl.api.Spec.UpdateDependencies_Result();
+      DEFAULT_INSTANCE = new com.kcl.api.Spec.UpdateDependenciesResult();
     }
 
-    public static com.kcl.api.Spec.UpdateDependencies_Result getDefaultInstance() {
+    public static com.kcl.api.Spec.UpdateDependenciesResult getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
       @java.lang.Override
-      public UpdateDependencies_Result parsePartialFrom(
+      public UpdateDependenciesResult parsePartialFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
@@ -64658,17 +66289,17 @@ public UpdateDependencies_Result parsePartialFrom(
       }
     };
 
-    public static com.google.protobuf.Parser parser() {
+    public static com.google.protobuf.Parser parser() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Parser getParserForType() {
+    public com.google.protobuf.Parser getParserForType() {
       return PARSER;
     }
 
     @java.lang.Override
-    public com.kcl.api.Spec.UpdateDependencies_Result getDefaultInstanceForType() {
+    public com.kcl.api.Spec.UpdateDependenciesResult getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
 
@@ -65162,10 +66793,10 @@ public static final class KclType extends
       com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
         com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
         /* major= */ 4,
-        /* minor= */ 29,
-        /* patch= */ 3,
+        /* minor= */ 33,
+        /* patch= */ 1,
         /* suffix= */ "",
-        KclType.class.getName());
+        "KclType");
     }
     // Use KclType.newBuilder() to construct.
     private KclType(com.google.protobuf.GeneratedMessage.Builder builder) {
@@ -66461,11 +68092,11 @@ private Builder(
       private void maybeForceBuilderInitialization() {
         if (com.google.protobuf.GeneratedMessage
                 .alwaysUseFieldBuilders) {
-          getUnionTypesFieldBuilder();
-          getKeyFieldBuilder();
-          getItemFieldBuilder();
-          getDecoratorsFieldBuilder();
-          getBaseSchemaFieldBuilder();
+          internalGetUnionTypesFieldBuilder();
+          internalGetKeyFieldBuilder();
+          internalGetItemFieldBuilder();
+          internalGetDecoratorsFieldBuilder();
+          internalGetBaseSchemaFieldBuilder();
         }
       }
       @java.lang.Override
@@ -66661,7 +68292,7 @@ public Builder mergeFrom(com.kcl.api.Spec.KclType other) {
               bitField0_ = (bitField0_ & ~0x00000002);
               unionTypesBuilder_ = 
                 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
-                   getUnionTypesFieldBuilder() : null;
+                   internalGetUnionTypesFieldBuilder() : null;
             } else {
               unionTypesBuilder_.addAllMessages(other.unionTypes_);
             }
@@ -66724,7 +68355,7 @@ public Builder mergeFrom(com.kcl.api.Spec.KclType other) {
               bitField0_ = (bitField0_ & ~0x00000400);
               decoratorsBuilder_ = 
                 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
-                   getDecoratorsFieldBuilder() : null;
+                   internalGetDecoratorsFieldBuilder() : null;
             } else {
               decoratorsBuilder_.addAllMessages(other.decorators_);
             }
@@ -66827,14 +68458,14 @@ public Builder mergeFrom(
               } // case 58
               case 66: {
                 input.readMessage(
-                    getKeyFieldBuilder().getBuilder(),
+                    internalGetKeyFieldBuilder().getBuilder(),
                     extensionRegistry);
                 bitField0_ |= 0x00000080;
                 break;
               } // case 66
               case 74: {
                 input.readMessage(
-                    getItemFieldBuilder().getBuilder(),
+                    internalGetItemFieldBuilder().getBuilder(),
                     extensionRegistry);
                 bitField0_ |= 0x00000100;
                 break;
@@ -66883,7 +68514,7 @@ public Builder mergeFrom(
               } // case 122
               case 130: {
                 input.readMessage(
-                    getBaseSchemaFieldBuilder().getBuilder(),
+                    internalGetBaseSchemaFieldBuilder().getBuilder(),
                     extensionRegistry);
                 bitField0_ |= 0x00008000;
                 break;
@@ -67229,7 +68860,7 @@ public Builder removeUnionTypes(int index) {
        */
       public com.kcl.api.Spec.KclType.Builder getUnionTypesBuilder(
           int index) {
-        return getUnionTypesFieldBuilder().getBuilder(index);
+        return internalGetUnionTypesFieldBuilder().getBuilder(index);
       }
       /**
        * 
@@ -67268,7 +68899,7 @@ public com.kcl.api.Spec.KclTypeOrBuilder getUnionTypesOrBuilder(
        * repeated .com.kcl.api.KclType union_types = 2;
        */
       public com.kcl.api.Spec.KclType.Builder addUnionTypesBuilder() {
-        return getUnionTypesFieldBuilder().addBuilder(
+        return internalGetUnionTypesFieldBuilder().addBuilder(
             com.kcl.api.Spec.KclType.getDefaultInstance());
       }
       /**
@@ -67280,7 +68911,7 @@ public com.kcl.api.Spec.KclType.Builder addUnionTypesBuilder() {
        */
       public com.kcl.api.Spec.KclType.Builder addUnionTypesBuilder(
           int index) {
-        return getUnionTypesFieldBuilder().addBuilder(
+        return internalGetUnionTypesFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.KclType.getDefaultInstance());
       }
       /**
@@ -67292,11 +68923,11 @@ public com.kcl.api.Spec.KclType.Builder addUnionTypesBuilder(
        */
       public java.util.List 
            getUnionTypesBuilderList() {
-        return getUnionTypesFieldBuilder().getBuilderList();
+        return internalGetUnionTypesFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> 
-          getUnionTypesFieldBuilder() {
+          internalGetUnionTypesFieldBuilder() {
         if (unionTypesBuilder_ == null) {
           unionTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder>(
@@ -68038,7 +69669,7 @@ public Builder clearKey() {
       public com.kcl.api.Spec.KclType.Builder getKeyBuilder() {
         bitField0_ |= 0x00000080;
         onChanged();
-        return getKeyFieldBuilder().getBuilder();
+        return internalGetKeyFieldBuilder().getBuilder();
       }
       /**
        * 
@@ -68064,7 +69695,7 @@ public com.kcl.api.Spec.KclTypeOrBuilder getKeyOrBuilder() {
        */
       private com.google.protobuf.SingleFieldBuilder<
           com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> 
-          getKeyFieldBuilder() {
+          internalGetKeyFieldBuilder() {
         if (keyBuilder_ == null) {
           keyBuilder_ = new com.google.protobuf.SingleFieldBuilder<
               com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder>(
@@ -68195,7 +69826,7 @@ public Builder clearItem() {
       public com.kcl.api.Spec.KclType.Builder getItemBuilder() {
         bitField0_ |= 0x00000100;
         onChanged();
-        return getItemFieldBuilder().getBuilder();
+        return internalGetItemFieldBuilder().getBuilder();
       }
       /**
        * 
@@ -68221,7 +69852,7 @@ public com.kcl.api.Spec.KclTypeOrBuilder getItemOrBuilder() {
        */
       private com.google.protobuf.SingleFieldBuilder<
           com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> 
-          getItemFieldBuilder() {
+          internalGetItemFieldBuilder() {
         if (itemBuilder_ == null) {
           itemBuilder_ = new com.google.protobuf.SingleFieldBuilder<
               com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder>(
@@ -68509,7 +70140,7 @@ public Builder removeDecorators(int index) {
        */
       public com.kcl.api.Spec.Decorator.Builder getDecoratorsBuilder(
           int index) {
-        return getDecoratorsFieldBuilder().getBuilder(index);
+        return internalGetDecoratorsFieldBuilder().getBuilder(index);
       }
       /**
        * 
@@ -68548,7 +70179,7 @@ public com.kcl.api.Spec.DecoratorOrBuilder getDecoratorsOrBuilder(
        * repeated .com.kcl.api.Decorator decorators = 11;
        */
       public com.kcl.api.Spec.Decorator.Builder addDecoratorsBuilder() {
-        return getDecoratorsFieldBuilder().addBuilder(
+        return internalGetDecoratorsFieldBuilder().addBuilder(
             com.kcl.api.Spec.Decorator.getDefaultInstance());
       }
       /**
@@ -68560,7 +70191,7 @@ public com.kcl.api.Spec.Decorator.Builder addDecoratorsBuilder() {
        */
       public com.kcl.api.Spec.Decorator.Builder addDecoratorsBuilder(
           int index) {
-        return getDecoratorsFieldBuilder().addBuilder(
+        return internalGetDecoratorsFieldBuilder().addBuilder(
             index, com.kcl.api.Spec.Decorator.getDefaultInstance());
       }
       /**
@@ -68572,11 +70203,11 @@ public com.kcl.api.Spec.Decorator.Builder addDecoratorsBuilder(
        */
       public java.util.List 
            getDecoratorsBuilderList() {
-        return getDecoratorsFieldBuilder().getBuilderList();
+        return internalGetDecoratorsFieldBuilder().getBuilderList();
       }
       private com.google.protobuf.RepeatedFieldBuilder<
           com.kcl.api.Spec.Decorator, com.kcl.api.Spec.Decorator.Builder, com.kcl.api.Spec.DecoratorOrBuilder> 
-          getDecoratorsFieldBuilder() {
+          internalGetDecoratorsFieldBuilder() {
         if (decoratorsBuilder_ == null) {
           decoratorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
               com.kcl.api.Spec.Decorator, com.kcl.api.Spec.Decorator.Builder, com.kcl.api.Spec.DecoratorOrBuilder>(
@@ -69171,7 +70802,7 @@ public Builder clearBaseSchema() {
       public com.kcl.api.Spec.KclType.Builder getBaseSchemaBuilder() {
         bitField0_ |= 0x00008000;
         onChanged();
-        return getBaseSchemaFieldBuilder().getBuilder();
+        return internalGetBaseSchemaFieldBuilder().getBuilder();
       }
       /**
        * 
@@ -69197,7 +70828,7 @@ public com.kcl.api.Spec.KclTypeOrBuilder getBaseSchemaOrBuilder() {
        */
       private com.google.protobuf.SingleFieldBuilder<
           com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder> 
-          getBaseSchemaFieldBuilder() {
+          internalGetBaseSchemaFieldBuilder() {
         if (baseSchemaBuilder_ == null) {
           baseSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilder<
               com.kcl.api.Spec.KclType, com.kcl.api.Spec.KclType.Builder, com.kcl.api.Spec.KclTypeOrBuilder>(
@@ -69395,10 +71026,10 @@ public static final class Decorator extends
       com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
         com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
         /* major= */ 4,
-        /* minor= */ 29,
-        /* patch= */ 3,
+        /* minor= */ 33,
+        /* patch= */ 1,
         /* suffix= */ "",
-        Decorator.class.getName());
+        "Decorator");
     }
     // Use Decorator.newBuilder() to construct.
     private Decorator(com.google.protobuf.GeneratedMessage.Builder builder) {
@@ -70553,10 +72184,10 @@ public static final class Example extends
       com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
         com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
         /* major= */ 4,
-        /* minor= */ 29,
-        /* patch= */ 3,
+        /* minor= */ 33,
+        /* patch= */ 1,
         /* suffix= */ "",
-        Example.class.getName());
+        "Example");
     }
     // Use Example.newBuilder() to construct.
     private Example(com.google.protobuf.GeneratedMessage.Builder builder) {
@@ -71416,100 +73047,100 @@ public com.kcl.api.Spec.Example getDefaultInstanceForType() {
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internal_static_com_kcl_api_Message_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_Ping_Args_descriptor;
+    internal_static_com_kcl_api_PingArgs_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_Ping_Args_fieldAccessorTable;
+      internal_static_com_kcl_api_PingArgs_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_Ping_Result_descriptor;
+    internal_static_com_kcl_api_PingResult_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_Ping_Result_fieldAccessorTable;
+      internal_static_com_kcl_api_PingResult_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_GetVersion_Args_descriptor;
+    internal_static_com_kcl_api_GetVersionArgs_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_GetVersion_Args_fieldAccessorTable;
+      internal_static_com_kcl_api_GetVersionArgs_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_GetVersion_Result_descriptor;
+    internal_static_com_kcl_api_GetVersionResult_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_GetVersion_Result_fieldAccessorTable;
+      internal_static_com_kcl_api_GetVersionResult_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_ListMethod_Args_descriptor;
+    internal_static_com_kcl_api_ListMethodArgs_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_ListMethod_Args_fieldAccessorTable;
+      internal_static_com_kcl_api_ListMethodArgs_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_ListMethod_Result_descriptor;
+    internal_static_com_kcl_api_ListMethodResult_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_ListMethod_Result_fieldAccessorTable;
+      internal_static_com_kcl_api_ListMethodResult_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_ParseFile_Args_descriptor;
+    internal_static_com_kcl_api_ParseFileArgs_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_ParseFile_Args_fieldAccessorTable;
+      internal_static_com_kcl_api_ParseFileArgs_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_ParseFile_Result_descriptor;
+    internal_static_com_kcl_api_ParseFileResult_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_ParseFile_Result_fieldAccessorTable;
+      internal_static_com_kcl_api_ParseFileResult_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_ParseProgram_Args_descriptor;
+    internal_static_com_kcl_api_ParseProgramArgs_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_ParseProgram_Args_fieldAccessorTable;
+      internal_static_com_kcl_api_ParseProgramArgs_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_ParseProgram_Result_descriptor;
+    internal_static_com_kcl_api_ParseProgramResult_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_ParseProgram_Result_fieldAccessorTable;
+      internal_static_com_kcl_api_ParseProgramResult_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_LoadPackage_Args_descriptor;
+    internal_static_com_kcl_api_LoadPackageArgs_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_LoadPackage_Args_fieldAccessorTable;
+      internal_static_com_kcl_api_LoadPackageArgs_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_LoadPackage_Result_descriptor;
+    internal_static_com_kcl_api_LoadPackageResult_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_LoadPackage_Result_fieldAccessorTable;
+      internal_static_com_kcl_api_LoadPackageResult_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_descriptor;
+    internal_static_com_kcl_api_LoadPackageResult_ScopesEntry_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_fieldAccessorTable;
+      internal_static_com_kcl_api_LoadPackageResult_ScopesEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_descriptor;
+    internal_static_com_kcl_api_LoadPackageResult_SymbolsEntry_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_fieldAccessorTable;
+      internal_static_com_kcl_api_LoadPackageResult_SymbolsEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_descriptor;
+    internal_static_com_kcl_api_LoadPackageResult_NodeSymbolMapEntry_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_fieldAccessorTable;
+      internal_static_com_kcl_api_LoadPackageResult_NodeSymbolMapEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_descriptor;
+    internal_static_com_kcl_api_LoadPackageResult_SymbolNodeMapEntry_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_fieldAccessorTable;
+      internal_static_com_kcl_api_LoadPackageResult_SymbolNodeMapEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_descriptor;
+    internal_static_com_kcl_api_LoadPackageResult_FullyQualifiedNameMapEntry_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_fieldAccessorTable;
+      internal_static_com_kcl_api_LoadPackageResult_FullyQualifiedNameMapEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_descriptor;
+    internal_static_com_kcl_api_LoadPackageResult_PkgScopeMapEntry_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_fieldAccessorTable;
+      internal_static_com_kcl_api_LoadPackageResult_PkgScopeMapEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_ListOptions_Result_descriptor;
+    internal_static_com_kcl_api_ListOptionsResult_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_ListOptions_Result_fieldAccessorTable;
+      internal_static_com_kcl_api_ListOptionsResult_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
     internal_static_com_kcl_api_OptionHelp_descriptor;
   private static final 
@@ -71536,95 +73167,95 @@ public com.kcl.api.Spec.Example getDefaultInstanceForType() {
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internal_static_com_kcl_api_ScopeIndex_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_ExecProgram_Args_descriptor;
+    internal_static_com_kcl_api_ExecProgramArgs_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_ExecProgram_Args_fieldAccessorTable;
+      internal_static_com_kcl_api_ExecProgramArgs_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_ExecProgram_Result_descriptor;
+    internal_static_com_kcl_api_ExecProgramResult_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_ExecProgram_Result_fieldAccessorTable;
+      internal_static_com_kcl_api_ExecProgramResult_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_BuildProgram_Args_descriptor;
+    internal_static_com_kcl_api_BuildProgramArgs_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_BuildProgram_Args_fieldAccessorTable;
+      internal_static_com_kcl_api_BuildProgramArgs_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_BuildProgram_Result_descriptor;
+    internal_static_com_kcl_api_BuildProgramResult_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_BuildProgram_Result_fieldAccessorTable;
+      internal_static_com_kcl_api_BuildProgramResult_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_ExecArtifact_Args_descriptor;
+    internal_static_com_kcl_api_ExecArtifactArgs_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_ExecArtifact_Args_fieldAccessorTable;
+      internal_static_com_kcl_api_ExecArtifactArgs_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_FormatCode_Args_descriptor;
+    internal_static_com_kcl_api_FormatCodeArgs_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_FormatCode_Args_fieldAccessorTable;
+      internal_static_com_kcl_api_FormatCodeArgs_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_FormatCode_Result_descriptor;
+    internal_static_com_kcl_api_FormatCodeResult_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_FormatCode_Result_fieldAccessorTable;
+      internal_static_com_kcl_api_FormatCodeResult_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_FormatPath_Args_descriptor;
+    internal_static_com_kcl_api_FormatPathArgs_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_FormatPath_Args_fieldAccessorTable;
+      internal_static_com_kcl_api_FormatPathArgs_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_FormatPath_Result_descriptor;
+    internal_static_com_kcl_api_FormatPathResult_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_FormatPath_Result_fieldAccessorTable;
+      internal_static_com_kcl_api_FormatPathResult_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_LintPath_Args_descriptor;
+    internal_static_com_kcl_api_LintPathArgs_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_LintPath_Args_fieldAccessorTable;
+      internal_static_com_kcl_api_LintPathArgs_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_LintPath_Result_descriptor;
+    internal_static_com_kcl_api_LintPathResult_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_LintPath_Result_fieldAccessorTable;
+      internal_static_com_kcl_api_LintPathResult_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_OverrideFile_Args_descriptor;
+    internal_static_com_kcl_api_OverrideFileArgs_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_OverrideFile_Args_fieldAccessorTable;
+      internal_static_com_kcl_api_OverrideFileArgs_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_OverrideFile_Result_descriptor;
+    internal_static_com_kcl_api_OverrideFileResult_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_OverrideFile_Result_fieldAccessorTable;
+      internal_static_com_kcl_api_OverrideFileResult_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_ListVariables_Options_descriptor;
+    internal_static_com_kcl_api_ListVariablesOptions_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_ListVariables_Options_fieldAccessorTable;
+      internal_static_com_kcl_api_ListVariablesOptions_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
     internal_static_com_kcl_api_VariableList_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internal_static_com_kcl_api_VariableList_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_ListVariables_Args_descriptor;
+    internal_static_com_kcl_api_ListVariablesArgs_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_ListVariables_Args_fieldAccessorTable;
+      internal_static_com_kcl_api_ListVariablesArgs_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_ListVariables_Result_descriptor;
+    internal_static_com_kcl_api_ListVariablesResult_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_ListVariables_Result_fieldAccessorTable;
+      internal_static_com_kcl_api_ListVariablesResult_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_descriptor;
+    internal_static_com_kcl_api_ListVariablesResult_VariablesEntry_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_fieldAccessorTable;
+      internal_static_com_kcl_api_ListVariablesResult_VariablesEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
     internal_static_com_kcl_api_Variable_descriptor;
   private static final 
@@ -71636,55 +73267,70 @@ public com.kcl.api.Spec.Example getDefaultInstanceForType() {
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internal_static_com_kcl_api_MapEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor;
+    internal_static_com_kcl_api_GetSchemaTypeMappingArgs_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessage.FieldAccessorTable
+      internal_static_com_kcl_api_GetSchemaTypeMappingArgs_fieldAccessorTable;
+  private static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_com_kcl_api_GetSchemaTypeMappingResult_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessage.FieldAccessorTable
+      internal_static_com_kcl_api_GetSchemaTypeMappingResult_fieldAccessorTable;
+  private static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_com_kcl_api_GetSchemaTypeMappingResult_SchemaTypeMappingEntry_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_GetSchemaTypeMapping_Args_fieldAccessorTable;
+      internal_static_com_kcl_api_GetSchemaTypeMappingResult_SchemaTypeMappingEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor;
+    internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_GetSchemaTypeMapping_Result_fieldAccessorTable;
+      internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_descriptor;
+    internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_SchemaTypeMappingEntry_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_fieldAccessorTable;
+      internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_SchemaTypeMappingEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_ValidateCode_Args_descriptor;
+    internal_static_com_kcl_api_SchemaTypes_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_ValidateCode_Args_fieldAccessorTable;
+      internal_static_com_kcl_api_SchemaTypes_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_ValidateCode_Result_descriptor;
+    internal_static_com_kcl_api_ValidateCodeArgs_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_ValidateCode_Result_fieldAccessorTable;
+      internal_static_com_kcl_api_ValidateCodeArgs_fieldAccessorTable;
+  private static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_com_kcl_api_ValidateCodeResult_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessage.FieldAccessorTable
+      internal_static_com_kcl_api_ValidateCodeResult_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
     internal_static_com_kcl_api_Position_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internal_static_com_kcl_api_Position_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_ListDepFiles_Args_descriptor;
+    internal_static_com_kcl_api_ListDepFilesArgs_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_ListDepFiles_Args_fieldAccessorTable;
+      internal_static_com_kcl_api_ListDepFilesArgs_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_ListDepFiles_Result_descriptor;
+    internal_static_com_kcl_api_ListDepFilesResult_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_ListDepFiles_Result_fieldAccessorTable;
+      internal_static_com_kcl_api_ListDepFilesResult_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor;
+    internal_static_com_kcl_api_LoadSettingsFilesArgs_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_LoadSettingsFiles_Args_fieldAccessorTable;
+      internal_static_com_kcl_api_LoadSettingsFilesArgs_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor;
+    internal_static_com_kcl_api_LoadSettingsFilesResult_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_LoadSettingsFiles_Result_fieldAccessorTable;
+      internal_static_com_kcl_api_LoadSettingsFilesResult_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
     internal_static_com_kcl_api_CliConfig_descriptor;
   private static final 
@@ -71696,60 +73342,60 @@ public com.kcl.api.Spec.Example getDefaultInstanceForType() {
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internal_static_com_kcl_api_KeyValuePair_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_Rename_Args_descriptor;
+    internal_static_com_kcl_api_RenameArgs_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_Rename_Args_fieldAccessorTable;
+      internal_static_com_kcl_api_RenameArgs_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_Rename_Result_descriptor;
+    internal_static_com_kcl_api_RenameResult_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_Rename_Result_fieldAccessorTable;
+      internal_static_com_kcl_api_RenameResult_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_RenameCode_Args_descriptor;
+    internal_static_com_kcl_api_RenameCodeArgs_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_RenameCode_Args_fieldAccessorTable;
+      internal_static_com_kcl_api_RenameCodeArgs_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_descriptor;
+    internal_static_com_kcl_api_RenameCodeArgs_SourceCodesEntry_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_fieldAccessorTable;
+      internal_static_com_kcl_api_RenameCodeArgs_SourceCodesEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_RenameCode_Result_descriptor;
+    internal_static_com_kcl_api_RenameCodeResult_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_RenameCode_Result_fieldAccessorTable;
+      internal_static_com_kcl_api_RenameCodeResult_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_descriptor;
+    internal_static_com_kcl_api_RenameCodeResult_ChangedCodesEntry_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_fieldAccessorTable;
+      internal_static_com_kcl_api_RenameCodeResult_ChangedCodesEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_Test_Args_descriptor;
+    internal_static_com_kcl_api_TestArgs_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_Test_Args_fieldAccessorTable;
+      internal_static_com_kcl_api_TestArgs_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_Test_Result_descriptor;
+    internal_static_com_kcl_api_TestResult_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_Test_Result_fieldAccessorTable;
+      internal_static_com_kcl_api_TestResult_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
     internal_static_com_kcl_api_TestCaseInfo_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internal_static_com_kcl_api_TestCaseInfo_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_UpdateDependencies_Args_descriptor;
+    internal_static_com_kcl_api_UpdateDependenciesArgs_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_UpdateDependencies_Args_fieldAccessorTable;
+      internal_static_com_kcl_api_UpdateDependenciesArgs_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_com_kcl_api_UpdateDependencies_Result_descriptor;
+    internal_static_com_kcl_api_UpdateDependenciesResult_descriptor;
   private static final 
     com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_com_kcl_api_UpdateDependencies_Result_fieldAccessorTable;
+      internal_static_com_kcl_api_UpdateDependenciesResult_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
     internal_static_com_kcl_api_KclType_descriptor;
   private static final 
@@ -71795,103 +73441,102 @@ public com.kcl.api.Spec.Example getDefaultInstanceForType() {
       "\005Error\022\r\n\005level\030\001 \001(\t\022\014\n\004code\030\002 \001(\t\022&\n\010m" +
       "essages\030\003 \003(\0132\024.com.kcl.api.Message\":\n\007M" +
       "essage\022\013\n\003msg\030\001 \001(\t\022\"\n\003pos\030\002 \001(\0132\025.com.k" +
-      "cl.api.Position\"\032\n\tPing_Args\022\r\n\005value\030\001 " +
-      "\001(\t\"\034\n\013Ping_Result\022\r\n\005value\030\001 \001(\t\"\021\n\017Get" +
-      "Version_Args\"]\n\021GetVersion_Result\022\017\n\007ver" +
-      "sion\030\001 \001(\t\022\020\n\010checksum\030\002 \001(\t\022\017\n\007git_sha\030" +
-      "\003 \001(\t\022\024\n\014version_info\030\004 \001(\t\"\021\n\017ListMetho" +
-      "d_Args\"-\n\021ListMethod_Result\022\030\n\020method_na" +
-      "me_list\030\001 \003(\t\"_\n\016ParseFile_Args\022\014\n\004path\030" +
-      "\001 \001(\t\022\016\n\006source\030\002 \001(\t\022/\n\rexternal_pkgs\030\003" +
-      " \003(\0132\030.com.kcl.api.ExternalPkg\"V\n\020ParseF" +
-      "ile_Result\022\020\n\010ast_json\030\001 \001(\t\022\014\n\004deps\030\002 \003" +
-      "(\t\022\"\n\006errors\030\003 \003(\0132\022.com.kcl.api.Error\"d" +
-      "\n\021ParseProgram_Args\022\r\n\005paths\030\001 \003(\t\022\017\n\007so" +
-      "urces\030\002 \003(\t\022/\n\rexternal_pkgs\030\003 \003(\0132\030.com" +
-      ".kcl.api.ExternalPkg\"Z\n\023ParseProgram_Res" +
-      "ult\022\020\n\010ast_json\030\001 \001(\t\022\r\n\005paths\030\002 \003(\t\022\"\n\006" +
-      "errors\030\003 \003(\0132\022.com.kcl.api.Error\"\211\001\n\020Loa" +
-      "dPackage_Args\0222\n\nparse_args\030\001 \001(\0132\036.com." +
-      "kcl.api.ParseProgram_Args\022\023\n\013resolve_ast" +
-      "\030\002 \001(\010\022\024\n\014load_builtin\030\003 \001(\010\022\026\n\016with_ast" +
-      "_index\030\004 \001(\010\"\367\007\n\022LoadPackage_Result\022\017\n\007p" +
-      "rogram\030\001 \001(\t\022\r\n\005paths\030\002 \003(\t\022(\n\014parse_err" +
-      "ors\030\003 \003(\0132\022.com.kcl.api.Error\022\'\n\013type_er" +
-      "rors\030\004 \003(\0132\022.com.kcl.api.Error\022;\n\006scopes" +
-      "\030\005 \003(\0132+.com.kcl.api.LoadPackage_Result." +
-      "ScopesEntry\022=\n\007symbols\030\006 \003(\0132,.com.kcl.a" +
-      "pi.LoadPackage_Result.SymbolsEntry\022K\n\017no" +
-      "de_symbol_map\030\007 \003(\01322.com.kcl.api.LoadPa" +
-      "ckage_Result.NodeSymbolMapEntry\022K\n\017symbo" +
-      "l_node_map\030\010 \003(\01322.com.kcl.api.LoadPacka" +
-      "ge_Result.SymbolNodeMapEntry\022\\\n\030fully_qu" +
-      "alified_name_map\030\t \003(\0132:.com.kcl.api.Loa" +
-      "dPackage_Result.FullyQualifiedNameMapEnt" +
-      "ry\022G\n\rpkg_scope_map\030\n \003(\01320.com.kcl.api." +
-      "LoadPackage_Result.PkgScopeMapEntry\032A\n\013S" +
-      "copesEntry\022\013\n\003key\030\001 \001(\t\022!\n\005value\030\002 \001(\0132\022" +
-      ".com.kcl.api.Scope:\0028\001\032C\n\014SymbolsEntry\022\013" +
-      "\n\003key\030\001 \001(\t\022\"\n\005value\030\002 \001(\0132\023.com.kcl.api" +
-      ".Symbol:\0028\001\032N\n\022NodeSymbolMapEntry\022\013\n\003key" +
-      "\030\001 \001(\t\022\'\n\005value\030\002 \001(\0132\030.com.kcl.api.Symb" +
-      "olIndex:\0028\001\0324\n\022SymbolNodeMapEntry\022\013\n\003key" +
-      "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032V\n\032FullyQualif" +
-      "iedNameMapEntry\022\013\n\003key\030\001 \001(\t\022\'\n\005value\030\002 " +
-      "\001(\0132\030.com.kcl.api.SymbolIndex:\0028\001\032K\n\020Pkg" +
-      "ScopeMapEntry\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002 \001(" +
-      "\0132\027.com.kcl.api.ScopeIndex:\0028\001\">\n\022ListOp" +
-      "tions_Result\022(\n\007options\030\002 \003(\0132\027.com.kcl." +
-      "api.OptionHelp\"_\n\nOptionHelp\022\014\n\004name\030\001 \001" +
-      "(\t\022\014\n\004type\030\002 \001(\t\022\020\n\010required\030\003 \001(\010\022\025\n\rde" +
-      "fault_value\030\004 \001(\t\022\014\n\004help\030\005 \001(\t\"\304\001\n\006Symb" +
-      "ol\022 \n\002ty\030\001 \001(\0132\024.com.kcl.api.KclType\022\014\n\004" +
-      "name\030\002 \001(\t\022\'\n\005owner\030\003 \001(\0132\030.com.kcl.api." +
-      "SymbolIndex\022%\n\003def\030\004 \001(\0132\030.com.kcl.api.S" +
-      "ymbolIndex\022\'\n\005attrs\030\005 \003(\0132\030.com.kcl.api." +
-      "SymbolIndex\022\021\n\tis_global\030\006 \001(\010\"\272\001\n\005Scope" +
-      "\022\014\n\004kind\030\001 \001(\t\022\'\n\006parent\030\002 \001(\0132\027.com.kcl" +
-      ".api.ScopeIndex\022\'\n\005owner\030\003 \001(\0132\030.com.kcl" +
-      ".api.SymbolIndex\022)\n\010children\030\004 \003(\0132\027.com" +
-      ".kcl.api.ScopeIndex\022&\n\004defs\030\005 \003(\0132\030.com." +
-      "kcl.api.SymbolIndex\"1\n\013SymbolIndex\022\t\n\001i\030" +
-      "\001 \001(\004\022\t\n\001g\030\002 \001(\004\022\014\n\004kind\030\003 \001(\t\"0\n\nScopeI" +
-      "ndex\022\t\n\001i\030\001 \001(\004\022\t\n\001g\030\002 \001(\004\022\014\n\004kind\030\003 \001(\t" +
-      "\"\320\003\n\020ExecProgram_Args\022\020\n\010work_dir\030\001 \001(\t\022" +
-      "\027\n\017k_filename_list\030\002 \003(\t\022\023\n\013k_code_list\030" +
-      "\003 \003(\t\022#\n\004args\030\004 \003(\0132\025.com.kcl.api.Argume" +
-      "nt\022\021\n\toverrides\030\005 \003(\t\022\033\n\023disable_yaml_re" +
-      "sult\030\006 \001(\010\022\032\n\022print_override_ast\030\007 \001(\010\022\032" +
-      "\n\022strict_range_check\030\010 \001(\010\022\024\n\014disable_no" +
-      "ne\030\t \001(\010\022\017\n\007verbose\030\n \001(\005\022\r\n\005debug\030\013 \001(\005" +
-      "\022\021\n\tsort_keys\030\014 \001(\010\022/\n\rexternal_pkgs\030\r \003" +
-      "(\0132\030.com.kcl.api.ExternalPkg\022 \n\030include_" +
-      "schema_type_path\030\016 \001(\010\022\024\n\014compile_only\030\017" +
-      " \001(\010\022\023\n\013show_hidden\030\020 \001(\010\022\025\n\rpath_select" +
-      "or\030\021 \003(\t\022\021\n\tfast_eval\030\022 \001(\010\"h\n\022ExecProgr" +
-      "am_Result\022\023\n\013json_result\030\001 \001(\t\022\023\n\013yaml_r" +
-      "esult\030\002 \001(\t\022\023\n\013log_message\030\003 \001(\t\022\023\n\013err_" +
-      "message\030\004 \001(\t\"U\n\021BuildProgram_Args\0220\n\tex" +
-      "ec_args\030\001 \001(\0132\035.com.kcl.api.ExecProgram_" +
-      "Args\022\016\n\006output\030\002 \001(\t\"#\n\023BuildProgram_Res" +
-      "ult\022\014\n\004path\030\001 \001(\t\"S\n\021ExecArtifact_Args\022\014" +
-      "\n\004path\030\001 \001(\t\0220\n\texec_args\030\002 \001(\0132\035.com.kc" +
-      "l.api.ExecProgram_Args\"!\n\017FormatCode_Arg" +
-      "s\022\016\n\006source\030\001 \001(\t\"&\n\021FormatCode_Result\022\021" +
-      "\n\tformatted\030\001 \001(\014\"\037\n\017FormatPath_Args\022\014\n\004" +
-      "path\030\001 \001(\t\"*\n\021FormatPath_Result\022\025\n\rchang" +
-      "ed_paths\030\001 \003(\t\"\036\n\rLintPath_Args\022\r\n\005paths" +
-      "\030\001 \003(\t\"\"\n\017LintPath_Result\022\017\n\007results\030\001 \003" +
-      "(\t\"F\n\021OverrideFile_Args\022\014\n\004file\030\001 \001(\t\022\r\n" +
-      "\005specs\030\002 \003(\t\022\024\n\014import_paths\030\003 \003(\t\"O\n\023Ov" +
-      "errideFile_Result\022\016\n\006result\030\001 \001(\010\022(\n\014par" +
-      "se_errors\030\002 \003(\0132\022.com.kcl.api.Error\".\n\025L" +
-      "istVariables_Options\022\025\n\rmerge_program\030\001 " +
-      "\001(\010\"8\n\014VariableList\022(\n\tvariables\030\001 \003(\0132\025" +
-      ".com.kcl.api.Variable\"g\n\022ListVariables_A" +
-      "rgs\022\r\n\005files\030\001 \003(\t\022\r\n\005specs\030\002 \003(\t\0223\n\007opt" +
-      "ions\030\003 \001(\0132\".com.kcl.api.ListVariables_O" +
-      "ptions\"\355\001\n\024ListVariables_Result\022C\n\tvaria" +
-      "bles\030\001 \003(\01320.com.kcl.api.ListVariables_R" +
+      "cl.api.Position\"\031\n\010PingArgs\022\r\n\005value\030\001 \001" +
+      "(\t\"\033\n\nPingResult\022\r\n\005value\030\001 \001(\t\"\020\n\016GetVe" +
+      "rsionArgs\"\\\n\020GetVersionResult\022\017\n\007version" +
+      "\030\001 \001(\t\022\020\n\010checksum\030\002 \001(\t\022\017\n\007git_sha\030\003 \001(" +
+      "\t\022\024\n\014version_info\030\004 \001(\t\"\020\n\016ListMethodArg" +
+      "s\",\n\020ListMethodResult\022\030\n\020method_name_lis" +
+      "t\030\001 \003(\t\"^\n\rParseFileArgs\022\014\n\004path\030\001 \001(\t\022\016" +
+      "\n\006source\030\002 \001(\t\022/\n\rexternal_pkgs\030\003 \003(\0132\030." +
+      "com.kcl.api.ExternalPkg\"U\n\017ParseFileResu" +
+      "lt\022\020\n\010ast_json\030\001 \001(\t\022\014\n\004deps\030\002 \003(\t\022\"\n\006er" +
+      "rors\030\003 \003(\0132\022.com.kcl.api.Error\"c\n\020ParseP" +
+      "rogramArgs\022\r\n\005paths\030\001 \003(\t\022\017\n\007sources\030\002 \003" +
+      "(\t\022/\n\rexternal_pkgs\030\003 \003(\0132\030.com.kcl.api." +
+      "ExternalPkg\"Y\n\022ParseProgramResult\022\020\n\010ast" +
+      "_json\030\001 \001(\t\022\r\n\005paths\030\002 \003(\t\022\"\n\006errors\030\003 \003" +
+      "(\0132\022.com.kcl.api.Error\"\207\001\n\017LoadPackageAr" +
+      "gs\0221\n\nparse_args\030\001 \001(\0132\035.com.kcl.api.Par" +
+      "seProgramArgs\022\023\n\013resolve_ast\030\002 \001(\010\022\024\n\014lo" +
+      "ad_builtin\030\003 \001(\010\022\026\n\016with_ast_index\030\004 \001(\010" +
+      "\"\360\007\n\021LoadPackageResult\022\017\n\007program\030\001 \001(\t\022" +
+      "\r\n\005paths\030\002 \003(\t\022(\n\014parse_errors\030\003 \003(\0132\022.c" +
+      "om.kcl.api.Error\022\'\n\013type_errors\030\004 \003(\0132\022." +
+      "com.kcl.api.Error\022:\n\006scopes\030\005 \003(\0132*.com." +
+      "kcl.api.LoadPackageResult.ScopesEntry\022<\n" +
+      "\007symbols\030\006 \003(\0132+.com.kcl.api.LoadPackage" +
+      "Result.SymbolsEntry\022J\n\017node_symbol_map\030\007" +
+      " \003(\01321.com.kcl.api.LoadPackageResult.Nod" +
+      "eSymbolMapEntry\022J\n\017symbol_node_map\030\010 \003(\013" +
+      "21.com.kcl.api.LoadPackageResult.SymbolN" +
+      "odeMapEntry\022[\n\030fully_qualified_name_map\030" +
+      "\t \003(\01329.com.kcl.api.LoadPackageResult.Fu" +
+      "llyQualifiedNameMapEntry\022F\n\rpkg_scope_ma" +
+      "p\030\n \003(\0132/.com.kcl.api.LoadPackageResult." +
+      "PkgScopeMapEntry\032A\n\013ScopesEntry\022\013\n\003key\030\001" +
+      " \001(\t\022!\n\005value\030\002 \001(\0132\022.com.kcl.api.Scope:" +
+      "\0028\001\032C\n\014SymbolsEntry\022\013\n\003key\030\001 \001(\t\022\"\n\005valu" +
+      "e\030\002 \001(\0132\023.com.kcl.api.Symbol:\0028\001\032N\n\022Node" +
+      "SymbolMapEntry\022\013\n\003key\030\001 \001(\t\022\'\n\005value\030\002 \001" +
+      "(\0132\030.com.kcl.api.SymbolIndex:\0028\001\0324\n\022Symb" +
+      "olNodeMapEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" +
+      "(\t:\0028\001\032V\n\032FullyQualifiedNameMapEntry\022\013\n\003" +
+      "key\030\001 \001(\t\022\'\n\005value\030\002 \001(\0132\030.com.kcl.api.S" +
+      "ymbolIndex:\0028\001\032K\n\020PkgScopeMapEntry\022\013\n\003ke" +
+      "y\030\001 \001(\t\022&\n\005value\030\002 \001(\0132\027.com.kcl.api.Sco" +
+      "peIndex:\0028\001\"=\n\021ListOptionsResult\022(\n\007opti" +
+      "ons\030\002 \003(\0132\027.com.kcl.api.OptionHelp\"_\n\nOp" +
+      "tionHelp\022\014\n\004name\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022\020\n\010" +
+      "required\030\003 \001(\010\022\025\n\rdefault_value\030\004 \001(\t\022\014\n" +
+      "\004help\030\005 \001(\t\"\304\001\n\006Symbol\022 \n\002ty\030\001 \001(\0132\024.com" +
+      ".kcl.api.KclType\022\014\n\004name\030\002 \001(\t\022\'\n\005owner\030" +
+      "\003 \001(\0132\030.com.kcl.api.SymbolIndex\022%\n\003def\030\004" +
+      " \001(\0132\030.com.kcl.api.SymbolIndex\022\'\n\005attrs\030" +
+      "\005 \003(\0132\030.com.kcl.api.SymbolIndex\022\021\n\tis_gl" +
+      "obal\030\006 \001(\010\"\272\001\n\005Scope\022\014\n\004kind\030\001 \001(\t\022\'\n\006pa" +
+      "rent\030\002 \001(\0132\027.com.kcl.api.ScopeIndex\022\'\n\005o" +
+      "wner\030\003 \001(\0132\030.com.kcl.api.SymbolIndex\022)\n\010" +
+      "children\030\004 \003(\0132\027.com.kcl.api.ScopeIndex\022" +
+      "&\n\004defs\030\005 \003(\0132\030.com.kcl.api.SymbolIndex\"" +
+      "1\n\013SymbolIndex\022\t\n\001i\030\001 \001(\004\022\t\n\001g\030\002 \001(\004\022\014\n\004" +
+      "kind\030\003 \001(\t\"0\n\nScopeIndex\022\t\n\001i\030\001 \001(\004\022\t\n\001g" +
+      "\030\002 \001(\004\022\014\n\004kind\030\003 \001(\t\"\317\003\n\017ExecProgramArgs" +
+      "\022\020\n\010work_dir\030\001 \001(\t\022\027\n\017k_filename_list\030\002 " +
+      "\003(\t\022\023\n\013k_code_list\030\003 \003(\t\022#\n\004args\030\004 \003(\0132\025" +
+      ".com.kcl.api.Argument\022\021\n\toverrides\030\005 \003(\t" +
+      "\022\033\n\023disable_yaml_result\030\006 \001(\010\022\032\n\022print_o" +
+      "verride_ast\030\007 \001(\010\022\032\n\022strict_range_check\030" +
+      "\010 \001(\010\022\024\n\014disable_none\030\t \001(\010\022\017\n\007verbose\030\n" +
+      " \001(\005\022\r\n\005debug\030\013 \001(\005\022\021\n\tsort_keys\030\014 \001(\010\022/" +
+      "\n\rexternal_pkgs\030\r \003(\0132\030.com.kcl.api.Exte" +
+      "rnalPkg\022 \n\030include_schema_type_path\030\016 \001(" +
+      "\010\022\024\n\014compile_only\030\017 \001(\010\022\023\n\013show_hidden\030\020" +
+      " \001(\010\022\025\n\rpath_selector\030\021 \003(\t\022\021\n\tfast_eval" +
+      "\030\022 \001(\010\"g\n\021ExecProgramResult\022\023\n\013json_resu" +
+      "lt\030\001 \001(\t\022\023\n\013yaml_result\030\002 \001(\t\022\023\n\013log_mes" +
+      "sage\030\003 \001(\t\022\023\n\013err_message\030\004 \001(\t\"S\n\020Build" +
+      "ProgramArgs\022/\n\texec_args\030\001 \001(\0132\034.com.kcl" +
+      ".api.ExecProgramArgs\022\016\n\006output\030\002 \001(\t\"\"\n\022" +
+      "BuildProgramResult\022\014\n\004path\030\001 \001(\t\"Q\n\020Exec" +
+      "ArtifactArgs\022\014\n\004path\030\001 \001(\t\022/\n\texec_args\030" +
+      "\002 \001(\0132\034.com.kcl.api.ExecProgramArgs\" \n\016F" +
+      "ormatCodeArgs\022\016\n\006source\030\001 \001(\t\"%\n\020FormatC" +
+      "odeResult\022\021\n\tformatted\030\001 \001(\014\"\036\n\016FormatPa" +
+      "thArgs\022\014\n\004path\030\001 \001(\t\")\n\020FormatPathResult" +
+      "\022\025\n\rchanged_paths\030\001 \003(\t\"\035\n\014LintPathArgs\022" +
+      "\r\n\005paths\030\001 \003(\t\"!\n\016LintPathResult\022\017\n\007resu" +
+      "lts\030\001 \003(\t\"E\n\020OverrideFileArgs\022\014\n\004file\030\001 " +
+      "\001(\t\022\r\n\005specs\030\002 \003(\t\022\024\n\014import_paths\030\003 \003(\t" +
+      "\"N\n\022OverrideFileResult\022\016\n\006result\030\001 \001(\010\022(" +
+      "\n\014parse_errors\030\002 \003(\0132\022.com.kcl.api.Error" +
+      "\"-\n\024ListVariablesOptions\022\025\n\rmerge_progra" +
+      "m\030\001 \001(\010\"8\n\014VariableList\022(\n\tvariables\030\001 \003" +
+      "(\0132\025.com.kcl.api.Variable\"e\n\021ListVariabl" +
+      "esArgs\022\r\n\005files\030\001 \003(\t\022\r\n\005specs\030\002 \003(\t\0222\n\007" +
+      "options\030\003 \001(\0132!.com.kcl.api.ListVariable" +
+      "sOptions\"\353\001\n\023ListVariablesResult\022B\n\tvari" +
+      "ables\030\001 \003(\0132/.com.kcl.api.ListVariablesR" +
       "esult.VariablesEntry\022\031\n\021unsupported_code" +
       "s\030\002 \003(\t\022(\n\014parse_errors\030\003 \003(\0132\022.com.kcl." +
       "api.Error\032K\n\016VariablesEntry\022\013\n\003key\030\001 \001(\t" +
@@ -71901,594 +73546,617 @@ public com.kcl.api.Spec.Example getDefaultInstanceForType() {
       "ems\030\004 \003(\0132\025.com.kcl.api.Variable\022+\n\014dict" +
       "_entries\030\005 \003(\0132\025.com.kcl.api.MapEntry\"=\n" +
       "\010MapEntry\022\013\n\003key\030\001 \001(\t\022$\n\005value\030\002 \001(\0132\025." +
-      "com.kcl.api.Variable\"b\n\031GetSchemaTypeMap" +
-      "ping_Args\0220\n\texec_args\030\001 \001(\0132\035.com.kcl.a" +
-      "pi.ExecProgram_Args\022\023\n\013schema_name\030\002 \001(\t" +
-      "\"\313\001\n\033GetSchemaTypeMapping_Result\022\\\n\023sche" +
-      "ma_type_mapping\030\001 \003(\0132?.com.kcl.api.GetS" +
-      "chemaTypeMapping_Result.SchemaTypeMappin" +
-      "gEntry\032N\n\026SchemaTypeMappingEntry\022\013\n\003key\030" +
-      "\001 \001(\t\022#\n\005value\030\002 \001(\0132\024.com.kcl.api.KclTy" +
-      "pe:\0028\001\"\270\001\n\021ValidateCode_Args\022\020\n\010datafile" +
-      "\030\001 \001(\t\022\014\n\004data\030\002 \001(\t\022\014\n\004file\030\003 \001(\t\022\014\n\004co" +
-      "de\030\004 \001(\t\022\016\n\006schema\030\005 \001(\t\022\026\n\016attribute_na" +
-      "me\030\006 \001(\t\022\016\n\006format\030\007 \001(\t\022/\n\rexternal_pkg" +
-      "s\030\010 \003(\0132\030.com.kcl.api.ExternalPkg\";\n\023Val" +
-      "idateCode_Result\022\017\n\007success\030\001 \001(\010\022\023\n\013err" +
-      "_message\030\002 \001(\t\":\n\010Position\022\014\n\004line\030\001 \001(\003" +
-      "\022\016\n\006column\030\002 \001(\003\022\020\n\010filename\030\003 \001(\t\"i\n\021Li" +
-      "stDepFiles_Args\022\020\n\010work_dir\030\001 \001(\t\022\024\n\014use" +
-      "_abs_path\030\002 \001(\010\022\023\n\013include_all\030\003 \001(\010\022\027\n\017" +
-      "use_fast_parser\030\004 \001(\010\"F\n\023ListDepFiles_Re" +
-      "sult\022\017\n\007pkgroot\030\001 \001(\t\022\017\n\007pkgpath\030\002 \001(\t\022\r" +
-      "\n\005files\030\003 \003(\t\"9\n\026LoadSettingsFiles_Args\022" +
-      "\020\n\010work_dir\030\001 \001(\t\022\r\n\005files\030\002 \003(\t\"{\n\030Load" +
-      "SettingsFiles_Result\022/\n\017kcl_cli_configs\030" +
-      "\001 \001(\0132\026.com.kcl.api.CliConfig\022.\n\013kcl_opt" +
-      "ions\030\002 \003(\0132\031.com.kcl.api.KeyValuePair\"\203\002" +
-      "\n\tCliConfig\022\r\n\005files\030\001 \003(\t\022\016\n\006output\030\002 \001" +
-      "(\t\022\021\n\toverrides\030\003 \003(\t\022\025\n\rpath_selector\030\004" +
-      " \003(\t\022\032\n\022strict_range_check\030\005 \001(\010\022\024\n\014disa" +
-      "ble_none\030\006 \001(\010\022\017\n\007verbose\030\007 \001(\003\022\r\n\005debug" +
-      "\030\010 \001(\010\022\021\n\tsort_keys\030\t \001(\010\022\023\n\013show_hidden" +
-      "\030\n \001(\010\022 \n\030include_schema_type_path\030\013 \001(\010" +
-      "\022\021\n\tfast_eval\030\014 \001(\010\"*\n\014KeyValuePair\022\013\n\003k" +
-      "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"^\n\013Rename_Args\022\024" +
-      "\n\014package_root\030\001 \001(\t\022\023\n\013symbol_path\030\002 \001(" +
-      "\t\022\022\n\nfile_paths\030\003 \003(\t\022\020\n\010new_name\030\004 \001(\t\"" +
-      "&\n\rRename_Result\022\025\n\rchanged_files\030\001 \003(\t\"" +
-      "\307\001\n\017RenameCode_Args\022\024\n\014package_root\030\001 \001(" +
-      "\t\022\023\n\013symbol_path\030\002 \001(\t\022C\n\014source_codes\030\003" +
-      " \003(\0132-.com.kcl.api.RenameCode_Args.Sourc" +
-      "eCodesEntry\022\020\n\010new_name\030\004 \001(\t\0322\n\020SourceC" +
-      "odesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" +
-      "\001\"\221\001\n\021RenameCode_Result\022G\n\rchanged_codes" +
-      "\030\001 \003(\01320.com.kcl.api.RenameCode_Result.C" +
-      "hangedCodesEntry\0323\n\021ChangedCodesEntry\022\013\n" +
-      "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"v\n\tTest_Ar" +
-      "gs\0220\n\texec_args\030\001 \001(\0132\035.com.kcl.api.Exec" +
-      "Program_Args\022\020\n\010pkg_list\030\002 \003(\t\022\022\n\nrun_re" +
-      "gexp\030\003 \001(\t\022\021\n\tfail_fast\030\004 \001(\010\"6\n\013Test_Re" +
-      "sult\022\'\n\004info\030\002 \003(\0132\031.com.kcl.api.TestCas" +
-      "eInfo\"R\n\014TestCaseInfo\022\014\n\004name\030\001 \001(\t\022\r\n\005e" +
-      "rror\030\002 \001(\t\022\020\n\010duration\030\003 \001(\004\022\023\n\013log_mess" +
-      "age\030\004 \001(\t\"@\n\027UpdateDependencies_Args\022\025\n\r" +
-      "manifest_path\030\001 \001(\t\022\016\n\006vendor\030\002 \001(\010\"L\n\031U" +
-      "pdateDependencies_Result\022/\n\rexternal_pkg" +
-      "s\030\003 \003(\0132\030.com.kcl.api.ExternalPkg\"\363\004\n\007Kc" +
-      "lType\022\014\n\004type\030\001 \001(\t\022)\n\013union_types\030\002 \003(\013" +
-      "2\024.com.kcl.api.KclType\022\017\n\007default\030\003 \001(\t\022" +
-      "\023\n\013schema_name\030\004 \001(\t\022\022\n\nschema_doc\030\005 \001(\t" +
-      "\0228\n\nproperties\030\006 \003(\0132$.com.kcl.api.KclTy" +
-      "pe.PropertiesEntry\022\020\n\010required\030\007 \003(\t\022!\n\003" +
-      "key\030\010 \001(\0132\024.com.kcl.api.KclType\022\"\n\004item\030" +
-      "\t \001(\0132\024.com.kcl.api.KclType\022\014\n\004line\030\n \001(" +
-      "\005\022*\n\ndecorators\030\013 \003(\0132\026.com.kcl.api.Deco" +
-      "rator\022\020\n\010filename\030\014 \001(\t\022\020\n\010pkg_path\030\r \001(" +
-      "\t\022\023\n\013description\030\016 \001(\t\0224\n\010examples\030\017 \003(\013" +
-      "2\".com.kcl.api.KclType.ExamplesEntry\022)\n\013" +
-      "base_schema\030\020 \001(\0132\024.com.kcl.api.KclType\032" +
-      "G\n\017PropertiesEntry\022\013\n\003key\030\001 \001(\t\022#\n\005value" +
-      "\030\002 \001(\0132\024.com.kcl.api.KclType:\0028\001\032E\n\rExam" +
-      "plesEntry\022\013\n\003key\030\001 \001(\t\022#\n\005value\030\002 \001(\0132\024." +
-      "com.kcl.api.Example:\0028\001\"\225\001\n\tDecorator\022\014\n" +
-      "\004name\030\001 \001(\t\022\021\n\targuments\030\002 \003(\t\0226\n\010keywor" +
-      "ds\030\003 \003(\0132$.com.kcl.api.Decorator.Keyword" +
-      "sEntry\032/\n\rKeywordsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" +
-      "value\030\002 \001(\t:\0028\001\">\n\007Example\022\017\n\007summary\030\001 " +
-      "\001(\t\022\023\n\013description\030\002 \001(\t\022\r\n\005value\030\003 \001(\t2" +
-      "\226\001\n\016BuiltinService\0228\n\004Ping\022\026.com.kcl.api" +
-      ".Ping_Args\032\030.com.kcl.api.Ping_Result\022J\n\n" +
-      "ListMethod\022\034.com.kcl.api.ListMethod_Args" +
-      "\032\036.com.kcl.api.ListMethod_Result2\336\r\n\014Kcl" +
-      "vmService\0228\n\004Ping\022\026.com.kcl.api.Ping_Arg" +
-      "s\032\030.com.kcl.api.Ping_Result\022J\n\nGetVersio" +
-      "n\022\034.com.kcl.api.GetVersion_Args\032\036.com.kc" +
-      "l.api.GetVersion_Result\022P\n\014ParseProgram\022" +
-      "\036.com.kcl.api.ParseProgram_Args\032 .com.kc" +
-      "l.api.ParseProgram_Result\022G\n\tParseFile\022\033" +
-      ".com.kcl.api.ParseFile_Args\032\035.com.kcl.ap" +
-      "i.ParseFile_Result\022M\n\013LoadPackage\022\035.com." +
-      "kcl.api.LoadPackage_Args\032\037.com.kcl.api.L" +
-      "oadPackage_Result\022N\n\013ListOptions\022\036.com.k" +
-      "cl.api.ParseProgram_Args\032\037.com.kcl.api.L" +
-      "istOptions_Result\022S\n\rListVariables\022\037.com" +
-      ".kcl.api.ListVariables_Args\032!.com.kcl.ap" +
-      "i.ListVariables_Result\022M\n\013ExecProgram\022\035." +
-      "com.kcl.api.ExecProgram_Args\032\037.com.kcl.a" +
-      "pi.ExecProgram_Result\022P\n\014BuildProgram\022\036." +
-      "com.kcl.api.BuildProgram_Args\032 .com.kcl." +
-      "api.BuildProgram_Result\022O\n\014ExecArtifact\022" +
-      "\036.com.kcl.api.ExecArtifact_Args\032\037.com.kc" +
-      "l.api.ExecProgram_Result\022P\n\014OverrideFile" +
-      "\022\036.com.kcl.api.OverrideFile_Args\032 .com.k" +
-      "cl.api.OverrideFile_Result\022h\n\024GetSchemaT" +
-      "ypeMapping\022&.com.kcl.api.GetSchemaTypeMa" +
-      "pping_Args\032(.com.kcl.api.GetSchemaTypeMa" +
-      "pping_Result\022J\n\nFormatCode\022\034.com.kcl.api" +
-      ".FormatCode_Args\032\036.com.kcl.api.FormatCod" +
-      "e_Result\022J\n\nFormatPath\022\034.com.kcl.api.For" +
-      "matPath_Args\032\036.com.kcl.api.FormatPath_Re" +
-      "sult\022D\n\010LintPath\022\032.com.kcl.api.LintPath_" +
-      "Args\032\034.com.kcl.api.LintPath_Result\022P\n\014Va" +
-      "lidateCode\022\036.com.kcl.api.ValidateCode_Ar" +
-      "gs\032 .com.kcl.api.ValidateCode_Result\022P\n\014" +
-      "ListDepFiles\022\036.com.kcl.api.ListDepFiles_" +
-      "Args\032 .com.kcl.api.ListDepFiles_Result\022_" +
-      "\n\021LoadSettingsFiles\022#.com.kcl.api.LoadSe" +
-      "ttingsFiles_Args\032%.com.kcl.api.LoadSetti" +
-      "ngsFiles_Result\022>\n\006Rename\022\030.com.kcl.api." +
-      "Rename_Args\032\032.com.kcl.api.Rename_Result\022" +
-      "J\n\nRenameCode\022\034.com.kcl.api.RenameCode_A" +
-      "rgs\032\036.com.kcl.api.RenameCode_Result\0228\n\004T" +
-      "est\022\026.com.kcl.api.Test_Args\032\030.com.kcl.ap" +
-      "i.Test_Result\022b\n\022UpdateDependencies\022$.co" +
-      "m.kcl.api.UpdateDependencies_Args\032&.com." +
-      "kcl.api.UpdateDependencies_ResultB\024Z\005.;a" +
-      "pi\252\002\nKclLib.APIb\006proto3"
+      "com.kcl.api.Variable\"`\n\030GetSchemaTypeMap" +
+      "pingArgs\022/\n\texec_args\030\001 \001(\0132\034.com.kcl.ap" +
+      "i.ExecProgramArgs\022\023\n\013schema_name\030\002 \001(\t\"\311" +
+      "\001\n\032GetSchemaTypeMappingResult\022[\n\023schema_" +
+      "type_mapping\030\001 \003(\0132>.com.kcl.api.GetSche" +
+      "maTypeMappingResult.SchemaTypeMappingEnt" +
+      "ry\032N\n\026SchemaTypeMappingEntry\022\013\n\003key\030\001 \001(" +
+      "\t\022#\n\005value\030\002 \001(\0132\024.com.kcl.api.KclType:\002" +
+      "8\001\"\337\001\n#GetSchemaTypeMappingUnderPathResu" +
+      "lt\022d\n\023schema_type_mapping\030\001 \003(\0132G.com.kc" +
+      "l.api.GetSchemaTypeMappingUnderPathResul" +
+      "t.SchemaTypeMappingEntry\032R\n\026SchemaTypeMa" +
+      "ppingEntry\022\013\n\003key\030\001 \001(\t\022\'\n\005value\030\002 \001(\0132\030" +
+      ".com.kcl.api.SchemaTypes:\0028\001\"8\n\013SchemaTy" +
+      "pes\022)\n\013schema_type\030\001 \003(\0132\024.com.kcl.api.K" +
+      "clType\"\267\001\n\020ValidateCodeArgs\022\020\n\010datafile\030" +
+      "\001 \001(\t\022\014\n\004data\030\002 \001(\t\022\014\n\004file\030\003 \001(\t\022\014\n\004cod" +
+      "e\030\004 \001(\t\022\016\n\006schema\030\005 \001(\t\022\026\n\016attribute_nam" +
+      "e\030\006 \001(\t\022\016\n\006format\030\007 \001(\t\022/\n\rexternal_pkgs" +
+      "\030\010 \003(\0132\030.com.kcl.api.ExternalPkg\":\n\022Vali" +
+      "dateCodeResult\022\017\n\007success\030\001 \001(\010\022\023\n\013err_m" +
+      "essage\030\002 \001(\t\":\n\010Position\022\014\n\004line\030\001 \001(\003\022\016" +
+      "\n\006column\030\002 \001(\003\022\020\n\010filename\030\003 \001(\t\"h\n\020List" +
+      "DepFilesArgs\022\020\n\010work_dir\030\001 \001(\t\022\024\n\014use_ab" +
+      "s_path\030\002 \001(\010\022\023\n\013include_all\030\003 \001(\010\022\027\n\017use" +
+      "_fast_parser\030\004 \001(\010\"E\n\022ListDepFilesResult" +
+      "\022\017\n\007pkgroot\030\001 \001(\t\022\017\n\007pkgpath\030\002 \001(\t\022\r\n\005fi" +
+      "les\030\003 \003(\t\"8\n\025LoadSettingsFilesArgs\022\020\n\010wo" +
+      "rk_dir\030\001 \001(\t\022\r\n\005files\030\002 \003(\t\"z\n\027LoadSetti" +
+      "ngsFilesResult\022/\n\017kcl_cli_configs\030\001 \001(\0132" +
+      "\026.com.kcl.api.CliConfig\022.\n\013kcl_options\030\002" +
+      " \003(\0132\031.com.kcl.api.KeyValuePair\"\203\002\n\tCliC" +
+      "onfig\022\r\n\005files\030\001 \003(\t\022\016\n\006output\030\002 \001(\t\022\021\n\t" +
+      "overrides\030\003 \003(\t\022\025\n\rpath_selector\030\004 \003(\t\022\032" +
+      "\n\022strict_range_check\030\005 \001(\010\022\024\n\014disable_no" +
+      "ne\030\006 \001(\010\022\017\n\007verbose\030\007 \001(\003\022\r\n\005debug\030\010 \001(\010" +
+      "\022\021\n\tsort_keys\030\t \001(\010\022\023\n\013show_hidden\030\n \001(\010" +
+      "\022 \n\030include_schema_type_path\030\013 \001(\010\022\021\n\tfa" +
+      "st_eval\030\014 \001(\010\"*\n\014KeyValuePair\022\013\n\003key\030\001 \001" +
+      "(\t\022\r\n\005value\030\002 \001(\t\"]\n\nRenameArgs\022\024\n\014packa" +
+      "ge_root\030\001 \001(\t\022\023\n\013symbol_path\030\002 \001(\t\022\022\n\nfi" +
+      "le_paths\030\003 \003(\t\022\020\n\010new_name\030\004 \001(\t\"%\n\014Rena" +
+      "meResult\022\025\n\rchanged_files\030\001 \003(\t\"\305\001\n\016Rena" +
+      "meCodeArgs\022\024\n\014package_root\030\001 \001(\t\022\023\n\013symb" +
+      "ol_path\030\002 \001(\t\022B\n\014source_codes\030\003 \003(\0132,.co" +
+      "m.kcl.api.RenameCodeArgs.SourceCodesEntr" +
+      "y\022\020\n\010new_name\030\004 \001(\t\0322\n\020SourceCodesEntry\022" +
+      "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\217\001\n\020Rena" +
+      "meCodeResult\022F\n\rchanged_codes\030\001 \003(\0132/.co" +
+      "m.kcl.api.RenameCodeResult.ChangedCodesE" +
+      "ntry\0323\n\021ChangedCodesEntry\022\013\n\003key\030\001 \001(\t\022\r" +
+      "\n\005value\030\002 \001(\t:\0028\001\"t\n\010TestArgs\022/\n\texec_ar" +
+      "gs\030\001 \001(\0132\034.com.kcl.api.ExecProgramArgs\022\020" +
+      "\n\010pkg_list\030\002 \003(\t\022\022\n\nrun_regexp\030\003 \001(\t\022\021\n\t" +
+      "fail_fast\030\004 \001(\010\"5\n\nTestResult\022\'\n\004info\030\002 " +
+      "\003(\0132\031.com.kcl.api.TestCaseInfo\"R\n\014TestCa" +
+      "seInfo\022\014\n\004name\030\001 \001(\t\022\r\n\005error\030\002 \001(\t\022\020\n\010d" +
+      "uration\030\003 \001(\004\022\023\n\013log_message\030\004 \001(\t\"?\n\026Up" +
+      "dateDependenciesArgs\022\025\n\rmanifest_path\030\001 " +
+      "\001(\t\022\016\n\006vendor\030\002 \001(\010\"K\n\030UpdateDependencie" +
+      "sResult\022/\n\rexternal_pkgs\030\003 \003(\0132\030.com.kcl" +
+      ".api.ExternalPkg\"\363\004\n\007KclType\022\014\n\004type\030\001 \001" +
+      "(\t\022)\n\013union_types\030\002 \003(\0132\024.com.kcl.api.Kc" +
+      "lType\022\017\n\007default\030\003 \001(\t\022\023\n\013schema_name\030\004 " +
+      "\001(\t\022\022\n\nschema_doc\030\005 \001(\t\0228\n\nproperties\030\006 " +
+      "\003(\0132$.com.kcl.api.KclType.PropertiesEntr" +
+      "y\022\020\n\010required\030\007 \003(\t\022!\n\003key\030\010 \001(\0132\024.com.k" +
+      "cl.api.KclType\022\"\n\004item\030\t \001(\0132\024.com.kcl.a" +
+      "pi.KclType\022\014\n\004line\030\n \001(\005\022*\n\ndecorators\030\013" +
+      " \003(\0132\026.com.kcl.api.Decorator\022\020\n\010filename" +
+      "\030\014 \001(\t\022\020\n\010pkg_path\030\r \001(\t\022\023\n\013description\030" +
+      "\016 \001(\t\0224\n\010examples\030\017 \003(\0132\".com.kcl.api.Kc" +
+      "lType.ExamplesEntry\022)\n\013base_schema\030\020 \001(\013" +
+      "2\024.com.kcl.api.KclType\032G\n\017PropertiesEntr" +
+      "y\022\013\n\003key\030\001 \001(\t\022#\n\005value\030\002 \001(\0132\024.com.kcl." +
+      "api.KclType:\0028\001\032E\n\rExamplesEntry\022\013\n\003key\030" +
+      "\001 \001(\t\022#\n\005value\030\002 \001(\0132\024.com.kcl.api.Examp" +
+      "le:\0028\001\"\225\001\n\tDecorator\022\014\n\004name\030\001 \001(\t\022\021\n\tar" +
+      "guments\030\002 \003(\t\0226\n\010keywords\030\003 \003(\0132$.com.kc" +
+      "l.api.Decorator.KeywordsEntry\032/\n\rKeyword" +
+      "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\">" +
+      "\n\007Example\022\017\n\007summary\030\001 \001(\t\022\023\n\013descriptio" +
+      "n\030\002 \001(\t\022\r\n\005value\030\003 \001(\t2\222\001\n\016BuiltinServic" +
+      "e\0226\n\004Ping\022\025.com.kcl.api.PingArgs\032\027.com.k" +
+      "cl.api.PingResult\022H\n\nListMethod\022\033.com.kc" +
+      "l.api.ListMethodArgs\032\035.com.kcl.api.ListM" +
+      "ethodResult2\260\r\n\nKclService\0226\n\004Ping\022\025.com" +
+      ".kcl.api.PingArgs\032\027.com.kcl.api.PingResu" +
+      "lt\022H\n\nGetVersion\022\033.com.kcl.api.GetVersio" +
+      "nArgs\032\035.com.kcl.api.GetVersionResult\022N\n\014" +
+      "ParseProgram\022\035.com.kcl.api.ParseProgramA" +
+      "rgs\032\037.com.kcl.api.ParseProgramResult\022E\n\t" +
+      "ParseFile\022\032.com.kcl.api.ParseFileArgs\032\034." +
+      "com.kcl.api.ParseFileResult\022K\n\013LoadPacka" +
+      "ge\022\034.com.kcl.api.LoadPackageArgs\032\036.com.k" +
+      "cl.api.LoadPackageResult\022L\n\013ListOptions\022" +
+      "\035.com.kcl.api.ParseProgramArgs\032\036.com.kcl" +
+      ".api.ListOptionsResult\022Q\n\rListVariables\022" +
+      "\036.com.kcl.api.ListVariablesArgs\032 .com.kc" +
+      "l.api.ListVariablesResult\022K\n\013ExecProgram" +
+      "\022\034.com.kcl.api.ExecProgramArgs\032\036.com.kcl" +
+      ".api.ExecProgramResult\022N\n\014BuildProgram\022\035" +
+      ".com.kcl.api.BuildProgramArgs\032\037.com.kcl." +
+      "api.BuildProgramResult\022M\n\014ExecArtifact\022\035" +
+      ".com.kcl.api.ExecArtifactArgs\032\036.com.kcl." +
+      "api.ExecProgramResult\022N\n\014OverrideFile\022\035." +
+      "com.kcl.api.OverrideFileArgs\032\037.com.kcl.a" +
+      "pi.OverrideFileResult\022f\n\024GetSchemaTypeMa" +
+      "pping\022%.com.kcl.api.GetSchemaTypeMapping" +
+      "Args\032\'.com.kcl.api.GetSchemaTypeMappingR" +
+      "esult\022H\n\nFormatCode\022\033.com.kcl.api.Format" +
+      "CodeArgs\032\035.com.kcl.api.FormatCodeResult\022" +
+      "H\n\nFormatPath\022\033.com.kcl.api.FormatPathAr" +
+      "gs\032\035.com.kcl.api.FormatPathResult\022B\n\010Lin" +
+      "tPath\022\031.com.kcl.api.LintPathArgs\032\033.com.k" +
+      "cl.api.LintPathResult\022N\n\014ValidateCode\022\035." +
+      "com.kcl.api.ValidateCodeArgs\032\037.com.kcl.a" +
+      "pi.ValidateCodeResult\022N\n\014ListDepFiles\022\035." +
+      "com.kcl.api.ListDepFilesArgs\032\037.com.kcl.a" +
+      "pi.ListDepFilesResult\022]\n\021LoadSettingsFil" +
+      "es\022\".com.kcl.api.LoadSettingsFilesArgs\032$" +
+      ".com.kcl.api.LoadSettingsFilesResult\022<\n\006" +
+      "Rename\022\027.com.kcl.api.RenameArgs\032\031.com.kc" +
+      "l.api.RenameResult\022H\n\nRenameCode\022\033.com.k" +
+      "cl.api.RenameCodeArgs\032\035.com.kcl.api.Rena" +
+      "meCodeResult\0226\n\004Test\022\025.com.kcl.api.TestA" +
+      "rgs\032\027.com.kcl.api.TestResult\022`\n\022UpdateDe" +
+      "pendencies\022#.com.kcl.api.UpdateDependenc" +
+      "iesArgs\032%.com.kcl.api.UpdateDependencies" +
+      "ResultB\024Z\005.;api\252\002\nKclLib.APIb\006proto3"
     };
     descriptor = com.google.protobuf.Descriptors.FileDescriptor
       .internalBuildGeneratedFileFrom(descriptorData,
         new com.google.protobuf.Descriptors.FileDescriptor[] {
         });
     internal_static_com_kcl_api_ExternalPkg_descriptor =
-      getDescriptor().getMessageTypes().get(0);
+      getDescriptor().getMessageType(0);
     internal_static_com_kcl_api_ExternalPkg_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
         internal_static_com_kcl_api_ExternalPkg_descriptor,
         new java.lang.String[] { "PkgName", "PkgPath", });
     internal_static_com_kcl_api_Argument_descriptor =
-      getDescriptor().getMessageTypes().get(1);
+      getDescriptor().getMessageType(1);
     internal_static_com_kcl_api_Argument_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
         internal_static_com_kcl_api_Argument_descriptor,
         new java.lang.String[] { "Name", "Value", });
     internal_static_com_kcl_api_Error_descriptor =
-      getDescriptor().getMessageTypes().get(2);
+      getDescriptor().getMessageType(2);
     internal_static_com_kcl_api_Error_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
         internal_static_com_kcl_api_Error_descriptor,
         new java.lang.String[] { "Level", "Code", "Messages", });
     internal_static_com_kcl_api_Message_descriptor =
-      getDescriptor().getMessageTypes().get(3);
+      getDescriptor().getMessageType(3);
     internal_static_com_kcl_api_Message_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
         internal_static_com_kcl_api_Message_descriptor,
         new java.lang.String[] { "Msg", "Pos", });
-    internal_static_com_kcl_api_Ping_Args_descriptor =
-      getDescriptor().getMessageTypes().get(4);
-    internal_static_com_kcl_api_Ping_Args_fieldAccessorTable = new
+    internal_static_com_kcl_api_PingArgs_descriptor =
+      getDescriptor().getMessageType(4);
+    internal_static_com_kcl_api_PingArgs_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_Ping_Args_descriptor,
+        internal_static_com_kcl_api_PingArgs_descriptor,
         new java.lang.String[] { "Value", });
-    internal_static_com_kcl_api_Ping_Result_descriptor =
-      getDescriptor().getMessageTypes().get(5);
-    internal_static_com_kcl_api_Ping_Result_fieldAccessorTable = new
+    internal_static_com_kcl_api_PingResult_descriptor =
+      getDescriptor().getMessageType(5);
+    internal_static_com_kcl_api_PingResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_Ping_Result_descriptor,
+        internal_static_com_kcl_api_PingResult_descriptor,
         new java.lang.String[] { "Value", });
-    internal_static_com_kcl_api_GetVersion_Args_descriptor =
-      getDescriptor().getMessageTypes().get(6);
-    internal_static_com_kcl_api_GetVersion_Args_fieldAccessorTable = new
+    internal_static_com_kcl_api_GetVersionArgs_descriptor =
+      getDescriptor().getMessageType(6);
+    internal_static_com_kcl_api_GetVersionArgs_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_GetVersion_Args_descriptor,
+        internal_static_com_kcl_api_GetVersionArgs_descriptor,
         new java.lang.String[] { });
-    internal_static_com_kcl_api_GetVersion_Result_descriptor =
-      getDescriptor().getMessageTypes().get(7);
-    internal_static_com_kcl_api_GetVersion_Result_fieldAccessorTable = new
+    internal_static_com_kcl_api_GetVersionResult_descriptor =
+      getDescriptor().getMessageType(7);
+    internal_static_com_kcl_api_GetVersionResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_GetVersion_Result_descriptor,
+        internal_static_com_kcl_api_GetVersionResult_descriptor,
         new java.lang.String[] { "Version", "Checksum", "GitSha", "VersionInfo", });
-    internal_static_com_kcl_api_ListMethod_Args_descriptor =
-      getDescriptor().getMessageTypes().get(8);
-    internal_static_com_kcl_api_ListMethod_Args_fieldAccessorTable = new
+    internal_static_com_kcl_api_ListMethodArgs_descriptor =
+      getDescriptor().getMessageType(8);
+    internal_static_com_kcl_api_ListMethodArgs_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_ListMethod_Args_descriptor,
+        internal_static_com_kcl_api_ListMethodArgs_descriptor,
         new java.lang.String[] { });
-    internal_static_com_kcl_api_ListMethod_Result_descriptor =
-      getDescriptor().getMessageTypes().get(9);
-    internal_static_com_kcl_api_ListMethod_Result_fieldAccessorTable = new
+    internal_static_com_kcl_api_ListMethodResult_descriptor =
+      getDescriptor().getMessageType(9);
+    internal_static_com_kcl_api_ListMethodResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_ListMethod_Result_descriptor,
+        internal_static_com_kcl_api_ListMethodResult_descriptor,
         new java.lang.String[] { "MethodNameList", });
-    internal_static_com_kcl_api_ParseFile_Args_descriptor =
-      getDescriptor().getMessageTypes().get(10);
-    internal_static_com_kcl_api_ParseFile_Args_fieldAccessorTable = new
+    internal_static_com_kcl_api_ParseFileArgs_descriptor =
+      getDescriptor().getMessageType(10);
+    internal_static_com_kcl_api_ParseFileArgs_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_ParseFile_Args_descriptor,
+        internal_static_com_kcl_api_ParseFileArgs_descriptor,
         new java.lang.String[] { "Path", "Source", "ExternalPkgs", });
-    internal_static_com_kcl_api_ParseFile_Result_descriptor =
-      getDescriptor().getMessageTypes().get(11);
-    internal_static_com_kcl_api_ParseFile_Result_fieldAccessorTable = new
+    internal_static_com_kcl_api_ParseFileResult_descriptor =
+      getDescriptor().getMessageType(11);
+    internal_static_com_kcl_api_ParseFileResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_ParseFile_Result_descriptor,
+        internal_static_com_kcl_api_ParseFileResult_descriptor,
         new java.lang.String[] { "AstJson", "Deps", "Errors", });
-    internal_static_com_kcl_api_ParseProgram_Args_descriptor =
-      getDescriptor().getMessageTypes().get(12);
-    internal_static_com_kcl_api_ParseProgram_Args_fieldAccessorTable = new
+    internal_static_com_kcl_api_ParseProgramArgs_descriptor =
+      getDescriptor().getMessageType(12);
+    internal_static_com_kcl_api_ParseProgramArgs_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_ParseProgram_Args_descriptor,
+        internal_static_com_kcl_api_ParseProgramArgs_descriptor,
         new java.lang.String[] { "Paths", "Sources", "ExternalPkgs", });
-    internal_static_com_kcl_api_ParseProgram_Result_descriptor =
-      getDescriptor().getMessageTypes().get(13);
-    internal_static_com_kcl_api_ParseProgram_Result_fieldAccessorTable = new
+    internal_static_com_kcl_api_ParseProgramResult_descriptor =
+      getDescriptor().getMessageType(13);
+    internal_static_com_kcl_api_ParseProgramResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_ParseProgram_Result_descriptor,
+        internal_static_com_kcl_api_ParseProgramResult_descriptor,
         new java.lang.String[] { "AstJson", "Paths", "Errors", });
-    internal_static_com_kcl_api_LoadPackage_Args_descriptor =
-      getDescriptor().getMessageTypes().get(14);
-    internal_static_com_kcl_api_LoadPackage_Args_fieldAccessorTable = new
+    internal_static_com_kcl_api_LoadPackageArgs_descriptor =
+      getDescriptor().getMessageType(14);
+    internal_static_com_kcl_api_LoadPackageArgs_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_LoadPackage_Args_descriptor,
+        internal_static_com_kcl_api_LoadPackageArgs_descriptor,
         new java.lang.String[] { "ParseArgs", "ResolveAst", "LoadBuiltin", "WithAstIndex", });
-    internal_static_com_kcl_api_LoadPackage_Result_descriptor =
-      getDescriptor().getMessageTypes().get(15);
-    internal_static_com_kcl_api_LoadPackage_Result_fieldAccessorTable = new
+    internal_static_com_kcl_api_LoadPackageResult_descriptor =
+      getDescriptor().getMessageType(15);
+    internal_static_com_kcl_api_LoadPackageResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_LoadPackage_Result_descriptor,
+        internal_static_com_kcl_api_LoadPackageResult_descriptor,
         new java.lang.String[] { "Program", "Paths", "ParseErrors", "TypeErrors", "Scopes", "Symbols", "NodeSymbolMap", "SymbolNodeMap", "FullyQualifiedNameMap", "PkgScopeMap", });
-    internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_descriptor =
-      internal_static_com_kcl_api_LoadPackage_Result_descriptor.getNestedTypes().get(0);
-    internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_fieldAccessorTable = new
+    internal_static_com_kcl_api_LoadPackageResult_ScopesEntry_descriptor =
+      internal_static_com_kcl_api_LoadPackageResult_descriptor.getNestedType(0);
+    internal_static_com_kcl_api_LoadPackageResult_ScopesEntry_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_LoadPackage_Result_ScopesEntry_descriptor,
+        internal_static_com_kcl_api_LoadPackageResult_ScopesEntry_descriptor,
         new java.lang.String[] { "Key", "Value", });
-    internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_descriptor =
-      internal_static_com_kcl_api_LoadPackage_Result_descriptor.getNestedTypes().get(1);
-    internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_fieldAccessorTable = new
+    internal_static_com_kcl_api_LoadPackageResult_SymbolsEntry_descriptor =
+      internal_static_com_kcl_api_LoadPackageResult_descriptor.getNestedType(1);
+    internal_static_com_kcl_api_LoadPackageResult_SymbolsEntry_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_LoadPackage_Result_SymbolsEntry_descriptor,
+        internal_static_com_kcl_api_LoadPackageResult_SymbolsEntry_descriptor,
         new java.lang.String[] { "Key", "Value", });
-    internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_descriptor =
-      internal_static_com_kcl_api_LoadPackage_Result_descriptor.getNestedTypes().get(2);
-    internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_fieldAccessorTable = new
+    internal_static_com_kcl_api_LoadPackageResult_NodeSymbolMapEntry_descriptor =
+      internal_static_com_kcl_api_LoadPackageResult_descriptor.getNestedType(2);
+    internal_static_com_kcl_api_LoadPackageResult_NodeSymbolMapEntry_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_LoadPackage_Result_NodeSymbolMapEntry_descriptor,
+        internal_static_com_kcl_api_LoadPackageResult_NodeSymbolMapEntry_descriptor,
         new java.lang.String[] { "Key", "Value", });
-    internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_descriptor =
-      internal_static_com_kcl_api_LoadPackage_Result_descriptor.getNestedTypes().get(3);
-    internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_fieldAccessorTable = new
+    internal_static_com_kcl_api_LoadPackageResult_SymbolNodeMapEntry_descriptor =
+      internal_static_com_kcl_api_LoadPackageResult_descriptor.getNestedType(3);
+    internal_static_com_kcl_api_LoadPackageResult_SymbolNodeMapEntry_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_LoadPackage_Result_SymbolNodeMapEntry_descriptor,
+        internal_static_com_kcl_api_LoadPackageResult_SymbolNodeMapEntry_descriptor,
         new java.lang.String[] { "Key", "Value", });
-    internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_descriptor =
-      internal_static_com_kcl_api_LoadPackage_Result_descriptor.getNestedTypes().get(4);
-    internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_fieldAccessorTable = new
+    internal_static_com_kcl_api_LoadPackageResult_FullyQualifiedNameMapEntry_descriptor =
+      internal_static_com_kcl_api_LoadPackageResult_descriptor.getNestedType(4);
+    internal_static_com_kcl_api_LoadPackageResult_FullyQualifiedNameMapEntry_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_LoadPackage_Result_FullyQualifiedNameMapEntry_descriptor,
+        internal_static_com_kcl_api_LoadPackageResult_FullyQualifiedNameMapEntry_descriptor,
         new java.lang.String[] { "Key", "Value", });
-    internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_descriptor =
-      internal_static_com_kcl_api_LoadPackage_Result_descriptor.getNestedTypes().get(5);
-    internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_fieldAccessorTable = new
+    internal_static_com_kcl_api_LoadPackageResult_PkgScopeMapEntry_descriptor =
+      internal_static_com_kcl_api_LoadPackageResult_descriptor.getNestedType(5);
+    internal_static_com_kcl_api_LoadPackageResult_PkgScopeMapEntry_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_LoadPackage_Result_PkgScopeMapEntry_descriptor,
+        internal_static_com_kcl_api_LoadPackageResult_PkgScopeMapEntry_descriptor,
         new java.lang.String[] { "Key", "Value", });
-    internal_static_com_kcl_api_ListOptions_Result_descriptor =
-      getDescriptor().getMessageTypes().get(16);
-    internal_static_com_kcl_api_ListOptions_Result_fieldAccessorTable = new
+    internal_static_com_kcl_api_ListOptionsResult_descriptor =
+      getDescriptor().getMessageType(16);
+    internal_static_com_kcl_api_ListOptionsResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_ListOptions_Result_descriptor,
+        internal_static_com_kcl_api_ListOptionsResult_descriptor,
         new java.lang.String[] { "Options", });
     internal_static_com_kcl_api_OptionHelp_descriptor =
-      getDescriptor().getMessageTypes().get(17);
+      getDescriptor().getMessageType(17);
     internal_static_com_kcl_api_OptionHelp_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
         internal_static_com_kcl_api_OptionHelp_descriptor,
         new java.lang.String[] { "Name", "Type", "Required", "DefaultValue", "Help", });
     internal_static_com_kcl_api_Symbol_descriptor =
-      getDescriptor().getMessageTypes().get(18);
+      getDescriptor().getMessageType(18);
     internal_static_com_kcl_api_Symbol_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
         internal_static_com_kcl_api_Symbol_descriptor,
         new java.lang.String[] { "Ty", "Name", "Owner", "Def", "Attrs", "IsGlobal", });
     internal_static_com_kcl_api_Scope_descriptor =
-      getDescriptor().getMessageTypes().get(19);
+      getDescriptor().getMessageType(19);
     internal_static_com_kcl_api_Scope_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
         internal_static_com_kcl_api_Scope_descriptor,
         new java.lang.String[] { "Kind", "Parent", "Owner", "Children", "Defs", });
     internal_static_com_kcl_api_SymbolIndex_descriptor =
-      getDescriptor().getMessageTypes().get(20);
+      getDescriptor().getMessageType(20);
     internal_static_com_kcl_api_SymbolIndex_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
         internal_static_com_kcl_api_SymbolIndex_descriptor,
         new java.lang.String[] { "I", "G", "Kind", });
     internal_static_com_kcl_api_ScopeIndex_descriptor =
-      getDescriptor().getMessageTypes().get(21);
+      getDescriptor().getMessageType(21);
     internal_static_com_kcl_api_ScopeIndex_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
         internal_static_com_kcl_api_ScopeIndex_descriptor,
         new java.lang.String[] { "I", "G", "Kind", });
-    internal_static_com_kcl_api_ExecProgram_Args_descriptor =
-      getDescriptor().getMessageTypes().get(22);
-    internal_static_com_kcl_api_ExecProgram_Args_fieldAccessorTable = new
+    internal_static_com_kcl_api_ExecProgramArgs_descriptor =
+      getDescriptor().getMessageType(22);
+    internal_static_com_kcl_api_ExecProgramArgs_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_ExecProgram_Args_descriptor,
+        internal_static_com_kcl_api_ExecProgramArgs_descriptor,
         new java.lang.String[] { "WorkDir", "KFilenameList", "KCodeList", "Args", "Overrides", "DisableYamlResult", "PrintOverrideAst", "StrictRangeCheck", "DisableNone", "Verbose", "Debug", "SortKeys", "ExternalPkgs", "IncludeSchemaTypePath", "CompileOnly", "ShowHidden", "PathSelector", "FastEval", });
-    internal_static_com_kcl_api_ExecProgram_Result_descriptor =
-      getDescriptor().getMessageTypes().get(23);
-    internal_static_com_kcl_api_ExecProgram_Result_fieldAccessorTable = new
+    internal_static_com_kcl_api_ExecProgramResult_descriptor =
+      getDescriptor().getMessageType(23);
+    internal_static_com_kcl_api_ExecProgramResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_ExecProgram_Result_descriptor,
+        internal_static_com_kcl_api_ExecProgramResult_descriptor,
         new java.lang.String[] { "JsonResult", "YamlResult", "LogMessage", "ErrMessage", });
-    internal_static_com_kcl_api_BuildProgram_Args_descriptor =
-      getDescriptor().getMessageTypes().get(24);
-    internal_static_com_kcl_api_BuildProgram_Args_fieldAccessorTable = new
+    internal_static_com_kcl_api_BuildProgramArgs_descriptor =
+      getDescriptor().getMessageType(24);
+    internal_static_com_kcl_api_BuildProgramArgs_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_BuildProgram_Args_descriptor,
+        internal_static_com_kcl_api_BuildProgramArgs_descriptor,
         new java.lang.String[] { "ExecArgs", "Output", });
-    internal_static_com_kcl_api_BuildProgram_Result_descriptor =
-      getDescriptor().getMessageTypes().get(25);
-    internal_static_com_kcl_api_BuildProgram_Result_fieldAccessorTable = new
+    internal_static_com_kcl_api_BuildProgramResult_descriptor =
+      getDescriptor().getMessageType(25);
+    internal_static_com_kcl_api_BuildProgramResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_BuildProgram_Result_descriptor,
+        internal_static_com_kcl_api_BuildProgramResult_descriptor,
         new java.lang.String[] { "Path", });
-    internal_static_com_kcl_api_ExecArtifact_Args_descriptor =
-      getDescriptor().getMessageTypes().get(26);
-    internal_static_com_kcl_api_ExecArtifact_Args_fieldAccessorTable = new
+    internal_static_com_kcl_api_ExecArtifactArgs_descriptor =
+      getDescriptor().getMessageType(26);
+    internal_static_com_kcl_api_ExecArtifactArgs_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_ExecArtifact_Args_descriptor,
+        internal_static_com_kcl_api_ExecArtifactArgs_descriptor,
         new java.lang.String[] { "Path", "ExecArgs", });
-    internal_static_com_kcl_api_FormatCode_Args_descriptor =
-      getDescriptor().getMessageTypes().get(27);
-    internal_static_com_kcl_api_FormatCode_Args_fieldAccessorTable = new
+    internal_static_com_kcl_api_FormatCodeArgs_descriptor =
+      getDescriptor().getMessageType(27);
+    internal_static_com_kcl_api_FormatCodeArgs_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_FormatCode_Args_descriptor,
+        internal_static_com_kcl_api_FormatCodeArgs_descriptor,
         new java.lang.String[] { "Source", });
-    internal_static_com_kcl_api_FormatCode_Result_descriptor =
-      getDescriptor().getMessageTypes().get(28);
-    internal_static_com_kcl_api_FormatCode_Result_fieldAccessorTable = new
+    internal_static_com_kcl_api_FormatCodeResult_descriptor =
+      getDescriptor().getMessageType(28);
+    internal_static_com_kcl_api_FormatCodeResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_FormatCode_Result_descriptor,
+        internal_static_com_kcl_api_FormatCodeResult_descriptor,
         new java.lang.String[] { "Formatted", });
-    internal_static_com_kcl_api_FormatPath_Args_descriptor =
-      getDescriptor().getMessageTypes().get(29);
-    internal_static_com_kcl_api_FormatPath_Args_fieldAccessorTable = new
+    internal_static_com_kcl_api_FormatPathArgs_descriptor =
+      getDescriptor().getMessageType(29);
+    internal_static_com_kcl_api_FormatPathArgs_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_FormatPath_Args_descriptor,
+        internal_static_com_kcl_api_FormatPathArgs_descriptor,
         new java.lang.String[] { "Path", });
-    internal_static_com_kcl_api_FormatPath_Result_descriptor =
-      getDescriptor().getMessageTypes().get(30);
-    internal_static_com_kcl_api_FormatPath_Result_fieldAccessorTable = new
+    internal_static_com_kcl_api_FormatPathResult_descriptor =
+      getDescriptor().getMessageType(30);
+    internal_static_com_kcl_api_FormatPathResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_FormatPath_Result_descriptor,
+        internal_static_com_kcl_api_FormatPathResult_descriptor,
         new java.lang.String[] { "ChangedPaths", });
-    internal_static_com_kcl_api_LintPath_Args_descriptor =
-      getDescriptor().getMessageTypes().get(31);
-    internal_static_com_kcl_api_LintPath_Args_fieldAccessorTable = new
+    internal_static_com_kcl_api_LintPathArgs_descriptor =
+      getDescriptor().getMessageType(31);
+    internal_static_com_kcl_api_LintPathArgs_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_LintPath_Args_descriptor,
+        internal_static_com_kcl_api_LintPathArgs_descriptor,
         new java.lang.String[] { "Paths", });
-    internal_static_com_kcl_api_LintPath_Result_descriptor =
-      getDescriptor().getMessageTypes().get(32);
-    internal_static_com_kcl_api_LintPath_Result_fieldAccessorTable = new
+    internal_static_com_kcl_api_LintPathResult_descriptor =
+      getDescriptor().getMessageType(32);
+    internal_static_com_kcl_api_LintPathResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_LintPath_Result_descriptor,
+        internal_static_com_kcl_api_LintPathResult_descriptor,
         new java.lang.String[] { "Results", });
-    internal_static_com_kcl_api_OverrideFile_Args_descriptor =
-      getDescriptor().getMessageTypes().get(33);
-    internal_static_com_kcl_api_OverrideFile_Args_fieldAccessorTable = new
+    internal_static_com_kcl_api_OverrideFileArgs_descriptor =
+      getDescriptor().getMessageType(33);
+    internal_static_com_kcl_api_OverrideFileArgs_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_OverrideFile_Args_descriptor,
+        internal_static_com_kcl_api_OverrideFileArgs_descriptor,
         new java.lang.String[] { "File", "Specs", "ImportPaths", });
-    internal_static_com_kcl_api_OverrideFile_Result_descriptor =
-      getDescriptor().getMessageTypes().get(34);
-    internal_static_com_kcl_api_OverrideFile_Result_fieldAccessorTable = new
+    internal_static_com_kcl_api_OverrideFileResult_descriptor =
+      getDescriptor().getMessageType(34);
+    internal_static_com_kcl_api_OverrideFileResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_OverrideFile_Result_descriptor,
+        internal_static_com_kcl_api_OverrideFileResult_descriptor,
         new java.lang.String[] { "Result", "ParseErrors", });
-    internal_static_com_kcl_api_ListVariables_Options_descriptor =
-      getDescriptor().getMessageTypes().get(35);
-    internal_static_com_kcl_api_ListVariables_Options_fieldAccessorTable = new
+    internal_static_com_kcl_api_ListVariablesOptions_descriptor =
+      getDescriptor().getMessageType(35);
+    internal_static_com_kcl_api_ListVariablesOptions_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_ListVariables_Options_descriptor,
+        internal_static_com_kcl_api_ListVariablesOptions_descriptor,
         new java.lang.String[] { "MergeProgram", });
     internal_static_com_kcl_api_VariableList_descriptor =
-      getDescriptor().getMessageTypes().get(36);
+      getDescriptor().getMessageType(36);
     internal_static_com_kcl_api_VariableList_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
         internal_static_com_kcl_api_VariableList_descriptor,
         new java.lang.String[] { "Variables", });
-    internal_static_com_kcl_api_ListVariables_Args_descriptor =
-      getDescriptor().getMessageTypes().get(37);
-    internal_static_com_kcl_api_ListVariables_Args_fieldAccessorTable = new
+    internal_static_com_kcl_api_ListVariablesArgs_descriptor =
+      getDescriptor().getMessageType(37);
+    internal_static_com_kcl_api_ListVariablesArgs_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_ListVariables_Args_descriptor,
+        internal_static_com_kcl_api_ListVariablesArgs_descriptor,
         new java.lang.String[] { "Files", "Specs", "Options", });
-    internal_static_com_kcl_api_ListVariables_Result_descriptor =
-      getDescriptor().getMessageTypes().get(38);
-    internal_static_com_kcl_api_ListVariables_Result_fieldAccessorTable = new
+    internal_static_com_kcl_api_ListVariablesResult_descriptor =
+      getDescriptor().getMessageType(38);
+    internal_static_com_kcl_api_ListVariablesResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_ListVariables_Result_descriptor,
+        internal_static_com_kcl_api_ListVariablesResult_descriptor,
         new java.lang.String[] { "Variables", "UnsupportedCodes", "ParseErrors", });
-    internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_descriptor =
-      internal_static_com_kcl_api_ListVariables_Result_descriptor.getNestedTypes().get(0);
-    internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_fieldAccessorTable = new
+    internal_static_com_kcl_api_ListVariablesResult_VariablesEntry_descriptor =
+      internal_static_com_kcl_api_ListVariablesResult_descriptor.getNestedType(0);
+    internal_static_com_kcl_api_ListVariablesResult_VariablesEntry_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_ListVariables_Result_VariablesEntry_descriptor,
+        internal_static_com_kcl_api_ListVariablesResult_VariablesEntry_descriptor,
         new java.lang.String[] { "Key", "Value", });
     internal_static_com_kcl_api_Variable_descriptor =
-      getDescriptor().getMessageTypes().get(39);
+      getDescriptor().getMessageType(39);
     internal_static_com_kcl_api_Variable_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
         internal_static_com_kcl_api_Variable_descriptor,
         new java.lang.String[] { "Value", "TypeName", "OpSym", "ListItems", "DictEntries", });
     internal_static_com_kcl_api_MapEntry_descriptor =
-      getDescriptor().getMessageTypes().get(40);
+      getDescriptor().getMessageType(40);
     internal_static_com_kcl_api_MapEntry_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
         internal_static_com_kcl_api_MapEntry_descriptor,
         new java.lang.String[] { "Key", "Value", });
-    internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor =
-      getDescriptor().getMessageTypes().get(41);
-    internal_static_com_kcl_api_GetSchemaTypeMapping_Args_fieldAccessorTable = new
+    internal_static_com_kcl_api_GetSchemaTypeMappingArgs_descriptor =
+      getDescriptor().getMessageType(41);
+    internal_static_com_kcl_api_GetSchemaTypeMappingArgs_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_GetSchemaTypeMapping_Args_descriptor,
+        internal_static_com_kcl_api_GetSchemaTypeMappingArgs_descriptor,
         new java.lang.String[] { "ExecArgs", "SchemaName", });
-    internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor =
-      getDescriptor().getMessageTypes().get(42);
-    internal_static_com_kcl_api_GetSchemaTypeMapping_Result_fieldAccessorTable = new
+    internal_static_com_kcl_api_GetSchemaTypeMappingResult_descriptor =
+      getDescriptor().getMessageType(42);
+    internal_static_com_kcl_api_GetSchemaTypeMappingResult_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+        internal_static_com_kcl_api_GetSchemaTypeMappingResult_descriptor,
+        new java.lang.String[] { "SchemaTypeMapping", });
+    internal_static_com_kcl_api_GetSchemaTypeMappingResult_SchemaTypeMappingEntry_descriptor =
+      internal_static_com_kcl_api_GetSchemaTypeMappingResult_descriptor.getNestedType(0);
+    internal_static_com_kcl_api_GetSchemaTypeMappingResult_SchemaTypeMappingEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+        internal_static_com_kcl_api_GetSchemaTypeMappingResult_SchemaTypeMappingEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
+    internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_descriptor =
+      getDescriptor().getMessageType(43);
+    internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor,
+        internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_descriptor,
         new java.lang.String[] { "SchemaTypeMapping", });
-    internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_descriptor =
-      internal_static_com_kcl_api_GetSchemaTypeMapping_Result_descriptor.getNestedTypes().get(0);
-    internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_fieldAccessorTable = new
+    internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_SchemaTypeMappingEntry_descriptor =
+      internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_descriptor.getNestedType(0);
+    internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_SchemaTypeMappingEntry_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_GetSchemaTypeMapping_Result_SchemaTypeMappingEntry_descriptor,
+        internal_static_com_kcl_api_GetSchemaTypeMappingUnderPathResult_SchemaTypeMappingEntry_descriptor,
         new java.lang.String[] { "Key", "Value", });
-    internal_static_com_kcl_api_ValidateCode_Args_descriptor =
-      getDescriptor().getMessageTypes().get(43);
-    internal_static_com_kcl_api_ValidateCode_Args_fieldAccessorTable = new
+    internal_static_com_kcl_api_SchemaTypes_descriptor =
+      getDescriptor().getMessageType(44);
+    internal_static_com_kcl_api_SchemaTypes_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+        internal_static_com_kcl_api_SchemaTypes_descriptor,
+        new java.lang.String[] { "SchemaType", });
+    internal_static_com_kcl_api_ValidateCodeArgs_descriptor =
+      getDescriptor().getMessageType(45);
+    internal_static_com_kcl_api_ValidateCodeArgs_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_ValidateCode_Args_descriptor,
+        internal_static_com_kcl_api_ValidateCodeArgs_descriptor,
         new java.lang.String[] { "Datafile", "Data", "File", "Code", "Schema", "AttributeName", "Format", "ExternalPkgs", });
-    internal_static_com_kcl_api_ValidateCode_Result_descriptor =
-      getDescriptor().getMessageTypes().get(44);
-    internal_static_com_kcl_api_ValidateCode_Result_fieldAccessorTable = new
+    internal_static_com_kcl_api_ValidateCodeResult_descriptor =
+      getDescriptor().getMessageType(46);
+    internal_static_com_kcl_api_ValidateCodeResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_ValidateCode_Result_descriptor,
+        internal_static_com_kcl_api_ValidateCodeResult_descriptor,
         new java.lang.String[] { "Success", "ErrMessage", });
     internal_static_com_kcl_api_Position_descriptor =
-      getDescriptor().getMessageTypes().get(45);
+      getDescriptor().getMessageType(47);
     internal_static_com_kcl_api_Position_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
         internal_static_com_kcl_api_Position_descriptor,
         new java.lang.String[] { "Line", "Column", "Filename", });
-    internal_static_com_kcl_api_ListDepFiles_Args_descriptor =
-      getDescriptor().getMessageTypes().get(46);
-    internal_static_com_kcl_api_ListDepFiles_Args_fieldAccessorTable = new
+    internal_static_com_kcl_api_ListDepFilesArgs_descriptor =
+      getDescriptor().getMessageType(48);
+    internal_static_com_kcl_api_ListDepFilesArgs_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_ListDepFiles_Args_descriptor,
+        internal_static_com_kcl_api_ListDepFilesArgs_descriptor,
         new java.lang.String[] { "WorkDir", "UseAbsPath", "IncludeAll", "UseFastParser", });
-    internal_static_com_kcl_api_ListDepFiles_Result_descriptor =
-      getDescriptor().getMessageTypes().get(47);
-    internal_static_com_kcl_api_ListDepFiles_Result_fieldAccessorTable = new
+    internal_static_com_kcl_api_ListDepFilesResult_descriptor =
+      getDescriptor().getMessageType(49);
+    internal_static_com_kcl_api_ListDepFilesResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_ListDepFiles_Result_descriptor,
+        internal_static_com_kcl_api_ListDepFilesResult_descriptor,
         new java.lang.String[] { "Pkgroot", "Pkgpath", "Files", });
-    internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor =
-      getDescriptor().getMessageTypes().get(48);
-    internal_static_com_kcl_api_LoadSettingsFiles_Args_fieldAccessorTable = new
+    internal_static_com_kcl_api_LoadSettingsFilesArgs_descriptor =
+      getDescriptor().getMessageType(50);
+    internal_static_com_kcl_api_LoadSettingsFilesArgs_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_LoadSettingsFiles_Args_descriptor,
+        internal_static_com_kcl_api_LoadSettingsFilesArgs_descriptor,
         new java.lang.String[] { "WorkDir", "Files", });
-    internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor =
-      getDescriptor().getMessageTypes().get(49);
-    internal_static_com_kcl_api_LoadSettingsFiles_Result_fieldAccessorTable = new
+    internal_static_com_kcl_api_LoadSettingsFilesResult_descriptor =
+      getDescriptor().getMessageType(51);
+    internal_static_com_kcl_api_LoadSettingsFilesResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_LoadSettingsFiles_Result_descriptor,
+        internal_static_com_kcl_api_LoadSettingsFilesResult_descriptor,
         new java.lang.String[] { "KclCliConfigs", "KclOptions", });
     internal_static_com_kcl_api_CliConfig_descriptor =
-      getDescriptor().getMessageTypes().get(50);
+      getDescriptor().getMessageType(52);
     internal_static_com_kcl_api_CliConfig_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
         internal_static_com_kcl_api_CliConfig_descriptor,
         new java.lang.String[] { "Files", "Output", "Overrides", "PathSelector", "StrictRangeCheck", "DisableNone", "Verbose", "Debug", "SortKeys", "ShowHidden", "IncludeSchemaTypePath", "FastEval", });
     internal_static_com_kcl_api_KeyValuePair_descriptor =
-      getDescriptor().getMessageTypes().get(51);
+      getDescriptor().getMessageType(53);
     internal_static_com_kcl_api_KeyValuePair_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
         internal_static_com_kcl_api_KeyValuePair_descriptor,
         new java.lang.String[] { "Key", "Value", });
-    internal_static_com_kcl_api_Rename_Args_descriptor =
-      getDescriptor().getMessageTypes().get(52);
-    internal_static_com_kcl_api_Rename_Args_fieldAccessorTable = new
+    internal_static_com_kcl_api_RenameArgs_descriptor =
+      getDescriptor().getMessageType(54);
+    internal_static_com_kcl_api_RenameArgs_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_Rename_Args_descriptor,
+        internal_static_com_kcl_api_RenameArgs_descriptor,
         new java.lang.String[] { "PackageRoot", "SymbolPath", "FilePaths", "NewName", });
-    internal_static_com_kcl_api_Rename_Result_descriptor =
-      getDescriptor().getMessageTypes().get(53);
-    internal_static_com_kcl_api_Rename_Result_fieldAccessorTable = new
+    internal_static_com_kcl_api_RenameResult_descriptor =
+      getDescriptor().getMessageType(55);
+    internal_static_com_kcl_api_RenameResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_Rename_Result_descriptor,
+        internal_static_com_kcl_api_RenameResult_descriptor,
         new java.lang.String[] { "ChangedFiles", });
-    internal_static_com_kcl_api_RenameCode_Args_descriptor =
-      getDescriptor().getMessageTypes().get(54);
-    internal_static_com_kcl_api_RenameCode_Args_fieldAccessorTable = new
+    internal_static_com_kcl_api_RenameCodeArgs_descriptor =
+      getDescriptor().getMessageType(56);
+    internal_static_com_kcl_api_RenameCodeArgs_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_RenameCode_Args_descriptor,
+        internal_static_com_kcl_api_RenameCodeArgs_descriptor,
         new java.lang.String[] { "PackageRoot", "SymbolPath", "SourceCodes", "NewName", });
-    internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_descriptor =
-      internal_static_com_kcl_api_RenameCode_Args_descriptor.getNestedTypes().get(0);
-    internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_fieldAccessorTable = new
+    internal_static_com_kcl_api_RenameCodeArgs_SourceCodesEntry_descriptor =
+      internal_static_com_kcl_api_RenameCodeArgs_descriptor.getNestedType(0);
+    internal_static_com_kcl_api_RenameCodeArgs_SourceCodesEntry_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_RenameCode_Args_SourceCodesEntry_descriptor,
+        internal_static_com_kcl_api_RenameCodeArgs_SourceCodesEntry_descriptor,
         new java.lang.String[] { "Key", "Value", });
-    internal_static_com_kcl_api_RenameCode_Result_descriptor =
-      getDescriptor().getMessageTypes().get(55);
-    internal_static_com_kcl_api_RenameCode_Result_fieldAccessorTable = new
+    internal_static_com_kcl_api_RenameCodeResult_descriptor =
+      getDescriptor().getMessageType(57);
+    internal_static_com_kcl_api_RenameCodeResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_RenameCode_Result_descriptor,
+        internal_static_com_kcl_api_RenameCodeResult_descriptor,
         new java.lang.String[] { "ChangedCodes", });
-    internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_descriptor =
-      internal_static_com_kcl_api_RenameCode_Result_descriptor.getNestedTypes().get(0);
-    internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_fieldAccessorTable = new
+    internal_static_com_kcl_api_RenameCodeResult_ChangedCodesEntry_descriptor =
+      internal_static_com_kcl_api_RenameCodeResult_descriptor.getNestedType(0);
+    internal_static_com_kcl_api_RenameCodeResult_ChangedCodesEntry_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_RenameCode_Result_ChangedCodesEntry_descriptor,
+        internal_static_com_kcl_api_RenameCodeResult_ChangedCodesEntry_descriptor,
         new java.lang.String[] { "Key", "Value", });
-    internal_static_com_kcl_api_Test_Args_descriptor =
-      getDescriptor().getMessageTypes().get(56);
-    internal_static_com_kcl_api_Test_Args_fieldAccessorTable = new
+    internal_static_com_kcl_api_TestArgs_descriptor =
+      getDescriptor().getMessageType(58);
+    internal_static_com_kcl_api_TestArgs_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_Test_Args_descriptor,
+        internal_static_com_kcl_api_TestArgs_descriptor,
         new java.lang.String[] { "ExecArgs", "PkgList", "RunRegexp", "FailFast", });
-    internal_static_com_kcl_api_Test_Result_descriptor =
-      getDescriptor().getMessageTypes().get(57);
-    internal_static_com_kcl_api_Test_Result_fieldAccessorTable = new
+    internal_static_com_kcl_api_TestResult_descriptor =
+      getDescriptor().getMessageType(59);
+    internal_static_com_kcl_api_TestResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_Test_Result_descriptor,
+        internal_static_com_kcl_api_TestResult_descriptor,
         new java.lang.String[] { "Info", });
     internal_static_com_kcl_api_TestCaseInfo_descriptor =
-      getDescriptor().getMessageTypes().get(58);
+      getDescriptor().getMessageType(60);
     internal_static_com_kcl_api_TestCaseInfo_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
         internal_static_com_kcl_api_TestCaseInfo_descriptor,
         new java.lang.String[] { "Name", "Error", "Duration", "LogMessage", });
-    internal_static_com_kcl_api_UpdateDependencies_Args_descriptor =
-      getDescriptor().getMessageTypes().get(59);
-    internal_static_com_kcl_api_UpdateDependencies_Args_fieldAccessorTable = new
+    internal_static_com_kcl_api_UpdateDependenciesArgs_descriptor =
+      getDescriptor().getMessageType(61);
+    internal_static_com_kcl_api_UpdateDependenciesArgs_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_UpdateDependencies_Args_descriptor,
+        internal_static_com_kcl_api_UpdateDependenciesArgs_descriptor,
         new java.lang.String[] { "ManifestPath", "Vendor", });
-    internal_static_com_kcl_api_UpdateDependencies_Result_descriptor =
-      getDescriptor().getMessageTypes().get(60);
-    internal_static_com_kcl_api_UpdateDependencies_Result_fieldAccessorTable = new
+    internal_static_com_kcl_api_UpdateDependenciesResult_descriptor =
+      getDescriptor().getMessageType(62);
+    internal_static_com_kcl_api_UpdateDependenciesResult_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-        internal_static_com_kcl_api_UpdateDependencies_Result_descriptor,
+        internal_static_com_kcl_api_UpdateDependenciesResult_descriptor,
         new java.lang.String[] { "ExternalPkgs", });
     internal_static_com_kcl_api_KclType_descriptor =
-      getDescriptor().getMessageTypes().get(61);
+      getDescriptor().getMessageType(63);
     internal_static_com_kcl_api_KclType_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
         internal_static_com_kcl_api_KclType_descriptor,
         new java.lang.String[] { "Type", "UnionTypes", "Default", "SchemaName", "SchemaDoc", "Properties", "Required", "Key", "Item", "Line", "Decorators", "Filename", "PkgPath", "Description", "Examples", "BaseSchema", });
     internal_static_com_kcl_api_KclType_PropertiesEntry_descriptor =
-      internal_static_com_kcl_api_KclType_descriptor.getNestedTypes().get(0);
+      internal_static_com_kcl_api_KclType_descriptor.getNestedType(0);
     internal_static_com_kcl_api_KclType_PropertiesEntry_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
         internal_static_com_kcl_api_KclType_PropertiesEntry_descriptor,
         new java.lang.String[] { "Key", "Value", });
     internal_static_com_kcl_api_KclType_ExamplesEntry_descriptor =
-      internal_static_com_kcl_api_KclType_descriptor.getNestedTypes().get(1);
+      internal_static_com_kcl_api_KclType_descriptor.getNestedType(1);
     internal_static_com_kcl_api_KclType_ExamplesEntry_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
         internal_static_com_kcl_api_KclType_ExamplesEntry_descriptor,
         new java.lang.String[] { "Key", "Value", });
     internal_static_com_kcl_api_Decorator_descriptor =
-      getDescriptor().getMessageTypes().get(62);
+      getDescriptor().getMessageType(64);
     internal_static_com_kcl_api_Decorator_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
         internal_static_com_kcl_api_Decorator_descriptor,
         new java.lang.String[] { "Name", "Arguments", "Keywords", });
     internal_static_com_kcl_api_Decorator_KeywordsEntry_descriptor =
-      internal_static_com_kcl_api_Decorator_descriptor.getNestedTypes().get(0);
+      internal_static_com_kcl_api_Decorator_descriptor.getNestedType(0);
     internal_static_com_kcl_api_Decorator_KeywordsEntry_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
         internal_static_com_kcl_api_Decorator_KeywordsEntry_descriptor,
         new java.lang.String[] { "Key", "Value", });
     internal_static_com_kcl_api_Example_descriptor =
-      getDescriptor().getMessageTypes().get(63);
+      getDescriptor().getMessageType(65);
     internal_static_com_kcl_api_Example_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessage.FieldAccessorTable(
         internal_static_com_kcl_api_Example_descriptor,
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ArgumentKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ArgumentKt.kt
index 04e1b77c..bd1ef151 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/ArgumentKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/ArgumentKt.kt
@@ -2,6 +2,7 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
@@ -41,10 +42,10 @@ public object ArgumentKt {
      * `string name = 1;`
      */
     public var name: kotlin.String
-      @JvmName("getName")
-      get() = _builder.name
-      @JvmName("setName")
-      set(value) {
+      @kotlin.jvm.JvmName("getName")
+        get() = _builder.name
+      @kotlin.jvm.JvmName("setName")
+        set(value) {
         _builder.name = value
       }
     /**
@@ -66,10 +67,10 @@ public object ArgumentKt {
      * `string value = 2;`
      */
     public var value: kotlin.String
-      @JvmName("getValue")
-      get() = _builder.value
-      @JvmName("setValue")
-      set(value) {
+      @kotlin.jvm.JvmName("getValue")
+        get() = _builder.value
+      @kotlin.jvm.JvmName("setValue")
+        set(value) {
         _builder.value = value
       }
     /**
diff --git a/kotlin/src/main/kotlin/com/kcl/api/BuildProgram_ArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/BuildProgramArgsKt.kt
similarity index 55%
rename from kotlin/src/main/kotlin/com/kcl/api/BuildProgram_ArgsKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/BuildProgramArgsKt.kt
index 68fd8f65..0c3426e7 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/BuildProgram_ArgsKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/BuildProgramArgsKt.kt
@@ -2,48 +2,49 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializebuildProgramArgs")
-public inline fun buildProgramArgs(block: com.kcl.api.BuildProgram_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.BuildProgram_Args =
-  com.kcl.api.BuildProgram_ArgsKt.Dsl._create(com.kcl.api.Spec.BuildProgram_Args.newBuilder()).apply { block() }._build()
+public inline fun buildProgramArgs(block: com.kcl.api.BuildProgramArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.BuildProgramArgs =
+  com.kcl.api.BuildProgramArgsKt.Dsl._create(com.kcl.api.Spec.BuildProgramArgs.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for build program request arguments.
  * ```
  *
- * Protobuf type `com.kcl.api.BuildProgram_Args`
+ * Protobuf type `com.kcl.api.BuildProgramArgs`
  */
-public object BuildProgram_ArgsKt {
+public object BuildProgramArgsKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.BuildProgram_Args.Builder
+    private val _builder: com.kcl.api.Spec.BuildProgramArgs.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.BuildProgram_Args.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.BuildProgramArgs.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.BuildProgram_Args = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.BuildProgramArgs = _builder.build()
 
     /**
      * ```
      * Arguments for executing the program.
      * ```
      *
-     * `.com.kcl.api.ExecProgram_Args exec_args = 1;`
+     * `.com.kcl.api.ExecProgramArgs exec_args = 1;`
      */
-    public var execArgs: com.kcl.api.Spec.ExecProgram_Args
-      @JvmName("getExecArgs")
-      get() = _builder.execArgs
-      @JvmName("setExecArgs")
-      set(value) {
+    public var execArgs: com.kcl.api.Spec.ExecProgramArgs
+      @kotlin.jvm.JvmName("getExecArgs")
+        get() = _builder.execArgs
+      @kotlin.jvm.JvmName("setExecArgs")
+        set(value) {
         _builder.execArgs = value
       }
     /**
@@ -51,7 +52,7 @@ public object BuildProgram_ArgsKt {
      * Arguments for executing the program.
      * ```
      *
-     * `.com.kcl.api.ExecProgram_Args exec_args = 1;`
+     * `.com.kcl.api.ExecProgramArgs exec_args = 1;`
      */
     public fun clearExecArgs() {
       _builder.clearExecArgs()
@@ -61,14 +62,14 @@ public object BuildProgram_ArgsKt {
      * Arguments for executing the program.
      * ```
      *
-     * `.com.kcl.api.ExecProgram_Args exec_args = 1;`
+     * `.com.kcl.api.ExecProgramArgs exec_args = 1;`
      * @return Whether the execArgs field is set.
      */
     public fun hasExecArgs(): kotlin.Boolean {
       return _builder.hasExecArgs()
     }
 
-    public val BuildProgram_ArgsKt.Dsl.execArgsOrNull: com.kcl.api.Spec.ExecProgram_Args?
+    public val BuildProgramArgsKt.Dsl.execArgsOrNull: com.kcl.api.Spec.ExecProgramArgs?
       get() = _builder.execArgsOrNull
 
     /**
@@ -79,10 +80,10 @@ public object BuildProgram_ArgsKt {
      * `string output = 2;`
      */
     public var output: kotlin.String
-      @JvmName("getOutput")
-      get() = _builder.output
-      @JvmName("setOutput")
-      set(value) {
+      @kotlin.jvm.JvmName("getOutput")
+        get() = _builder.output
+      @kotlin.jvm.JvmName("setOutput")
+        set(value) {
         _builder.output = value
       }
     /**
@@ -98,9 +99,9 @@ public object BuildProgram_ArgsKt {
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.BuildProgram_Args.copy(block: `com.kcl.api`.BuildProgram_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.BuildProgram_Args =
-  `com.kcl.api`.BuildProgram_ArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.BuildProgramArgs.copy(block: `com.kcl.api`.BuildProgramArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.BuildProgramArgs =
+  `com.kcl.api`.BuildProgramArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
-public val com.kcl.api.Spec.BuildProgram_ArgsOrBuilder.execArgsOrNull: com.kcl.api.Spec.ExecProgram_Args?
+public val com.kcl.api.Spec.BuildProgramArgsOrBuilder.execArgsOrNull: com.kcl.api.Spec.ExecProgramArgs?
   get() = if (hasExecArgs()) getExecArgs() else null
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/BuildProgram_ResultKt.kt b/kotlin/src/main/kotlin/com/kcl/api/BuildProgramResultKt.kt
similarity index 56%
rename from kotlin/src/main/kotlin/com/kcl/api/BuildProgram_ResultKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/BuildProgramResultKt.kt
index 28b13daa..80be5cf6 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/BuildProgram_ResultKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/BuildProgramResultKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializebuildProgramResult")
-public inline fun buildProgramResult(block: com.kcl.api.BuildProgram_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.BuildProgram_Result =
-  com.kcl.api.BuildProgram_ResultKt.Dsl._create(com.kcl.api.Spec.BuildProgram_Result.newBuilder()).apply { block() }._build()
+public inline fun buildProgramResult(block: com.kcl.api.BuildProgramResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.BuildProgramResult =
+  com.kcl.api.BuildProgramResultKt.Dsl._create(com.kcl.api.Spec.BuildProgramResult.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for build program response.
  * ```
  *
- * Protobuf type `com.kcl.api.BuildProgram_Result`
+ * Protobuf type `com.kcl.api.BuildProgramResult`
  */
-public object BuildProgram_ResultKt {
+public object BuildProgramResultKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.BuildProgram_Result.Builder
+    private val _builder: com.kcl.api.Spec.BuildProgramResult.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.BuildProgram_Result.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.BuildProgramResult.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.BuildProgram_Result = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.BuildProgramResult = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object BuildProgram_ResultKt {
      * `string path = 1;`
      */
     public var path: kotlin.String
-      @JvmName("getPath")
-      get() = _builder.path
-      @JvmName("setPath")
-      set(value) {
+      @kotlin.jvm.JvmName("getPath")
+        get() = _builder.path
+      @kotlin.jvm.JvmName("setPath")
+        set(value) {
         _builder.path = value
       }
     /**
@@ -59,6 +60,6 @@ public object BuildProgram_ResultKt {
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.BuildProgram_Result.copy(block: `com.kcl.api`.BuildProgram_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.BuildProgram_Result =
-  `com.kcl.api`.BuildProgram_ResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.BuildProgramResult.copy(block: `com.kcl.api`.BuildProgramResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.BuildProgramResult =
+  `com.kcl.api`.BuildProgramResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/CliConfigKt.kt b/kotlin/src/main/kotlin/com/kcl/api/CliConfigKt.kt
index d3ca44bd..445fa580 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/CliConfigKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/CliConfigKt.kt
@@ -2,6 +2,7 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
@@ -47,7 +48,7 @@ public object CliConfigKt {
      * @return A list containing the files.
      */
     public val files: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.filesList
       )
@@ -60,7 +61,7 @@ public object CliConfigKt {
      * @param value The files to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addFiles")
+@kotlin.jvm.JvmName("addFiles")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addFiles(value)
     }
@@ -73,7 +74,7 @@ public object CliConfigKt {
      * @param value The files to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignFiles")
+@kotlin.jvm.JvmName("plusAssignFiles")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -87,7 +88,7 @@ public object CliConfigKt {
      * @param values The files to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllFiles")
+@kotlin.jvm.JvmName("addAllFiles")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllFiles(values)
     }
@@ -100,7 +101,7 @@ public object CliConfigKt {
      * @param values The files to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllFiles")
+@kotlin.jvm.JvmName("plusAssignAllFiles")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -115,7 +116,7 @@ public object CliConfigKt {
      * @param value The files to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setFiles")
+@kotlin.jvm.JvmName("setFiles")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setFiles(index, value)
     }/**
@@ -126,7 +127,7 @@ public object CliConfigKt {
      * `repeated string files = 1;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearFiles")
+@kotlin.jvm.JvmName("setFiles")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearFiles()
     }
@@ -138,10 +139,10 @@ public object CliConfigKt {
      * `string output = 2;`
      */
     public var output: kotlin.String
-      @JvmName("getOutput")
-      get() = _builder.output
-      @JvmName("setOutput")
-      set(value) {
+      @kotlin.jvm.JvmName("getOutput")
+        get() = _builder.output
+      @kotlin.jvm.JvmName("setOutput")
+        set(value) {
         _builder.output = value
       }
     /**
@@ -170,7 +171,7 @@ public object CliConfigKt {
      * @return A list containing the overrides.
      */
     public val overrides: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.overridesList
       )
@@ -183,7 +184,7 @@ public object CliConfigKt {
      * @param value The overrides to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addOverrides")
+@kotlin.jvm.JvmName("addOverrides")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addOverrides(value)
     }
@@ -196,7 +197,7 @@ public object CliConfigKt {
      * @param value The overrides to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignOverrides")
+@kotlin.jvm.JvmName("plusAssignOverrides")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -210,7 +211,7 @@ public object CliConfigKt {
      * @param values The overrides to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllOverrides")
+@kotlin.jvm.JvmName("addAllOverrides")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllOverrides(values)
     }
@@ -223,7 +224,7 @@ public object CliConfigKt {
      * @param values The overrides to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllOverrides")
+@kotlin.jvm.JvmName("plusAssignAllOverrides")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -238,7 +239,7 @@ public object CliConfigKt {
      * @param value The overrides to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setOverrides")
+@kotlin.jvm.JvmName("setOverrides")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setOverrides(index, value)
     }/**
@@ -249,7 +250,7 @@ public object CliConfigKt {
      * `repeated string overrides = 3;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearOverrides")
+@kotlin.jvm.JvmName("setOverrides")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearOverrides()
     }
@@ -268,7 +269,7 @@ public object CliConfigKt {
      * @return A list containing the pathSelector.
      */
     public val pathSelector: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.pathSelectorList
       )
@@ -281,7 +282,7 @@ public object CliConfigKt {
      * @param value The pathSelector to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addPathSelector")
+@kotlin.jvm.JvmName("addPathSelector")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addPathSelector(value)
     }
@@ -294,7 +295,7 @@ public object CliConfigKt {
      * @param value The pathSelector to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignPathSelector")
+@kotlin.jvm.JvmName("plusAssignPathSelector")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -308,7 +309,7 @@ public object CliConfigKt {
      * @param values The pathSelector to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllPathSelector")
+@kotlin.jvm.JvmName("addAllPathSelector")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllPathSelector(values)
     }
@@ -321,7 +322,7 @@ public object CliConfigKt {
      * @param values The pathSelector to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllPathSelector")
+@kotlin.jvm.JvmName("plusAssignAllPathSelector")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -336,7 +337,7 @@ public object CliConfigKt {
      * @param value The pathSelector to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setPathSelector")
+@kotlin.jvm.JvmName("setPathSelector")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setPathSelector(index, value)
     }/**
@@ -347,7 +348,7 @@ public object CliConfigKt {
      * `repeated string path_selector = 4;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearPathSelector")
+@kotlin.jvm.JvmName("setPathSelector")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearPathSelector()
     }
@@ -359,10 +360,10 @@ public object CliConfigKt {
      * `bool strict_range_check = 5;`
      */
     public var strictRangeCheck: kotlin.Boolean
-      @JvmName("getStrictRangeCheck")
-      get() = _builder.strictRangeCheck
-      @JvmName("setStrictRangeCheck")
-      set(value) {
+      @kotlin.jvm.JvmName("getStrictRangeCheck")
+        get() = _builder.strictRangeCheck
+      @kotlin.jvm.JvmName("setStrictRangeCheck")
+        set(value) {
         _builder.strictRangeCheck = value
       }
     /**
@@ -384,10 +385,10 @@ public object CliConfigKt {
      * `bool disable_none = 6;`
      */
     public var disableNone: kotlin.Boolean
-      @JvmName("getDisableNone")
-      get() = _builder.disableNone
-      @JvmName("setDisableNone")
-      set(value) {
+      @kotlin.jvm.JvmName("getDisableNone")
+        get() = _builder.disableNone
+      @kotlin.jvm.JvmName("setDisableNone")
+        set(value) {
         _builder.disableNone = value
       }
     /**
@@ -409,10 +410,10 @@ public object CliConfigKt {
      * `int64 verbose = 7;`
      */
     public var verbose: kotlin.Long
-      @JvmName("getVerbose")
-      get() = _builder.verbose
-      @JvmName("setVerbose")
-      set(value) {
+      @kotlin.jvm.JvmName("getVerbose")
+        get() = _builder.verbose
+      @kotlin.jvm.JvmName("setVerbose")
+        set(value) {
         _builder.verbose = value
       }
     /**
@@ -434,10 +435,10 @@ public object CliConfigKt {
      * `bool debug = 8;`
      */
     public var debug: kotlin.Boolean
-      @JvmName("getDebug")
-      get() = _builder.debug
-      @JvmName("setDebug")
-      set(value) {
+      @kotlin.jvm.JvmName("getDebug")
+        get() = _builder.debug
+      @kotlin.jvm.JvmName("setDebug")
+        set(value) {
         _builder.debug = value
       }
     /**
@@ -459,10 +460,10 @@ public object CliConfigKt {
      * `bool sort_keys = 9;`
      */
     public var sortKeys: kotlin.Boolean
-      @JvmName("getSortKeys")
-      get() = _builder.sortKeys
-      @JvmName("setSortKeys")
-      set(value) {
+      @kotlin.jvm.JvmName("getSortKeys")
+        get() = _builder.sortKeys
+      @kotlin.jvm.JvmName("setSortKeys")
+        set(value) {
         _builder.sortKeys = value
       }
     /**
@@ -484,10 +485,10 @@ public object CliConfigKt {
      * `bool show_hidden = 10;`
      */
     public var showHidden: kotlin.Boolean
-      @JvmName("getShowHidden")
-      get() = _builder.showHidden
-      @JvmName("setShowHidden")
-      set(value) {
+      @kotlin.jvm.JvmName("getShowHidden")
+        get() = _builder.showHidden
+      @kotlin.jvm.JvmName("setShowHidden")
+        set(value) {
         _builder.showHidden = value
       }
     /**
@@ -509,10 +510,10 @@ public object CliConfigKt {
      * `bool include_schema_type_path = 11;`
      */
     public var includeSchemaTypePath: kotlin.Boolean
-      @JvmName("getIncludeSchemaTypePath")
-      get() = _builder.includeSchemaTypePath
-      @JvmName("setIncludeSchemaTypePath")
-      set(value) {
+      @kotlin.jvm.JvmName("getIncludeSchemaTypePath")
+        get() = _builder.includeSchemaTypePath
+      @kotlin.jvm.JvmName("setIncludeSchemaTypePath")
+        set(value) {
         _builder.includeSchemaTypePath = value
       }
     /**
@@ -534,10 +535,10 @@ public object CliConfigKt {
      * `bool fast_eval = 12;`
      */
     public var fastEval: kotlin.Boolean
-      @JvmName("getFastEval")
-      get() = _builder.fastEval
-      @JvmName("setFastEval")
-      set(value) {
+      @kotlin.jvm.JvmName("getFastEval")
+        get() = _builder.fastEval
+      @kotlin.jvm.JvmName("setFastEval")
+        set(value) {
         _builder.fastEval = value
       }
     /**
diff --git a/kotlin/src/main/kotlin/com/kcl/api/DecoratorKt.kt b/kotlin/src/main/kotlin/com/kcl/api/DecoratorKt.kt
index 71d1ca34..295517d7 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/DecoratorKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/DecoratorKt.kt
@@ -2,6 +2,7 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
@@ -40,10 +41,10 @@ public object DecoratorKt {
      * `string name = 1;`
      */
     public var name: kotlin.String
-      @JvmName("getName")
-      get() = _builder.name
-      @JvmName("setName")
-      set(value) {
+      @kotlin.jvm.JvmName("getName")
+        get() = _builder.name
+      @kotlin.jvm.JvmName("setName")
+        set(value) {
         _builder.name = value
       }
     /**
@@ -72,7 +73,7 @@ public object DecoratorKt {
      * @return A list containing the arguments.
      */
     public val arguments: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.argumentsList
       )
@@ -85,7 +86,7 @@ public object DecoratorKt {
      * @param value The arguments to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addArguments")
+@kotlin.jvm.JvmName("addArguments")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addArguments(value)
     }
@@ -98,7 +99,7 @@ public object DecoratorKt {
      * @param value The arguments to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignArguments")
+@kotlin.jvm.JvmName("plusAssignArguments")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -112,7 +113,7 @@ public object DecoratorKt {
      * @param values The arguments to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllArguments")
+@kotlin.jvm.JvmName("addAllArguments")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllArguments(values)
     }
@@ -125,7 +126,7 @@ public object DecoratorKt {
      * @param values The arguments to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllArguments")
+@kotlin.jvm.JvmName("plusAssignAllArguments")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -140,7 +141,7 @@ public object DecoratorKt {
      * @param value The arguments to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setArguments")
+@kotlin.jvm.JvmName("setArguments")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setArguments(index, value)
     }/**
@@ -151,7 +152,7 @@ public object DecoratorKt {
      * `repeated string arguments = 2;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearArguments")
+@kotlin.jvm.JvmName("setArguments")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearArguments()
     }
@@ -170,7 +171,7 @@ public object DecoratorKt {
      */
      public val keywords: com.google.protobuf.kotlin.DslMap
       @kotlin.jvm.JvmSynthetic
-      @JvmName("getKeywordsMap")
+@kotlin.jvm.JvmName("getKeywordsMap")
       get() = com.google.protobuf.kotlin.DslMap(
         _builder.keywordsMap
       )
@@ -181,7 +182,7 @@ public object DecoratorKt {
      *
      * `map keywords = 3;`
      */
-    @JvmName("putKeywords")
+    @kotlin.jvm.JvmName("putKeywords")
     public fun com.google.protobuf.kotlin.DslMap
       .put(key: kotlin.String, value: kotlin.String) {
          _builder.putKeywords(key, value)
@@ -194,7 +195,7 @@ public object DecoratorKt {
      * `map keywords = 3;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("setKeywords")
+@kotlin.jvm.JvmName("setKeywords")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslMap
       .set(key: kotlin.String, value: kotlin.String) {
@@ -208,7 +209,7 @@ public object DecoratorKt {
      * `map keywords = 3;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("removeKeywords")
+@kotlin.jvm.JvmName("removeKeywords")
     public fun com.google.protobuf.kotlin.DslMap
       .remove(key: kotlin.String) {
          _builder.removeKeywords(key)
@@ -221,7 +222,7 @@ public object DecoratorKt {
      * `map keywords = 3;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("putAllKeywords")
+@kotlin.jvm.JvmName("putAllKeywords")
     public fun com.google.protobuf.kotlin.DslMap
       .putAll(map: kotlin.collections.Map) {
          _builder.putAllKeywords(map)
@@ -234,7 +235,7 @@ public object DecoratorKt {
      * `map keywords = 3;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("clearKeywords")
+@kotlin.jvm.JvmName("clearKeywords")
     public fun com.google.protobuf.kotlin.DslMap
       .clear() {
          _builder.clearKeywords()
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ErrorKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ErrorKt.kt
index da10ccae..cd492728 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/ErrorKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/ErrorKt.kt
@@ -2,6 +2,7 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
@@ -40,10 +41,10 @@ public object ErrorKt {
      * `string level = 1;`
      */
     public var level: kotlin.String
-      @JvmName("getLevel")
-      get() = _builder.level
-      @JvmName("setLevel")
-      set(value) {
+      @kotlin.jvm.JvmName("getLevel")
+        get() = _builder.level
+      @kotlin.jvm.JvmName("setLevel")
+        set(value) {
         _builder.level = value
       }
     /**
@@ -65,10 +66,10 @@ public object ErrorKt {
      * `string code = 2;`
      */
     public var code: kotlin.String
-      @JvmName("getCode")
-      get() = _builder.code
-      @JvmName("setCode")
-      set(value) {
+      @kotlin.jvm.JvmName("getCode")
+        get() = _builder.code
+      @kotlin.jvm.JvmName("setCode")
+        set(value) {
         _builder.code = value
       }
     /**
@@ -97,7 +98,7 @@ public object ErrorKt {
      */
      public val messages: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.messagesList
       )
     /**
@@ -109,7 +110,7 @@ public object ErrorKt {
      * @param value The messages to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addMessages")
+@kotlin.jvm.JvmName("addMessages")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.Message) {
       _builder.addMessages(value)
     }
@@ -122,7 +123,7 @@ public object ErrorKt {
      * @param value The messages to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignMessages")
+@kotlin.jvm.JvmName("plusAssignMessages")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.Message) {
       add(value)
@@ -136,7 +137,7 @@ public object ErrorKt {
      * @param values The messages to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllMessages")
+@kotlin.jvm.JvmName("addAllMessages")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllMessages(values)
     }
@@ -149,7 +150,7 @@ public object ErrorKt {
      * @param values The messages to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllMessages")
+@kotlin.jvm.JvmName("plusAssignAllMessages")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -164,7 +165,7 @@ public object ErrorKt {
      * @param value The messages to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setMessages")
+@kotlin.jvm.JvmName("setMessages")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.Message) {
       _builder.setMessages(index, value)
     }
@@ -176,11 +177,10 @@ public object ErrorKt {
      * `repeated .com.kcl.api.Message messages = 3;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearMessages")
+@kotlin.jvm.JvmName("clearMessages")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearMessages()
     }
-
   }
 }
 @kotlin.jvm.JvmSynthetic
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ExampleKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ExampleKt.kt
index 8e37f684..303e4a35 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/ExampleKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/ExampleKt.kt
@@ -2,6 +2,7 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
@@ -40,10 +41,10 @@ public object ExampleKt {
      * `string summary = 1;`
      */
     public var summary: kotlin.String
-      @JvmName("getSummary")
-      get() = _builder.summary
-      @JvmName("setSummary")
-      set(value) {
+      @kotlin.jvm.JvmName("getSummary")
+        get() = _builder.summary
+      @kotlin.jvm.JvmName("setSummary")
+        set(value) {
         _builder.summary = value
       }
     /**
@@ -65,10 +66,10 @@ public object ExampleKt {
      * `string description = 2;`
      */
     public var description: kotlin.String
-      @JvmName("getDescription")
-      get() = _builder.description
-      @JvmName("setDescription")
-      set(value) {
+      @kotlin.jvm.JvmName("getDescription")
+        get() = _builder.description
+      @kotlin.jvm.JvmName("setDescription")
+        set(value) {
         _builder.description = value
       }
     /**
@@ -90,10 +91,10 @@ public object ExampleKt {
      * `string value = 3;`
      */
     public var value: kotlin.String
-      @JvmName("getValue")
-      get() = _builder.value
-      @JvmName("setValue")
-      set(value) {
+      @kotlin.jvm.JvmName("getValue")
+        get() = _builder.value
+      @kotlin.jvm.JvmName("setValue")
+        set(value) {
         _builder.value = value
       }
     /**
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ExecArtifact_ArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ExecArtifactArgsKt.kt
similarity index 55%
rename from kotlin/src/main/kotlin/com/kcl/api/ExecArtifact_ArgsKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/ExecArtifactArgsKt.kt
index 399e4d87..136efdb2 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/ExecArtifact_ArgsKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/ExecArtifactArgsKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializeexecArtifactArgs")
-public inline fun execArtifactArgs(block: com.kcl.api.ExecArtifact_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ExecArtifact_Args =
-  com.kcl.api.ExecArtifact_ArgsKt.Dsl._create(com.kcl.api.Spec.ExecArtifact_Args.newBuilder()).apply { block() }._build()
+public inline fun execArtifactArgs(block: com.kcl.api.ExecArtifactArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ExecArtifactArgs =
+  com.kcl.api.ExecArtifactArgsKt.Dsl._create(com.kcl.api.Spec.ExecArtifactArgs.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for execute artifact request arguments.
  * ```
  *
- * Protobuf type `com.kcl.api.ExecArtifact_Args`
+ * Protobuf type `com.kcl.api.ExecArtifactArgs`
  */
-public object ExecArtifact_ArgsKt {
+public object ExecArtifactArgsKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.ExecArtifact_Args.Builder
+    private val _builder: com.kcl.api.Spec.ExecArtifactArgs.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.ExecArtifact_Args.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.ExecArtifactArgs.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.ExecArtifact_Args = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.ExecArtifactArgs = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object ExecArtifact_ArgsKt {
      * `string path = 1;`
      */
     public var path: kotlin.String
-      @JvmName("getPath")
-      get() = _builder.path
-      @JvmName("setPath")
-      set(value) {
+      @kotlin.jvm.JvmName("getPath")
+        get() = _builder.path
+      @kotlin.jvm.JvmName("setPath")
+        set(value) {
         _builder.path = value
       }
     /**
@@ -62,13 +63,13 @@ public object ExecArtifact_ArgsKt {
      * Arguments for executing the program.
      * ```
      *
-     * `.com.kcl.api.ExecProgram_Args exec_args = 2;`
+     * `.com.kcl.api.ExecProgramArgs exec_args = 2;`
      */
-    public var execArgs: com.kcl.api.Spec.ExecProgram_Args
-      @JvmName("getExecArgs")
-      get() = _builder.execArgs
-      @JvmName("setExecArgs")
-      set(value) {
+    public var execArgs: com.kcl.api.Spec.ExecProgramArgs
+      @kotlin.jvm.JvmName("getExecArgs")
+        get() = _builder.execArgs
+      @kotlin.jvm.JvmName("setExecArgs")
+        set(value) {
         _builder.execArgs = value
       }
     /**
@@ -76,7 +77,7 @@ public object ExecArtifact_ArgsKt {
      * Arguments for executing the program.
      * ```
      *
-     * `.com.kcl.api.ExecProgram_Args exec_args = 2;`
+     * `.com.kcl.api.ExecProgramArgs exec_args = 2;`
      */
     public fun clearExecArgs() {
       _builder.clearExecArgs()
@@ -86,21 +87,21 @@ public object ExecArtifact_ArgsKt {
      * Arguments for executing the program.
      * ```
      *
-     * `.com.kcl.api.ExecProgram_Args exec_args = 2;`
+     * `.com.kcl.api.ExecProgramArgs exec_args = 2;`
      * @return Whether the execArgs field is set.
      */
     public fun hasExecArgs(): kotlin.Boolean {
       return _builder.hasExecArgs()
     }
 
-    public val ExecArtifact_ArgsKt.Dsl.execArgsOrNull: com.kcl.api.Spec.ExecProgram_Args?
+    public val ExecArtifactArgsKt.Dsl.execArgsOrNull: com.kcl.api.Spec.ExecProgramArgs?
       get() = _builder.execArgsOrNull
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.ExecArtifact_Args.copy(block: `com.kcl.api`.ExecArtifact_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ExecArtifact_Args =
-  `com.kcl.api`.ExecArtifact_ArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.ExecArtifactArgs.copy(block: `com.kcl.api`.ExecArtifactArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ExecArtifactArgs =
+  `com.kcl.api`.ExecArtifactArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
-public val com.kcl.api.Spec.ExecArtifact_ArgsOrBuilder.execArgsOrNull: com.kcl.api.Spec.ExecProgram_Args?
+public val com.kcl.api.Spec.ExecArtifactArgsOrBuilder.execArgsOrNull: com.kcl.api.Spec.ExecProgramArgs?
   get() = if (hasExecArgs()) getExecArgs() else null
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ExecProgram_ArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ExecProgramArgsKt.kt
similarity index 84%
rename from kotlin/src/main/kotlin/com/kcl/api/ExecProgram_ArgsKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/ExecProgramArgsKt.kt
index 6d692d4d..ab33f91f 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/ExecProgram_ArgsKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/ExecProgramArgsKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializeexecProgramArgs")
-public inline fun execProgramArgs(block: com.kcl.api.ExecProgram_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ExecProgram_Args =
-  com.kcl.api.ExecProgram_ArgsKt.Dsl._create(com.kcl.api.Spec.ExecProgram_Args.newBuilder()).apply { block() }._build()
+public inline fun execProgramArgs(block: com.kcl.api.ExecProgramArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ExecProgramArgs =
+  com.kcl.api.ExecProgramArgsKt.Dsl._create(com.kcl.api.Spec.ExecProgramArgs.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for execute program request arguments.
  * ```
  *
- * Protobuf type `com.kcl.api.ExecProgram_Args`
+ * Protobuf type `com.kcl.api.ExecProgramArgs`
  */
-public object ExecProgram_ArgsKt {
+public object ExecProgramArgsKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.ExecProgram_Args.Builder
+    private val _builder: com.kcl.api.Spec.ExecProgramArgs.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.ExecProgram_Args.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.ExecProgramArgs.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.ExecProgram_Args = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.ExecProgramArgs = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object ExecProgram_ArgsKt {
      * `string work_dir = 1;`
      */
     public var workDir: kotlin.String
-      @JvmName("getWorkDir")
-      get() = _builder.workDir
-      @JvmName("setWorkDir")
-      set(value) {
+      @kotlin.jvm.JvmName("getWorkDir")
+        get() = _builder.workDir
+      @kotlin.jvm.JvmName("setWorkDir")
+        set(value) {
         _builder.workDir = value
       }
     /**
@@ -72,7 +73,7 @@ public object ExecProgram_ArgsKt {
      * @return A list containing the kFilenameList.
      */
     public val kFilenameList: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.kFilenameListList
       )
@@ -85,7 +86,7 @@ public object ExecProgram_ArgsKt {
      * @param value The kFilenameList to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addKFilenameList")
+@kotlin.jvm.JvmName("addKFilenameList")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addKFilenameList(value)
     }
@@ -98,7 +99,7 @@ public object ExecProgram_ArgsKt {
      * @param value The kFilenameList to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignKFilenameList")
+@kotlin.jvm.JvmName("plusAssignKFilenameList")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -112,7 +113,7 @@ public object ExecProgram_ArgsKt {
      * @param values The kFilenameList to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllKFilenameList")
+@kotlin.jvm.JvmName("addAllKFilenameList")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllKFilenameList(values)
     }
@@ -125,7 +126,7 @@ public object ExecProgram_ArgsKt {
      * @param values The kFilenameList to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllKFilenameList")
+@kotlin.jvm.JvmName("plusAssignAllKFilenameList")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -140,7 +141,7 @@ public object ExecProgram_ArgsKt {
      * @param value The kFilenameList to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setKFilenameList")
+@kotlin.jvm.JvmName("setKFilenameList")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setKFilenameList(index, value)
     }/**
@@ -151,7 +152,7 @@ public object ExecProgram_ArgsKt {
      * `repeated string k_filename_list = 2;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearKFilenameList")
+@kotlin.jvm.JvmName("setKFilenameList")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearKFilenameList()
     }
@@ -170,7 +171,7 @@ public object ExecProgram_ArgsKt {
      * @return A list containing the kCodeList.
      */
     public val kCodeList: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.kCodeListList
       )
@@ -183,7 +184,7 @@ public object ExecProgram_ArgsKt {
      * @param value The kCodeList to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addKCodeList")
+@kotlin.jvm.JvmName("addKCodeList")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addKCodeList(value)
     }
@@ -196,7 +197,7 @@ public object ExecProgram_ArgsKt {
      * @param value The kCodeList to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignKCodeList")
+@kotlin.jvm.JvmName("plusAssignKCodeList")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -210,7 +211,7 @@ public object ExecProgram_ArgsKt {
      * @param values The kCodeList to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllKCodeList")
+@kotlin.jvm.JvmName("addAllKCodeList")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllKCodeList(values)
     }
@@ -223,7 +224,7 @@ public object ExecProgram_ArgsKt {
      * @param values The kCodeList to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllKCodeList")
+@kotlin.jvm.JvmName("plusAssignAllKCodeList")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -238,7 +239,7 @@ public object ExecProgram_ArgsKt {
      * @param value The kCodeList to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setKCodeList")
+@kotlin.jvm.JvmName("setKCodeList")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setKCodeList(index, value)
     }/**
@@ -249,7 +250,7 @@ public object ExecProgram_ArgsKt {
      * `repeated string k_code_list = 3;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearKCodeList")
+@kotlin.jvm.JvmName("setKCodeList")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearKCodeList()
     }
@@ -268,7 +269,7 @@ public object ExecProgram_ArgsKt {
      */
      public val args: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.argsList
       )
     /**
@@ -280,7 +281,7 @@ public object ExecProgram_ArgsKt {
      * @param value The args to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addArgs")
+@kotlin.jvm.JvmName("addArgs")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.Argument) {
       _builder.addArgs(value)
     }
@@ -293,7 +294,7 @@ public object ExecProgram_ArgsKt {
      * @param value The args to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignArgs")
+@kotlin.jvm.JvmName("plusAssignArgs")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.Argument) {
       add(value)
@@ -307,7 +308,7 @@ public object ExecProgram_ArgsKt {
      * @param values The args to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllArgs")
+@kotlin.jvm.JvmName("addAllArgs")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllArgs(values)
     }
@@ -320,7 +321,7 @@ public object ExecProgram_ArgsKt {
      * @param values The args to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllArgs")
+@kotlin.jvm.JvmName("plusAssignAllArgs")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -335,7 +336,7 @@ public object ExecProgram_ArgsKt {
      * @param value The args to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setArgs")
+@kotlin.jvm.JvmName("setArgs")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.Argument) {
       _builder.setArgs(index, value)
     }
@@ -347,12 +348,11 @@ public object ExecProgram_ArgsKt {
      * `repeated .com.kcl.api.Argument args = 4;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearArgs")
+@kotlin.jvm.JvmName("clearArgs")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearArgs()
     }
 
-
     /**
      * An uninstantiable, behaviorless type to represent the field in
      * generics.
@@ -368,7 +368,7 @@ public object ExecProgram_ArgsKt {
      * @return A list containing the overrides.
      */
     public val overrides: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.overridesList
       )
@@ -381,7 +381,7 @@ public object ExecProgram_ArgsKt {
      * @param value The overrides to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addOverrides")
+@kotlin.jvm.JvmName("addOverrides")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addOverrides(value)
     }
@@ -394,7 +394,7 @@ public object ExecProgram_ArgsKt {
      * @param value The overrides to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignOverrides")
+@kotlin.jvm.JvmName("plusAssignOverrides")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -408,7 +408,7 @@ public object ExecProgram_ArgsKt {
      * @param values The overrides to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllOverrides")
+@kotlin.jvm.JvmName("addAllOverrides")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllOverrides(values)
     }
@@ -421,7 +421,7 @@ public object ExecProgram_ArgsKt {
      * @param values The overrides to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllOverrides")
+@kotlin.jvm.JvmName("plusAssignAllOverrides")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -436,7 +436,7 @@ public object ExecProgram_ArgsKt {
      * @param value The overrides to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setOverrides")
+@kotlin.jvm.JvmName("setOverrides")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setOverrides(index, value)
     }/**
@@ -447,7 +447,7 @@ public object ExecProgram_ArgsKt {
      * `repeated string overrides = 5;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearOverrides")
+@kotlin.jvm.JvmName("setOverrides")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearOverrides()
     }
@@ -459,10 +459,10 @@ public object ExecProgram_ArgsKt {
      * `bool disable_yaml_result = 6;`
      */
     public var disableYamlResult: kotlin.Boolean
-      @JvmName("getDisableYamlResult")
-      get() = _builder.disableYamlResult
-      @JvmName("setDisableYamlResult")
-      set(value) {
+      @kotlin.jvm.JvmName("getDisableYamlResult")
+        get() = _builder.disableYamlResult
+      @kotlin.jvm.JvmName("setDisableYamlResult")
+        set(value) {
         _builder.disableYamlResult = value
       }
     /**
@@ -484,10 +484,10 @@ public object ExecProgram_ArgsKt {
      * `bool print_override_ast = 7;`
      */
     public var printOverrideAst: kotlin.Boolean
-      @JvmName("getPrintOverrideAst")
-      get() = _builder.printOverrideAst
-      @JvmName("setPrintOverrideAst")
-      set(value) {
+      @kotlin.jvm.JvmName("getPrintOverrideAst")
+        get() = _builder.printOverrideAst
+      @kotlin.jvm.JvmName("setPrintOverrideAst")
+        set(value) {
         _builder.printOverrideAst = value
       }
     /**
@@ -509,10 +509,10 @@ public object ExecProgram_ArgsKt {
      * `bool strict_range_check = 8;`
      */
     public var strictRangeCheck: kotlin.Boolean
-      @JvmName("getStrictRangeCheck")
-      get() = _builder.strictRangeCheck
-      @JvmName("setStrictRangeCheck")
-      set(value) {
+      @kotlin.jvm.JvmName("getStrictRangeCheck")
+        get() = _builder.strictRangeCheck
+      @kotlin.jvm.JvmName("setStrictRangeCheck")
+        set(value) {
         _builder.strictRangeCheck = value
       }
     /**
@@ -534,10 +534,10 @@ public object ExecProgram_ArgsKt {
      * `bool disable_none = 9;`
      */
     public var disableNone: kotlin.Boolean
-      @JvmName("getDisableNone")
-      get() = _builder.disableNone
-      @JvmName("setDisableNone")
-      set(value) {
+      @kotlin.jvm.JvmName("getDisableNone")
+        get() = _builder.disableNone
+      @kotlin.jvm.JvmName("setDisableNone")
+        set(value) {
         _builder.disableNone = value
       }
     /**
@@ -559,10 +559,10 @@ public object ExecProgram_ArgsKt {
      * `int32 verbose = 10;`
      */
     public var verbose: kotlin.Int
-      @JvmName("getVerbose")
-      get() = _builder.verbose
-      @JvmName("setVerbose")
-      set(value) {
+      @kotlin.jvm.JvmName("getVerbose")
+        get() = _builder.verbose
+      @kotlin.jvm.JvmName("setVerbose")
+        set(value) {
         _builder.verbose = value
       }
     /**
@@ -584,10 +584,10 @@ public object ExecProgram_ArgsKt {
      * `int32 debug = 11;`
      */
     public var debug: kotlin.Int
-      @JvmName("getDebug")
-      get() = _builder.debug
-      @JvmName("setDebug")
-      set(value) {
+      @kotlin.jvm.JvmName("getDebug")
+        get() = _builder.debug
+      @kotlin.jvm.JvmName("setDebug")
+        set(value) {
         _builder.debug = value
       }
     /**
@@ -609,10 +609,10 @@ public object ExecProgram_ArgsKt {
      * `bool sort_keys = 12;`
      */
     public var sortKeys: kotlin.Boolean
-      @JvmName("getSortKeys")
-      get() = _builder.sortKeys
-      @JvmName("setSortKeys")
-      set(value) {
+      @kotlin.jvm.JvmName("getSortKeys")
+        get() = _builder.sortKeys
+      @kotlin.jvm.JvmName("setSortKeys")
+        set(value) {
         _builder.sortKeys = value
       }
     /**
@@ -641,7 +641,7 @@ public object ExecProgram_ArgsKt {
      */
      public val externalPkgs: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.externalPkgsList
       )
     /**
@@ -653,7 +653,7 @@ public object ExecProgram_ArgsKt {
      * @param value The externalPkgs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addExternalPkgs")
+@kotlin.jvm.JvmName("addExternalPkgs")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.ExternalPkg) {
       _builder.addExternalPkgs(value)
     }
@@ -666,7 +666,7 @@ public object ExecProgram_ArgsKt {
      * @param value The externalPkgs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignExternalPkgs")
+@kotlin.jvm.JvmName("plusAssignExternalPkgs")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.ExternalPkg) {
       add(value)
@@ -680,7 +680,7 @@ public object ExecProgram_ArgsKt {
      * @param values The externalPkgs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllExternalPkgs")
+@kotlin.jvm.JvmName("addAllExternalPkgs")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllExternalPkgs(values)
     }
@@ -693,7 +693,7 @@ public object ExecProgram_ArgsKt {
      * @param values The externalPkgs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllExternalPkgs")
+@kotlin.jvm.JvmName("plusAssignAllExternalPkgs")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -708,7 +708,7 @@ public object ExecProgram_ArgsKt {
      * @param value The externalPkgs to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setExternalPkgs")
+@kotlin.jvm.JvmName("setExternalPkgs")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.ExternalPkg) {
       _builder.setExternalPkgs(index, value)
     }
@@ -720,12 +720,11 @@ public object ExecProgram_ArgsKt {
      * `repeated .com.kcl.api.ExternalPkg external_pkgs = 13;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearExternalPkgs")
+@kotlin.jvm.JvmName("clearExternalPkgs")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearExternalPkgs()
     }
 
-
     /**
      * ```
      * Flag to include schema type path in results.
@@ -734,10 +733,10 @@ public object ExecProgram_ArgsKt {
      * `bool include_schema_type_path = 14;`
      */
     public var includeSchemaTypePath: kotlin.Boolean
-      @JvmName("getIncludeSchemaTypePath")
-      get() = _builder.includeSchemaTypePath
-      @JvmName("setIncludeSchemaTypePath")
-      set(value) {
+      @kotlin.jvm.JvmName("getIncludeSchemaTypePath")
+        get() = _builder.includeSchemaTypePath
+      @kotlin.jvm.JvmName("setIncludeSchemaTypePath")
+        set(value) {
         _builder.includeSchemaTypePath = value
       }
     /**
@@ -759,10 +758,10 @@ public object ExecProgram_ArgsKt {
      * `bool compile_only = 15;`
      */
     public var compileOnly: kotlin.Boolean
-      @JvmName("getCompileOnly")
-      get() = _builder.compileOnly
-      @JvmName("setCompileOnly")
-      set(value) {
+      @kotlin.jvm.JvmName("getCompileOnly")
+        get() = _builder.compileOnly
+      @kotlin.jvm.JvmName("setCompileOnly")
+        set(value) {
         _builder.compileOnly = value
       }
     /**
@@ -784,10 +783,10 @@ public object ExecProgram_ArgsKt {
      * `bool show_hidden = 16;`
      */
     public var showHidden: kotlin.Boolean
-      @JvmName("getShowHidden")
-      get() = _builder.showHidden
-      @JvmName("setShowHidden")
-      set(value) {
+      @kotlin.jvm.JvmName("getShowHidden")
+        get() = _builder.showHidden
+      @kotlin.jvm.JvmName("setShowHidden")
+        set(value) {
         _builder.showHidden = value
       }
     /**
@@ -816,7 +815,7 @@ public object ExecProgram_ArgsKt {
      * @return A list containing the pathSelector.
      */
     public val pathSelector: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.pathSelectorList
       )
@@ -829,7 +828,7 @@ public object ExecProgram_ArgsKt {
      * @param value The pathSelector to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addPathSelector")
+@kotlin.jvm.JvmName("addPathSelector")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addPathSelector(value)
     }
@@ -842,7 +841,7 @@ public object ExecProgram_ArgsKt {
      * @param value The pathSelector to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignPathSelector")
+@kotlin.jvm.JvmName("plusAssignPathSelector")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -856,7 +855,7 @@ public object ExecProgram_ArgsKt {
      * @param values The pathSelector to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllPathSelector")
+@kotlin.jvm.JvmName("addAllPathSelector")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllPathSelector(values)
     }
@@ -869,7 +868,7 @@ public object ExecProgram_ArgsKt {
      * @param values The pathSelector to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllPathSelector")
+@kotlin.jvm.JvmName("plusAssignAllPathSelector")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -884,7 +883,7 @@ public object ExecProgram_ArgsKt {
      * @param value The pathSelector to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setPathSelector")
+@kotlin.jvm.JvmName("setPathSelector")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setPathSelector(index, value)
     }/**
@@ -895,7 +894,7 @@ public object ExecProgram_ArgsKt {
      * `repeated string path_selector = 17;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearPathSelector")
+@kotlin.jvm.JvmName("setPathSelector")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearPathSelector()
     }
@@ -907,10 +906,10 @@ public object ExecProgram_ArgsKt {
      * `bool fast_eval = 18;`
      */
     public var fastEval: kotlin.Boolean
-      @JvmName("getFastEval")
-      get() = _builder.fastEval
-      @JvmName("setFastEval")
-      set(value) {
+      @kotlin.jvm.JvmName("getFastEval")
+        get() = _builder.fastEval
+      @kotlin.jvm.JvmName("setFastEval")
+        set(value) {
         _builder.fastEval = value
       }
     /**
@@ -926,6 +925,6 @@ public object ExecProgram_ArgsKt {
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.ExecProgram_Args.copy(block: `com.kcl.api`.ExecProgram_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ExecProgram_Args =
-  `com.kcl.api`.ExecProgram_ArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.ExecProgramArgs.copy(block: `com.kcl.api`.ExecProgramArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ExecProgramArgs =
+  `com.kcl.api`.ExecProgramArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ExecProgram_ResultKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ExecProgramResultKt.kt
similarity index 63%
rename from kotlin/src/main/kotlin/com/kcl/api/ExecProgram_ResultKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/ExecProgramResultKt.kt
index 5d1d8b76..8fe8ce68 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/ExecProgram_ResultKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/ExecProgramResultKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializeexecProgramResult")
-public inline fun execProgramResult(block: com.kcl.api.ExecProgram_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ExecProgram_Result =
-  com.kcl.api.ExecProgram_ResultKt.Dsl._create(com.kcl.api.Spec.ExecProgram_Result.newBuilder()).apply { block() }._build()
+public inline fun execProgramResult(block: com.kcl.api.ExecProgramResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ExecProgramResult =
+  com.kcl.api.ExecProgramResultKt.Dsl._create(com.kcl.api.Spec.ExecProgramResult.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for execute program response.
  * ```
  *
- * Protobuf type `com.kcl.api.ExecProgram_Result`
+ * Protobuf type `com.kcl.api.ExecProgramResult`
  */
-public object ExecProgram_ResultKt {
+public object ExecProgramResultKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.ExecProgram_Result.Builder
+    private val _builder: com.kcl.api.Spec.ExecProgramResult.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.ExecProgram_Result.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.ExecProgramResult.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.ExecProgram_Result = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.ExecProgramResult = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object ExecProgram_ResultKt {
      * `string json_result = 1;`
      */
     public var jsonResult: kotlin.String
-      @JvmName("getJsonResult")
-      get() = _builder.jsonResult
-      @JvmName("setJsonResult")
-      set(value) {
+      @kotlin.jvm.JvmName("getJsonResult")
+        get() = _builder.jsonResult
+      @kotlin.jvm.JvmName("setJsonResult")
+        set(value) {
         _builder.jsonResult = value
       }
     /**
@@ -65,10 +66,10 @@ public object ExecProgram_ResultKt {
      * `string yaml_result = 2;`
      */
     public var yamlResult: kotlin.String
-      @JvmName("getYamlResult")
-      get() = _builder.yamlResult
-      @JvmName("setYamlResult")
-      set(value) {
+      @kotlin.jvm.JvmName("getYamlResult")
+        get() = _builder.yamlResult
+      @kotlin.jvm.JvmName("setYamlResult")
+        set(value) {
         _builder.yamlResult = value
       }
     /**
@@ -90,10 +91,10 @@ public object ExecProgram_ResultKt {
      * `string log_message = 3;`
      */
     public var logMessage: kotlin.String
-      @JvmName("getLogMessage")
-      get() = _builder.logMessage
-      @JvmName("setLogMessage")
-      set(value) {
+      @kotlin.jvm.JvmName("getLogMessage")
+        get() = _builder.logMessage
+      @kotlin.jvm.JvmName("setLogMessage")
+        set(value) {
         _builder.logMessage = value
       }
     /**
@@ -115,10 +116,10 @@ public object ExecProgram_ResultKt {
      * `string err_message = 4;`
      */
     public var errMessage: kotlin.String
-      @JvmName("getErrMessage")
-      get() = _builder.errMessage
-      @JvmName("setErrMessage")
-      set(value) {
+      @kotlin.jvm.JvmName("getErrMessage")
+        get() = _builder.errMessage
+      @kotlin.jvm.JvmName("setErrMessage")
+        set(value) {
         _builder.errMessage = value
       }
     /**
@@ -134,6 +135,6 @@ public object ExecProgram_ResultKt {
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.ExecProgram_Result.copy(block: `com.kcl.api`.ExecProgram_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ExecProgram_Result =
-  `com.kcl.api`.ExecProgram_ResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.ExecProgramResult.copy(block: `com.kcl.api`.ExecProgramResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ExecProgramResult =
+  `com.kcl.api`.ExecProgramResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ExternalPkgKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ExternalPkgKt.kt
index e26a742f..6aaa3ef7 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/ExternalPkgKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/ExternalPkgKt.kt
@@ -2,6 +2,7 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
@@ -41,10 +42,10 @@ public object ExternalPkgKt {
      * `string pkg_name = 1;`
      */
     public var pkgName: kotlin.String
-      @JvmName("getPkgName")
-      get() = _builder.pkgName
-      @JvmName("setPkgName")
-      set(value) {
+      @kotlin.jvm.JvmName("getPkgName")
+        get() = _builder.pkgName
+      @kotlin.jvm.JvmName("setPkgName")
+        set(value) {
         _builder.pkgName = value
       }
     /**
@@ -66,10 +67,10 @@ public object ExternalPkgKt {
      * `string pkg_path = 2;`
      */
     public var pkgPath: kotlin.String
-      @JvmName("getPkgPath")
-      get() = _builder.pkgPath
-      @JvmName("setPkgPath")
-      set(value) {
+      @kotlin.jvm.JvmName("getPkgPath")
+        get() = _builder.pkgPath
+      @kotlin.jvm.JvmName("setPkgPath")
+        set(value) {
         _builder.pkgPath = value
       }
     /**
diff --git a/kotlin/src/main/kotlin/com/kcl/api/FormatCode_ArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/FormatCodeArgsKt.kt
similarity index 52%
rename from kotlin/src/main/kotlin/com/kcl/api/FormatCode_ArgsKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/FormatCodeArgsKt.kt
index 5cb66aa4..5a8f2ee2 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/FormatCode_ArgsKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/FormatCodeArgsKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializeformatCodeArgs")
-public inline fun formatCodeArgs(block: com.kcl.api.FormatCode_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.FormatCode_Args =
-  com.kcl.api.FormatCode_ArgsKt.Dsl._create(com.kcl.api.Spec.FormatCode_Args.newBuilder()).apply { block() }._build()
+public inline fun formatCodeArgs(block: com.kcl.api.FormatCodeArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.FormatCodeArgs =
+  com.kcl.api.FormatCodeArgsKt.Dsl._create(com.kcl.api.Spec.FormatCodeArgs.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for format code request arguments.
  * ```
  *
- * Protobuf type `com.kcl.api.FormatCode_Args`
+ * Protobuf type `com.kcl.api.FormatCodeArgs`
  */
-public object FormatCode_ArgsKt {
+public object FormatCodeArgsKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.FormatCode_Args.Builder
+    private val _builder: com.kcl.api.Spec.FormatCodeArgs.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.FormatCode_Args.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.FormatCodeArgs.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.FormatCode_Args = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.FormatCodeArgs = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object FormatCode_ArgsKt {
      * `string source = 1;`
      */
     public var source: kotlin.String
-      @JvmName("getSource")
-      get() = _builder.source
-      @JvmName("setSource")
-      set(value) {
+      @kotlin.jvm.JvmName("getSource")
+        get() = _builder.source
+      @kotlin.jvm.JvmName("setSource")
+        set(value) {
         _builder.source = value
       }
     /**
@@ -59,6 +60,6 @@ public object FormatCode_ArgsKt {
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.FormatCode_Args.copy(block: `com.kcl.api`.FormatCode_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.FormatCode_Args =
-  `com.kcl.api`.FormatCode_ArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.FormatCodeArgs.copy(block: `com.kcl.api`.FormatCodeArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.FormatCodeArgs =
+  `com.kcl.api`.FormatCodeArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/FormatCode_ResultKt.kt b/kotlin/src/main/kotlin/com/kcl/api/FormatCodeResultKt.kt
similarity index 54%
rename from kotlin/src/main/kotlin/com/kcl/api/FormatCode_ResultKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/FormatCodeResultKt.kt
index 40068558..706e07ff 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/FormatCode_ResultKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/FormatCodeResultKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializeformatCodeResult")
-public inline fun formatCodeResult(block: com.kcl.api.FormatCode_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.FormatCode_Result =
-  com.kcl.api.FormatCode_ResultKt.Dsl._create(com.kcl.api.Spec.FormatCode_Result.newBuilder()).apply { block() }._build()
+public inline fun formatCodeResult(block: com.kcl.api.FormatCodeResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.FormatCodeResult =
+  com.kcl.api.FormatCodeResultKt.Dsl._create(com.kcl.api.Spec.FormatCodeResult.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for format code response.
  * ```
  *
- * Protobuf type `com.kcl.api.FormatCode_Result`
+ * Protobuf type `com.kcl.api.FormatCodeResult`
  */
-public object FormatCode_ResultKt {
+public object FormatCodeResultKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.FormatCode_Result.Builder
+    private val _builder: com.kcl.api.Spec.FormatCodeResult.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.FormatCode_Result.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.FormatCodeResult.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.FormatCode_Result = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.FormatCodeResult = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object FormatCode_ResultKt {
      * `bytes formatted = 1;`
      */
     public var formatted: com.google.protobuf.ByteString
-      @JvmName("getFormatted")
-      get() = _builder.formatted
-      @JvmName("setFormatted")
-      set(value) {
+      @kotlin.jvm.JvmName("getFormatted")
+        get() = _builder.formatted
+      @kotlin.jvm.JvmName("setFormatted")
+        set(value) {
         _builder.formatted = value
       }
     /**
@@ -59,6 +60,6 @@ public object FormatCode_ResultKt {
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.FormatCode_Result.copy(block: `com.kcl.api`.FormatCode_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.FormatCode_Result =
-  `com.kcl.api`.FormatCode_ResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.FormatCodeResult.copy(block: `com.kcl.api`.FormatCodeResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.FormatCodeResult =
+  `com.kcl.api`.FormatCodeResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/FormatPath_ArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/FormatPathArgsKt.kt
similarity index 51%
rename from kotlin/src/main/kotlin/com/kcl/api/FormatPath_ArgsKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/FormatPathArgsKt.kt
index 95912c88..5f5cf63d 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/FormatPath_ArgsKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/FormatPathArgsKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializeformatPathArgs")
-public inline fun formatPathArgs(block: com.kcl.api.FormatPath_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.FormatPath_Args =
-  com.kcl.api.FormatPath_ArgsKt.Dsl._create(com.kcl.api.Spec.FormatPath_Args.newBuilder()).apply { block() }._build()
+public inline fun formatPathArgs(block: com.kcl.api.FormatPathArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.FormatPathArgs =
+  com.kcl.api.FormatPathArgsKt.Dsl._create(com.kcl.api.Spec.FormatPathArgs.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for format file path request arguments.
  * ```
  *
- * Protobuf type `com.kcl.api.FormatPath_Args`
+ * Protobuf type `com.kcl.api.FormatPathArgs`
  */
-public object FormatPath_ArgsKt {
+public object FormatPathArgsKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.FormatPath_Args.Builder
+    private val _builder: com.kcl.api.Spec.FormatPathArgs.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.FormatPath_Args.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.FormatPathArgs.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.FormatPath_Args = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.FormatPathArgs = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object FormatPath_ArgsKt {
      * `string path = 1;`
      */
     public var path: kotlin.String
-      @JvmName("getPath")
-      get() = _builder.path
-      @JvmName("setPath")
-      set(value) {
+      @kotlin.jvm.JvmName("getPath")
+        get() = _builder.path
+      @kotlin.jvm.JvmName("setPath")
+        set(value) {
         _builder.path = value
       }
     /**
@@ -59,6 +60,6 @@ public object FormatPath_ArgsKt {
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.FormatPath_Args.copy(block: `com.kcl.api`.FormatPath_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.FormatPath_Args =
-  `com.kcl.api`.FormatPath_ArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.FormatPathArgs.copy(block: `com.kcl.api`.FormatPathArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.FormatPathArgs =
+  `com.kcl.api`.FormatPathArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/FormatPath_ResultKt.kt b/kotlin/src/main/kotlin/com/kcl/api/FormatPathResultKt.kt
similarity index 76%
rename from kotlin/src/main/kotlin/com/kcl/api/FormatPath_ResultKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/FormatPathResultKt.kt
index a692a9aa..1ed7939c 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/FormatPath_ResultKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/FormatPathResultKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializeformatPathResult")
-public inline fun formatPathResult(block: com.kcl.api.FormatPath_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.FormatPath_Result =
-  com.kcl.api.FormatPath_ResultKt.Dsl._create(com.kcl.api.Spec.FormatPath_Result.newBuilder()).apply { block() }._build()
+public inline fun formatPathResult(block: com.kcl.api.FormatPathResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.FormatPathResult =
+  com.kcl.api.FormatPathResultKt.Dsl._create(com.kcl.api.Spec.FormatPathResult.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for format file path response.
  * ```
  *
- * Protobuf type `com.kcl.api.FormatPath_Result`
+ * Protobuf type `com.kcl.api.FormatPathResult`
  */
-public object FormatPath_ResultKt {
+public object FormatPathResultKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.FormatPath_Result.Builder
+    private val _builder: com.kcl.api.Spec.FormatPathResult.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.FormatPath_Result.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.FormatPathResult.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.FormatPath_Result = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.FormatPathResult = _builder.build()
 
     /**
      * An uninstantiable, behaviorless type to represent the field in
@@ -47,7 +48,7 @@ public object FormatPath_ResultKt {
      * @return A list containing the changedPaths.
      */
     public val changedPaths: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.changedPathsList
       )
@@ -60,7 +61,7 @@ public object FormatPath_ResultKt {
      * @param value The changedPaths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addChangedPaths")
+@kotlin.jvm.JvmName("addChangedPaths")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addChangedPaths(value)
     }
@@ -73,7 +74,7 @@ public object FormatPath_ResultKt {
      * @param value The changedPaths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignChangedPaths")
+@kotlin.jvm.JvmName("plusAssignChangedPaths")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -87,7 +88,7 @@ public object FormatPath_ResultKt {
      * @param values The changedPaths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllChangedPaths")
+@kotlin.jvm.JvmName("addAllChangedPaths")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllChangedPaths(values)
     }
@@ -100,7 +101,7 @@ public object FormatPath_ResultKt {
      * @param values The changedPaths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllChangedPaths")
+@kotlin.jvm.JvmName("plusAssignAllChangedPaths")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -115,7 +116,7 @@ public object FormatPath_ResultKt {
      * @param value The changedPaths to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setChangedPaths")
+@kotlin.jvm.JvmName("setChangedPaths")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setChangedPaths(index, value)
     }/**
@@ -126,12 +127,12 @@ public object FormatPath_ResultKt {
      * `repeated string changed_paths = 1;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearChangedPaths")
+@kotlin.jvm.JvmName("setChangedPaths")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearChangedPaths()
     }}
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.FormatPath_Result.copy(block: `com.kcl.api`.FormatPath_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.FormatPath_Result =
-  `com.kcl.api`.FormatPath_ResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.FormatPathResult.copy(block: `com.kcl.api`.FormatPathResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.FormatPathResult =
+  `com.kcl.api`.FormatPathResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/GetSchemaTypeMapping_ArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/GetSchemaTypeMappingArgsKt.kt
similarity index 55%
rename from kotlin/src/main/kotlin/com/kcl/api/GetSchemaTypeMapping_ArgsKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/GetSchemaTypeMappingArgsKt.kt
index 97394552..b18ebe5c 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/GetSchemaTypeMapping_ArgsKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/GetSchemaTypeMappingArgsKt.kt
@@ -2,48 +2,49 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializegetSchemaTypeMappingArgs")
-public inline fun getSchemaTypeMappingArgs(block: com.kcl.api.GetSchemaTypeMapping_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.GetSchemaTypeMapping_Args =
-  com.kcl.api.GetSchemaTypeMapping_ArgsKt.Dsl._create(com.kcl.api.Spec.GetSchemaTypeMapping_Args.newBuilder()).apply { block() }._build()
+public inline fun getSchemaTypeMappingArgs(block: com.kcl.api.GetSchemaTypeMappingArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.GetSchemaTypeMappingArgs =
+  com.kcl.api.GetSchemaTypeMappingArgsKt.Dsl._create(com.kcl.api.Spec.GetSchemaTypeMappingArgs.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for get schema type mapping request arguments.
  * ```
  *
- * Protobuf type `com.kcl.api.GetSchemaTypeMapping_Args`
+ * Protobuf type `com.kcl.api.GetSchemaTypeMappingArgs`
  */
-public object GetSchemaTypeMapping_ArgsKt {
+public object GetSchemaTypeMappingArgsKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.GetSchemaTypeMapping_Args.Builder
+    private val _builder: com.kcl.api.Spec.GetSchemaTypeMappingArgs.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.GetSchemaTypeMapping_Args.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.GetSchemaTypeMappingArgs.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.GetSchemaTypeMapping_Args = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.GetSchemaTypeMappingArgs = _builder.build()
 
     /**
      * ```
      * Arguments for executing the program.
      * ```
      *
-     * `.com.kcl.api.ExecProgram_Args exec_args = 1;`
+     * `.com.kcl.api.ExecProgramArgs exec_args = 1;`
      */
-    public var execArgs: com.kcl.api.Spec.ExecProgram_Args
-      @JvmName("getExecArgs")
-      get() = _builder.execArgs
-      @JvmName("setExecArgs")
-      set(value) {
+    public var execArgs: com.kcl.api.Spec.ExecProgramArgs
+      @kotlin.jvm.JvmName("getExecArgs")
+        get() = _builder.execArgs
+      @kotlin.jvm.JvmName("setExecArgs")
+        set(value) {
         _builder.execArgs = value
       }
     /**
@@ -51,7 +52,7 @@ public object GetSchemaTypeMapping_ArgsKt {
      * Arguments for executing the program.
      * ```
      *
-     * `.com.kcl.api.ExecProgram_Args exec_args = 1;`
+     * `.com.kcl.api.ExecProgramArgs exec_args = 1;`
      */
     public fun clearExecArgs() {
       _builder.clearExecArgs()
@@ -61,14 +62,14 @@ public object GetSchemaTypeMapping_ArgsKt {
      * Arguments for executing the program.
      * ```
      *
-     * `.com.kcl.api.ExecProgram_Args exec_args = 1;`
+     * `.com.kcl.api.ExecProgramArgs exec_args = 1;`
      * @return Whether the execArgs field is set.
      */
     public fun hasExecArgs(): kotlin.Boolean {
       return _builder.hasExecArgs()
     }
 
-    public val GetSchemaTypeMapping_ArgsKt.Dsl.execArgsOrNull: com.kcl.api.Spec.ExecProgram_Args?
+    public val GetSchemaTypeMappingArgsKt.Dsl.execArgsOrNull: com.kcl.api.Spec.ExecProgramArgs?
       get() = _builder.execArgsOrNull
 
     /**
@@ -79,10 +80,10 @@ public object GetSchemaTypeMapping_ArgsKt {
      * `string schema_name = 2;`
      */
     public var schemaName: kotlin.String
-      @JvmName("getSchemaName")
-      get() = _builder.schemaName
-      @JvmName("setSchemaName")
-      set(value) {
+      @kotlin.jvm.JvmName("getSchemaName")
+        get() = _builder.schemaName
+      @kotlin.jvm.JvmName("setSchemaName")
+        set(value) {
         _builder.schemaName = value
       }
     /**
@@ -98,9 +99,9 @@ public object GetSchemaTypeMapping_ArgsKt {
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.GetSchemaTypeMapping_Args.copy(block: `com.kcl.api`.GetSchemaTypeMapping_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.GetSchemaTypeMapping_Args =
-  `com.kcl.api`.GetSchemaTypeMapping_ArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.GetSchemaTypeMappingArgs.copy(block: `com.kcl.api`.GetSchemaTypeMappingArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.GetSchemaTypeMappingArgs =
+  `com.kcl.api`.GetSchemaTypeMappingArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
-public val com.kcl.api.Spec.GetSchemaTypeMapping_ArgsOrBuilder.execArgsOrNull: com.kcl.api.Spec.ExecProgram_Args?
+public val com.kcl.api.Spec.GetSchemaTypeMappingArgsOrBuilder.execArgsOrNull: com.kcl.api.Spec.ExecProgramArgs?
   get() = if (hasExecArgs()) getExecArgs() else null
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/GetSchemaTypeMapping_ResultKt.kt b/kotlin/src/main/kotlin/com/kcl/api/GetSchemaTypeMappingResultKt.kt
similarity index 76%
rename from kotlin/src/main/kotlin/com/kcl/api/GetSchemaTypeMapping_ResultKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/GetSchemaTypeMappingResultKt.kt
index b7be7b78..338c8793 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/GetSchemaTypeMapping_ResultKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/GetSchemaTypeMappingResultKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializegetSchemaTypeMappingResult")
-public inline fun getSchemaTypeMappingResult(block: com.kcl.api.GetSchemaTypeMapping_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.GetSchemaTypeMapping_Result =
-  com.kcl.api.GetSchemaTypeMapping_ResultKt.Dsl._create(com.kcl.api.Spec.GetSchemaTypeMapping_Result.newBuilder()).apply { block() }._build()
+public inline fun getSchemaTypeMappingResult(block: com.kcl.api.GetSchemaTypeMappingResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.GetSchemaTypeMappingResult =
+  com.kcl.api.GetSchemaTypeMappingResultKt.Dsl._create(com.kcl.api.Spec.GetSchemaTypeMappingResult.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for get schema type mapping response.
  * ```
  *
- * Protobuf type `com.kcl.api.GetSchemaTypeMapping_Result`
+ * Protobuf type `com.kcl.api.GetSchemaTypeMappingResult`
  */
-public object GetSchemaTypeMapping_ResultKt {
+public object GetSchemaTypeMappingResultKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.GetSchemaTypeMapping_Result.Builder
+    private val _builder: com.kcl.api.Spec.GetSchemaTypeMappingResult.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.GetSchemaTypeMapping_Result.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.GetSchemaTypeMappingResult.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.GetSchemaTypeMapping_Result = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.GetSchemaTypeMappingResult = _builder.build()
 
     /**
      * An uninstantiable, behaviorless type to represent the field in
@@ -47,7 +48,7 @@ public object GetSchemaTypeMapping_ResultKt {
      */
      public val schemaTypeMapping: com.google.protobuf.kotlin.DslMap
       @kotlin.jvm.JvmSynthetic
-      @JvmName("getSchemaTypeMappingMap")
+@kotlin.jvm.JvmName("getSchemaTypeMappingMap")
       get() = com.google.protobuf.kotlin.DslMap(
         _builder.schemaTypeMappingMap
       )
@@ -58,7 +59,7 @@ public object GetSchemaTypeMapping_ResultKt {
      *
      * `map schema_type_mapping = 1;`
      */
-    @JvmName("putSchemaTypeMapping")
+    @kotlin.jvm.JvmName("putSchemaTypeMapping")
     public fun com.google.protobuf.kotlin.DslMap
       .put(key: kotlin.String, value: com.kcl.api.Spec.KclType) {
          _builder.putSchemaTypeMapping(key, value)
@@ -71,7 +72,7 @@ public object GetSchemaTypeMapping_ResultKt {
      * `map schema_type_mapping = 1;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("setSchemaTypeMapping")
+@kotlin.jvm.JvmName("setSchemaTypeMapping")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslMap
       .set(key: kotlin.String, value: com.kcl.api.Spec.KclType) {
@@ -85,7 +86,7 @@ public object GetSchemaTypeMapping_ResultKt {
      * `map schema_type_mapping = 1;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("removeSchemaTypeMapping")
+@kotlin.jvm.JvmName("removeSchemaTypeMapping")
     public fun com.google.protobuf.kotlin.DslMap
       .remove(key: kotlin.String) {
          _builder.removeSchemaTypeMapping(key)
@@ -98,7 +99,7 @@ public object GetSchemaTypeMapping_ResultKt {
      * `map schema_type_mapping = 1;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("putAllSchemaTypeMapping")
+@kotlin.jvm.JvmName("putAllSchemaTypeMapping")
     public fun com.google.protobuf.kotlin.DslMap
       .putAll(map: kotlin.collections.Map) {
          _builder.putAllSchemaTypeMapping(map)
@@ -111,7 +112,7 @@ public object GetSchemaTypeMapping_ResultKt {
      * `map schema_type_mapping = 1;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("clearSchemaTypeMapping")
+@kotlin.jvm.JvmName("clearSchemaTypeMapping")
     public fun com.google.protobuf.kotlin.DslMap
       .clear() {
          _builder.clearSchemaTypeMapping()
@@ -119,6 +120,6 @@ public object GetSchemaTypeMapping_ResultKt {
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.GetSchemaTypeMapping_Result.copy(block: `com.kcl.api`.GetSchemaTypeMapping_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.GetSchemaTypeMapping_Result =
-  `com.kcl.api`.GetSchemaTypeMapping_ResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.GetSchemaTypeMappingResult.copy(block: `com.kcl.api`.GetSchemaTypeMappingResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.GetSchemaTypeMappingResult =
+  `com.kcl.api`.GetSchemaTypeMappingResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/GetSchemaTypeMappingUnderPathResultKt.kt b/kotlin/src/main/kotlin/com/kcl/api/GetSchemaTypeMappingUnderPathResultKt.kt
new file mode 100644
index 00000000..c3615203
--- /dev/null
+++ b/kotlin/src/main/kotlin/com/kcl/api/GetSchemaTypeMappingUnderPathResultKt.kt
@@ -0,0 +1,125 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: spec.proto
+
+@file:com.google.protobuf.Generated
+// Generated files should ignore deprecation warnings
+@file:Suppress("DEPRECATION")
+package com.kcl.api;
+
+@kotlin.jvm.JvmName("-initializegetSchemaTypeMappingUnderPathResult")
+public inline fun getSchemaTypeMappingUnderPathResult(block: com.kcl.api.GetSchemaTypeMappingUnderPathResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult =
+  com.kcl.api.GetSchemaTypeMappingUnderPathResultKt.Dsl._create(com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult.newBuilder()).apply { block() }._build()
+/**
+ * ```
+ * Message for get schema type mapping response.
+ * ```
+ *
+ * Protobuf type `com.kcl.api.GetSchemaTypeMappingUnderPathResult`
+ */
+public object GetSchemaTypeMappingUnderPathResultKt {
+  @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+  @com.google.protobuf.kotlin.ProtoDslMarker
+  public class Dsl private constructor(
+    private val _builder: com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult.Builder
+  ) {
+    public companion object {
+      @kotlin.jvm.JvmSynthetic
+    @kotlin.PublishedApi
+      internal fun _create(builder: com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult.Builder): Dsl = Dsl(builder)
+    }
+
+    @kotlin.jvm.JvmSynthetic
+  @kotlin.PublishedApi
+    internal fun _build(): com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult = _builder.build()
+
+    /**
+     * An uninstantiable, behaviorless type to represent the field in
+     * generics.
+     */
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+    public class SchemaTypeMappingProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
+    /**
+     * ```
+     * Map of pkg and schema types mappings.
+     * ```
+     *
+     * `map schema_type_mapping = 1;`
+     */
+     public val schemaTypeMapping: com.google.protobuf.kotlin.DslMap
+      @kotlin.jvm.JvmSynthetic
+@kotlin.jvm.JvmName("getSchemaTypeMappingMap")
+      get() = com.google.protobuf.kotlin.DslMap(
+        _builder.schemaTypeMappingMap
+      )
+    /**
+     * ```
+     * Map of pkg and schema types mappings.
+     * ```
+     *
+     * `map schema_type_mapping = 1;`
+     */
+    @kotlin.jvm.JvmName("putSchemaTypeMapping")
+    public fun com.google.protobuf.kotlin.DslMap
+      .put(key: kotlin.String, value: com.kcl.api.Spec.SchemaTypes) {
+         _builder.putSchemaTypeMapping(key, value)
+       }
+    /**
+     * ```
+     * Map of pkg and schema types mappings.
+     * ```
+     *
+     * `map schema_type_mapping = 1;`
+     */
+    @kotlin.jvm.JvmSynthetic
+@kotlin.jvm.JvmName("setSchemaTypeMapping")
+    @Suppress("NOTHING_TO_INLINE")
+    public inline operator fun com.google.protobuf.kotlin.DslMap
+      .set(key: kotlin.String, value: com.kcl.api.Spec.SchemaTypes) {
+         put(key, value)
+       }
+    /**
+     * ```
+     * Map of pkg and schema types mappings.
+     * ```
+     *
+     * `map schema_type_mapping = 1;`
+     */
+    @kotlin.jvm.JvmSynthetic
+@kotlin.jvm.JvmName("removeSchemaTypeMapping")
+    public fun com.google.protobuf.kotlin.DslMap
+      .remove(key: kotlin.String) {
+         _builder.removeSchemaTypeMapping(key)
+       }
+    /**
+     * ```
+     * Map of pkg and schema types mappings.
+     * ```
+     *
+     * `map schema_type_mapping = 1;`
+     */
+    @kotlin.jvm.JvmSynthetic
+@kotlin.jvm.JvmName("putAllSchemaTypeMapping")
+    public fun com.google.protobuf.kotlin.DslMap
+      .putAll(map: kotlin.collections.Map) {
+         _builder.putAllSchemaTypeMapping(map)
+       }
+    /**
+     * ```
+     * Map of pkg and schema types mappings.
+     * ```
+     *
+     * `map schema_type_mapping = 1;`
+     */
+    @kotlin.jvm.JvmSynthetic
+@kotlin.jvm.JvmName("clearSchemaTypeMapping")
+    public fun com.google.protobuf.kotlin.DslMap
+      .clear() {
+         _builder.clearSchemaTypeMapping()
+       }
+  }
+}
+@kotlin.jvm.JvmSynthetic
+public inline fun com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult.copy(block: `com.kcl.api`.GetSchemaTypeMappingUnderPathResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.GetSchemaTypeMappingUnderPathResult =
+  `com.kcl.api`.GetSchemaTypeMappingUnderPathResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+
diff --git a/kotlin/src/main/kotlin/com/kcl/api/GetVersionArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/GetVersionArgsKt.kt
new file mode 100644
index 00000000..e19fd44d
--- /dev/null
+++ b/kotlin/src/main/kotlin/com/kcl/api/GetVersionArgsKt.kt
@@ -0,0 +1,40 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: spec.proto
+
+@file:com.google.protobuf.Generated
+// Generated files should ignore deprecation warnings
+@file:Suppress("DEPRECATION")
+package com.kcl.api;
+
+@kotlin.jvm.JvmName("-initializegetVersionArgs")
+public inline fun getVersionArgs(block: com.kcl.api.GetVersionArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.GetVersionArgs =
+  com.kcl.api.GetVersionArgsKt.Dsl._create(com.kcl.api.Spec.GetVersionArgs.newBuilder()).apply { block() }._build()
+/**
+ * ```
+ * Message for version request arguments. Empty message.
+ * ```
+ *
+ * Protobuf type `com.kcl.api.GetVersionArgs`
+ */
+public object GetVersionArgsKt {
+  @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+  @com.google.protobuf.kotlin.ProtoDslMarker
+  public class Dsl private constructor(
+    private val _builder: com.kcl.api.Spec.GetVersionArgs.Builder
+  ) {
+    public companion object {
+      @kotlin.jvm.JvmSynthetic
+    @kotlin.PublishedApi
+      internal fun _create(builder: com.kcl.api.Spec.GetVersionArgs.Builder): Dsl = Dsl(builder)
+    }
+
+    @kotlin.jvm.JvmSynthetic
+  @kotlin.PublishedApi
+    internal fun _build(): com.kcl.api.Spec.GetVersionArgs = _builder.build()
+  }
+}
+@kotlin.jvm.JvmSynthetic
+public inline fun com.kcl.api.Spec.GetVersionArgs.copy(block: `com.kcl.api`.GetVersionArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.GetVersionArgs =
+  `com.kcl.api`.GetVersionArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+
diff --git a/kotlin/src/main/kotlin/com/kcl/api/GetVersion_ResultKt.kt b/kotlin/src/main/kotlin/com/kcl/api/GetVersionResultKt.kt
similarity index 62%
rename from kotlin/src/main/kotlin/com/kcl/api/GetVersion_ResultKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/GetVersionResultKt.kt
index 4e5c12ad..6f14dca5 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/GetVersion_ResultKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/GetVersionResultKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializegetVersionResult")
-public inline fun getVersionResult(block: com.kcl.api.GetVersion_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.GetVersion_Result =
-  com.kcl.api.GetVersion_ResultKt.Dsl._create(com.kcl.api.Spec.GetVersion_Result.newBuilder()).apply { block() }._build()
+public inline fun getVersionResult(block: com.kcl.api.GetVersionResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.GetVersionResult =
+  com.kcl.api.GetVersionResultKt.Dsl._create(com.kcl.api.Spec.GetVersionResult.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for version response.
  * ```
  *
- * Protobuf type `com.kcl.api.GetVersion_Result`
+ * Protobuf type `com.kcl.api.GetVersionResult`
  */
-public object GetVersion_ResultKt {
+public object GetVersionResultKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.GetVersion_Result.Builder
+    private val _builder: com.kcl.api.Spec.GetVersionResult.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.GetVersion_Result.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.GetVersionResult.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.GetVersion_Result = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.GetVersionResult = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object GetVersion_ResultKt {
      * `string version = 1;`
      */
     public var version: kotlin.String
-      @JvmName("getVersion")
-      get() = _builder.version
-      @JvmName("setVersion")
-      set(value) {
+      @kotlin.jvm.JvmName("getVersion")
+        get() = _builder.version
+      @kotlin.jvm.JvmName("setVersion")
+        set(value) {
         _builder.version = value
       }
     /**
@@ -65,10 +66,10 @@ public object GetVersion_ResultKt {
      * `string checksum = 2;`
      */
     public var checksum: kotlin.String
-      @JvmName("getChecksum")
-      get() = _builder.checksum
-      @JvmName("setChecksum")
-      set(value) {
+      @kotlin.jvm.JvmName("getChecksum")
+        get() = _builder.checksum
+      @kotlin.jvm.JvmName("setChecksum")
+        set(value) {
         _builder.checksum = value
       }
     /**
@@ -90,10 +91,10 @@ public object GetVersion_ResultKt {
      * `string git_sha = 3;`
      */
     public var gitSha: kotlin.String
-      @JvmName("getGitSha")
-      get() = _builder.gitSha
-      @JvmName("setGitSha")
-      set(value) {
+      @kotlin.jvm.JvmName("getGitSha")
+        get() = _builder.gitSha
+      @kotlin.jvm.JvmName("setGitSha")
+        set(value) {
         _builder.gitSha = value
       }
     /**
@@ -115,10 +116,10 @@ public object GetVersion_ResultKt {
      * `string version_info = 4;`
      */
     public var versionInfo: kotlin.String
-      @JvmName("getVersionInfo")
-      get() = _builder.versionInfo
-      @JvmName("setVersionInfo")
-      set(value) {
+      @kotlin.jvm.JvmName("getVersionInfo")
+        get() = _builder.versionInfo
+      @kotlin.jvm.JvmName("setVersionInfo")
+        set(value) {
         _builder.versionInfo = value
       }
     /**
@@ -134,6 +135,6 @@ public object GetVersion_ResultKt {
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.GetVersion_Result.copy(block: `com.kcl.api`.GetVersion_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.GetVersion_Result =
-  `com.kcl.api`.GetVersion_ResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.GetVersionResult.copy(block: `com.kcl.api`.GetVersionResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.GetVersionResult =
+  `com.kcl.api`.GetVersionResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/GetVersion_ArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/GetVersion_ArgsKt.kt
deleted file mode 100644
index 20ca6c7f..00000000
--- a/kotlin/src/main/kotlin/com/kcl/api/GetVersion_ArgsKt.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
-// source: spec.proto
-
-// Generated files should ignore deprecation warnings
-@file:Suppress("DEPRECATION")
-package com.kcl.api;
-
-@kotlin.jvm.JvmName("-initializegetVersionArgs")
-public inline fun getVersionArgs(block: com.kcl.api.GetVersion_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.GetVersion_Args =
-  com.kcl.api.GetVersion_ArgsKt.Dsl._create(com.kcl.api.Spec.GetVersion_Args.newBuilder()).apply { block() }._build()
-/**
- * ```
- * Message for version request arguments. Empty message.
- * ```
- *
- * Protobuf type `com.kcl.api.GetVersion_Args`
- */
-public object GetVersion_ArgsKt {
-  @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
-  @com.google.protobuf.kotlin.ProtoDslMarker
-  public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.GetVersion_Args.Builder
-  ) {
-    public companion object {
-      @kotlin.jvm.JvmSynthetic
-    @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.GetVersion_Args.Builder): Dsl = Dsl(builder)
-    }
-
-    @kotlin.jvm.JvmSynthetic
-  @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.GetVersion_Args = _builder.build()
-  }
-}
-@kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.GetVersion_Args.copy(block: `com.kcl.api`.GetVersion_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.GetVersion_Args =
-  `com.kcl.api`.GetVersion_ArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
-
diff --git a/kotlin/src/main/kotlin/com/kcl/api/KclTypeKt.kt b/kotlin/src/main/kotlin/com/kcl/api/KclTypeKt.kt
index 2d10f7b8..71a43da3 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/KclTypeKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/KclTypeKt.kt
@@ -2,6 +2,7 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
@@ -40,10 +41,10 @@ public object KclTypeKt {
      * `string type = 1;`
      */
     public var type: kotlin.String
-      @JvmName("getType")
-      get() = _builder.type
-      @JvmName("setType")
-      set(value) {
+      @kotlin.jvm.JvmName("getType")
+        get() = _builder.type
+      @kotlin.jvm.JvmName("setType")
+        set(value) {
         _builder.type = value
       }
     /**
@@ -72,7 +73,7 @@ public object KclTypeKt {
      */
      public val unionTypes: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.unionTypesList
       )
     /**
@@ -84,7 +85,7 @@ public object KclTypeKt {
      * @param value The unionTypes to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addUnionTypes")
+@kotlin.jvm.JvmName("addUnionTypes")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.KclType) {
       _builder.addUnionTypes(value)
     }
@@ -97,7 +98,7 @@ public object KclTypeKt {
      * @param value The unionTypes to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignUnionTypes")
+@kotlin.jvm.JvmName("plusAssignUnionTypes")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.KclType) {
       add(value)
@@ -111,7 +112,7 @@ public object KclTypeKt {
      * @param values The unionTypes to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllUnionTypes")
+@kotlin.jvm.JvmName("addAllUnionTypes")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllUnionTypes(values)
     }
@@ -124,7 +125,7 @@ public object KclTypeKt {
      * @param values The unionTypes to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllUnionTypes")
+@kotlin.jvm.JvmName("plusAssignAllUnionTypes")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -139,7 +140,7 @@ public object KclTypeKt {
      * @param value The unionTypes to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setUnionTypes")
+@kotlin.jvm.JvmName("setUnionTypes")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.KclType) {
       _builder.setUnionTypes(index, value)
     }
@@ -151,12 +152,11 @@ public object KclTypeKt {
      * `repeated .com.kcl.api.KclType union_types = 2;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearUnionTypes")
+@kotlin.jvm.JvmName("clearUnionTypes")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearUnionTypes()
     }
 
-
     /**
      * ```
      * Default value of the type.
@@ -165,10 +165,10 @@ public object KclTypeKt {
      * `string default = 3;`
      */
     public var default: kotlin.String
-      @JvmName("getDefault")
-      get() = _builder.default
-      @JvmName("setDefault")
-      set(value) {
+      @kotlin.jvm.JvmName("getDefault")
+        get() = _builder.default
+      @kotlin.jvm.JvmName("setDefault")
+        set(value) {
         _builder.default = value
       }
     /**
@@ -190,10 +190,10 @@ public object KclTypeKt {
      * `string schema_name = 4;`
      */
     public var schemaName: kotlin.String
-      @JvmName("getSchemaName")
-      get() = _builder.schemaName
-      @JvmName("setSchemaName")
-      set(value) {
+      @kotlin.jvm.JvmName("getSchemaName")
+        get() = _builder.schemaName
+      @kotlin.jvm.JvmName("setSchemaName")
+        set(value) {
         _builder.schemaName = value
       }
     /**
@@ -215,10 +215,10 @@ public object KclTypeKt {
      * `string schema_doc = 5;`
      */
     public var schemaDoc: kotlin.String
-      @JvmName("getSchemaDoc")
-      get() = _builder.schemaDoc
-      @JvmName("setSchemaDoc")
-      set(value) {
+      @kotlin.jvm.JvmName("getSchemaDoc")
+        get() = _builder.schemaDoc
+      @kotlin.jvm.JvmName("setSchemaDoc")
+        set(value) {
         _builder.schemaDoc = value
       }
     /**
@@ -247,7 +247,7 @@ public object KclTypeKt {
      */
      public val properties: com.google.protobuf.kotlin.DslMap
       @kotlin.jvm.JvmSynthetic
-      @JvmName("getPropertiesMap")
+@kotlin.jvm.JvmName("getPropertiesMap")
       get() = com.google.protobuf.kotlin.DslMap(
         _builder.propertiesMap
       )
@@ -258,7 +258,7 @@ public object KclTypeKt {
      *
      * `map properties = 6;`
      */
-    @JvmName("putProperties")
+    @kotlin.jvm.JvmName("putProperties")
     public fun com.google.protobuf.kotlin.DslMap
       .put(key: kotlin.String, value: com.kcl.api.Spec.KclType) {
          _builder.putProperties(key, value)
@@ -271,7 +271,7 @@ public object KclTypeKt {
      * `map properties = 6;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("setProperties")
+@kotlin.jvm.JvmName("setProperties")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslMap
       .set(key: kotlin.String, value: com.kcl.api.Spec.KclType) {
@@ -285,7 +285,7 @@ public object KclTypeKt {
      * `map properties = 6;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("removeProperties")
+@kotlin.jvm.JvmName("removeProperties")
     public fun com.google.protobuf.kotlin.DslMap
       .remove(key: kotlin.String) {
          _builder.removeProperties(key)
@@ -298,7 +298,7 @@ public object KclTypeKt {
      * `map properties = 6;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("putAllProperties")
+@kotlin.jvm.JvmName("putAllProperties")
     public fun com.google.protobuf.kotlin.DslMap
       .putAll(map: kotlin.collections.Map) {
          _builder.putAllProperties(map)
@@ -311,7 +311,7 @@ public object KclTypeKt {
      * `map properties = 6;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("clearProperties")
+@kotlin.jvm.JvmName("clearProperties")
     public fun com.google.protobuf.kotlin.DslMap
       .clear() {
          _builder.clearProperties()
@@ -332,7 +332,7 @@ public object KclTypeKt {
      * @return A list containing the required.
      */
     public val required: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.requiredList
       )
@@ -345,7 +345,7 @@ public object KclTypeKt {
      * @param value The required to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addRequired")
+@kotlin.jvm.JvmName("addRequired")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addRequired(value)
     }
@@ -358,7 +358,7 @@ public object KclTypeKt {
      * @param value The required to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignRequired")
+@kotlin.jvm.JvmName("plusAssignRequired")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -372,7 +372,7 @@ public object KclTypeKt {
      * @param values The required to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllRequired")
+@kotlin.jvm.JvmName("addAllRequired")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllRequired(values)
     }
@@ -385,7 +385,7 @@ public object KclTypeKt {
      * @param values The required to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllRequired")
+@kotlin.jvm.JvmName("plusAssignAllRequired")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -400,7 +400,7 @@ public object KclTypeKt {
      * @param value The required to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setRequired")
+@kotlin.jvm.JvmName("setRequired")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setRequired(index, value)
     }/**
@@ -411,7 +411,7 @@ public object KclTypeKt {
      * `repeated string required = 7;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearRequired")
+@kotlin.jvm.JvmName("setRequired")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearRequired()
     }
@@ -423,10 +423,10 @@ public object KclTypeKt {
      * `.com.kcl.api.KclType key = 8;`
      */
     public var key: com.kcl.api.Spec.KclType
-      @JvmName("getKey")
-      get() = _builder.key
-      @JvmName("setKey")
-      set(value) {
+      @kotlin.jvm.JvmName("getKey")
+        get() = _builder.key
+      @kotlin.jvm.JvmName("setKey")
+        set(value) {
         _builder.key = value
       }
     /**
@@ -462,10 +462,10 @@ public object KclTypeKt {
      * `.com.kcl.api.KclType item = 9;`
      */
     public var item: com.kcl.api.Spec.KclType
-      @JvmName("getItem")
-      get() = _builder.item
-      @JvmName("setItem")
-      set(value) {
+      @kotlin.jvm.JvmName("getItem")
+        get() = _builder.item
+      @kotlin.jvm.JvmName("setItem")
+        set(value) {
         _builder.item = value
       }
     /**
@@ -501,10 +501,10 @@ public object KclTypeKt {
      * `int32 line = 10;`
      */
     public var line: kotlin.Int
-      @JvmName("getLine")
-      get() = _builder.line
-      @JvmName("setLine")
-      set(value) {
+      @kotlin.jvm.JvmName("getLine")
+        get() = _builder.line
+      @kotlin.jvm.JvmName("setLine")
+        set(value) {
         _builder.line = value
       }
     /**
@@ -533,7 +533,7 @@ public object KclTypeKt {
      */
      public val decorators: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.decoratorsList
       )
     /**
@@ -545,7 +545,7 @@ public object KclTypeKt {
      * @param value The decorators to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addDecorators")
+@kotlin.jvm.JvmName("addDecorators")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.Decorator) {
       _builder.addDecorators(value)
     }
@@ -558,7 +558,7 @@ public object KclTypeKt {
      * @param value The decorators to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignDecorators")
+@kotlin.jvm.JvmName("plusAssignDecorators")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.Decorator) {
       add(value)
@@ -572,7 +572,7 @@ public object KclTypeKt {
      * @param values The decorators to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllDecorators")
+@kotlin.jvm.JvmName("addAllDecorators")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllDecorators(values)
     }
@@ -585,7 +585,7 @@ public object KclTypeKt {
      * @param values The decorators to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllDecorators")
+@kotlin.jvm.JvmName("plusAssignAllDecorators")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -600,7 +600,7 @@ public object KclTypeKt {
      * @param value The decorators to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setDecorators")
+@kotlin.jvm.JvmName("setDecorators")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.Decorator) {
       _builder.setDecorators(index, value)
     }
@@ -612,12 +612,11 @@ public object KclTypeKt {
      * `repeated .com.kcl.api.Decorator decorators = 11;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearDecorators")
+@kotlin.jvm.JvmName("clearDecorators")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearDecorators()
     }
 
-
     /**
      * ```
      * Absolute path of the file where the attribute is located.
@@ -626,10 +625,10 @@ public object KclTypeKt {
      * `string filename = 12;`
      */
     public var filename: kotlin.String
-      @JvmName("getFilename")
-      get() = _builder.filename
-      @JvmName("setFilename")
-      set(value) {
+      @kotlin.jvm.JvmName("getFilename")
+        get() = _builder.filename
+      @kotlin.jvm.JvmName("setFilename")
+        set(value) {
         _builder.filename = value
       }
     /**
@@ -651,10 +650,10 @@ public object KclTypeKt {
      * `string pkg_path = 13;`
      */
     public var pkgPath: kotlin.String
-      @JvmName("getPkgPath")
-      get() = _builder.pkgPath
-      @JvmName("setPkgPath")
-      set(value) {
+      @kotlin.jvm.JvmName("getPkgPath")
+        get() = _builder.pkgPath
+      @kotlin.jvm.JvmName("setPkgPath")
+        set(value) {
         _builder.pkgPath = value
       }
     /**
@@ -676,10 +675,10 @@ public object KclTypeKt {
      * `string description = 14;`
      */
     public var description: kotlin.String
-      @JvmName("getDescription")
-      get() = _builder.description
-      @JvmName("setDescription")
-      set(value) {
+      @kotlin.jvm.JvmName("getDescription")
+        get() = _builder.description
+      @kotlin.jvm.JvmName("setDescription")
+        set(value) {
         _builder.description = value
       }
     /**
@@ -708,7 +707,7 @@ public object KclTypeKt {
      */
      public val examples: com.google.protobuf.kotlin.DslMap
       @kotlin.jvm.JvmSynthetic
-      @JvmName("getExamplesMap")
+@kotlin.jvm.JvmName("getExamplesMap")
       get() = com.google.protobuf.kotlin.DslMap(
         _builder.examplesMap
       )
@@ -719,7 +718,7 @@ public object KclTypeKt {
      *
      * `map examples = 15;`
      */
-    @JvmName("putExamples")
+    @kotlin.jvm.JvmName("putExamples")
     public fun com.google.protobuf.kotlin.DslMap
       .put(key: kotlin.String, value: com.kcl.api.Spec.Example) {
          _builder.putExamples(key, value)
@@ -732,7 +731,7 @@ public object KclTypeKt {
      * `map examples = 15;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("setExamples")
+@kotlin.jvm.JvmName("setExamples")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslMap
       .set(key: kotlin.String, value: com.kcl.api.Spec.Example) {
@@ -746,7 +745,7 @@ public object KclTypeKt {
      * `map examples = 15;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("removeExamples")
+@kotlin.jvm.JvmName("removeExamples")
     public fun com.google.protobuf.kotlin.DslMap
       .remove(key: kotlin.String) {
          _builder.removeExamples(key)
@@ -759,7 +758,7 @@ public object KclTypeKt {
      * `map examples = 15;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("putAllExamples")
+@kotlin.jvm.JvmName("putAllExamples")
     public fun com.google.protobuf.kotlin.DslMap
       .putAll(map: kotlin.collections.Map) {
          _builder.putAllExamples(map)
@@ -772,7 +771,7 @@ public object KclTypeKt {
      * `map examples = 15;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("clearExamples")
+@kotlin.jvm.JvmName("clearExamples")
     public fun com.google.protobuf.kotlin.DslMap
       .clear() {
          _builder.clearExamples()
@@ -786,10 +785,10 @@ public object KclTypeKt {
      * `.com.kcl.api.KclType base_schema = 16;`
      */
     public var baseSchema: com.kcl.api.Spec.KclType
-      @JvmName("getBaseSchema")
-      get() = _builder.baseSchema
-      @JvmName("setBaseSchema")
-      set(value) {
+      @kotlin.jvm.JvmName("getBaseSchema")
+        get() = _builder.baseSchema
+      @kotlin.jvm.JvmName("setBaseSchema")
+        set(value) {
         _builder.baseSchema = value
       }
     /**
diff --git a/kotlin/src/main/kotlin/com/kcl/api/KeyValuePairKt.kt b/kotlin/src/main/kotlin/com/kcl/api/KeyValuePairKt.kt
index 7662d7fd..2cefe5f1 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/KeyValuePairKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/KeyValuePairKt.kt
@@ -2,6 +2,7 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
@@ -40,10 +41,10 @@ public object KeyValuePairKt {
      * `string key = 1;`
      */
     public var key: kotlin.String
-      @JvmName("getKey")
-      get() = _builder.key
-      @JvmName("setKey")
-      set(value) {
+      @kotlin.jvm.JvmName("getKey")
+        get() = _builder.key
+      @kotlin.jvm.JvmName("setKey")
+        set(value) {
         _builder.key = value
       }
     /**
@@ -65,10 +66,10 @@ public object KeyValuePairKt {
      * `string value = 2;`
      */
     public var value: kotlin.String
-      @JvmName("getValue")
-      get() = _builder.value
-      @JvmName("setValue")
-      set(value) {
+      @kotlin.jvm.JvmName("getValue")
+        get() = _builder.value
+      @kotlin.jvm.JvmName("setValue")
+        set(value) {
         _builder.value = value
       }
     /**
diff --git a/kotlin/src/main/kotlin/com/kcl/api/LintPath_ArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/LintPathArgsKt.kt
similarity index 75%
rename from kotlin/src/main/kotlin/com/kcl/api/LintPath_ArgsKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/LintPathArgsKt.kt
index 1af029ec..6cf06cf2 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/LintPath_ArgsKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/LintPathArgsKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializelintPathArgs")
-public inline fun lintPathArgs(block: com.kcl.api.LintPath_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LintPath_Args =
-  com.kcl.api.LintPath_ArgsKt.Dsl._create(com.kcl.api.Spec.LintPath_Args.newBuilder()).apply { block() }._build()
+public inline fun lintPathArgs(block: com.kcl.api.LintPathArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LintPathArgs =
+  com.kcl.api.LintPathArgsKt.Dsl._create(com.kcl.api.Spec.LintPathArgs.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for lint file path request arguments.
  * ```
  *
- * Protobuf type `com.kcl.api.LintPath_Args`
+ * Protobuf type `com.kcl.api.LintPathArgs`
  */
-public object LintPath_ArgsKt {
+public object LintPathArgsKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.LintPath_Args.Builder
+    private val _builder: com.kcl.api.Spec.LintPathArgs.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.LintPath_Args.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.LintPathArgs.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.LintPath_Args = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.LintPathArgs = _builder.build()
 
     /**
      * An uninstantiable, behaviorless type to represent the field in
@@ -47,7 +48,7 @@ public object LintPath_ArgsKt {
      * @return A list containing the paths.
      */
     public val paths: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.pathsList
       )
@@ -60,7 +61,7 @@ public object LintPath_ArgsKt {
      * @param value The paths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addPaths")
+@kotlin.jvm.JvmName("addPaths")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addPaths(value)
     }
@@ -73,7 +74,7 @@ public object LintPath_ArgsKt {
      * @param value The paths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignPaths")
+@kotlin.jvm.JvmName("plusAssignPaths")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -87,7 +88,7 @@ public object LintPath_ArgsKt {
      * @param values The paths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllPaths")
+@kotlin.jvm.JvmName("addAllPaths")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllPaths(values)
     }
@@ -100,7 +101,7 @@ public object LintPath_ArgsKt {
      * @param values The paths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllPaths")
+@kotlin.jvm.JvmName("plusAssignAllPaths")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -115,7 +116,7 @@ public object LintPath_ArgsKt {
      * @param value The paths to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setPaths")
+@kotlin.jvm.JvmName("setPaths")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setPaths(index, value)
     }/**
@@ -126,12 +127,12 @@ public object LintPath_ArgsKt {
      * `repeated string paths = 1;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearPaths")
+@kotlin.jvm.JvmName("setPaths")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearPaths()
     }}
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.LintPath_Args.copy(block: `com.kcl.api`.LintPath_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LintPath_Args =
-  `com.kcl.api`.LintPath_ArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.LintPathArgs.copy(block: `com.kcl.api`.LintPathArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LintPathArgs =
+  `com.kcl.api`.LintPathArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/LintPath_ResultKt.kt b/kotlin/src/main/kotlin/com/kcl/api/LintPathResultKt.kt
similarity index 74%
rename from kotlin/src/main/kotlin/com/kcl/api/LintPath_ResultKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/LintPathResultKt.kt
index 8b3b7c21..9c4fa770 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/LintPath_ResultKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/LintPathResultKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializelintPathResult")
-public inline fun lintPathResult(block: com.kcl.api.LintPath_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LintPath_Result =
-  com.kcl.api.LintPath_ResultKt.Dsl._create(com.kcl.api.Spec.LintPath_Result.newBuilder()).apply { block() }._build()
+public inline fun lintPathResult(block: com.kcl.api.LintPathResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LintPathResult =
+  com.kcl.api.LintPathResultKt.Dsl._create(com.kcl.api.Spec.LintPathResult.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for lint file path response.
  * ```
  *
- * Protobuf type `com.kcl.api.LintPath_Result`
+ * Protobuf type `com.kcl.api.LintPathResult`
  */
-public object LintPath_ResultKt {
+public object LintPathResultKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.LintPath_Result.Builder
+    private val _builder: com.kcl.api.Spec.LintPathResult.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.LintPath_Result.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.LintPathResult.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.LintPath_Result = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.LintPathResult = _builder.build()
 
     /**
      * An uninstantiable, behaviorless type to represent the field in
@@ -47,7 +48,7 @@ public object LintPath_ResultKt {
      * @return A list containing the results.
      */
     public val results: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.resultsList
       )
@@ -60,7 +61,7 @@ public object LintPath_ResultKt {
      * @param value The results to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addResults")
+@kotlin.jvm.JvmName("addResults")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addResults(value)
     }
@@ -73,7 +74,7 @@ public object LintPath_ResultKt {
      * @param value The results to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignResults")
+@kotlin.jvm.JvmName("plusAssignResults")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -87,7 +88,7 @@ public object LintPath_ResultKt {
      * @param values The results to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllResults")
+@kotlin.jvm.JvmName("addAllResults")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllResults(values)
     }
@@ -100,7 +101,7 @@ public object LintPath_ResultKt {
      * @param values The results to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllResults")
+@kotlin.jvm.JvmName("plusAssignAllResults")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -115,7 +116,7 @@ public object LintPath_ResultKt {
      * @param value The results to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setResults")
+@kotlin.jvm.JvmName("setResults")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setResults(index, value)
     }/**
@@ -126,12 +127,12 @@ public object LintPath_ResultKt {
      * `repeated string results = 1;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearResults")
+@kotlin.jvm.JvmName("setResults")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearResults()
     }}
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.LintPath_Result.copy(block: `com.kcl.api`.LintPath_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LintPath_Result =
-  `com.kcl.api`.LintPath_ResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.LintPathResult.copy(block: `com.kcl.api`.LintPathResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LintPathResult =
+  `com.kcl.api`.LintPathResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ListDepFiles_ArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ListDepFilesArgsKt.kt
similarity index 64%
rename from kotlin/src/main/kotlin/com/kcl/api/ListDepFiles_ArgsKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/ListDepFilesArgsKt.kt
index 27ebb683..876c5179 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/ListDepFiles_ArgsKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/ListDepFilesArgsKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializelistDepFilesArgs")
-public inline fun listDepFilesArgs(block: com.kcl.api.ListDepFiles_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListDepFiles_Args =
-  com.kcl.api.ListDepFiles_ArgsKt.Dsl._create(com.kcl.api.Spec.ListDepFiles_Args.newBuilder()).apply { block() }._build()
+public inline fun listDepFilesArgs(block: com.kcl.api.ListDepFilesArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListDepFilesArgs =
+  com.kcl.api.ListDepFilesArgsKt.Dsl._create(com.kcl.api.Spec.ListDepFilesArgs.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for list dependency files request arguments.
  * ```
  *
- * Protobuf type `com.kcl.api.ListDepFiles_Args`
+ * Protobuf type `com.kcl.api.ListDepFilesArgs`
  */
-public object ListDepFiles_ArgsKt {
+public object ListDepFilesArgsKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.ListDepFiles_Args.Builder
+    private val _builder: com.kcl.api.Spec.ListDepFilesArgs.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.ListDepFiles_Args.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.ListDepFilesArgs.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.ListDepFiles_Args = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.ListDepFilesArgs = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object ListDepFiles_ArgsKt {
      * `string work_dir = 1;`
      */
     public var workDir: kotlin.String
-      @JvmName("getWorkDir")
-      get() = _builder.workDir
-      @JvmName("setWorkDir")
-      set(value) {
+      @kotlin.jvm.JvmName("getWorkDir")
+        get() = _builder.workDir
+      @kotlin.jvm.JvmName("setWorkDir")
+        set(value) {
         _builder.workDir = value
       }
     /**
@@ -65,10 +66,10 @@ public object ListDepFiles_ArgsKt {
      * `bool use_abs_path = 2;`
      */
     public var useAbsPath: kotlin.Boolean
-      @JvmName("getUseAbsPath")
-      get() = _builder.useAbsPath
-      @JvmName("setUseAbsPath")
-      set(value) {
+      @kotlin.jvm.JvmName("getUseAbsPath")
+        get() = _builder.useAbsPath
+      @kotlin.jvm.JvmName("setUseAbsPath")
+        set(value) {
         _builder.useAbsPath = value
       }
     /**
@@ -90,10 +91,10 @@ public object ListDepFiles_ArgsKt {
      * `bool include_all = 3;`
      */
     public var includeAll: kotlin.Boolean
-      @JvmName("getIncludeAll")
-      get() = _builder.includeAll
-      @JvmName("setIncludeAll")
-      set(value) {
+      @kotlin.jvm.JvmName("getIncludeAll")
+        get() = _builder.includeAll
+      @kotlin.jvm.JvmName("setIncludeAll")
+        set(value) {
         _builder.includeAll = value
       }
     /**
@@ -115,10 +116,10 @@ public object ListDepFiles_ArgsKt {
      * `bool use_fast_parser = 4;`
      */
     public var useFastParser: kotlin.Boolean
-      @JvmName("getUseFastParser")
-      get() = _builder.useFastParser
-      @JvmName("setUseFastParser")
-      set(value) {
+      @kotlin.jvm.JvmName("getUseFastParser")
+        get() = _builder.useFastParser
+      @kotlin.jvm.JvmName("setUseFastParser")
+        set(value) {
         _builder.useFastParser = value
       }
     /**
@@ -134,6 +135,6 @@ public object ListDepFiles_ArgsKt {
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.ListDepFiles_Args.copy(block: `com.kcl.api`.ListDepFiles_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListDepFiles_Args =
-  `com.kcl.api`.ListDepFiles_ArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.ListDepFilesArgs.copy(block: `com.kcl.api`.ListDepFilesArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListDepFilesArgs =
+  `com.kcl.api`.ListDepFilesArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ListDepFiles_ResultKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ListDepFilesResultKt.kt
similarity index 76%
rename from kotlin/src/main/kotlin/com/kcl/api/ListDepFiles_ResultKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/ListDepFilesResultKt.kt
index 4d3dfcdd..35a3d88e 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/ListDepFiles_ResultKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/ListDepFilesResultKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializelistDepFilesResult")
-public inline fun listDepFilesResult(block: com.kcl.api.ListDepFiles_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListDepFiles_Result =
-  com.kcl.api.ListDepFiles_ResultKt.Dsl._create(com.kcl.api.Spec.ListDepFiles_Result.newBuilder()).apply { block() }._build()
+public inline fun listDepFilesResult(block: com.kcl.api.ListDepFilesResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListDepFilesResult =
+  com.kcl.api.ListDepFilesResultKt.Dsl._create(com.kcl.api.Spec.ListDepFilesResult.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for list dependency files response.
  * ```
  *
- * Protobuf type `com.kcl.api.ListDepFiles_Result`
+ * Protobuf type `com.kcl.api.ListDepFilesResult`
  */
-public object ListDepFiles_ResultKt {
+public object ListDepFilesResultKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.ListDepFiles_Result.Builder
+    private val _builder: com.kcl.api.Spec.ListDepFilesResult.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.ListDepFiles_Result.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.ListDepFilesResult.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.ListDepFiles_Result = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.ListDepFilesResult = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object ListDepFiles_ResultKt {
      * `string pkgroot = 1;`
      */
     public var pkgroot: kotlin.String
-      @JvmName("getPkgroot")
-      get() = _builder.pkgroot
-      @JvmName("setPkgroot")
-      set(value) {
+      @kotlin.jvm.JvmName("getPkgroot")
+        get() = _builder.pkgroot
+      @kotlin.jvm.JvmName("setPkgroot")
+        set(value) {
         _builder.pkgroot = value
       }
     /**
@@ -65,10 +66,10 @@ public object ListDepFiles_ResultKt {
      * `string pkgpath = 2;`
      */
     public var pkgpath: kotlin.String
-      @JvmName("getPkgpath")
-      get() = _builder.pkgpath
-      @JvmName("setPkgpath")
-      set(value) {
+      @kotlin.jvm.JvmName("getPkgpath")
+        get() = _builder.pkgpath
+      @kotlin.jvm.JvmName("setPkgpath")
+        set(value) {
         _builder.pkgpath = value
       }
     /**
@@ -97,7 +98,7 @@ public object ListDepFiles_ResultKt {
      * @return A list containing the files.
      */
     public val files: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.filesList
       )
@@ -110,7 +111,7 @@ public object ListDepFiles_ResultKt {
      * @param value The files to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addFiles")
+@kotlin.jvm.JvmName("addFiles")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addFiles(value)
     }
@@ -123,7 +124,7 @@ public object ListDepFiles_ResultKt {
      * @param value The files to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignFiles")
+@kotlin.jvm.JvmName("plusAssignFiles")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -137,7 +138,7 @@ public object ListDepFiles_ResultKt {
      * @param values The files to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllFiles")
+@kotlin.jvm.JvmName("addAllFiles")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllFiles(values)
     }
@@ -150,7 +151,7 @@ public object ListDepFiles_ResultKt {
      * @param values The files to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllFiles")
+@kotlin.jvm.JvmName("plusAssignAllFiles")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -165,7 +166,7 @@ public object ListDepFiles_ResultKt {
      * @param value The files to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setFiles")
+@kotlin.jvm.JvmName("setFiles")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setFiles(index, value)
     }/**
@@ -176,12 +177,12 @@ public object ListDepFiles_ResultKt {
      * `repeated string files = 3;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearFiles")
+@kotlin.jvm.JvmName("setFiles")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearFiles()
     }}
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.ListDepFiles_Result.copy(block: `com.kcl.api`.ListDepFiles_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListDepFiles_Result =
-  `com.kcl.api`.ListDepFiles_ResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.ListDepFilesResult.copy(block: `com.kcl.api`.ListDepFilesResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListDepFilesResult =
+  `com.kcl.api`.ListDepFilesResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ListMethodArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ListMethodArgsKt.kt
new file mode 100644
index 00000000..3ab4cf50
--- /dev/null
+++ b/kotlin/src/main/kotlin/com/kcl/api/ListMethodArgsKt.kt
@@ -0,0 +1,40 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: spec.proto
+
+@file:com.google.protobuf.Generated
+// Generated files should ignore deprecation warnings
+@file:Suppress("DEPRECATION")
+package com.kcl.api;
+
+@kotlin.jvm.JvmName("-initializelistMethodArgs")
+public inline fun listMethodArgs(block: com.kcl.api.ListMethodArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListMethodArgs =
+  com.kcl.api.ListMethodArgsKt.Dsl._create(com.kcl.api.Spec.ListMethodArgs.newBuilder()).apply { block() }._build()
+/**
+ * ```
+ * Message for list method request arguments. Empty message.
+ * ```
+ *
+ * Protobuf type `com.kcl.api.ListMethodArgs`
+ */
+public object ListMethodArgsKt {
+  @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+  @com.google.protobuf.kotlin.ProtoDslMarker
+  public class Dsl private constructor(
+    private val _builder: com.kcl.api.Spec.ListMethodArgs.Builder
+  ) {
+    public companion object {
+      @kotlin.jvm.JvmSynthetic
+    @kotlin.PublishedApi
+      internal fun _create(builder: com.kcl.api.Spec.ListMethodArgs.Builder): Dsl = Dsl(builder)
+    }
+
+    @kotlin.jvm.JvmSynthetic
+  @kotlin.PublishedApi
+    internal fun _build(): com.kcl.api.Spec.ListMethodArgs = _builder.build()
+  }
+}
+@kotlin.jvm.JvmSynthetic
+public inline fun com.kcl.api.Spec.ListMethodArgs.copy(block: `com.kcl.api`.ListMethodArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListMethodArgs =
+  `com.kcl.api`.ListMethodArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ListMethod_ResultKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ListMethodResultKt.kt
similarity index 76%
rename from kotlin/src/main/kotlin/com/kcl/api/ListMethod_ResultKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/ListMethodResultKt.kt
index b3cff153..c89d091f 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/ListMethod_ResultKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/ListMethodResultKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializelistMethodResult")
-public inline fun listMethodResult(block: com.kcl.api.ListMethod_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListMethod_Result =
-  com.kcl.api.ListMethod_ResultKt.Dsl._create(com.kcl.api.Spec.ListMethod_Result.newBuilder()).apply { block() }._build()
+public inline fun listMethodResult(block: com.kcl.api.ListMethodResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListMethodResult =
+  com.kcl.api.ListMethodResultKt.Dsl._create(com.kcl.api.Spec.ListMethodResult.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for list method response.
  * ```
  *
- * Protobuf type `com.kcl.api.ListMethod_Result`
+ * Protobuf type `com.kcl.api.ListMethodResult`
  */
-public object ListMethod_ResultKt {
+public object ListMethodResultKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.ListMethod_Result.Builder
+    private val _builder: com.kcl.api.Spec.ListMethodResult.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.ListMethod_Result.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.ListMethodResult.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.ListMethod_Result = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.ListMethodResult = _builder.build()
 
     /**
      * An uninstantiable, behaviorless type to represent the field in
@@ -47,7 +48,7 @@ public object ListMethod_ResultKt {
      * @return A list containing the methodNameList.
      */
     public val methodNameList: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.methodNameListList
       )
@@ -60,7 +61,7 @@ public object ListMethod_ResultKt {
      * @param value The methodNameList to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addMethodNameList")
+@kotlin.jvm.JvmName("addMethodNameList")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addMethodNameList(value)
     }
@@ -73,7 +74,7 @@ public object ListMethod_ResultKt {
      * @param value The methodNameList to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignMethodNameList")
+@kotlin.jvm.JvmName("plusAssignMethodNameList")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -87,7 +88,7 @@ public object ListMethod_ResultKt {
      * @param values The methodNameList to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllMethodNameList")
+@kotlin.jvm.JvmName("addAllMethodNameList")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllMethodNameList(values)
     }
@@ -100,7 +101,7 @@ public object ListMethod_ResultKt {
      * @param values The methodNameList to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllMethodNameList")
+@kotlin.jvm.JvmName("plusAssignAllMethodNameList")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -115,7 +116,7 @@ public object ListMethod_ResultKt {
      * @param value The methodNameList to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setMethodNameList")
+@kotlin.jvm.JvmName("setMethodNameList")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setMethodNameList(index, value)
     }/**
@@ -126,12 +127,12 @@ public object ListMethod_ResultKt {
      * `repeated string method_name_list = 1;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearMethodNameList")
+@kotlin.jvm.JvmName("setMethodNameList")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearMethodNameList()
     }}
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.ListMethod_Result.copy(block: `com.kcl.api`.ListMethod_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListMethod_Result =
-  `com.kcl.api`.ListMethod_ResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.ListMethodResult.copy(block: `com.kcl.api`.ListMethodResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListMethodResult =
+  `com.kcl.api`.ListMethodResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ListMethod_ArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ListMethod_ArgsKt.kt
deleted file mode 100644
index 4678c360..00000000
--- a/kotlin/src/main/kotlin/com/kcl/api/ListMethod_ArgsKt.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
-// source: spec.proto
-
-// Generated files should ignore deprecation warnings
-@file:Suppress("DEPRECATION")
-package com.kcl.api;
-
-@kotlin.jvm.JvmName("-initializelistMethodArgs")
-public inline fun listMethodArgs(block: com.kcl.api.ListMethod_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListMethod_Args =
-  com.kcl.api.ListMethod_ArgsKt.Dsl._create(com.kcl.api.Spec.ListMethod_Args.newBuilder()).apply { block() }._build()
-/**
- * ```
- * Message for list method request arguments. Empty message.
- * ```
- *
- * Protobuf type `com.kcl.api.ListMethod_Args`
- */
-public object ListMethod_ArgsKt {
-  @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
-  @com.google.protobuf.kotlin.ProtoDslMarker
-  public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.ListMethod_Args.Builder
-  ) {
-    public companion object {
-      @kotlin.jvm.JvmSynthetic
-    @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.ListMethod_Args.Builder): Dsl = Dsl(builder)
-    }
-
-    @kotlin.jvm.JvmSynthetic
-  @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.ListMethod_Args = _builder.build()
-  }
-}
-@kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.ListMethod_Args.copy(block: `com.kcl.api`.ListMethod_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListMethod_Args =
-  `com.kcl.api`.ListMethod_ArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
-
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ListOptions_ResultKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ListOptionsResultKt.kt
similarity index 78%
rename from kotlin/src/main/kotlin/com/kcl/api/ListOptions_ResultKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/ListOptionsResultKt.kt
index 0a1ceb6c..b6b7d710 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/ListOptions_ResultKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/ListOptionsResultKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializelistOptionsResult")
-public inline fun listOptionsResult(block: com.kcl.api.ListOptions_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListOptions_Result =
-  com.kcl.api.ListOptions_ResultKt.Dsl._create(com.kcl.api.Spec.ListOptions_Result.newBuilder()).apply { block() }._build()
+public inline fun listOptionsResult(block: com.kcl.api.ListOptionsResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListOptionsResult =
+  com.kcl.api.ListOptionsResultKt.Dsl._create(com.kcl.api.Spec.ListOptionsResult.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for list options response.
  * ```
  *
- * Protobuf type `com.kcl.api.ListOptions_Result`
+ * Protobuf type `com.kcl.api.ListOptionsResult`
  */
-public object ListOptions_ResultKt {
+public object ListOptionsResultKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.ListOptions_Result.Builder
+    private val _builder: com.kcl.api.Spec.ListOptionsResult.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.ListOptions_Result.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.ListOptionsResult.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.ListOptions_Result = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.ListOptionsResult = _builder.build()
 
     /**
      * An uninstantiable, behaviorless type to represent the field in
@@ -47,7 +48,7 @@ public object ListOptions_ResultKt {
      */
      public val options: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.optionsList
       )
     /**
@@ -59,7 +60,7 @@ public object ListOptions_ResultKt {
      * @param value The options to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addOptions")
+@kotlin.jvm.JvmName("addOptions")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.OptionHelp) {
       _builder.addOptions(value)
     }
@@ -72,7 +73,7 @@ public object ListOptions_ResultKt {
      * @param value The options to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignOptions")
+@kotlin.jvm.JvmName("plusAssignOptions")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.OptionHelp) {
       add(value)
@@ -86,7 +87,7 @@ public object ListOptions_ResultKt {
      * @param values The options to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllOptions")
+@kotlin.jvm.JvmName("addAllOptions")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllOptions(values)
     }
@@ -99,7 +100,7 @@ public object ListOptions_ResultKt {
      * @param values The options to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllOptions")
+@kotlin.jvm.JvmName("plusAssignAllOptions")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -114,7 +115,7 @@ public object ListOptions_ResultKt {
      * @param value The options to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setOptions")
+@kotlin.jvm.JvmName("setOptions")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.OptionHelp) {
       _builder.setOptions(index, value)
     }
@@ -126,14 +127,13 @@ public object ListOptions_ResultKt {
      * `repeated .com.kcl.api.OptionHelp options = 2;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearOptions")
+@kotlin.jvm.JvmName("clearOptions")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearOptions()
     }
-
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.ListOptions_Result.copy(block: `com.kcl.api`.ListOptions_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListOptions_Result =
-  `com.kcl.api`.ListOptions_ResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.ListOptionsResult.copy(block: `com.kcl.api`.ListOptionsResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListOptionsResult =
+  `com.kcl.api`.ListOptionsResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ListVariables_ArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ListVariablesArgsKt.kt
similarity index 78%
rename from kotlin/src/main/kotlin/com/kcl/api/ListVariables_ArgsKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/ListVariablesArgsKt.kt
index b22eca47..ada46131 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/ListVariables_ArgsKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/ListVariablesArgsKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializelistVariablesArgs")
-public inline fun listVariablesArgs(block: com.kcl.api.ListVariables_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListVariables_Args =
-  com.kcl.api.ListVariables_ArgsKt.Dsl._create(com.kcl.api.Spec.ListVariables_Args.newBuilder()).apply { block() }._build()
+public inline fun listVariablesArgs(block: com.kcl.api.ListVariablesArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListVariablesArgs =
+  com.kcl.api.ListVariablesArgsKt.Dsl._create(com.kcl.api.Spec.ListVariablesArgs.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for list variables request arguments.
  * ```
  *
- * Protobuf type `com.kcl.api.ListVariables_Args`
+ * Protobuf type `com.kcl.api.ListVariablesArgs`
  */
-public object ListVariables_ArgsKt {
+public object ListVariablesArgsKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.ListVariables_Args.Builder
+    private val _builder: com.kcl.api.Spec.ListVariablesArgs.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.ListVariables_Args.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.ListVariablesArgs.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.ListVariables_Args = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.ListVariablesArgs = _builder.build()
 
     /**
      * An uninstantiable, behaviorless type to represent the field in
@@ -47,7 +48,7 @@ public object ListVariables_ArgsKt {
      * @return A list containing the files.
      */
     public val files: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.filesList
       )
@@ -60,7 +61,7 @@ public object ListVariables_ArgsKt {
      * @param value The files to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addFiles")
+@kotlin.jvm.JvmName("addFiles")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addFiles(value)
     }
@@ -73,7 +74,7 @@ public object ListVariables_ArgsKt {
      * @param value The files to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignFiles")
+@kotlin.jvm.JvmName("plusAssignFiles")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -87,7 +88,7 @@ public object ListVariables_ArgsKt {
      * @param values The files to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllFiles")
+@kotlin.jvm.JvmName("addAllFiles")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllFiles(values)
     }
@@ -100,7 +101,7 @@ public object ListVariables_ArgsKt {
      * @param values The files to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllFiles")
+@kotlin.jvm.JvmName("plusAssignAllFiles")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -115,7 +116,7 @@ public object ListVariables_ArgsKt {
      * @param value The files to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setFiles")
+@kotlin.jvm.JvmName("setFiles")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setFiles(index, value)
     }/**
@@ -126,7 +127,7 @@ public object ListVariables_ArgsKt {
      * `repeated string files = 1;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearFiles")
+@kotlin.jvm.JvmName("setFiles")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearFiles()
     }
@@ -145,7 +146,7 @@ public object ListVariables_ArgsKt {
      * @return A list containing the specs.
      */
     public val specs: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.specsList
       )
@@ -158,7 +159,7 @@ public object ListVariables_ArgsKt {
      * @param value The specs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addSpecs")
+@kotlin.jvm.JvmName("addSpecs")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addSpecs(value)
     }
@@ -171,7 +172,7 @@ public object ListVariables_ArgsKt {
      * @param value The specs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignSpecs")
+@kotlin.jvm.JvmName("plusAssignSpecs")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -185,7 +186,7 @@ public object ListVariables_ArgsKt {
      * @param values The specs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllSpecs")
+@kotlin.jvm.JvmName("addAllSpecs")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllSpecs(values)
     }
@@ -198,7 +199,7 @@ public object ListVariables_ArgsKt {
      * @param values The specs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllSpecs")
+@kotlin.jvm.JvmName("plusAssignAllSpecs")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -213,7 +214,7 @@ public object ListVariables_ArgsKt {
      * @param value The specs to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setSpecs")
+@kotlin.jvm.JvmName("setSpecs")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setSpecs(index, value)
     }/**
@@ -224,7 +225,7 @@ public object ListVariables_ArgsKt {
      * `repeated string specs = 2;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearSpecs")
+@kotlin.jvm.JvmName("setSpecs")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearSpecs()
     }
@@ -233,13 +234,13 @@ public object ListVariables_ArgsKt {
      * Options for listing variables.
      * ```
      *
-     * `.com.kcl.api.ListVariables_Options options = 3;`
+     * `.com.kcl.api.ListVariablesOptions options = 3;`
      */
-    public var options: com.kcl.api.Spec.ListVariables_Options
-      @JvmName("getOptions")
-      get() = _builder.options
-      @JvmName("setOptions")
-      set(value) {
+    public var options: com.kcl.api.Spec.ListVariablesOptions
+      @kotlin.jvm.JvmName("getOptions")
+        get() = _builder.options
+      @kotlin.jvm.JvmName("setOptions")
+        set(value) {
         _builder.options = value
       }
     /**
@@ -247,7 +248,7 @@ public object ListVariables_ArgsKt {
      * Options for listing variables.
      * ```
      *
-     * `.com.kcl.api.ListVariables_Options options = 3;`
+     * `.com.kcl.api.ListVariablesOptions options = 3;`
      */
     public fun clearOptions() {
       _builder.clearOptions()
@@ -257,21 +258,21 @@ public object ListVariables_ArgsKt {
      * Options for listing variables.
      * ```
      *
-     * `.com.kcl.api.ListVariables_Options options = 3;`
+     * `.com.kcl.api.ListVariablesOptions options = 3;`
      * @return Whether the options field is set.
      */
     public fun hasOptions(): kotlin.Boolean {
       return _builder.hasOptions()
     }
 
-    public val ListVariables_ArgsKt.Dsl.optionsOrNull: com.kcl.api.Spec.ListVariables_Options?
+    public val ListVariablesArgsKt.Dsl.optionsOrNull: com.kcl.api.Spec.ListVariablesOptions?
       get() = _builder.optionsOrNull
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.ListVariables_Args.copy(block: `com.kcl.api`.ListVariables_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListVariables_Args =
-  `com.kcl.api`.ListVariables_ArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.ListVariablesArgs.copy(block: `com.kcl.api`.ListVariablesArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListVariablesArgs =
+  `com.kcl.api`.ListVariablesArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
-public val com.kcl.api.Spec.ListVariables_ArgsOrBuilder.optionsOrNull: com.kcl.api.Spec.ListVariables_Options?
+public val com.kcl.api.Spec.ListVariablesArgsOrBuilder.optionsOrNull: com.kcl.api.Spec.ListVariablesOptions?
   get() = if (hasOptions()) getOptions() else null
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ListVariables_OptionsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ListVariablesOptionsKt.kt
similarity index 56%
rename from kotlin/src/main/kotlin/com/kcl/api/ListVariables_OptionsKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/ListVariablesOptionsKt.kt
index 55750813..c9dc38c3 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/ListVariables_OptionsKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/ListVariablesOptionsKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializelistVariablesOptions")
-public inline fun listVariablesOptions(block: com.kcl.api.ListVariables_OptionsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListVariables_Options =
-  com.kcl.api.ListVariables_OptionsKt.Dsl._create(com.kcl.api.Spec.ListVariables_Options.newBuilder()).apply { block() }._build()
+public inline fun listVariablesOptions(block: com.kcl.api.ListVariablesOptionsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListVariablesOptions =
+  com.kcl.api.ListVariablesOptionsKt.Dsl._create(com.kcl.api.Spec.ListVariablesOptions.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for list variables options.
  * ```
  *
- * Protobuf type `com.kcl.api.ListVariables_Options`
+ * Protobuf type `com.kcl.api.ListVariablesOptions`
  */
-public object ListVariables_OptionsKt {
+public object ListVariablesOptionsKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.ListVariables_Options.Builder
+    private val _builder: com.kcl.api.Spec.ListVariablesOptions.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.ListVariables_Options.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.ListVariablesOptions.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.ListVariables_Options = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.ListVariablesOptions = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object ListVariables_OptionsKt {
      * `bool merge_program = 1;`
      */
     public var mergeProgram: kotlin.Boolean
-      @JvmName("getMergeProgram")
-      get() = _builder.mergeProgram
-      @JvmName("setMergeProgram")
-      set(value) {
+      @kotlin.jvm.JvmName("getMergeProgram")
+        get() = _builder.mergeProgram
+      @kotlin.jvm.JvmName("setMergeProgram")
+        set(value) {
         _builder.mergeProgram = value
       }
     /**
@@ -59,6 +60,6 @@ public object ListVariables_OptionsKt {
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.ListVariables_Options.copy(block: `com.kcl.api`.ListVariables_OptionsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListVariables_Options =
-  `com.kcl.api`.ListVariables_OptionsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.ListVariablesOptions.copy(block: `com.kcl.api`.ListVariablesOptionsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListVariablesOptions =
+  `com.kcl.api`.ListVariablesOptionsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ListVariables_ResultKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ListVariablesResultKt.kt
similarity index 85%
rename from kotlin/src/main/kotlin/com/kcl/api/ListVariables_ResultKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/ListVariablesResultKt.kt
index eb98b635..af936941 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/ListVariables_ResultKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/ListVariablesResultKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializelistVariablesResult")
-public inline fun listVariablesResult(block: com.kcl.api.ListVariables_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListVariables_Result =
-  com.kcl.api.ListVariables_ResultKt.Dsl._create(com.kcl.api.Spec.ListVariables_Result.newBuilder()).apply { block() }._build()
+public inline fun listVariablesResult(block: com.kcl.api.ListVariablesResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListVariablesResult =
+  com.kcl.api.ListVariablesResultKt.Dsl._create(com.kcl.api.Spec.ListVariablesResult.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for list variables response.
  * ```
  *
- * Protobuf type `com.kcl.api.ListVariables_Result`
+ * Protobuf type `com.kcl.api.ListVariablesResult`
  */
-public object ListVariables_ResultKt {
+public object ListVariablesResultKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.ListVariables_Result.Builder
+    private val _builder: com.kcl.api.Spec.ListVariablesResult.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.ListVariables_Result.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.ListVariablesResult.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.ListVariables_Result = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.ListVariablesResult = _builder.build()
 
     /**
      * An uninstantiable, behaviorless type to represent the field in
@@ -47,7 +48,7 @@ public object ListVariables_ResultKt {
      */
      public val variables: com.google.protobuf.kotlin.DslMap
       @kotlin.jvm.JvmSynthetic
-      @JvmName("getVariablesMap")
+@kotlin.jvm.JvmName("getVariablesMap")
       get() = com.google.protobuf.kotlin.DslMap(
         _builder.variablesMap
       )
@@ -58,7 +59,7 @@ public object ListVariables_ResultKt {
      *
      * `map variables = 1;`
      */
-    @JvmName("putVariables")
+    @kotlin.jvm.JvmName("putVariables")
     public fun com.google.protobuf.kotlin.DslMap
       .put(key: kotlin.String, value: com.kcl.api.Spec.VariableList) {
          _builder.putVariables(key, value)
@@ -71,7 +72,7 @@ public object ListVariables_ResultKt {
      * `map variables = 1;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("setVariables")
+@kotlin.jvm.JvmName("setVariables")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslMap
       .set(key: kotlin.String, value: com.kcl.api.Spec.VariableList) {
@@ -85,7 +86,7 @@ public object ListVariables_ResultKt {
      * `map variables = 1;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("removeVariables")
+@kotlin.jvm.JvmName("removeVariables")
     public fun com.google.protobuf.kotlin.DslMap
       .remove(key: kotlin.String) {
          _builder.removeVariables(key)
@@ -98,7 +99,7 @@ public object ListVariables_ResultKt {
      * `map variables = 1;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("putAllVariables")
+@kotlin.jvm.JvmName("putAllVariables")
     public fun com.google.protobuf.kotlin.DslMap
       .putAll(map: kotlin.collections.Map) {
          _builder.putAllVariables(map)
@@ -111,7 +112,7 @@ public object ListVariables_ResultKt {
      * `map variables = 1;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("clearVariables")
+@kotlin.jvm.JvmName("clearVariables")
     public fun com.google.protobuf.kotlin.DslMap
       .clear() {
          _builder.clearVariables()
@@ -132,7 +133,7 @@ public object ListVariables_ResultKt {
      * @return A list containing the unsupportedCodes.
      */
     public val unsupportedCodes: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.unsupportedCodesList
       )
@@ -145,7 +146,7 @@ public object ListVariables_ResultKt {
      * @param value The unsupportedCodes to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addUnsupportedCodes")
+@kotlin.jvm.JvmName("addUnsupportedCodes")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addUnsupportedCodes(value)
     }
@@ -158,7 +159,7 @@ public object ListVariables_ResultKt {
      * @param value The unsupportedCodes to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignUnsupportedCodes")
+@kotlin.jvm.JvmName("plusAssignUnsupportedCodes")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -172,7 +173,7 @@ public object ListVariables_ResultKt {
      * @param values The unsupportedCodes to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllUnsupportedCodes")
+@kotlin.jvm.JvmName("addAllUnsupportedCodes")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllUnsupportedCodes(values)
     }
@@ -185,7 +186,7 @@ public object ListVariables_ResultKt {
      * @param values The unsupportedCodes to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllUnsupportedCodes")
+@kotlin.jvm.JvmName("plusAssignAllUnsupportedCodes")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -200,7 +201,7 @@ public object ListVariables_ResultKt {
      * @param value The unsupportedCodes to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setUnsupportedCodes")
+@kotlin.jvm.JvmName("setUnsupportedCodes")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setUnsupportedCodes(index, value)
     }/**
@@ -211,7 +212,7 @@ public object ListVariables_ResultKt {
      * `repeated string unsupported_codes = 2;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearUnsupportedCodes")
+@kotlin.jvm.JvmName("setUnsupportedCodes")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearUnsupportedCodes()
     }
@@ -230,7 +231,7 @@ public object ListVariables_ResultKt {
      */
      public val parseErrors: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.parseErrorsList
       )
     /**
@@ -242,7 +243,7 @@ public object ListVariables_ResultKt {
      * @param value The parseErrors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addParseErrors")
+@kotlin.jvm.JvmName("addParseErrors")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.Error) {
       _builder.addParseErrors(value)
     }
@@ -255,7 +256,7 @@ public object ListVariables_ResultKt {
      * @param value The parseErrors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignParseErrors")
+@kotlin.jvm.JvmName("plusAssignParseErrors")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.Error) {
       add(value)
@@ -269,7 +270,7 @@ public object ListVariables_ResultKt {
      * @param values The parseErrors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllParseErrors")
+@kotlin.jvm.JvmName("addAllParseErrors")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllParseErrors(values)
     }
@@ -282,7 +283,7 @@ public object ListVariables_ResultKt {
      * @param values The parseErrors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllParseErrors")
+@kotlin.jvm.JvmName("plusAssignAllParseErrors")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -297,7 +298,7 @@ public object ListVariables_ResultKt {
      * @param value The parseErrors to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setParseErrors")
+@kotlin.jvm.JvmName("setParseErrors")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.Error) {
       _builder.setParseErrors(index, value)
     }
@@ -309,14 +310,13 @@ public object ListVariables_ResultKt {
      * `repeated .com.kcl.api.Error parse_errors = 3;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearParseErrors")
+@kotlin.jvm.JvmName("clearParseErrors")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearParseErrors()
     }
-
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.ListVariables_Result.copy(block: `com.kcl.api`.ListVariables_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListVariables_Result =
-  `com.kcl.api`.ListVariables_ResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.ListVariablesResult.copy(block: `com.kcl.api`.ListVariablesResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ListVariablesResult =
+  `com.kcl.api`.ListVariablesResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/LoadPackage_ArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/LoadPackageArgsKt.kt
similarity index 61%
rename from kotlin/src/main/kotlin/com/kcl/api/LoadPackage_ArgsKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/LoadPackageArgsKt.kt
index 9bc66ca4..4f50d25d 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/LoadPackage_ArgsKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/LoadPackageArgsKt.kt
@@ -2,48 +2,49 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializeloadPackageArgs")
-public inline fun loadPackageArgs(block: com.kcl.api.LoadPackage_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LoadPackage_Args =
-  com.kcl.api.LoadPackage_ArgsKt.Dsl._create(com.kcl.api.Spec.LoadPackage_Args.newBuilder()).apply { block() }._build()
+public inline fun loadPackageArgs(block: com.kcl.api.LoadPackageArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LoadPackageArgs =
+  com.kcl.api.LoadPackageArgsKt.Dsl._create(com.kcl.api.Spec.LoadPackageArgs.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for load package request arguments.
  * ```
  *
- * Protobuf type `com.kcl.api.LoadPackage_Args`
+ * Protobuf type `com.kcl.api.LoadPackageArgs`
  */
-public object LoadPackage_ArgsKt {
+public object LoadPackageArgsKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.LoadPackage_Args.Builder
+    private val _builder: com.kcl.api.Spec.LoadPackageArgs.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.LoadPackage_Args.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.LoadPackageArgs.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.LoadPackage_Args = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.LoadPackageArgs = _builder.build()
 
     /**
      * ```
      * Arguments for parsing the program.
      * ```
      *
-     * `.com.kcl.api.ParseProgram_Args parse_args = 1;`
+     * `.com.kcl.api.ParseProgramArgs parse_args = 1;`
      */
-    public var parseArgs: com.kcl.api.Spec.ParseProgram_Args
-      @JvmName("getParseArgs")
-      get() = _builder.parseArgs
-      @JvmName("setParseArgs")
-      set(value) {
+    public var parseArgs: com.kcl.api.Spec.ParseProgramArgs
+      @kotlin.jvm.JvmName("getParseArgs")
+        get() = _builder.parseArgs
+      @kotlin.jvm.JvmName("setParseArgs")
+        set(value) {
         _builder.parseArgs = value
       }
     /**
@@ -51,7 +52,7 @@ public object LoadPackage_ArgsKt {
      * Arguments for parsing the program.
      * ```
      *
-     * `.com.kcl.api.ParseProgram_Args parse_args = 1;`
+     * `.com.kcl.api.ParseProgramArgs parse_args = 1;`
      */
     public fun clearParseArgs() {
       _builder.clearParseArgs()
@@ -61,14 +62,14 @@ public object LoadPackage_ArgsKt {
      * Arguments for parsing the program.
      * ```
      *
-     * `.com.kcl.api.ParseProgram_Args parse_args = 1;`
+     * `.com.kcl.api.ParseProgramArgs parse_args = 1;`
      * @return Whether the parseArgs field is set.
      */
     public fun hasParseArgs(): kotlin.Boolean {
       return _builder.hasParseArgs()
     }
 
-    public val LoadPackage_ArgsKt.Dsl.parseArgsOrNull: com.kcl.api.Spec.ParseProgram_Args?
+    public val LoadPackageArgsKt.Dsl.parseArgsOrNull: com.kcl.api.Spec.ParseProgramArgs?
       get() = _builder.parseArgsOrNull
 
     /**
@@ -79,10 +80,10 @@ public object LoadPackage_ArgsKt {
      * `bool resolve_ast = 2;`
      */
     public var resolveAst: kotlin.Boolean
-      @JvmName("getResolveAst")
-      get() = _builder.resolveAst
-      @JvmName("setResolveAst")
-      set(value) {
+      @kotlin.jvm.JvmName("getResolveAst")
+        get() = _builder.resolveAst
+      @kotlin.jvm.JvmName("setResolveAst")
+        set(value) {
         _builder.resolveAst = value
       }
     /**
@@ -104,10 +105,10 @@ public object LoadPackage_ArgsKt {
      * `bool load_builtin = 3;`
      */
     public var loadBuiltin: kotlin.Boolean
-      @JvmName("getLoadBuiltin")
-      get() = _builder.loadBuiltin
-      @JvmName("setLoadBuiltin")
-      set(value) {
+      @kotlin.jvm.JvmName("getLoadBuiltin")
+        get() = _builder.loadBuiltin
+      @kotlin.jvm.JvmName("setLoadBuiltin")
+        set(value) {
         _builder.loadBuiltin = value
       }
     /**
@@ -129,10 +130,10 @@ public object LoadPackage_ArgsKt {
      * `bool with_ast_index = 4;`
      */
     public var withAstIndex: kotlin.Boolean
-      @JvmName("getWithAstIndex")
-      get() = _builder.withAstIndex
-      @JvmName("setWithAstIndex")
-      set(value) {
+      @kotlin.jvm.JvmName("getWithAstIndex")
+        get() = _builder.withAstIndex
+      @kotlin.jvm.JvmName("setWithAstIndex")
+        set(value) {
         _builder.withAstIndex = value
       }
     /**
@@ -148,9 +149,9 @@ public object LoadPackage_ArgsKt {
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.LoadPackage_Args.copy(block: `com.kcl.api`.LoadPackage_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LoadPackage_Args =
-  `com.kcl.api`.LoadPackage_ArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.LoadPackageArgs.copy(block: `com.kcl.api`.LoadPackageArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LoadPackageArgs =
+  `com.kcl.api`.LoadPackageArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
-public val com.kcl.api.Spec.LoadPackage_ArgsOrBuilder.parseArgsOrNull: com.kcl.api.Spec.ParseProgram_Args?
+public val com.kcl.api.Spec.LoadPackageArgsOrBuilder.parseArgsOrNull: com.kcl.api.Spec.ParseProgramArgs?
   get() = if (hasParseArgs()) getParseArgs() else null
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/LoadPackage_ResultKt.kt b/kotlin/src/main/kotlin/com/kcl/api/LoadPackageResultKt.kt
similarity index 89%
rename from kotlin/src/main/kotlin/com/kcl/api/LoadPackage_ResultKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/LoadPackageResultKt.kt
index c0d9252a..e31bb153 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/LoadPackage_ResultKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/LoadPackageResultKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializeloadPackageResult")
-public inline fun loadPackageResult(block: com.kcl.api.LoadPackage_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LoadPackage_Result =
-  com.kcl.api.LoadPackage_ResultKt.Dsl._create(com.kcl.api.Spec.LoadPackage_Result.newBuilder()).apply { block() }._build()
+public inline fun loadPackageResult(block: com.kcl.api.LoadPackageResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LoadPackageResult =
+  com.kcl.api.LoadPackageResultKt.Dsl._create(com.kcl.api.Spec.LoadPackageResult.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for load package response.
  * ```
  *
- * Protobuf type `com.kcl.api.LoadPackage_Result`
+ * Protobuf type `com.kcl.api.LoadPackageResult`
  */
-public object LoadPackage_ResultKt {
+public object LoadPackageResultKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.LoadPackage_Result.Builder
+    private val _builder: com.kcl.api.Spec.LoadPackageResult.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.LoadPackage_Result.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.LoadPackageResult.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.LoadPackage_Result = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.LoadPackageResult = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object LoadPackage_ResultKt {
      * `string program = 1;`
      */
     public var program: kotlin.String
-      @JvmName("getProgram")
-      get() = _builder.program
-      @JvmName("setProgram")
-      set(value) {
+      @kotlin.jvm.JvmName("getProgram")
+        get() = _builder.program
+      @kotlin.jvm.JvmName("setProgram")
+        set(value) {
         _builder.program = value
       }
     /**
@@ -72,7 +73,7 @@ public object LoadPackage_ResultKt {
      * @return A list containing the paths.
      */
     public val paths: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.pathsList
       )
@@ -85,7 +86,7 @@ public object LoadPackage_ResultKt {
      * @param value The paths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addPaths")
+@kotlin.jvm.JvmName("addPaths")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addPaths(value)
     }
@@ -98,7 +99,7 @@ public object LoadPackage_ResultKt {
      * @param value The paths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignPaths")
+@kotlin.jvm.JvmName("plusAssignPaths")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -112,7 +113,7 @@ public object LoadPackage_ResultKt {
      * @param values The paths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllPaths")
+@kotlin.jvm.JvmName("addAllPaths")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllPaths(values)
     }
@@ -125,7 +126,7 @@ public object LoadPackage_ResultKt {
      * @param values The paths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllPaths")
+@kotlin.jvm.JvmName("plusAssignAllPaths")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -140,7 +141,7 @@ public object LoadPackage_ResultKt {
      * @param value The paths to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setPaths")
+@kotlin.jvm.JvmName("setPaths")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setPaths(index, value)
     }/**
@@ -151,7 +152,7 @@ public object LoadPackage_ResultKt {
      * `repeated string paths = 2;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearPaths")
+@kotlin.jvm.JvmName("setPaths")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearPaths()
     }
@@ -170,7 +171,7 @@ public object LoadPackage_ResultKt {
      */
      public val parseErrors: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.parseErrorsList
       )
     /**
@@ -182,7 +183,7 @@ public object LoadPackage_ResultKt {
      * @param value The parseErrors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addParseErrors")
+@kotlin.jvm.JvmName("addParseErrors")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.Error) {
       _builder.addParseErrors(value)
     }
@@ -195,7 +196,7 @@ public object LoadPackage_ResultKt {
      * @param value The parseErrors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignParseErrors")
+@kotlin.jvm.JvmName("plusAssignParseErrors")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.Error) {
       add(value)
@@ -209,7 +210,7 @@ public object LoadPackage_ResultKt {
      * @param values The parseErrors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllParseErrors")
+@kotlin.jvm.JvmName("addAllParseErrors")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllParseErrors(values)
     }
@@ -222,7 +223,7 @@ public object LoadPackage_ResultKt {
      * @param values The parseErrors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllParseErrors")
+@kotlin.jvm.JvmName("plusAssignAllParseErrors")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -237,7 +238,7 @@ public object LoadPackage_ResultKt {
      * @param value The parseErrors to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setParseErrors")
+@kotlin.jvm.JvmName("setParseErrors")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.Error) {
       _builder.setParseErrors(index, value)
     }
@@ -249,12 +250,11 @@ public object LoadPackage_ResultKt {
      * `repeated .com.kcl.api.Error parse_errors = 3;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearParseErrors")
+@kotlin.jvm.JvmName("clearParseErrors")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearParseErrors()
     }
 
-
     /**
      * An uninstantiable, behaviorless type to represent the field in
      * generics.
@@ -270,7 +270,7 @@ public object LoadPackage_ResultKt {
      */
      public val typeErrors: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.typeErrorsList
       )
     /**
@@ -282,7 +282,7 @@ public object LoadPackage_ResultKt {
      * @param value The typeErrors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addTypeErrors")
+@kotlin.jvm.JvmName("addTypeErrors")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.Error) {
       _builder.addTypeErrors(value)
     }
@@ -295,7 +295,7 @@ public object LoadPackage_ResultKt {
      * @param value The typeErrors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignTypeErrors")
+@kotlin.jvm.JvmName("plusAssignTypeErrors")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.Error) {
       add(value)
@@ -309,7 +309,7 @@ public object LoadPackage_ResultKt {
      * @param values The typeErrors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllTypeErrors")
+@kotlin.jvm.JvmName("addAllTypeErrors")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllTypeErrors(values)
     }
@@ -322,7 +322,7 @@ public object LoadPackage_ResultKt {
      * @param values The typeErrors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllTypeErrors")
+@kotlin.jvm.JvmName("plusAssignAllTypeErrors")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -337,7 +337,7 @@ public object LoadPackage_ResultKt {
      * @param value The typeErrors to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setTypeErrors")
+@kotlin.jvm.JvmName("setTypeErrors")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.Error) {
       _builder.setTypeErrors(index, value)
     }
@@ -349,12 +349,11 @@ public object LoadPackage_ResultKt {
      * `repeated .com.kcl.api.Error type_errors = 4;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearTypeErrors")
+@kotlin.jvm.JvmName("clearTypeErrors")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearTypeErrors()
     }
 
-
     /**
      * An uninstantiable, behaviorless type to represent the field in
      * generics.
@@ -370,7 +369,7 @@ public object LoadPackage_ResultKt {
      */
      public val scopes: com.google.protobuf.kotlin.DslMap
       @kotlin.jvm.JvmSynthetic
-      @JvmName("getScopesMap")
+@kotlin.jvm.JvmName("getScopesMap")
       get() = com.google.protobuf.kotlin.DslMap(
         _builder.scopesMap
       )
@@ -381,7 +380,7 @@ public object LoadPackage_ResultKt {
      *
      * `map scopes = 5;`
      */
-    @JvmName("putScopes")
+    @kotlin.jvm.JvmName("putScopes")
     public fun com.google.protobuf.kotlin.DslMap
       .put(key: kotlin.String, value: com.kcl.api.Spec.Scope) {
          _builder.putScopes(key, value)
@@ -394,7 +393,7 @@ public object LoadPackage_ResultKt {
      * `map scopes = 5;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("setScopes")
+@kotlin.jvm.JvmName("setScopes")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslMap
       .set(key: kotlin.String, value: com.kcl.api.Spec.Scope) {
@@ -408,7 +407,7 @@ public object LoadPackage_ResultKt {
      * `map scopes = 5;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("removeScopes")
+@kotlin.jvm.JvmName("removeScopes")
     public fun com.google.protobuf.kotlin.DslMap
       .remove(key: kotlin.String) {
          _builder.removeScopes(key)
@@ -421,7 +420,7 @@ public object LoadPackage_ResultKt {
      * `map scopes = 5;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("putAllScopes")
+@kotlin.jvm.JvmName("putAllScopes")
     public fun com.google.protobuf.kotlin.DslMap
       .putAll(map: kotlin.collections.Map) {
          _builder.putAllScopes(map)
@@ -434,7 +433,7 @@ public object LoadPackage_ResultKt {
      * `map scopes = 5;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("clearScopes")
+@kotlin.jvm.JvmName("clearScopes")
     public fun com.google.protobuf.kotlin.DslMap
       .clear() {
          _builder.clearScopes()
@@ -455,7 +454,7 @@ public object LoadPackage_ResultKt {
      */
      public val symbols: com.google.protobuf.kotlin.DslMap
       @kotlin.jvm.JvmSynthetic
-      @JvmName("getSymbolsMap")
+@kotlin.jvm.JvmName("getSymbolsMap")
       get() = com.google.protobuf.kotlin.DslMap(
         _builder.symbolsMap
       )
@@ -466,7 +465,7 @@ public object LoadPackage_ResultKt {
      *
      * `map symbols = 6;`
      */
-    @JvmName("putSymbols")
+    @kotlin.jvm.JvmName("putSymbols")
     public fun com.google.protobuf.kotlin.DslMap
       .put(key: kotlin.String, value: com.kcl.api.Spec.Symbol) {
          _builder.putSymbols(key, value)
@@ -479,7 +478,7 @@ public object LoadPackage_ResultKt {
      * `map symbols = 6;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("setSymbols")
+@kotlin.jvm.JvmName("setSymbols")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslMap
       .set(key: kotlin.String, value: com.kcl.api.Spec.Symbol) {
@@ -493,7 +492,7 @@ public object LoadPackage_ResultKt {
      * `map symbols = 6;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("removeSymbols")
+@kotlin.jvm.JvmName("removeSymbols")
     public fun com.google.protobuf.kotlin.DslMap
       .remove(key: kotlin.String) {
          _builder.removeSymbols(key)
@@ -506,7 +505,7 @@ public object LoadPackage_ResultKt {
      * `map symbols = 6;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("putAllSymbols")
+@kotlin.jvm.JvmName("putAllSymbols")
     public fun com.google.protobuf.kotlin.DslMap
       .putAll(map: kotlin.collections.Map) {
          _builder.putAllSymbols(map)
@@ -519,7 +518,7 @@ public object LoadPackage_ResultKt {
      * `map symbols = 6;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("clearSymbols")
+@kotlin.jvm.JvmName("clearSymbols")
     public fun com.google.protobuf.kotlin.DslMap
       .clear() {
          _builder.clearSymbols()
@@ -540,7 +539,7 @@ public object LoadPackage_ResultKt {
      */
      public val nodeSymbolMap: com.google.protobuf.kotlin.DslMap
       @kotlin.jvm.JvmSynthetic
-      @JvmName("getNodeSymbolMapMap")
+@kotlin.jvm.JvmName("getNodeSymbolMapMap")
       get() = com.google.protobuf.kotlin.DslMap(
         _builder.nodeSymbolMapMap
       )
@@ -551,7 +550,7 @@ public object LoadPackage_ResultKt {
      *
      * `map node_symbol_map = 7;`
      */
-    @JvmName("putNodeSymbolMap")
+    @kotlin.jvm.JvmName("putNodeSymbolMap")
     public fun com.google.protobuf.kotlin.DslMap
       .put(key: kotlin.String, value: com.kcl.api.Spec.SymbolIndex) {
          _builder.putNodeSymbolMap(key, value)
@@ -564,7 +563,7 @@ public object LoadPackage_ResultKt {
      * `map node_symbol_map = 7;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("setNodeSymbolMap")
+@kotlin.jvm.JvmName("setNodeSymbolMap")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslMap
       .set(key: kotlin.String, value: com.kcl.api.Spec.SymbolIndex) {
@@ -578,7 +577,7 @@ public object LoadPackage_ResultKt {
      * `map node_symbol_map = 7;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("removeNodeSymbolMap")
+@kotlin.jvm.JvmName("removeNodeSymbolMap")
     public fun com.google.protobuf.kotlin.DslMap
       .remove(key: kotlin.String) {
          _builder.removeNodeSymbolMap(key)
@@ -591,7 +590,7 @@ public object LoadPackage_ResultKt {
      * `map node_symbol_map = 7;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("putAllNodeSymbolMap")
+@kotlin.jvm.JvmName("putAllNodeSymbolMap")
     public fun com.google.protobuf.kotlin.DslMap
       .putAll(map: kotlin.collections.Map) {
          _builder.putAllNodeSymbolMap(map)
@@ -604,7 +603,7 @@ public object LoadPackage_ResultKt {
      * `map node_symbol_map = 7;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("clearNodeSymbolMap")
+@kotlin.jvm.JvmName("clearNodeSymbolMap")
     public fun com.google.protobuf.kotlin.DslMap
       .clear() {
          _builder.clearNodeSymbolMap()
@@ -625,7 +624,7 @@ public object LoadPackage_ResultKt {
      */
      public val symbolNodeMap: com.google.protobuf.kotlin.DslMap
       @kotlin.jvm.JvmSynthetic
-      @JvmName("getSymbolNodeMapMap")
+@kotlin.jvm.JvmName("getSymbolNodeMapMap")
       get() = com.google.protobuf.kotlin.DslMap(
         _builder.symbolNodeMapMap
       )
@@ -636,7 +635,7 @@ public object LoadPackage_ResultKt {
      *
      * `map symbol_node_map = 8;`
      */
-    @JvmName("putSymbolNodeMap")
+    @kotlin.jvm.JvmName("putSymbolNodeMap")
     public fun com.google.protobuf.kotlin.DslMap
       .put(key: kotlin.String, value: kotlin.String) {
          _builder.putSymbolNodeMap(key, value)
@@ -649,7 +648,7 @@ public object LoadPackage_ResultKt {
      * `map symbol_node_map = 8;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("setSymbolNodeMap")
+@kotlin.jvm.JvmName("setSymbolNodeMap")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslMap
       .set(key: kotlin.String, value: kotlin.String) {
@@ -663,7 +662,7 @@ public object LoadPackage_ResultKt {
      * `map symbol_node_map = 8;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("removeSymbolNodeMap")
+@kotlin.jvm.JvmName("removeSymbolNodeMap")
     public fun com.google.protobuf.kotlin.DslMap
       .remove(key: kotlin.String) {
          _builder.removeSymbolNodeMap(key)
@@ -676,7 +675,7 @@ public object LoadPackage_ResultKt {
      * `map symbol_node_map = 8;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("putAllSymbolNodeMap")
+@kotlin.jvm.JvmName("putAllSymbolNodeMap")
     public fun com.google.protobuf.kotlin.DslMap
       .putAll(map: kotlin.collections.Map) {
          _builder.putAllSymbolNodeMap(map)
@@ -689,7 +688,7 @@ public object LoadPackage_ResultKt {
      * `map symbol_node_map = 8;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("clearSymbolNodeMap")
+@kotlin.jvm.JvmName("clearSymbolNodeMap")
     public fun com.google.protobuf.kotlin.DslMap
       .clear() {
          _builder.clearSymbolNodeMap()
@@ -710,7 +709,7 @@ public object LoadPackage_ResultKt {
      */
      public val fullyQualifiedNameMap: com.google.protobuf.kotlin.DslMap
       @kotlin.jvm.JvmSynthetic
-      @JvmName("getFullyQualifiedNameMapMap")
+@kotlin.jvm.JvmName("getFullyQualifiedNameMapMap")
       get() = com.google.protobuf.kotlin.DslMap(
         _builder.fullyQualifiedNameMapMap
       )
@@ -721,7 +720,7 @@ public object LoadPackage_ResultKt {
      *
      * `map fully_qualified_name_map = 9;`
      */
-    @JvmName("putFullyQualifiedNameMap")
+    @kotlin.jvm.JvmName("putFullyQualifiedNameMap")
     public fun com.google.protobuf.kotlin.DslMap
       .put(key: kotlin.String, value: com.kcl.api.Spec.SymbolIndex) {
          _builder.putFullyQualifiedNameMap(key, value)
@@ -734,7 +733,7 @@ public object LoadPackage_ResultKt {
      * `map fully_qualified_name_map = 9;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("setFullyQualifiedNameMap")
+@kotlin.jvm.JvmName("setFullyQualifiedNameMap")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslMap
       .set(key: kotlin.String, value: com.kcl.api.Spec.SymbolIndex) {
@@ -748,7 +747,7 @@ public object LoadPackage_ResultKt {
      * `map fully_qualified_name_map = 9;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("removeFullyQualifiedNameMap")
+@kotlin.jvm.JvmName("removeFullyQualifiedNameMap")
     public fun com.google.protobuf.kotlin.DslMap
       .remove(key: kotlin.String) {
          _builder.removeFullyQualifiedNameMap(key)
@@ -761,7 +760,7 @@ public object LoadPackage_ResultKt {
      * `map fully_qualified_name_map = 9;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("putAllFullyQualifiedNameMap")
+@kotlin.jvm.JvmName("putAllFullyQualifiedNameMap")
     public fun com.google.protobuf.kotlin.DslMap
       .putAll(map: kotlin.collections.Map) {
          _builder.putAllFullyQualifiedNameMap(map)
@@ -774,7 +773,7 @@ public object LoadPackage_ResultKt {
      * `map fully_qualified_name_map = 9;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("clearFullyQualifiedNameMap")
+@kotlin.jvm.JvmName("clearFullyQualifiedNameMap")
     public fun com.google.protobuf.kotlin.DslMap
       .clear() {
          _builder.clearFullyQualifiedNameMap()
@@ -795,7 +794,7 @@ public object LoadPackage_ResultKt {
      */
      public val pkgScopeMap: com.google.protobuf.kotlin.DslMap
       @kotlin.jvm.JvmSynthetic
-      @JvmName("getPkgScopeMapMap")
+@kotlin.jvm.JvmName("getPkgScopeMapMap")
       get() = com.google.protobuf.kotlin.DslMap(
         _builder.pkgScopeMapMap
       )
@@ -806,7 +805,7 @@ public object LoadPackage_ResultKt {
      *
      * `map pkg_scope_map = 10;`
      */
-    @JvmName("putPkgScopeMap")
+    @kotlin.jvm.JvmName("putPkgScopeMap")
     public fun com.google.protobuf.kotlin.DslMap
       .put(key: kotlin.String, value: com.kcl.api.Spec.ScopeIndex) {
          _builder.putPkgScopeMap(key, value)
@@ -819,7 +818,7 @@ public object LoadPackage_ResultKt {
      * `map pkg_scope_map = 10;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("setPkgScopeMap")
+@kotlin.jvm.JvmName("setPkgScopeMap")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslMap
       .set(key: kotlin.String, value: com.kcl.api.Spec.ScopeIndex) {
@@ -833,7 +832,7 @@ public object LoadPackage_ResultKt {
      * `map pkg_scope_map = 10;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("removePkgScopeMap")
+@kotlin.jvm.JvmName("removePkgScopeMap")
     public fun com.google.protobuf.kotlin.DslMap
       .remove(key: kotlin.String) {
          _builder.removePkgScopeMap(key)
@@ -846,7 +845,7 @@ public object LoadPackage_ResultKt {
      * `map pkg_scope_map = 10;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("putAllPkgScopeMap")
+@kotlin.jvm.JvmName("putAllPkgScopeMap")
     public fun com.google.protobuf.kotlin.DslMap
       .putAll(map: kotlin.collections.Map) {
          _builder.putAllPkgScopeMap(map)
@@ -859,7 +858,7 @@ public object LoadPackage_ResultKt {
      * `map pkg_scope_map = 10;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("clearPkgScopeMap")
+@kotlin.jvm.JvmName("clearPkgScopeMap")
     public fun com.google.protobuf.kotlin.DslMap
       .clear() {
          _builder.clearPkgScopeMap()
@@ -867,6 +866,6 @@ public object LoadPackage_ResultKt {
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.LoadPackage_Result.copy(block: `com.kcl.api`.LoadPackage_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LoadPackage_Result =
-  `com.kcl.api`.LoadPackage_ResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.LoadPackageResult.copy(block: `com.kcl.api`.LoadPackageResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LoadPackageResult =
+  `com.kcl.api`.LoadPackageResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/LoadSettingsFiles_ArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/LoadSettingsFilesArgsKt.kt
similarity index 75%
rename from kotlin/src/main/kotlin/com/kcl/api/LoadSettingsFiles_ArgsKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/LoadSettingsFilesArgsKt.kt
index d93ae624..10e27199 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/LoadSettingsFiles_ArgsKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/LoadSettingsFilesArgsKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializeloadSettingsFilesArgs")
-public inline fun loadSettingsFilesArgs(block: com.kcl.api.LoadSettingsFiles_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LoadSettingsFiles_Args =
-  com.kcl.api.LoadSettingsFiles_ArgsKt.Dsl._create(com.kcl.api.Spec.LoadSettingsFiles_Args.newBuilder()).apply { block() }._build()
+public inline fun loadSettingsFilesArgs(block: com.kcl.api.LoadSettingsFilesArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LoadSettingsFilesArgs =
+  com.kcl.api.LoadSettingsFilesArgsKt.Dsl._create(com.kcl.api.Spec.LoadSettingsFilesArgs.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for load settings files request arguments.
  * ```
  *
- * Protobuf type `com.kcl.api.LoadSettingsFiles_Args`
+ * Protobuf type `com.kcl.api.LoadSettingsFilesArgs`
  */
-public object LoadSettingsFiles_ArgsKt {
+public object LoadSettingsFilesArgsKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.LoadSettingsFiles_Args.Builder
+    private val _builder: com.kcl.api.Spec.LoadSettingsFilesArgs.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.LoadSettingsFiles_Args.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.LoadSettingsFilesArgs.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.LoadSettingsFiles_Args = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.LoadSettingsFilesArgs = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object LoadSettingsFiles_ArgsKt {
      * `string work_dir = 1;`
      */
     public var workDir: kotlin.String
-      @JvmName("getWorkDir")
-      get() = _builder.workDir
-      @JvmName("setWorkDir")
-      set(value) {
+      @kotlin.jvm.JvmName("getWorkDir")
+        get() = _builder.workDir
+      @kotlin.jvm.JvmName("setWorkDir")
+        set(value) {
         _builder.workDir = value
       }
     /**
@@ -72,7 +73,7 @@ public object LoadSettingsFiles_ArgsKt {
      * @return A list containing the files.
      */
     public val files: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.filesList
       )
@@ -85,7 +86,7 @@ public object LoadSettingsFiles_ArgsKt {
      * @param value The files to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addFiles")
+@kotlin.jvm.JvmName("addFiles")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addFiles(value)
     }
@@ -98,7 +99,7 @@ public object LoadSettingsFiles_ArgsKt {
      * @param value The files to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignFiles")
+@kotlin.jvm.JvmName("plusAssignFiles")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -112,7 +113,7 @@ public object LoadSettingsFiles_ArgsKt {
      * @param values The files to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllFiles")
+@kotlin.jvm.JvmName("addAllFiles")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllFiles(values)
     }
@@ -125,7 +126,7 @@ public object LoadSettingsFiles_ArgsKt {
      * @param values The files to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllFiles")
+@kotlin.jvm.JvmName("plusAssignAllFiles")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -140,7 +141,7 @@ public object LoadSettingsFiles_ArgsKt {
      * @param value The files to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setFiles")
+@kotlin.jvm.JvmName("setFiles")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setFiles(index, value)
     }/**
@@ -151,12 +152,12 @@ public object LoadSettingsFiles_ArgsKt {
      * `repeated string files = 2;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearFiles")
+@kotlin.jvm.JvmName("setFiles")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearFiles()
     }}
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.LoadSettingsFiles_Args.copy(block: `com.kcl.api`.LoadSettingsFiles_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LoadSettingsFiles_Args =
-  `com.kcl.api`.LoadSettingsFiles_ArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.LoadSettingsFilesArgs.copy(block: `com.kcl.api`.LoadSettingsFilesArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LoadSettingsFilesArgs =
+  `com.kcl.api`.LoadSettingsFilesArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/LoadSettingsFiles_ResultKt.kt b/kotlin/src/main/kotlin/com/kcl/api/LoadSettingsFilesResultKt.kt
similarity index 76%
rename from kotlin/src/main/kotlin/com/kcl/api/LoadSettingsFiles_ResultKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/LoadSettingsFilesResultKt.kt
index 35922f94..843a2b71 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/LoadSettingsFiles_ResultKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/LoadSettingsFilesResultKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializeloadSettingsFilesResult")
-public inline fun loadSettingsFilesResult(block: com.kcl.api.LoadSettingsFiles_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LoadSettingsFiles_Result =
-  com.kcl.api.LoadSettingsFiles_ResultKt.Dsl._create(com.kcl.api.Spec.LoadSettingsFiles_Result.newBuilder()).apply { block() }._build()
+public inline fun loadSettingsFilesResult(block: com.kcl.api.LoadSettingsFilesResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LoadSettingsFilesResult =
+  com.kcl.api.LoadSettingsFilesResultKt.Dsl._create(com.kcl.api.Spec.LoadSettingsFilesResult.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for load settings files response.
  * ```
  *
- * Protobuf type `com.kcl.api.LoadSettingsFiles_Result`
+ * Protobuf type `com.kcl.api.LoadSettingsFilesResult`
  */
-public object LoadSettingsFiles_ResultKt {
+public object LoadSettingsFilesResultKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.LoadSettingsFiles_Result.Builder
+    private val _builder: com.kcl.api.Spec.LoadSettingsFilesResult.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.LoadSettingsFiles_Result.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.LoadSettingsFilesResult.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.LoadSettingsFiles_Result = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.LoadSettingsFilesResult = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object LoadSettingsFiles_ResultKt {
      * `.com.kcl.api.CliConfig kcl_cli_configs = 1;`
      */
     public var kclCliConfigs: com.kcl.api.Spec.CliConfig
-      @JvmName("getKclCliConfigs")
-      get() = _builder.kclCliConfigs
-      @JvmName("setKclCliConfigs")
-      set(value) {
+      @kotlin.jvm.JvmName("getKclCliConfigs")
+        get() = _builder.kclCliConfigs
+      @kotlin.jvm.JvmName("setKclCliConfigs")
+        set(value) {
         _builder.kclCliConfigs = value
       }
     /**
@@ -68,7 +69,7 @@ public object LoadSettingsFiles_ResultKt {
       return _builder.hasKclCliConfigs()
     }
 
-    public val LoadSettingsFiles_ResultKt.Dsl.kclCliConfigsOrNull: com.kcl.api.Spec.CliConfig?
+    public val LoadSettingsFilesResultKt.Dsl.kclCliConfigsOrNull: com.kcl.api.Spec.CliConfig?
       get() = _builder.kclCliConfigsOrNull
 
     /**
@@ -86,7 +87,7 @@ public object LoadSettingsFiles_ResultKt {
      */
      public val kclOptions: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.kclOptionsList
       )
     /**
@@ -98,7 +99,7 @@ public object LoadSettingsFiles_ResultKt {
      * @param value The kclOptions to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addKclOptions")
+@kotlin.jvm.JvmName("addKclOptions")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.KeyValuePair) {
       _builder.addKclOptions(value)
     }
@@ -111,7 +112,7 @@ public object LoadSettingsFiles_ResultKt {
      * @param value The kclOptions to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignKclOptions")
+@kotlin.jvm.JvmName("plusAssignKclOptions")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.KeyValuePair) {
       add(value)
@@ -125,7 +126,7 @@ public object LoadSettingsFiles_ResultKt {
      * @param values The kclOptions to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllKclOptions")
+@kotlin.jvm.JvmName("addAllKclOptions")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllKclOptions(values)
     }
@@ -138,7 +139,7 @@ public object LoadSettingsFiles_ResultKt {
      * @param values The kclOptions to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllKclOptions")
+@kotlin.jvm.JvmName("plusAssignAllKclOptions")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -153,7 +154,7 @@ public object LoadSettingsFiles_ResultKt {
      * @param value The kclOptions to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setKclOptions")
+@kotlin.jvm.JvmName("setKclOptions")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.KeyValuePair) {
       _builder.setKclOptions(index, value)
     }
@@ -165,17 +166,16 @@ public object LoadSettingsFiles_ResultKt {
      * `repeated .com.kcl.api.KeyValuePair kcl_options = 2;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearKclOptions")
+@kotlin.jvm.JvmName("clearKclOptions")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearKclOptions()
     }
-
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.LoadSettingsFiles_Result.copy(block: `com.kcl.api`.LoadSettingsFiles_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LoadSettingsFiles_Result =
-  `com.kcl.api`.LoadSettingsFiles_ResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.LoadSettingsFilesResult.copy(block: `com.kcl.api`.LoadSettingsFilesResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.LoadSettingsFilesResult =
+  `com.kcl.api`.LoadSettingsFilesResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
-public val com.kcl.api.Spec.LoadSettingsFiles_ResultOrBuilder.kclCliConfigsOrNull: com.kcl.api.Spec.CliConfig?
+public val com.kcl.api.Spec.LoadSettingsFilesResultOrBuilder.kclCliConfigsOrNull: com.kcl.api.Spec.CliConfig?
   get() = if (hasKclCliConfigs()) getKclCliConfigs() else null
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/MapEntryKt.kt b/kotlin/src/main/kotlin/com/kcl/api/MapEntryKt.kt
index bd918b59..ecd6ccb4 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/MapEntryKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/MapEntryKt.kt
@@ -2,6 +2,7 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
@@ -40,10 +41,10 @@ public object MapEntryKt {
      * `string key = 1;`
      */
     public var key: kotlin.String
-      @JvmName("getKey")
-      get() = _builder.key
-      @JvmName("setKey")
-      set(value) {
+      @kotlin.jvm.JvmName("getKey")
+        get() = _builder.key
+      @kotlin.jvm.JvmName("setKey")
+        set(value) {
         _builder.key = value
       }
     /**
@@ -65,10 +66,10 @@ public object MapEntryKt {
      * `.com.kcl.api.Variable value = 2;`
      */
     public var value: com.kcl.api.Spec.Variable
-      @JvmName("getValue")
-      get() = _builder.value
-      @JvmName("setValue")
-      set(value) {
+      @kotlin.jvm.JvmName("getValue")
+        get() = _builder.value
+      @kotlin.jvm.JvmName("setValue")
+        set(value) {
         _builder.value = value
       }
     /**
diff --git a/kotlin/src/main/kotlin/com/kcl/api/MessageKt.kt b/kotlin/src/main/kotlin/com/kcl/api/MessageKt.kt
index f2cdb9d5..4d7db7f2 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/MessageKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/MessageKt.kt
@@ -2,6 +2,7 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
@@ -40,10 +41,10 @@ public object MessageKt {
      * `string msg = 1;`
      */
     public var msg: kotlin.String
-      @JvmName("getMsg")
-      get() = _builder.msg
-      @JvmName("setMsg")
-      set(value) {
+      @kotlin.jvm.JvmName("getMsg")
+        get() = _builder.msg
+      @kotlin.jvm.JvmName("setMsg")
+        set(value) {
         _builder.msg = value
       }
     /**
@@ -65,10 +66,10 @@ public object MessageKt {
      * `.com.kcl.api.Position pos = 2;`
      */
     public var pos: com.kcl.api.Spec.Position
-      @JvmName("getPos")
-      get() = _builder.pos
-      @JvmName("setPos")
-      set(value) {
+      @kotlin.jvm.JvmName("getPos")
+        get() = _builder.pos
+      @kotlin.jvm.JvmName("setPos")
+        set(value) {
         _builder.pos = value
       }
     /**
diff --git a/kotlin/src/main/kotlin/com/kcl/api/OptionHelpKt.kt b/kotlin/src/main/kotlin/com/kcl/api/OptionHelpKt.kt
index 27fee527..aebc94cf 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/OptionHelpKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/OptionHelpKt.kt
@@ -2,6 +2,7 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
@@ -40,10 +41,10 @@ public object OptionHelpKt {
      * `string name = 1;`
      */
     public var name: kotlin.String
-      @JvmName("getName")
-      get() = _builder.name
-      @JvmName("setName")
-      set(value) {
+      @kotlin.jvm.JvmName("getName")
+        get() = _builder.name
+      @kotlin.jvm.JvmName("setName")
+        set(value) {
         _builder.name = value
       }
     /**
@@ -65,10 +66,10 @@ public object OptionHelpKt {
      * `string type = 2;`
      */
     public var type: kotlin.String
-      @JvmName("getType")
-      get() = _builder.type
-      @JvmName("setType")
-      set(value) {
+      @kotlin.jvm.JvmName("getType")
+        get() = _builder.type
+      @kotlin.jvm.JvmName("setType")
+        set(value) {
         _builder.type = value
       }
     /**
@@ -90,10 +91,10 @@ public object OptionHelpKt {
      * `bool required = 3;`
      */
     public var required: kotlin.Boolean
-      @JvmName("getRequired")
-      get() = _builder.required
-      @JvmName("setRequired")
-      set(value) {
+      @kotlin.jvm.JvmName("getRequired")
+        get() = _builder.required
+      @kotlin.jvm.JvmName("setRequired")
+        set(value) {
         _builder.required = value
       }
     /**
@@ -115,10 +116,10 @@ public object OptionHelpKt {
      * `string default_value = 4;`
      */
     public var defaultValue: kotlin.String
-      @JvmName("getDefaultValue")
-      get() = _builder.defaultValue
-      @JvmName("setDefaultValue")
-      set(value) {
+      @kotlin.jvm.JvmName("getDefaultValue")
+        get() = _builder.defaultValue
+      @kotlin.jvm.JvmName("setDefaultValue")
+        set(value) {
         _builder.defaultValue = value
       }
     /**
@@ -140,10 +141,10 @@ public object OptionHelpKt {
      * `string help = 5;`
      */
     public var help: kotlin.String
-      @JvmName("getHelp")
-      get() = _builder.help
-      @JvmName("setHelp")
-      set(value) {
+      @kotlin.jvm.JvmName("getHelp")
+        get() = _builder.help
+      @kotlin.jvm.JvmName("setHelp")
+        set(value) {
         _builder.help = value
       }
     /**
diff --git a/kotlin/src/main/kotlin/com/kcl/api/OverrideFile_ArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/OverrideFileArgsKt.kt
similarity index 82%
rename from kotlin/src/main/kotlin/com/kcl/api/OverrideFile_ArgsKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/OverrideFileArgsKt.kt
index 00bc1a51..913ed0f1 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/OverrideFile_ArgsKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/OverrideFileArgsKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializeoverrideFileArgs")
-public inline fun overrideFileArgs(block: com.kcl.api.OverrideFile_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.OverrideFile_Args =
-  com.kcl.api.OverrideFile_ArgsKt.Dsl._create(com.kcl.api.Spec.OverrideFile_Args.newBuilder()).apply { block() }._build()
+public inline fun overrideFileArgs(block: com.kcl.api.OverrideFileArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.OverrideFileArgs =
+  com.kcl.api.OverrideFileArgsKt.Dsl._create(com.kcl.api.Spec.OverrideFileArgs.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for override file request arguments.
  * ```
  *
- * Protobuf type `com.kcl.api.OverrideFile_Args`
+ * Protobuf type `com.kcl.api.OverrideFileArgs`
  */
-public object OverrideFile_ArgsKt {
+public object OverrideFileArgsKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.OverrideFile_Args.Builder
+    private val _builder: com.kcl.api.Spec.OverrideFileArgs.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.OverrideFile_Args.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.OverrideFileArgs.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.OverrideFile_Args = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.OverrideFileArgs = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object OverrideFile_ArgsKt {
      * `string file = 1;`
      */
     public var file: kotlin.String
-      @JvmName("getFile")
-      get() = _builder.file
-      @JvmName("setFile")
-      set(value) {
+      @kotlin.jvm.JvmName("getFile")
+        get() = _builder.file
+      @kotlin.jvm.JvmName("setFile")
+        set(value) {
         _builder.file = value
       }
     /**
@@ -72,7 +73,7 @@ public object OverrideFile_ArgsKt {
      * @return A list containing the specs.
      */
     public val specs: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.specsList
       )
@@ -85,7 +86,7 @@ public object OverrideFile_ArgsKt {
      * @param value The specs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addSpecs")
+@kotlin.jvm.JvmName("addSpecs")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addSpecs(value)
     }
@@ -98,7 +99,7 @@ public object OverrideFile_ArgsKt {
      * @param value The specs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignSpecs")
+@kotlin.jvm.JvmName("plusAssignSpecs")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -112,7 +113,7 @@ public object OverrideFile_ArgsKt {
      * @param values The specs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllSpecs")
+@kotlin.jvm.JvmName("addAllSpecs")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllSpecs(values)
     }
@@ -125,7 +126,7 @@ public object OverrideFile_ArgsKt {
      * @param values The specs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllSpecs")
+@kotlin.jvm.JvmName("plusAssignAllSpecs")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -140,7 +141,7 @@ public object OverrideFile_ArgsKt {
      * @param value The specs to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setSpecs")
+@kotlin.jvm.JvmName("setSpecs")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setSpecs(index, value)
     }/**
@@ -151,7 +152,7 @@ public object OverrideFile_ArgsKt {
      * `repeated string specs = 2;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearSpecs")
+@kotlin.jvm.JvmName("setSpecs")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearSpecs()
     }
@@ -170,7 +171,7 @@ public object OverrideFile_ArgsKt {
      * @return A list containing the importPaths.
      */
     public val importPaths: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.importPathsList
       )
@@ -183,7 +184,7 @@ public object OverrideFile_ArgsKt {
      * @param value The importPaths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addImportPaths")
+@kotlin.jvm.JvmName("addImportPaths")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addImportPaths(value)
     }
@@ -196,7 +197,7 @@ public object OverrideFile_ArgsKt {
      * @param value The importPaths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignImportPaths")
+@kotlin.jvm.JvmName("plusAssignImportPaths")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -210,7 +211,7 @@ public object OverrideFile_ArgsKt {
      * @param values The importPaths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllImportPaths")
+@kotlin.jvm.JvmName("addAllImportPaths")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllImportPaths(values)
     }
@@ -223,7 +224,7 @@ public object OverrideFile_ArgsKt {
      * @param values The importPaths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllImportPaths")
+@kotlin.jvm.JvmName("plusAssignAllImportPaths")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -238,7 +239,7 @@ public object OverrideFile_ArgsKt {
      * @param value The importPaths to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setImportPaths")
+@kotlin.jvm.JvmName("setImportPaths")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setImportPaths(index, value)
     }/**
@@ -249,12 +250,12 @@ public object OverrideFile_ArgsKt {
      * `repeated string import_paths = 3;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearImportPaths")
+@kotlin.jvm.JvmName("setImportPaths")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearImportPaths()
     }}
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.OverrideFile_Args.copy(block: `com.kcl.api`.OverrideFile_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.OverrideFile_Args =
-  `com.kcl.api`.OverrideFile_ArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.OverrideFileArgs.copy(block: `com.kcl.api`.OverrideFileArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.OverrideFileArgs =
+  `com.kcl.api`.OverrideFileArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/OverrideFile_ResultKt.kt b/kotlin/src/main/kotlin/com/kcl/api/OverrideFileResultKt.kt
similarity index 78%
rename from kotlin/src/main/kotlin/com/kcl/api/OverrideFile_ResultKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/OverrideFileResultKt.kt
index c3ac9528..1a41c75c 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/OverrideFile_ResultKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/OverrideFileResultKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializeoverrideFileResult")
-public inline fun overrideFileResult(block: com.kcl.api.OverrideFile_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.OverrideFile_Result =
-  com.kcl.api.OverrideFile_ResultKt.Dsl._create(com.kcl.api.Spec.OverrideFile_Result.newBuilder()).apply { block() }._build()
+public inline fun overrideFileResult(block: com.kcl.api.OverrideFileResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.OverrideFileResult =
+  com.kcl.api.OverrideFileResultKt.Dsl._create(com.kcl.api.Spec.OverrideFileResult.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for override file response.
  * ```
  *
- * Protobuf type `com.kcl.api.OverrideFile_Result`
+ * Protobuf type `com.kcl.api.OverrideFileResult`
  */
-public object OverrideFile_ResultKt {
+public object OverrideFileResultKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.OverrideFile_Result.Builder
+    private val _builder: com.kcl.api.Spec.OverrideFileResult.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.OverrideFile_Result.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.OverrideFileResult.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.OverrideFile_Result = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.OverrideFileResult = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object OverrideFile_ResultKt {
      * `bool result = 1;`
      */
     public var result: kotlin.Boolean
-      @JvmName("getResult")
-      get() = _builder.result
-      @JvmName("setResult")
-      set(value) {
+      @kotlin.jvm.JvmName("getResult")
+        get() = _builder.result
+      @kotlin.jvm.JvmName("setResult")
+        set(value) {
         _builder.result = value
       }
     /**
@@ -72,7 +73,7 @@ public object OverrideFile_ResultKt {
      */
      public val parseErrors: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.parseErrorsList
       )
     /**
@@ -84,7 +85,7 @@ public object OverrideFile_ResultKt {
      * @param value The parseErrors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addParseErrors")
+@kotlin.jvm.JvmName("addParseErrors")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.Error) {
       _builder.addParseErrors(value)
     }
@@ -97,7 +98,7 @@ public object OverrideFile_ResultKt {
      * @param value The parseErrors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignParseErrors")
+@kotlin.jvm.JvmName("plusAssignParseErrors")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.Error) {
       add(value)
@@ -111,7 +112,7 @@ public object OverrideFile_ResultKt {
      * @param values The parseErrors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllParseErrors")
+@kotlin.jvm.JvmName("addAllParseErrors")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllParseErrors(values)
     }
@@ -124,7 +125,7 @@ public object OverrideFile_ResultKt {
      * @param values The parseErrors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllParseErrors")
+@kotlin.jvm.JvmName("plusAssignAllParseErrors")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -139,7 +140,7 @@ public object OverrideFile_ResultKt {
      * @param value The parseErrors to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setParseErrors")
+@kotlin.jvm.JvmName("setParseErrors")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.Error) {
       _builder.setParseErrors(index, value)
     }
@@ -151,14 +152,13 @@ public object OverrideFile_ResultKt {
      * `repeated .com.kcl.api.Error parse_errors = 2;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearParseErrors")
+@kotlin.jvm.JvmName("clearParseErrors")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearParseErrors()
     }
-
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.OverrideFile_Result.copy(block: `com.kcl.api`.OverrideFile_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.OverrideFile_Result =
-  `com.kcl.api`.OverrideFile_ResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.OverrideFileResult.copy(block: `com.kcl.api`.OverrideFileResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.OverrideFileResult =
+  `com.kcl.api`.OverrideFileResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ParseFile_ArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ParseFileArgsKt.kt
similarity index 76%
rename from kotlin/src/main/kotlin/com/kcl/api/ParseFile_ArgsKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/ParseFileArgsKt.kt
index a51c37c9..222ed1ac 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/ParseFile_ArgsKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/ParseFileArgsKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializeparseFileArgs")
-public inline fun parseFileArgs(block: com.kcl.api.ParseFile_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ParseFile_Args =
-  com.kcl.api.ParseFile_ArgsKt.Dsl._create(com.kcl.api.Spec.ParseFile_Args.newBuilder()).apply { block() }._build()
+public inline fun parseFileArgs(block: com.kcl.api.ParseFileArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ParseFileArgs =
+  com.kcl.api.ParseFileArgsKt.Dsl._create(com.kcl.api.Spec.ParseFileArgs.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for parse file request arguments.
  * ```
  *
- * Protobuf type `com.kcl.api.ParseFile_Args`
+ * Protobuf type `com.kcl.api.ParseFileArgs`
  */
-public object ParseFile_ArgsKt {
+public object ParseFileArgsKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.ParseFile_Args.Builder
+    private val _builder: com.kcl.api.Spec.ParseFileArgs.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.ParseFile_Args.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.ParseFileArgs.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.ParseFile_Args = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.ParseFileArgs = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object ParseFile_ArgsKt {
      * `string path = 1;`
      */
     public var path: kotlin.String
-      @JvmName("getPath")
-      get() = _builder.path
-      @JvmName("setPath")
-      set(value) {
+      @kotlin.jvm.JvmName("getPath")
+        get() = _builder.path
+      @kotlin.jvm.JvmName("setPath")
+        set(value) {
         _builder.path = value
       }
     /**
@@ -65,10 +66,10 @@ public object ParseFile_ArgsKt {
      * `string source = 2;`
      */
     public var source: kotlin.String
-      @JvmName("getSource")
-      get() = _builder.source
-      @JvmName("setSource")
-      set(value) {
+      @kotlin.jvm.JvmName("getSource")
+        get() = _builder.source
+      @kotlin.jvm.JvmName("setSource")
+        set(value) {
         _builder.source = value
       }
     /**
@@ -97,7 +98,7 @@ public object ParseFile_ArgsKt {
      */
      public val externalPkgs: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.externalPkgsList
       )
     /**
@@ -109,7 +110,7 @@ public object ParseFile_ArgsKt {
      * @param value The externalPkgs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addExternalPkgs")
+@kotlin.jvm.JvmName("addExternalPkgs")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.ExternalPkg) {
       _builder.addExternalPkgs(value)
     }
@@ -122,7 +123,7 @@ public object ParseFile_ArgsKt {
      * @param value The externalPkgs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignExternalPkgs")
+@kotlin.jvm.JvmName("plusAssignExternalPkgs")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.ExternalPkg) {
       add(value)
@@ -136,7 +137,7 @@ public object ParseFile_ArgsKt {
      * @param values The externalPkgs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllExternalPkgs")
+@kotlin.jvm.JvmName("addAllExternalPkgs")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllExternalPkgs(values)
     }
@@ -149,7 +150,7 @@ public object ParseFile_ArgsKt {
      * @param values The externalPkgs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllExternalPkgs")
+@kotlin.jvm.JvmName("plusAssignAllExternalPkgs")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -164,7 +165,7 @@ public object ParseFile_ArgsKt {
      * @param value The externalPkgs to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setExternalPkgs")
+@kotlin.jvm.JvmName("setExternalPkgs")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.ExternalPkg) {
       _builder.setExternalPkgs(index, value)
     }
@@ -176,14 +177,13 @@ public object ParseFile_ArgsKt {
      * `repeated .com.kcl.api.ExternalPkg external_pkgs = 3;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearExternalPkgs")
+@kotlin.jvm.JvmName("clearExternalPkgs")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearExternalPkgs()
     }
-
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.ParseFile_Args.copy(block: `com.kcl.api`.ParseFile_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ParseFile_Args =
-  `com.kcl.api`.ParseFile_ArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.ParseFileArgs.copy(block: `com.kcl.api`.ParseFileArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ParseFileArgs =
+  `com.kcl.api`.ParseFileArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ParseFile_ResultKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ParseFileResultKt.kt
similarity index 81%
rename from kotlin/src/main/kotlin/com/kcl/api/ParseFile_ResultKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/ParseFileResultKt.kt
index 359811a9..e4abf5eb 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/ParseFile_ResultKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/ParseFileResultKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializeparseFileResult")
-public inline fun parseFileResult(block: com.kcl.api.ParseFile_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ParseFile_Result =
-  com.kcl.api.ParseFile_ResultKt.Dsl._create(com.kcl.api.Spec.ParseFile_Result.newBuilder()).apply { block() }._build()
+public inline fun parseFileResult(block: com.kcl.api.ParseFileResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ParseFileResult =
+  com.kcl.api.ParseFileResultKt.Dsl._create(com.kcl.api.Spec.ParseFileResult.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for parse file response.
  * ```
  *
- * Protobuf type `com.kcl.api.ParseFile_Result`
+ * Protobuf type `com.kcl.api.ParseFileResult`
  */
-public object ParseFile_ResultKt {
+public object ParseFileResultKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.ParseFile_Result.Builder
+    private val _builder: com.kcl.api.Spec.ParseFileResult.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.ParseFile_Result.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.ParseFileResult.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.ParseFile_Result = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.ParseFileResult = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object ParseFile_ResultKt {
      * `string ast_json = 1;`
      */
     public var astJson: kotlin.String
-      @JvmName("getAstJson")
-      get() = _builder.astJson
-      @JvmName("setAstJson")
-      set(value) {
+      @kotlin.jvm.JvmName("getAstJson")
+        get() = _builder.astJson
+      @kotlin.jvm.JvmName("setAstJson")
+        set(value) {
         _builder.astJson = value
       }
     /**
@@ -72,7 +73,7 @@ public object ParseFile_ResultKt {
      * @return A list containing the deps.
      */
     public val deps: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.depsList
       )
@@ -85,7 +86,7 @@ public object ParseFile_ResultKt {
      * @param value The deps to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addDeps")
+@kotlin.jvm.JvmName("addDeps")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addDeps(value)
     }
@@ -98,7 +99,7 @@ public object ParseFile_ResultKt {
      * @param value The deps to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignDeps")
+@kotlin.jvm.JvmName("plusAssignDeps")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -112,7 +113,7 @@ public object ParseFile_ResultKt {
      * @param values The deps to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllDeps")
+@kotlin.jvm.JvmName("addAllDeps")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllDeps(values)
     }
@@ -125,7 +126,7 @@ public object ParseFile_ResultKt {
      * @param values The deps to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllDeps")
+@kotlin.jvm.JvmName("plusAssignAllDeps")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -140,7 +141,7 @@ public object ParseFile_ResultKt {
      * @param value The deps to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setDeps")
+@kotlin.jvm.JvmName("setDeps")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setDeps(index, value)
     }/**
@@ -151,7 +152,7 @@ public object ParseFile_ResultKt {
      * `repeated string deps = 2;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearDeps")
+@kotlin.jvm.JvmName("setDeps")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearDeps()
     }
@@ -170,7 +171,7 @@ public object ParseFile_ResultKt {
      */
      public val errors: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.errorsList
       )
     /**
@@ -182,7 +183,7 @@ public object ParseFile_ResultKt {
      * @param value The errors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addErrors")
+@kotlin.jvm.JvmName("addErrors")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.Error) {
       _builder.addErrors(value)
     }
@@ -195,7 +196,7 @@ public object ParseFile_ResultKt {
      * @param value The errors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignErrors")
+@kotlin.jvm.JvmName("plusAssignErrors")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.Error) {
       add(value)
@@ -209,7 +210,7 @@ public object ParseFile_ResultKt {
      * @param values The errors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllErrors")
+@kotlin.jvm.JvmName("addAllErrors")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllErrors(values)
     }
@@ -222,7 +223,7 @@ public object ParseFile_ResultKt {
      * @param values The errors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllErrors")
+@kotlin.jvm.JvmName("plusAssignAllErrors")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -237,7 +238,7 @@ public object ParseFile_ResultKt {
      * @param value The errors to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setErrors")
+@kotlin.jvm.JvmName("setErrors")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.Error) {
       _builder.setErrors(index, value)
     }
@@ -249,14 +250,13 @@ public object ParseFile_ResultKt {
      * `repeated .com.kcl.api.Error errors = 3;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearErrors")
+@kotlin.jvm.JvmName("clearErrors")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearErrors()
     }
-
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.ParseFile_Result.copy(block: `com.kcl.api`.ParseFile_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ParseFile_Result =
-  `com.kcl.api`.ParseFile_ResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.ParseFileResult.copy(block: `com.kcl.api`.ParseFileResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ParseFileResult =
+  `com.kcl.api`.ParseFileResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ParseProgram_ArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ParseProgramArgsKt.kt
similarity index 85%
rename from kotlin/src/main/kotlin/com/kcl/api/ParseProgram_ArgsKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/ParseProgramArgsKt.kt
index b06ae2aa..3682cebb 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/ParseProgram_ArgsKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/ParseProgramArgsKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializeparseProgramArgs")
-public inline fun parseProgramArgs(block: com.kcl.api.ParseProgram_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ParseProgram_Args =
-  com.kcl.api.ParseProgram_ArgsKt.Dsl._create(com.kcl.api.Spec.ParseProgram_Args.newBuilder()).apply { block() }._build()
+public inline fun parseProgramArgs(block: com.kcl.api.ParseProgramArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ParseProgramArgs =
+  com.kcl.api.ParseProgramArgsKt.Dsl._create(com.kcl.api.Spec.ParseProgramArgs.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for parse program request arguments.
  * ```
  *
- * Protobuf type `com.kcl.api.ParseProgram_Args`
+ * Protobuf type `com.kcl.api.ParseProgramArgs`
  */
-public object ParseProgram_ArgsKt {
+public object ParseProgramArgsKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.ParseProgram_Args.Builder
+    private val _builder: com.kcl.api.Spec.ParseProgramArgs.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.ParseProgram_Args.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.ParseProgramArgs.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.ParseProgram_Args = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.ParseProgramArgs = _builder.build()
 
     /**
      * An uninstantiable, behaviorless type to represent the field in
@@ -47,7 +48,7 @@ public object ParseProgram_ArgsKt {
      * @return A list containing the paths.
      */
     public val paths: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.pathsList
       )
@@ -60,7 +61,7 @@ public object ParseProgram_ArgsKt {
      * @param value The paths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addPaths")
+@kotlin.jvm.JvmName("addPaths")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addPaths(value)
     }
@@ -73,7 +74,7 @@ public object ParseProgram_ArgsKt {
      * @param value The paths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignPaths")
+@kotlin.jvm.JvmName("plusAssignPaths")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -87,7 +88,7 @@ public object ParseProgram_ArgsKt {
      * @param values The paths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllPaths")
+@kotlin.jvm.JvmName("addAllPaths")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllPaths(values)
     }
@@ -100,7 +101,7 @@ public object ParseProgram_ArgsKt {
      * @param values The paths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllPaths")
+@kotlin.jvm.JvmName("plusAssignAllPaths")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -115,7 +116,7 @@ public object ParseProgram_ArgsKt {
      * @param value The paths to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setPaths")
+@kotlin.jvm.JvmName("setPaths")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setPaths(index, value)
     }/**
@@ -126,7 +127,7 @@ public object ParseProgram_ArgsKt {
      * `repeated string paths = 1;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearPaths")
+@kotlin.jvm.JvmName("setPaths")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearPaths()
     }
@@ -145,7 +146,7 @@ public object ParseProgram_ArgsKt {
      * @return A list containing the sources.
      */
     public val sources: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.sourcesList
       )
@@ -158,7 +159,7 @@ public object ParseProgram_ArgsKt {
      * @param value The sources to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addSources")
+@kotlin.jvm.JvmName("addSources")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addSources(value)
     }
@@ -171,7 +172,7 @@ public object ParseProgram_ArgsKt {
      * @param value The sources to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignSources")
+@kotlin.jvm.JvmName("plusAssignSources")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -185,7 +186,7 @@ public object ParseProgram_ArgsKt {
      * @param values The sources to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllSources")
+@kotlin.jvm.JvmName("addAllSources")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllSources(values)
     }
@@ -198,7 +199,7 @@ public object ParseProgram_ArgsKt {
      * @param values The sources to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllSources")
+@kotlin.jvm.JvmName("plusAssignAllSources")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -213,7 +214,7 @@ public object ParseProgram_ArgsKt {
      * @param value The sources to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setSources")
+@kotlin.jvm.JvmName("setSources")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setSources(index, value)
     }/**
@@ -224,7 +225,7 @@ public object ParseProgram_ArgsKt {
      * `repeated string sources = 2;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearSources")
+@kotlin.jvm.JvmName("setSources")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearSources()
     }
@@ -243,7 +244,7 @@ public object ParseProgram_ArgsKt {
      */
      public val externalPkgs: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.externalPkgsList
       )
     /**
@@ -255,7 +256,7 @@ public object ParseProgram_ArgsKt {
      * @param value The externalPkgs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addExternalPkgs")
+@kotlin.jvm.JvmName("addExternalPkgs")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.ExternalPkg) {
       _builder.addExternalPkgs(value)
     }
@@ -268,7 +269,7 @@ public object ParseProgram_ArgsKt {
      * @param value The externalPkgs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignExternalPkgs")
+@kotlin.jvm.JvmName("plusAssignExternalPkgs")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.ExternalPkg) {
       add(value)
@@ -282,7 +283,7 @@ public object ParseProgram_ArgsKt {
      * @param values The externalPkgs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllExternalPkgs")
+@kotlin.jvm.JvmName("addAllExternalPkgs")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllExternalPkgs(values)
     }
@@ -295,7 +296,7 @@ public object ParseProgram_ArgsKt {
      * @param values The externalPkgs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllExternalPkgs")
+@kotlin.jvm.JvmName("plusAssignAllExternalPkgs")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -310,7 +311,7 @@ public object ParseProgram_ArgsKt {
      * @param value The externalPkgs to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setExternalPkgs")
+@kotlin.jvm.JvmName("setExternalPkgs")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.ExternalPkg) {
       _builder.setExternalPkgs(index, value)
     }
@@ -322,14 +323,13 @@ public object ParseProgram_ArgsKt {
      * `repeated .com.kcl.api.ExternalPkg external_pkgs = 3;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearExternalPkgs")
+@kotlin.jvm.JvmName("clearExternalPkgs")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearExternalPkgs()
     }
-
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.ParseProgram_Args.copy(block: `com.kcl.api`.ParseProgram_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ParseProgram_Args =
-  `com.kcl.api`.ParseProgram_ArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.ParseProgramArgs.copy(block: `com.kcl.api`.ParseProgramArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ParseProgramArgs =
+  `com.kcl.api`.ParseProgramArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ParseProgram_ResultKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ParseProgramResultKt.kt
similarity index 82%
rename from kotlin/src/main/kotlin/com/kcl/api/ParseProgram_ResultKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/ParseProgramResultKt.kt
index 67dc125e..b7ee9b96 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/ParseProgram_ResultKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/ParseProgramResultKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializeparseProgramResult")
-public inline fun parseProgramResult(block: com.kcl.api.ParseProgram_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ParseProgram_Result =
-  com.kcl.api.ParseProgram_ResultKt.Dsl._create(com.kcl.api.Spec.ParseProgram_Result.newBuilder()).apply { block() }._build()
+public inline fun parseProgramResult(block: com.kcl.api.ParseProgramResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ParseProgramResult =
+  com.kcl.api.ParseProgramResultKt.Dsl._create(com.kcl.api.Spec.ParseProgramResult.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for parse program response.
  * ```
  *
- * Protobuf type `com.kcl.api.ParseProgram_Result`
+ * Protobuf type `com.kcl.api.ParseProgramResult`
  */
-public object ParseProgram_ResultKt {
+public object ParseProgramResultKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.ParseProgram_Result.Builder
+    private val _builder: com.kcl.api.Spec.ParseProgramResult.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.ParseProgram_Result.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.ParseProgramResult.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.ParseProgram_Result = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.ParseProgramResult = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object ParseProgram_ResultKt {
      * `string ast_json = 1;`
      */
     public var astJson: kotlin.String
-      @JvmName("getAstJson")
-      get() = _builder.astJson
-      @JvmName("setAstJson")
-      set(value) {
+      @kotlin.jvm.JvmName("getAstJson")
+        get() = _builder.astJson
+      @kotlin.jvm.JvmName("setAstJson")
+        set(value) {
         _builder.astJson = value
       }
     /**
@@ -72,7 +73,7 @@ public object ParseProgram_ResultKt {
      * @return A list containing the paths.
      */
     public val paths: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.pathsList
       )
@@ -85,7 +86,7 @@ public object ParseProgram_ResultKt {
      * @param value The paths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addPaths")
+@kotlin.jvm.JvmName("addPaths")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addPaths(value)
     }
@@ -98,7 +99,7 @@ public object ParseProgram_ResultKt {
      * @param value The paths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignPaths")
+@kotlin.jvm.JvmName("plusAssignPaths")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -112,7 +113,7 @@ public object ParseProgram_ResultKt {
      * @param values The paths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllPaths")
+@kotlin.jvm.JvmName("addAllPaths")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllPaths(values)
     }
@@ -125,7 +126,7 @@ public object ParseProgram_ResultKt {
      * @param values The paths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllPaths")
+@kotlin.jvm.JvmName("plusAssignAllPaths")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -140,7 +141,7 @@ public object ParseProgram_ResultKt {
      * @param value The paths to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setPaths")
+@kotlin.jvm.JvmName("setPaths")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setPaths(index, value)
     }/**
@@ -151,7 +152,7 @@ public object ParseProgram_ResultKt {
      * `repeated string paths = 2;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearPaths")
+@kotlin.jvm.JvmName("setPaths")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearPaths()
     }
@@ -170,7 +171,7 @@ public object ParseProgram_ResultKt {
      */
      public val errors: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.errorsList
       )
     /**
@@ -182,7 +183,7 @@ public object ParseProgram_ResultKt {
      * @param value The errors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addErrors")
+@kotlin.jvm.JvmName("addErrors")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.Error) {
       _builder.addErrors(value)
     }
@@ -195,7 +196,7 @@ public object ParseProgram_ResultKt {
      * @param value The errors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignErrors")
+@kotlin.jvm.JvmName("plusAssignErrors")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.Error) {
       add(value)
@@ -209,7 +210,7 @@ public object ParseProgram_ResultKt {
      * @param values The errors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllErrors")
+@kotlin.jvm.JvmName("addAllErrors")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllErrors(values)
     }
@@ -222,7 +223,7 @@ public object ParseProgram_ResultKt {
      * @param values The errors to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllErrors")
+@kotlin.jvm.JvmName("plusAssignAllErrors")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -237,7 +238,7 @@ public object ParseProgram_ResultKt {
      * @param value The errors to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setErrors")
+@kotlin.jvm.JvmName("setErrors")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.Error) {
       _builder.setErrors(index, value)
     }
@@ -249,14 +250,13 @@ public object ParseProgram_ResultKt {
      * `repeated .com.kcl.api.Error errors = 3;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearErrors")
+@kotlin.jvm.JvmName("clearErrors")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearErrors()
     }
-
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.ParseProgram_Result.copy(block: `com.kcl.api`.ParseProgram_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ParseProgram_Result =
-  `com.kcl.api`.ParseProgram_ResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.ParseProgramResult.copy(block: `com.kcl.api`.ParseProgramResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ParseProgramResult =
+  `com.kcl.api`.ParseProgramResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/Ping_ArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/PingArgsKt.kt
similarity index 54%
rename from kotlin/src/main/kotlin/com/kcl/api/Ping_ArgsKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/PingArgsKt.kt
index 6d8a6bad..00489044 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/Ping_ArgsKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/PingArgsKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializepingArgs")
-public inline fun pingArgs(block: com.kcl.api.Ping_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.Ping_Args =
-  com.kcl.api.Ping_ArgsKt.Dsl._create(com.kcl.api.Spec.Ping_Args.newBuilder()).apply { block() }._build()
+public inline fun pingArgs(block: com.kcl.api.PingArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.PingArgs =
+  com.kcl.api.PingArgsKt.Dsl._create(com.kcl.api.Spec.PingArgs.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for ping request arguments.
  * ```
  *
- * Protobuf type `com.kcl.api.Ping_Args`
+ * Protobuf type `com.kcl.api.PingArgs`
  */
-public object Ping_ArgsKt {
+public object PingArgsKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.Ping_Args.Builder
+    private val _builder: com.kcl.api.Spec.PingArgs.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.Ping_Args.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.PingArgs.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.Ping_Args = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.PingArgs = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object Ping_ArgsKt {
      * `string value = 1;`
      */
     public var value: kotlin.String
-      @JvmName("getValue")
-      get() = _builder.value
-      @JvmName("setValue")
-      set(value) {
+      @kotlin.jvm.JvmName("getValue")
+        get() = _builder.value
+      @kotlin.jvm.JvmName("setValue")
+        set(value) {
         _builder.value = value
       }
     /**
@@ -59,6 +60,6 @@ public object Ping_ArgsKt {
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.Ping_Args.copy(block: `com.kcl.api`.Ping_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.Ping_Args =
-  `com.kcl.api`.Ping_ArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.PingArgs.copy(block: `com.kcl.api`.PingArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.PingArgs =
+  `com.kcl.api`.PingArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/Ping_ResultKt.kt b/kotlin/src/main/kotlin/com/kcl/api/PingResultKt.kt
similarity index 53%
rename from kotlin/src/main/kotlin/com/kcl/api/Ping_ResultKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/PingResultKt.kt
index 18c89008..374042f9 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/Ping_ResultKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/PingResultKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializepingResult")
-public inline fun pingResult(block: com.kcl.api.Ping_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.Ping_Result =
-  com.kcl.api.Ping_ResultKt.Dsl._create(com.kcl.api.Spec.Ping_Result.newBuilder()).apply { block() }._build()
+public inline fun pingResult(block: com.kcl.api.PingResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.PingResult =
+  com.kcl.api.PingResultKt.Dsl._create(com.kcl.api.Spec.PingResult.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for ping response.
  * ```
  *
- * Protobuf type `com.kcl.api.Ping_Result`
+ * Protobuf type `com.kcl.api.PingResult`
  */
-public object Ping_ResultKt {
+public object PingResultKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.Ping_Result.Builder
+    private val _builder: com.kcl.api.Spec.PingResult.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.Ping_Result.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.PingResult.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.Ping_Result = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.PingResult = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object Ping_ResultKt {
      * `string value = 1;`
      */
     public var value: kotlin.String
-      @JvmName("getValue")
-      get() = _builder.value
-      @JvmName("setValue")
-      set(value) {
+      @kotlin.jvm.JvmName("getValue")
+        get() = _builder.value
+      @kotlin.jvm.JvmName("setValue")
+        set(value) {
         _builder.value = value
       }
     /**
@@ -59,6 +60,6 @@ public object Ping_ResultKt {
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.Ping_Result.copy(block: `com.kcl.api`.Ping_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.Ping_Result =
-  `com.kcl.api`.Ping_ResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.PingResult.copy(block: `com.kcl.api`.PingResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.PingResult =
+  `com.kcl.api`.PingResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/PositionKt.kt b/kotlin/src/main/kotlin/com/kcl/api/PositionKt.kt
index 451b31f4..0cece837 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/PositionKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/PositionKt.kt
@@ -2,6 +2,7 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
@@ -40,10 +41,10 @@ public object PositionKt {
      * `int64 line = 1;`
      */
     public var line: kotlin.Long
-      @JvmName("getLine")
-      get() = _builder.line
-      @JvmName("setLine")
-      set(value) {
+      @kotlin.jvm.JvmName("getLine")
+        get() = _builder.line
+      @kotlin.jvm.JvmName("setLine")
+        set(value) {
         _builder.line = value
       }
     /**
@@ -65,10 +66,10 @@ public object PositionKt {
      * `int64 column = 2;`
      */
     public var column: kotlin.Long
-      @JvmName("getColumn")
-      get() = _builder.column
-      @JvmName("setColumn")
-      set(value) {
+      @kotlin.jvm.JvmName("getColumn")
+        get() = _builder.column
+      @kotlin.jvm.JvmName("setColumn")
+        set(value) {
         _builder.column = value
       }
     /**
@@ -90,10 +91,10 @@ public object PositionKt {
      * `string filename = 3;`
      */
     public var filename: kotlin.String
-      @JvmName("getFilename")
-      get() = _builder.filename
-      @JvmName("setFilename")
-      set(value) {
+      @kotlin.jvm.JvmName("getFilename")
+        get() = _builder.filename
+      @kotlin.jvm.JvmName("setFilename")
+        set(value) {
         _builder.filename = value
       }
     /**
diff --git a/kotlin/src/main/kotlin/com/kcl/api/Rename_ArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/RenameArgsKt.kt
similarity index 75%
rename from kotlin/src/main/kotlin/com/kcl/api/Rename_ArgsKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/RenameArgsKt.kt
index ea0ba9fc..e521816a 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/Rename_ArgsKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/RenameArgsKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializerenameArgs")
-public inline fun renameArgs(block: com.kcl.api.Rename_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.Rename_Args =
-  com.kcl.api.Rename_ArgsKt.Dsl._create(com.kcl.api.Spec.Rename_Args.newBuilder()).apply { block() }._build()
+public inline fun renameArgs(block: com.kcl.api.RenameArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.RenameArgs =
+  com.kcl.api.RenameArgsKt.Dsl._create(com.kcl.api.Spec.RenameArgs.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for rename request arguments.
  * ```
  *
- * Protobuf type `com.kcl.api.Rename_Args`
+ * Protobuf type `com.kcl.api.RenameArgs`
  */
-public object Rename_ArgsKt {
+public object RenameArgsKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.Rename_Args.Builder
+    private val _builder: com.kcl.api.Spec.RenameArgs.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.Rename_Args.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.RenameArgs.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.Rename_Args = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.RenameArgs = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object Rename_ArgsKt {
      * `string package_root = 1;`
      */
     public var packageRoot: kotlin.String
-      @JvmName("getPackageRoot")
-      get() = _builder.packageRoot
-      @JvmName("setPackageRoot")
-      set(value) {
+      @kotlin.jvm.JvmName("getPackageRoot")
+        get() = _builder.packageRoot
+      @kotlin.jvm.JvmName("setPackageRoot")
+        set(value) {
         _builder.packageRoot = value
       }
     /**
@@ -65,10 +66,10 @@ public object Rename_ArgsKt {
      * `string symbol_path = 2;`
      */
     public var symbolPath: kotlin.String
-      @JvmName("getSymbolPath")
-      get() = _builder.symbolPath
-      @JvmName("setSymbolPath")
-      set(value) {
+      @kotlin.jvm.JvmName("getSymbolPath")
+        get() = _builder.symbolPath
+      @kotlin.jvm.JvmName("setSymbolPath")
+        set(value) {
         _builder.symbolPath = value
       }
     /**
@@ -97,7 +98,7 @@ public object Rename_ArgsKt {
      * @return A list containing the filePaths.
      */
     public val filePaths: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.filePathsList
       )
@@ -110,7 +111,7 @@ public object Rename_ArgsKt {
      * @param value The filePaths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addFilePaths")
+@kotlin.jvm.JvmName("addFilePaths")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addFilePaths(value)
     }
@@ -123,7 +124,7 @@ public object Rename_ArgsKt {
      * @param value The filePaths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignFilePaths")
+@kotlin.jvm.JvmName("plusAssignFilePaths")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -137,7 +138,7 @@ public object Rename_ArgsKt {
      * @param values The filePaths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllFilePaths")
+@kotlin.jvm.JvmName("addAllFilePaths")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllFilePaths(values)
     }
@@ -150,7 +151,7 @@ public object Rename_ArgsKt {
      * @param values The filePaths to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllFilePaths")
+@kotlin.jvm.JvmName("plusAssignAllFilePaths")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -165,7 +166,7 @@ public object Rename_ArgsKt {
      * @param value The filePaths to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setFilePaths")
+@kotlin.jvm.JvmName("setFilePaths")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setFilePaths(index, value)
     }/**
@@ -176,7 +177,7 @@ public object Rename_ArgsKt {
      * `repeated string file_paths = 3;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearFilePaths")
+@kotlin.jvm.JvmName("setFilePaths")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearFilePaths()
     }
@@ -188,10 +189,10 @@ public object Rename_ArgsKt {
      * `string new_name = 4;`
      */
     public var newName: kotlin.String
-      @JvmName("getNewName")
-      get() = _builder.newName
-      @JvmName("setNewName")
-      set(value) {
+      @kotlin.jvm.JvmName("getNewName")
+        get() = _builder.newName
+      @kotlin.jvm.JvmName("setNewName")
+        set(value) {
         _builder.newName = value
       }
     /**
@@ -207,6 +208,6 @@ public object Rename_ArgsKt {
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.Rename_Args.copy(block: `com.kcl.api`.Rename_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.Rename_Args =
-  `com.kcl.api`.Rename_ArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.RenameArgs.copy(block: `com.kcl.api`.RenameArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.RenameArgs =
+  `com.kcl.api`.RenameArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/RenameCode_ArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/RenameCodeArgsKt.kt
similarity index 74%
rename from kotlin/src/main/kotlin/com/kcl/api/RenameCode_ArgsKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/RenameCodeArgsKt.kt
index 7119c069..cc097455 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/RenameCode_ArgsKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/RenameCodeArgsKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializerenameCodeArgs")
-public inline fun renameCodeArgs(block: com.kcl.api.RenameCode_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.RenameCode_Args =
-  com.kcl.api.RenameCode_ArgsKt.Dsl._create(com.kcl.api.Spec.RenameCode_Args.newBuilder()).apply { block() }._build()
+public inline fun renameCodeArgs(block: com.kcl.api.RenameCodeArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.RenameCodeArgs =
+  com.kcl.api.RenameCodeArgsKt.Dsl._create(com.kcl.api.Spec.RenameCodeArgs.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for rename code request arguments.
  * ```
  *
- * Protobuf type `com.kcl.api.RenameCode_Args`
+ * Protobuf type `com.kcl.api.RenameCodeArgs`
  */
-public object RenameCode_ArgsKt {
+public object RenameCodeArgsKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.RenameCode_Args.Builder
+    private val _builder: com.kcl.api.Spec.RenameCodeArgs.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.RenameCode_Args.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.RenameCodeArgs.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.RenameCode_Args = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.RenameCodeArgs = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object RenameCode_ArgsKt {
      * `string package_root = 1;`
      */
     public var packageRoot: kotlin.String
-      @JvmName("getPackageRoot")
-      get() = _builder.packageRoot
-      @JvmName("setPackageRoot")
-      set(value) {
+      @kotlin.jvm.JvmName("getPackageRoot")
+        get() = _builder.packageRoot
+      @kotlin.jvm.JvmName("setPackageRoot")
+        set(value) {
         _builder.packageRoot = value
       }
     /**
@@ -65,10 +66,10 @@ public object RenameCode_ArgsKt {
      * `string symbol_path = 2;`
      */
     public var symbolPath: kotlin.String
-      @JvmName("getSymbolPath")
-      get() = _builder.symbolPath
-      @JvmName("setSymbolPath")
-      set(value) {
+      @kotlin.jvm.JvmName("getSymbolPath")
+        get() = _builder.symbolPath
+      @kotlin.jvm.JvmName("setSymbolPath")
+        set(value) {
         _builder.symbolPath = value
       }
     /**
@@ -97,7 +98,7 @@ public object RenameCode_ArgsKt {
      */
      public val sourceCodes: com.google.protobuf.kotlin.DslMap
       @kotlin.jvm.JvmSynthetic
-      @JvmName("getSourceCodesMap")
+@kotlin.jvm.JvmName("getSourceCodesMap")
       get() = com.google.protobuf.kotlin.DslMap(
         _builder.sourceCodesMap
       )
@@ -108,7 +109,7 @@ public object RenameCode_ArgsKt {
      *
      * `map source_codes = 3;`
      */
-    @JvmName("putSourceCodes")
+    @kotlin.jvm.JvmName("putSourceCodes")
     public fun com.google.protobuf.kotlin.DslMap
       .put(key: kotlin.String, value: kotlin.String) {
          _builder.putSourceCodes(key, value)
@@ -121,7 +122,7 @@ public object RenameCode_ArgsKt {
      * `map source_codes = 3;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("setSourceCodes")
+@kotlin.jvm.JvmName("setSourceCodes")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslMap
       .set(key: kotlin.String, value: kotlin.String) {
@@ -135,7 +136,7 @@ public object RenameCode_ArgsKt {
      * `map source_codes = 3;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("removeSourceCodes")
+@kotlin.jvm.JvmName("removeSourceCodes")
     public fun com.google.protobuf.kotlin.DslMap
       .remove(key: kotlin.String) {
          _builder.removeSourceCodes(key)
@@ -148,7 +149,7 @@ public object RenameCode_ArgsKt {
      * `map source_codes = 3;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("putAllSourceCodes")
+@kotlin.jvm.JvmName("putAllSourceCodes")
     public fun com.google.protobuf.kotlin.DslMap
       .putAll(map: kotlin.collections.Map) {
          _builder.putAllSourceCodes(map)
@@ -161,7 +162,7 @@ public object RenameCode_ArgsKt {
      * `map source_codes = 3;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("clearSourceCodes")
+@kotlin.jvm.JvmName("clearSourceCodes")
     public fun com.google.protobuf.kotlin.DslMap
       .clear() {
          _builder.clearSourceCodes()
@@ -175,10 +176,10 @@ public object RenameCode_ArgsKt {
      * `string new_name = 4;`
      */
     public var newName: kotlin.String
-      @JvmName("getNewName")
-      get() = _builder.newName
-      @JvmName("setNewName")
-      set(value) {
+      @kotlin.jvm.JvmName("getNewName")
+        get() = _builder.newName
+      @kotlin.jvm.JvmName("setNewName")
+        set(value) {
         _builder.newName = value
       }
     /**
@@ -194,6 +195,6 @@ public object RenameCode_ArgsKt {
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.RenameCode_Args.copy(block: `com.kcl.api`.RenameCode_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.RenameCode_Args =
-  `com.kcl.api`.RenameCode_ArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.RenameCodeArgs.copy(block: `com.kcl.api`.RenameCodeArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.RenameCodeArgs =
+  `com.kcl.api`.RenameCodeArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/RenameCode_ResultKt.kt b/kotlin/src/main/kotlin/com/kcl/api/RenameCodeResultKt.kt
similarity index 76%
rename from kotlin/src/main/kotlin/com/kcl/api/RenameCode_ResultKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/RenameCodeResultKt.kt
index bd7987be..53b33362 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/RenameCode_ResultKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/RenameCodeResultKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializerenameCodeResult")
-public inline fun renameCodeResult(block: com.kcl.api.RenameCode_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.RenameCode_Result =
-  com.kcl.api.RenameCode_ResultKt.Dsl._create(com.kcl.api.Spec.RenameCode_Result.newBuilder()).apply { block() }._build()
+public inline fun renameCodeResult(block: com.kcl.api.RenameCodeResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.RenameCodeResult =
+  com.kcl.api.RenameCodeResultKt.Dsl._create(com.kcl.api.Spec.RenameCodeResult.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for rename code response.
  * ```
  *
- * Protobuf type `com.kcl.api.RenameCode_Result`
+ * Protobuf type `com.kcl.api.RenameCodeResult`
  */
-public object RenameCode_ResultKt {
+public object RenameCodeResultKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.RenameCode_Result.Builder
+    private val _builder: com.kcl.api.Spec.RenameCodeResult.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.RenameCode_Result.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.RenameCodeResult.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.RenameCode_Result = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.RenameCodeResult = _builder.build()
 
     /**
      * An uninstantiable, behaviorless type to represent the field in
@@ -47,7 +48,7 @@ public object RenameCode_ResultKt {
      */
      public val changedCodes: com.google.protobuf.kotlin.DslMap
       @kotlin.jvm.JvmSynthetic
-      @JvmName("getChangedCodesMap")
+@kotlin.jvm.JvmName("getChangedCodesMap")
       get() = com.google.protobuf.kotlin.DslMap(
         _builder.changedCodesMap
       )
@@ -58,7 +59,7 @@ public object RenameCode_ResultKt {
      *
      * `map changed_codes = 1;`
      */
-    @JvmName("putChangedCodes")
+    @kotlin.jvm.JvmName("putChangedCodes")
     public fun com.google.protobuf.kotlin.DslMap
       .put(key: kotlin.String, value: kotlin.String) {
          _builder.putChangedCodes(key, value)
@@ -71,7 +72,7 @@ public object RenameCode_ResultKt {
      * `map changed_codes = 1;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("setChangedCodes")
+@kotlin.jvm.JvmName("setChangedCodes")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslMap
       .set(key: kotlin.String, value: kotlin.String) {
@@ -85,7 +86,7 @@ public object RenameCode_ResultKt {
      * `map changed_codes = 1;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("removeChangedCodes")
+@kotlin.jvm.JvmName("removeChangedCodes")
     public fun com.google.protobuf.kotlin.DslMap
       .remove(key: kotlin.String) {
          _builder.removeChangedCodes(key)
@@ -98,7 +99,7 @@ public object RenameCode_ResultKt {
      * `map changed_codes = 1;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("putAllChangedCodes")
+@kotlin.jvm.JvmName("putAllChangedCodes")
     public fun com.google.protobuf.kotlin.DslMap
       .putAll(map: kotlin.collections.Map) {
          _builder.putAllChangedCodes(map)
@@ -111,7 +112,7 @@ public object RenameCode_ResultKt {
      * `map changed_codes = 1;`
      */
     @kotlin.jvm.JvmSynthetic
-    @JvmName("clearChangedCodes")
+@kotlin.jvm.JvmName("clearChangedCodes")
     public fun com.google.protobuf.kotlin.DslMap
       .clear() {
          _builder.clearChangedCodes()
@@ -119,6 +120,6 @@ public object RenameCode_ResultKt {
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.RenameCode_Result.copy(block: `com.kcl.api`.RenameCode_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.RenameCode_Result =
-  `com.kcl.api`.RenameCode_ResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.RenameCodeResult.copy(block: `com.kcl.api`.RenameCodeResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.RenameCodeResult =
+  `com.kcl.api`.RenameCodeResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/Rename_ResultKt.kt b/kotlin/src/main/kotlin/com/kcl/api/RenameResultKt.kt
similarity index 76%
rename from kotlin/src/main/kotlin/com/kcl/api/Rename_ResultKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/RenameResultKt.kt
index e5c98fe9..a593196a 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/Rename_ResultKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/RenameResultKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializerenameResult")
-public inline fun renameResult(block: com.kcl.api.Rename_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.Rename_Result =
-  com.kcl.api.Rename_ResultKt.Dsl._create(com.kcl.api.Spec.Rename_Result.newBuilder()).apply { block() }._build()
+public inline fun renameResult(block: com.kcl.api.RenameResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.RenameResult =
+  com.kcl.api.RenameResultKt.Dsl._create(com.kcl.api.Spec.RenameResult.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for rename response.
  * ```
  *
- * Protobuf type `com.kcl.api.Rename_Result`
+ * Protobuf type `com.kcl.api.RenameResult`
  */
-public object Rename_ResultKt {
+public object RenameResultKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.Rename_Result.Builder
+    private val _builder: com.kcl.api.Spec.RenameResult.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.Rename_Result.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.RenameResult.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.Rename_Result = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.RenameResult = _builder.build()
 
     /**
      * An uninstantiable, behaviorless type to represent the field in
@@ -47,7 +48,7 @@ public object Rename_ResultKt {
      * @return A list containing the changedFiles.
      */
     public val changedFiles: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.changedFilesList
       )
@@ -60,7 +61,7 @@ public object Rename_ResultKt {
      * @param value The changedFiles to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addChangedFiles")
+@kotlin.jvm.JvmName("addChangedFiles")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addChangedFiles(value)
     }
@@ -73,7 +74,7 @@ public object Rename_ResultKt {
      * @param value The changedFiles to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignChangedFiles")
+@kotlin.jvm.JvmName("plusAssignChangedFiles")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -87,7 +88,7 @@ public object Rename_ResultKt {
      * @param values The changedFiles to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllChangedFiles")
+@kotlin.jvm.JvmName("addAllChangedFiles")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllChangedFiles(values)
     }
@@ -100,7 +101,7 @@ public object Rename_ResultKt {
      * @param values The changedFiles to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllChangedFiles")
+@kotlin.jvm.JvmName("plusAssignAllChangedFiles")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -115,7 +116,7 @@ public object Rename_ResultKt {
      * @param value The changedFiles to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setChangedFiles")
+@kotlin.jvm.JvmName("setChangedFiles")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setChangedFiles(index, value)
     }/**
@@ -126,12 +127,12 @@ public object Rename_ResultKt {
      * `repeated string changed_files = 1;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearChangedFiles")
+@kotlin.jvm.JvmName("setChangedFiles")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearChangedFiles()
     }}
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.Rename_Result.copy(block: `com.kcl.api`.Rename_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.Rename_Result =
-  `com.kcl.api`.Rename_ResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.RenameResult.copy(block: `com.kcl.api`.RenameResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.RenameResult =
+  `com.kcl.api`.RenameResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/SchemaTypesKt.kt b/kotlin/src/main/kotlin/com/kcl/api/SchemaTypesKt.kt
new file mode 100644
index 00000000..b565a7d9
--- /dev/null
+++ b/kotlin/src/main/kotlin/com/kcl/api/SchemaTypesKt.kt
@@ -0,0 +1,135 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: spec.proto
+
+@file:com.google.protobuf.Generated
+// Generated files should ignore deprecation warnings
+@file:Suppress("DEPRECATION")
+package com.kcl.api;
+
+@kotlin.jvm.JvmName("-initializeschemaTypes")
+public inline fun schemaTypes(block: com.kcl.api.SchemaTypesKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.SchemaTypes =
+  com.kcl.api.SchemaTypesKt.Dsl._create(com.kcl.api.Spec.SchemaTypes.newBuilder()).apply { block() }._build()
+/**
+ * Protobuf type `com.kcl.api.SchemaTypes`
+ */
+public object SchemaTypesKt {
+  @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+  @com.google.protobuf.kotlin.ProtoDslMarker
+  public class Dsl private constructor(
+    private val _builder: com.kcl.api.Spec.SchemaTypes.Builder
+  ) {
+    public companion object {
+      @kotlin.jvm.JvmSynthetic
+    @kotlin.PublishedApi
+      internal fun _create(builder: com.kcl.api.Spec.SchemaTypes.Builder): Dsl = Dsl(builder)
+    }
+
+    @kotlin.jvm.JvmSynthetic
+  @kotlin.PublishedApi
+    internal fun _build(): com.kcl.api.Spec.SchemaTypes = _builder.build()
+
+    /**
+     * An uninstantiable, behaviorless type to represent the field in
+     * generics.
+     */
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+    public class SchemaTypeProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
+    /**
+     * ```
+     * List of schema type mappings.
+     * ```
+     *
+     * `repeated .com.kcl.api.KclType schema_type = 1;`
+     */
+     public val schemaType: com.google.protobuf.kotlin.DslList
+      @kotlin.jvm.JvmSynthetic
+  get() = com.google.protobuf.kotlin.DslList(
+        _builder.schemaTypeList
+      )
+    /**
+     * ```
+     * List of schema type mappings.
+     * ```
+     *
+     * `repeated .com.kcl.api.KclType schema_type = 1;`
+     * @param value The schemaType to add.
+     */
+    @kotlin.jvm.JvmSynthetic
+@kotlin.jvm.JvmName("addSchemaType")
+    public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.KclType) {
+      _builder.addSchemaType(value)
+    }
+    /**
+     * ```
+     * List of schema type mappings.
+     * ```
+     *
+     * `repeated .com.kcl.api.KclType schema_type = 1;`
+     * @param value The schemaType to add.
+     */
+    @kotlin.jvm.JvmSynthetic
+@kotlin.jvm.JvmName("plusAssignSchemaType")
+    @Suppress("NOTHING_TO_INLINE")
+    public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.KclType) {
+      add(value)
+    }
+    /**
+     * ```
+     * List of schema type mappings.
+     * ```
+     *
+     * `repeated .com.kcl.api.KclType schema_type = 1;`
+     * @param values The schemaType to add.
+     */
+    @kotlin.jvm.JvmSynthetic
+@kotlin.jvm.JvmName("addAllSchemaType")
+    public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
+      _builder.addAllSchemaType(values)
+    }
+    /**
+     * ```
+     * List of schema type mappings.
+     * ```
+     *
+     * `repeated .com.kcl.api.KclType schema_type = 1;`
+     * @param values The schemaType to add.
+     */
+    @kotlin.jvm.JvmSynthetic
+@kotlin.jvm.JvmName("plusAssignAllSchemaType")
+    @Suppress("NOTHING_TO_INLINE")
+    public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
+      addAll(values)
+    }
+    /**
+     * ```
+     * List of schema type mappings.
+     * ```
+     *
+     * `repeated .com.kcl.api.KclType schema_type = 1;`
+     * @param index The index to set the value at.
+     * @param value The schemaType to set.
+     */
+    @kotlin.jvm.JvmSynthetic
+@kotlin.jvm.JvmName("setSchemaType")
+    public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.KclType) {
+      _builder.setSchemaType(index, value)
+    }
+    /**
+     * ```
+     * List of schema type mappings.
+     * ```
+     *
+     * `repeated .com.kcl.api.KclType schema_type = 1;`
+     */
+    @kotlin.jvm.JvmSynthetic
+@kotlin.jvm.JvmName("clearSchemaType")
+    public fun com.google.protobuf.kotlin.DslList.clear() {
+      _builder.clearSchemaType()
+    }
+  }
+}
+@kotlin.jvm.JvmSynthetic
+public inline fun com.kcl.api.Spec.SchemaTypes.copy(block: `com.kcl.api`.SchemaTypesKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.SchemaTypes =
+  `com.kcl.api`.SchemaTypesKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ScopeIndexKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ScopeIndexKt.kt
index ea335913..284b4d26 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/ScopeIndexKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/ScopeIndexKt.kt
@@ -2,6 +2,7 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
@@ -40,10 +41,10 @@ public object ScopeIndexKt {
      * `uint64 i = 1;`
      */
     public var i: kotlin.Long
-      @JvmName("getI")
-      get() = _builder.i
-      @JvmName("setI")
-      set(value) {
+      @kotlin.jvm.JvmName("getI")
+        get() = _builder.i
+      @kotlin.jvm.JvmName("setI")
+        set(value) {
         _builder.i = value
       }
     /**
@@ -65,10 +66,10 @@ public object ScopeIndexKt {
      * `uint64 g = 2;`
      */
     public var g: kotlin.Long
-      @JvmName("getG")
-      get() = _builder.g
-      @JvmName("setG")
-      set(value) {
+      @kotlin.jvm.JvmName("getG")
+        get() = _builder.g
+      @kotlin.jvm.JvmName("setG")
+        set(value) {
         _builder.g = value
       }
     /**
@@ -90,10 +91,10 @@ public object ScopeIndexKt {
      * `string kind = 3;`
      */
     public var kind: kotlin.String
-      @JvmName("getKind")
-      get() = _builder.kind
-      @JvmName("setKind")
-      set(value) {
+      @kotlin.jvm.JvmName("getKind")
+        get() = _builder.kind
+      @kotlin.jvm.JvmName("setKind")
+        set(value) {
         _builder.kind = value
       }
     /**
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ScopeKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ScopeKt.kt
index 800824da..b7f43b30 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/ScopeKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/ScopeKt.kt
@@ -2,6 +2,7 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
@@ -40,10 +41,10 @@ public object ScopeKt {
      * `string kind = 1;`
      */
     public var kind: kotlin.String
-      @JvmName("getKind")
-      get() = _builder.kind
-      @JvmName("setKind")
-      set(value) {
+      @kotlin.jvm.JvmName("getKind")
+        get() = _builder.kind
+      @kotlin.jvm.JvmName("setKind")
+        set(value) {
         _builder.kind = value
       }
     /**
@@ -65,10 +66,10 @@ public object ScopeKt {
      * `.com.kcl.api.ScopeIndex parent = 2;`
      */
     public var parent: com.kcl.api.Spec.ScopeIndex
-      @JvmName("getParent")
-      get() = _builder.parent
-      @JvmName("setParent")
-      set(value) {
+      @kotlin.jvm.JvmName("getParent")
+        get() = _builder.parent
+      @kotlin.jvm.JvmName("setParent")
+        set(value) {
         _builder.parent = value
       }
     /**
@@ -104,10 +105,10 @@ public object ScopeKt {
      * `.com.kcl.api.SymbolIndex owner = 3;`
      */
     public var owner: com.kcl.api.Spec.SymbolIndex
-      @JvmName("getOwner")
-      get() = _builder.owner
-      @JvmName("setOwner")
-      set(value) {
+      @kotlin.jvm.JvmName("getOwner")
+        get() = _builder.owner
+      @kotlin.jvm.JvmName("setOwner")
+        set(value) {
         _builder.owner = value
       }
     /**
@@ -150,7 +151,7 @@ public object ScopeKt {
      */
      public val children: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.childrenList
       )
     /**
@@ -162,7 +163,7 @@ public object ScopeKt {
      * @param value The children to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addChildren")
+@kotlin.jvm.JvmName("addChildren")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.ScopeIndex) {
       _builder.addChildren(value)
     }
@@ -175,7 +176,7 @@ public object ScopeKt {
      * @param value The children to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignChildren")
+@kotlin.jvm.JvmName("plusAssignChildren")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.ScopeIndex) {
       add(value)
@@ -189,7 +190,7 @@ public object ScopeKt {
      * @param values The children to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllChildren")
+@kotlin.jvm.JvmName("addAllChildren")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllChildren(values)
     }
@@ -202,7 +203,7 @@ public object ScopeKt {
      * @param values The children to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllChildren")
+@kotlin.jvm.JvmName("plusAssignAllChildren")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -217,7 +218,7 @@ public object ScopeKt {
      * @param value The children to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setChildren")
+@kotlin.jvm.JvmName("setChildren")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.ScopeIndex) {
       _builder.setChildren(index, value)
     }
@@ -229,12 +230,11 @@ public object ScopeKt {
      * `repeated .com.kcl.api.ScopeIndex children = 4;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearChildren")
+@kotlin.jvm.JvmName("clearChildren")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearChildren()
     }
 
-
     /**
      * An uninstantiable, behaviorless type to represent the field in
      * generics.
@@ -250,7 +250,7 @@ public object ScopeKt {
      */
      public val defs: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.defsList
       )
     /**
@@ -262,7 +262,7 @@ public object ScopeKt {
      * @param value The defs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addDefs")
+@kotlin.jvm.JvmName("addDefs")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.SymbolIndex) {
       _builder.addDefs(value)
     }
@@ -275,7 +275,7 @@ public object ScopeKt {
      * @param value The defs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignDefs")
+@kotlin.jvm.JvmName("plusAssignDefs")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.SymbolIndex) {
       add(value)
@@ -289,7 +289,7 @@ public object ScopeKt {
      * @param values The defs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllDefs")
+@kotlin.jvm.JvmName("addAllDefs")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllDefs(values)
     }
@@ -302,7 +302,7 @@ public object ScopeKt {
      * @param values The defs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllDefs")
+@kotlin.jvm.JvmName("plusAssignAllDefs")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -317,7 +317,7 @@ public object ScopeKt {
      * @param value The defs to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setDefs")
+@kotlin.jvm.JvmName("setDefs")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.SymbolIndex) {
       _builder.setDefs(index, value)
     }
@@ -329,11 +329,10 @@ public object ScopeKt {
      * `repeated .com.kcl.api.SymbolIndex defs = 5;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearDefs")
+@kotlin.jvm.JvmName("clearDefs")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearDefs()
     }
-
   }
 }
 @kotlin.jvm.JvmSynthetic
diff --git a/kotlin/src/main/kotlin/com/kcl/api/SpecKt.kt b/kotlin/src/main/kotlin/com/kcl/api/SpecKt.kt
deleted file mode 100644
index 0f01e8ed..00000000
--- a/kotlin/src/main/kotlin/com/kcl/api/SpecKt.kt
+++ /dev/null
@@ -1,8 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
-// source: spec.proto
-
-// Generated files should ignore deprecation warnings
-@file:Suppress("DEPRECATION")
-package com.kcl.api;
-
diff --git a/kotlin/src/main/kotlin/com/kcl/api/SpecKt.proto.kt b/kotlin/src/main/kotlin/com/kcl/api/SpecKt.proto.kt
index 0f01e8ed..9eb7f289 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/SpecKt.proto.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/SpecKt.proto.kt
@@ -2,6 +2,7 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
diff --git a/kotlin/src/main/kotlin/com/kcl/api/SymbolIndexKt.kt b/kotlin/src/main/kotlin/com/kcl/api/SymbolIndexKt.kt
index 9dcf1d08..a68d6f18 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/SymbolIndexKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/SymbolIndexKt.kt
@@ -2,6 +2,7 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
@@ -40,10 +41,10 @@ public object SymbolIndexKt {
      * `uint64 i = 1;`
      */
     public var i: kotlin.Long
-      @JvmName("getI")
-      get() = _builder.i
-      @JvmName("setI")
-      set(value) {
+      @kotlin.jvm.JvmName("getI")
+        get() = _builder.i
+      @kotlin.jvm.JvmName("setI")
+        set(value) {
         _builder.i = value
       }
     /**
@@ -65,10 +66,10 @@ public object SymbolIndexKt {
      * `uint64 g = 2;`
      */
     public var g: kotlin.Long
-      @JvmName("getG")
-      get() = _builder.g
-      @JvmName("setG")
-      set(value) {
+      @kotlin.jvm.JvmName("getG")
+        get() = _builder.g
+      @kotlin.jvm.JvmName("setG")
+        set(value) {
         _builder.g = value
       }
     /**
@@ -90,10 +91,10 @@ public object SymbolIndexKt {
      * `string kind = 3;`
      */
     public var kind: kotlin.String
-      @JvmName("getKind")
-      get() = _builder.kind
-      @JvmName("setKind")
-      set(value) {
+      @kotlin.jvm.JvmName("getKind")
+        get() = _builder.kind
+      @kotlin.jvm.JvmName("setKind")
+        set(value) {
         _builder.kind = value
       }
     /**
diff --git a/kotlin/src/main/kotlin/com/kcl/api/SymbolKt.kt b/kotlin/src/main/kotlin/com/kcl/api/SymbolKt.kt
index 1615124a..c0001377 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/SymbolKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/SymbolKt.kt
@@ -2,6 +2,7 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
@@ -40,10 +41,10 @@ public object SymbolKt {
      * `.com.kcl.api.KclType ty = 1;`
      */
     public var ty: com.kcl.api.Spec.KclType
-      @JvmName("getTy")
-      get() = _builder.ty
-      @JvmName("setTy")
-      set(value) {
+      @kotlin.jvm.JvmName("getTy")
+        get() = _builder.ty
+      @kotlin.jvm.JvmName("setTy")
+        set(value) {
         _builder.ty = value
       }
     /**
@@ -79,10 +80,10 @@ public object SymbolKt {
      * `string name = 2;`
      */
     public var name: kotlin.String
-      @JvmName("getName")
-      get() = _builder.name
-      @JvmName("setName")
-      set(value) {
+      @kotlin.jvm.JvmName("getName")
+        get() = _builder.name
+      @kotlin.jvm.JvmName("setName")
+        set(value) {
         _builder.name = value
       }
     /**
@@ -104,10 +105,10 @@ public object SymbolKt {
      * `.com.kcl.api.SymbolIndex owner = 3;`
      */
     public var owner: com.kcl.api.Spec.SymbolIndex
-      @JvmName("getOwner")
-      get() = _builder.owner
-      @JvmName("setOwner")
-      set(value) {
+      @kotlin.jvm.JvmName("getOwner")
+        get() = _builder.owner
+      @kotlin.jvm.JvmName("setOwner")
+        set(value) {
         _builder.owner = value
       }
     /**
@@ -143,10 +144,10 @@ public object SymbolKt {
      * `.com.kcl.api.SymbolIndex def = 4;`
      */
     public var def: com.kcl.api.Spec.SymbolIndex
-      @JvmName("getDef")
-      get() = _builder.def
-      @JvmName("setDef")
-      set(value) {
+      @kotlin.jvm.JvmName("getDef")
+        get() = _builder.def
+      @kotlin.jvm.JvmName("setDef")
+        set(value) {
         _builder.def = value
       }
     /**
@@ -189,7 +190,7 @@ public object SymbolKt {
      */
      public val attrs: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.attrsList
       )
     /**
@@ -201,7 +202,7 @@ public object SymbolKt {
      * @param value The attrs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAttrs")
+@kotlin.jvm.JvmName("addAttrs")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.SymbolIndex) {
       _builder.addAttrs(value)
     }
@@ -214,7 +215,7 @@ public object SymbolKt {
      * @param value The attrs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAttrs")
+@kotlin.jvm.JvmName("plusAssignAttrs")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.SymbolIndex) {
       add(value)
@@ -228,7 +229,7 @@ public object SymbolKt {
      * @param values The attrs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllAttrs")
+@kotlin.jvm.JvmName("addAllAttrs")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllAttrs(values)
     }
@@ -241,7 +242,7 @@ public object SymbolKt {
      * @param values The attrs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllAttrs")
+@kotlin.jvm.JvmName("plusAssignAllAttrs")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -256,7 +257,7 @@ public object SymbolKt {
      * @param value The attrs to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setAttrs")
+@kotlin.jvm.JvmName("setAttrs")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.SymbolIndex) {
       _builder.setAttrs(index, value)
     }
@@ -268,12 +269,11 @@ public object SymbolKt {
      * `repeated .com.kcl.api.SymbolIndex attrs = 5;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearAttrs")
+@kotlin.jvm.JvmName("clearAttrs")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearAttrs()
     }
 
-
     /**
      * ```
      * Flag indicating if the symbol is global.
@@ -282,10 +282,10 @@ public object SymbolKt {
      * `bool is_global = 6;`
      */
     public var isGlobal: kotlin.Boolean
-      @JvmName("getIsGlobal")
-      get() = _builder.isGlobal
-      @JvmName("setIsGlobal")
-      set(value) {
+      @kotlin.jvm.JvmName("getIsGlobal")
+        get() = _builder.isGlobal
+      @kotlin.jvm.JvmName("setIsGlobal")
+        set(value) {
         _builder.isGlobal = value
       }
     /**
diff --git a/kotlin/src/main/kotlin/com/kcl/api/Test_ArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/TestArgsKt.kt
similarity index 72%
rename from kotlin/src/main/kotlin/com/kcl/api/Test_ArgsKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/TestArgsKt.kt
index 2585c869..23d226d1 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/Test_ArgsKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/TestArgsKt.kt
@@ -2,48 +2,49 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializetestArgs")
-public inline fun testArgs(block: com.kcl.api.Test_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.Test_Args =
-  com.kcl.api.Test_ArgsKt.Dsl._create(com.kcl.api.Spec.Test_Args.newBuilder()).apply { block() }._build()
+public inline fun testArgs(block: com.kcl.api.TestArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.TestArgs =
+  com.kcl.api.TestArgsKt.Dsl._create(com.kcl.api.Spec.TestArgs.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for test request arguments.
  * ```
  *
- * Protobuf type `com.kcl.api.Test_Args`
+ * Protobuf type `com.kcl.api.TestArgs`
  */
-public object Test_ArgsKt {
+public object TestArgsKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.Test_Args.Builder
+    private val _builder: com.kcl.api.Spec.TestArgs.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.Test_Args.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.TestArgs.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.Test_Args = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.TestArgs = _builder.build()
 
     /**
      * ```
      * Execution program arguments.
      * ```
      *
-     * `.com.kcl.api.ExecProgram_Args exec_args = 1;`
+     * `.com.kcl.api.ExecProgramArgs exec_args = 1;`
      */
-    public var execArgs: com.kcl.api.Spec.ExecProgram_Args
-      @JvmName("getExecArgs")
-      get() = _builder.execArgs
-      @JvmName("setExecArgs")
-      set(value) {
+    public var execArgs: com.kcl.api.Spec.ExecProgramArgs
+      @kotlin.jvm.JvmName("getExecArgs")
+        get() = _builder.execArgs
+      @kotlin.jvm.JvmName("setExecArgs")
+        set(value) {
         _builder.execArgs = value
       }
     /**
@@ -51,7 +52,7 @@ public object Test_ArgsKt {
      * Execution program arguments.
      * ```
      *
-     * `.com.kcl.api.ExecProgram_Args exec_args = 1;`
+     * `.com.kcl.api.ExecProgramArgs exec_args = 1;`
      */
     public fun clearExecArgs() {
       _builder.clearExecArgs()
@@ -61,14 +62,14 @@ public object Test_ArgsKt {
      * Execution program arguments.
      * ```
      *
-     * `.com.kcl.api.ExecProgram_Args exec_args = 1;`
+     * `.com.kcl.api.ExecProgramArgs exec_args = 1;`
      * @return Whether the execArgs field is set.
      */
     public fun hasExecArgs(): kotlin.Boolean {
       return _builder.hasExecArgs()
     }
 
-    public val Test_ArgsKt.Dsl.execArgsOrNull: com.kcl.api.Spec.ExecProgram_Args?
+    public val TestArgsKt.Dsl.execArgsOrNull: com.kcl.api.Spec.ExecProgramArgs?
       get() = _builder.execArgsOrNull
 
     /**
@@ -86,7 +87,7 @@ public object Test_ArgsKt {
      * @return A list containing the pkgList.
      */
     public val pkgList: com.google.protobuf.kotlin.DslList
-      @kotlin.jvm.JvmSynthetic
+    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
       get() = com.google.protobuf.kotlin.DslList(
         _builder.pkgListList
       )
@@ -99,7 +100,7 @@ public object Test_ArgsKt {
      * @param value The pkgList to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addPkgList")
+@kotlin.jvm.JvmName("addPkgList")
     public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
       _builder.addPkgList(value)
     }
@@ -112,7 +113,7 @@ public object Test_ArgsKt {
      * @param value The pkgList to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignPkgList")
+@kotlin.jvm.JvmName("plusAssignPkgList")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
       add(value)
@@ -126,7 +127,7 @@ public object Test_ArgsKt {
      * @param values The pkgList to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllPkgList")
+@kotlin.jvm.JvmName("addAllPkgList")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllPkgList(values)
     }
@@ -139,7 +140,7 @@ public object Test_ArgsKt {
      * @param values The pkgList to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllPkgList")
+@kotlin.jvm.JvmName("plusAssignAllPkgList")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -154,7 +155,7 @@ public object Test_ArgsKt {
      * @param value The pkgList to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setPkgList")
+@kotlin.jvm.JvmName("setPkgList")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
       _builder.setPkgList(index, value)
     }/**
@@ -165,7 +166,7 @@ public object Test_ArgsKt {
      * `repeated string pkg_list = 2;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearPkgList")
+@kotlin.jvm.JvmName("setPkgList")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearPkgList()
     }
@@ -177,10 +178,10 @@ public object Test_ArgsKt {
      * `string run_regexp = 3;`
      */
     public var runRegexp: kotlin.String
-      @JvmName("getRunRegexp")
-      get() = _builder.runRegexp
-      @JvmName("setRunRegexp")
-      set(value) {
+      @kotlin.jvm.JvmName("getRunRegexp")
+        get() = _builder.runRegexp
+      @kotlin.jvm.JvmName("setRunRegexp")
+        set(value) {
         _builder.runRegexp = value
       }
     /**
@@ -202,10 +203,10 @@ public object Test_ArgsKt {
      * `bool fail_fast = 4;`
      */
     public var failFast: kotlin.Boolean
-      @JvmName("getFailFast")
-      get() = _builder.failFast
-      @JvmName("setFailFast")
-      set(value) {
+      @kotlin.jvm.JvmName("getFailFast")
+        get() = _builder.failFast
+      @kotlin.jvm.JvmName("setFailFast")
+        set(value) {
         _builder.failFast = value
       }
     /**
@@ -221,9 +222,9 @@ public object Test_ArgsKt {
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.Test_Args.copy(block: `com.kcl.api`.Test_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.Test_Args =
-  `com.kcl.api`.Test_ArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.TestArgs.copy(block: `com.kcl.api`.TestArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.TestArgs =
+  `com.kcl.api`.TestArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
-public val com.kcl.api.Spec.Test_ArgsOrBuilder.execArgsOrNull: com.kcl.api.Spec.ExecProgram_Args?
+public val com.kcl.api.Spec.TestArgsOrBuilder.execArgsOrNull: com.kcl.api.Spec.ExecProgramArgs?
   get() = if (hasExecArgs()) getExecArgs() else null
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/TestCaseInfoKt.kt b/kotlin/src/main/kotlin/com/kcl/api/TestCaseInfoKt.kt
index d62dfa3b..a1c82cee 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/TestCaseInfoKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/TestCaseInfoKt.kt
@@ -2,6 +2,7 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
@@ -40,10 +41,10 @@ public object TestCaseInfoKt {
      * `string name = 1;`
      */
     public var name: kotlin.String
-      @JvmName("getName")
-      get() = _builder.name
-      @JvmName("setName")
-      set(value) {
+      @kotlin.jvm.JvmName("getName")
+        get() = _builder.name
+      @kotlin.jvm.JvmName("setName")
+        set(value) {
         _builder.name = value
       }
     /**
@@ -65,10 +66,10 @@ public object TestCaseInfoKt {
      * `string error = 2;`
      */
     public var error: kotlin.String
-      @JvmName("getError")
-      get() = _builder.error
-      @JvmName("setError")
-      set(value) {
+      @kotlin.jvm.JvmName("getError")
+        get() = _builder.error
+      @kotlin.jvm.JvmName("setError")
+        set(value) {
         _builder.error = value
       }
     /**
@@ -90,10 +91,10 @@ public object TestCaseInfoKt {
      * `uint64 duration = 3;`
      */
     public var duration: kotlin.Long
-      @JvmName("getDuration")
-      get() = _builder.duration
-      @JvmName("setDuration")
-      set(value) {
+      @kotlin.jvm.JvmName("getDuration")
+        get() = _builder.duration
+      @kotlin.jvm.JvmName("setDuration")
+        set(value) {
         _builder.duration = value
       }
     /**
@@ -115,10 +116,10 @@ public object TestCaseInfoKt {
      * `string log_message = 4;`
      */
     public var logMessage: kotlin.String
-      @JvmName("getLogMessage")
-      get() = _builder.logMessage
-      @JvmName("setLogMessage")
-      set(value) {
+      @kotlin.jvm.JvmName("getLogMessage")
+        get() = _builder.logMessage
+      @kotlin.jvm.JvmName("setLogMessage")
+        set(value) {
         _builder.logMessage = value
       }
     /**
diff --git a/kotlin/src/main/kotlin/com/kcl/api/Test_ResultKt.kt b/kotlin/src/main/kotlin/com/kcl/api/TestResultKt.kt
similarity index 77%
rename from kotlin/src/main/kotlin/com/kcl/api/Test_ResultKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/TestResultKt.kt
index 930bd1ab..faf46b76 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/Test_ResultKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/TestResultKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializetestResult")
-public inline fun testResult(block: com.kcl.api.Test_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.Test_Result =
-  com.kcl.api.Test_ResultKt.Dsl._create(com.kcl.api.Spec.Test_Result.newBuilder()).apply { block() }._build()
+public inline fun testResult(block: com.kcl.api.TestResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.TestResult =
+  com.kcl.api.TestResultKt.Dsl._create(com.kcl.api.Spec.TestResult.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for test response.
  * ```
  *
- * Protobuf type `com.kcl.api.Test_Result`
+ * Protobuf type `com.kcl.api.TestResult`
  */
-public object Test_ResultKt {
+public object TestResultKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.Test_Result.Builder
+    private val _builder: com.kcl.api.Spec.TestResult.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.Test_Result.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.TestResult.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.Test_Result = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.TestResult = _builder.build()
 
     /**
      * An uninstantiable, behaviorless type to represent the field in
@@ -47,7 +48,7 @@ public object Test_ResultKt {
      */
      public val info: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.infoList
       )
     /**
@@ -59,7 +60,7 @@ public object Test_ResultKt {
      * @param value The info to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addInfo")
+@kotlin.jvm.JvmName("addInfo")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.TestCaseInfo) {
       _builder.addInfo(value)
     }
@@ -72,7 +73,7 @@ public object Test_ResultKt {
      * @param value The info to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignInfo")
+@kotlin.jvm.JvmName("plusAssignInfo")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.TestCaseInfo) {
       add(value)
@@ -86,7 +87,7 @@ public object Test_ResultKt {
      * @param values The info to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllInfo")
+@kotlin.jvm.JvmName("addAllInfo")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllInfo(values)
     }
@@ -99,7 +100,7 @@ public object Test_ResultKt {
      * @param values The info to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllInfo")
+@kotlin.jvm.JvmName("plusAssignAllInfo")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -114,7 +115,7 @@ public object Test_ResultKt {
      * @param value The info to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setInfo")
+@kotlin.jvm.JvmName("setInfo")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.TestCaseInfo) {
       _builder.setInfo(index, value)
     }
@@ -126,14 +127,13 @@ public object Test_ResultKt {
      * `repeated .com.kcl.api.TestCaseInfo info = 2;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearInfo")
+@kotlin.jvm.JvmName("clearInfo")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearInfo()
     }
-
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.Test_Result.copy(block: `com.kcl.api`.Test_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.Test_Result =
-  `com.kcl.api`.Test_ResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.TestResult.copy(block: `com.kcl.api`.TestResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.TestResult =
+  `com.kcl.api`.TestResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/UpdateDependencies_ArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/UpdateDependenciesArgsKt.kt
similarity index 59%
rename from kotlin/src/main/kotlin/com/kcl/api/UpdateDependencies_ArgsKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/UpdateDependenciesArgsKt.kt
index ba9ef668..bb28e8a5 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/UpdateDependencies_ArgsKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/UpdateDependenciesArgsKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializeupdateDependenciesArgs")
-public inline fun updateDependenciesArgs(block: com.kcl.api.UpdateDependencies_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.UpdateDependencies_Args =
-  com.kcl.api.UpdateDependencies_ArgsKt.Dsl._create(com.kcl.api.Spec.UpdateDependencies_Args.newBuilder()).apply { block() }._build()
+public inline fun updateDependenciesArgs(block: com.kcl.api.UpdateDependenciesArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.UpdateDependenciesArgs =
+  com.kcl.api.UpdateDependenciesArgsKt.Dsl._create(com.kcl.api.Spec.UpdateDependenciesArgs.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for update dependencies request arguments.
  * ```
  *
- * Protobuf type `com.kcl.api.UpdateDependencies_Args`
+ * Protobuf type `com.kcl.api.UpdateDependenciesArgs`
  */
-public object UpdateDependencies_ArgsKt {
+public object UpdateDependenciesArgsKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.UpdateDependencies_Args.Builder
+    private val _builder: com.kcl.api.Spec.UpdateDependenciesArgs.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.UpdateDependencies_Args.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.UpdateDependenciesArgs.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.UpdateDependencies_Args = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.UpdateDependenciesArgs = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object UpdateDependencies_ArgsKt {
      * `string manifest_path = 1;`
      */
     public var manifestPath: kotlin.String
-      @JvmName("getManifestPath")
-      get() = _builder.manifestPath
-      @JvmName("setManifestPath")
-      set(value) {
+      @kotlin.jvm.JvmName("getManifestPath")
+        get() = _builder.manifestPath
+      @kotlin.jvm.JvmName("setManifestPath")
+        set(value) {
         _builder.manifestPath = value
       }
     /**
@@ -65,10 +66,10 @@ public object UpdateDependencies_ArgsKt {
      * `bool vendor = 2;`
      */
     public var vendor: kotlin.Boolean
-      @JvmName("getVendor")
-      get() = _builder.vendor
-      @JvmName("setVendor")
-      set(value) {
+      @kotlin.jvm.JvmName("getVendor")
+        get() = _builder.vendor
+      @kotlin.jvm.JvmName("setVendor")
+        set(value) {
         _builder.vendor = value
       }
     /**
@@ -84,6 +85,6 @@ public object UpdateDependencies_ArgsKt {
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.UpdateDependencies_Args.copy(block: `com.kcl.api`.UpdateDependencies_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.UpdateDependencies_Args =
-  `com.kcl.api`.UpdateDependencies_ArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.UpdateDependenciesArgs.copy(block: `com.kcl.api`.UpdateDependenciesArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.UpdateDependenciesArgs =
+  `com.kcl.api`.UpdateDependenciesArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/UpdateDependencies_ResultKt.kt b/kotlin/src/main/kotlin/com/kcl/api/UpdateDependenciesResultKt.kt
similarity index 77%
rename from kotlin/src/main/kotlin/com/kcl/api/UpdateDependencies_ResultKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/UpdateDependenciesResultKt.kt
index 022020f9..6f84d5a2 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/UpdateDependencies_ResultKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/UpdateDependenciesResultKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializeupdateDependenciesResult")
-public inline fun updateDependenciesResult(block: com.kcl.api.UpdateDependencies_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.UpdateDependencies_Result =
-  com.kcl.api.UpdateDependencies_ResultKt.Dsl._create(com.kcl.api.Spec.UpdateDependencies_Result.newBuilder()).apply { block() }._build()
+public inline fun updateDependenciesResult(block: com.kcl.api.UpdateDependenciesResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.UpdateDependenciesResult =
+  com.kcl.api.UpdateDependenciesResultKt.Dsl._create(com.kcl.api.Spec.UpdateDependenciesResult.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for update dependencies response.
  * ```
  *
- * Protobuf type `com.kcl.api.UpdateDependencies_Result`
+ * Protobuf type `com.kcl.api.UpdateDependenciesResult`
  */
-public object UpdateDependencies_ResultKt {
+public object UpdateDependenciesResultKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.UpdateDependencies_Result.Builder
+    private val _builder: com.kcl.api.Spec.UpdateDependenciesResult.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.UpdateDependencies_Result.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.UpdateDependenciesResult.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.UpdateDependencies_Result = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.UpdateDependenciesResult = _builder.build()
 
     /**
      * An uninstantiable, behaviorless type to represent the field in
@@ -47,7 +48,7 @@ public object UpdateDependencies_ResultKt {
      */
      public val externalPkgs: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.externalPkgsList
       )
     /**
@@ -59,7 +60,7 @@ public object UpdateDependencies_ResultKt {
      * @param value The externalPkgs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addExternalPkgs")
+@kotlin.jvm.JvmName("addExternalPkgs")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.ExternalPkg) {
       _builder.addExternalPkgs(value)
     }
@@ -72,7 +73,7 @@ public object UpdateDependencies_ResultKt {
      * @param value The externalPkgs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignExternalPkgs")
+@kotlin.jvm.JvmName("plusAssignExternalPkgs")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.ExternalPkg) {
       add(value)
@@ -86,7 +87,7 @@ public object UpdateDependencies_ResultKt {
      * @param values The externalPkgs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllExternalPkgs")
+@kotlin.jvm.JvmName("addAllExternalPkgs")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllExternalPkgs(values)
     }
@@ -99,7 +100,7 @@ public object UpdateDependencies_ResultKt {
      * @param values The externalPkgs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllExternalPkgs")
+@kotlin.jvm.JvmName("plusAssignAllExternalPkgs")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -114,7 +115,7 @@ public object UpdateDependencies_ResultKt {
      * @param value The externalPkgs to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setExternalPkgs")
+@kotlin.jvm.JvmName("setExternalPkgs")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.ExternalPkg) {
       _builder.setExternalPkgs(index, value)
     }
@@ -126,14 +127,13 @@ public object UpdateDependencies_ResultKt {
      * `repeated .com.kcl.api.ExternalPkg external_pkgs = 3;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearExternalPkgs")
+@kotlin.jvm.JvmName("clearExternalPkgs")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearExternalPkgs()
     }
-
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.UpdateDependencies_Result.copy(block: `com.kcl.api`.UpdateDependencies_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.UpdateDependencies_Result =
-  `com.kcl.api`.UpdateDependencies_ResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.UpdateDependenciesResult.copy(block: `com.kcl.api`.UpdateDependenciesResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.UpdateDependenciesResult =
+  `com.kcl.api`.UpdateDependenciesResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ValidateCode_ArgsKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ValidateCodeArgsKt.kt
similarity index 76%
rename from kotlin/src/main/kotlin/com/kcl/api/ValidateCode_ArgsKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/ValidateCodeArgsKt.kt
index 162e0f6d..7a67ad61 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/ValidateCode_ArgsKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/ValidateCodeArgsKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializevalidateCodeArgs")
-public inline fun validateCodeArgs(block: com.kcl.api.ValidateCode_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ValidateCode_Args =
-  com.kcl.api.ValidateCode_ArgsKt.Dsl._create(com.kcl.api.Spec.ValidateCode_Args.newBuilder()).apply { block() }._build()
+public inline fun validateCodeArgs(block: com.kcl.api.ValidateCodeArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ValidateCodeArgs =
+  com.kcl.api.ValidateCodeArgsKt.Dsl._create(com.kcl.api.Spec.ValidateCodeArgs.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for validate code request arguments.
  * ```
  *
- * Protobuf type `com.kcl.api.ValidateCode_Args`
+ * Protobuf type `com.kcl.api.ValidateCodeArgs`
  */
-public object ValidateCode_ArgsKt {
+public object ValidateCodeArgsKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.ValidateCode_Args.Builder
+    private val _builder: com.kcl.api.Spec.ValidateCodeArgs.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.ValidateCode_Args.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.ValidateCodeArgs.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.ValidateCode_Args = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.ValidateCodeArgs = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object ValidateCode_ArgsKt {
      * `string datafile = 1;`
      */
     public var datafile: kotlin.String
-      @JvmName("getDatafile")
-      get() = _builder.datafile
-      @JvmName("setDatafile")
-      set(value) {
+      @kotlin.jvm.JvmName("getDatafile")
+        get() = _builder.datafile
+      @kotlin.jvm.JvmName("setDatafile")
+        set(value) {
         _builder.datafile = value
       }
     /**
@@ -65,10 +66,10 @@ public object ValidateCode_ArgsKt {
      * `string data = 2;`
      */
     public var data: kotlin.String
-      @JvmName("getData")
-      get() = _builder.data
-      @JvmName("setData")
-      set(value) {
+      @kotlin.jvm.JvmName("getData")
+        get() = _builder.data
+      @kotlin.jvm.JvmName("setData")
+        set(value) {
         _builder.data = value
       }
     /**
@@ -90,10 +91,10 @@ public object ValidateCode_ArgsKt {
      * `string file = 3;`
      */
     public var file: kotlin.String
-      @JvmName("getFile")
-      get() = _builder.file
-      @JvmName("setFile")
-      set(value) {
+      @kotlin.jvm.JvmName("getFile")
+        get() = _builder.file
+      @kotlin.jvm.JvmName("setFile")
+        set(value) {
         _builder.file = value
       }
     /**
@@ -115,10 +116,10 @@ public object ValidateCode_ArgsKt {
      * `string code = 4;`
      */
     public var code: kotlin.String
-      @JvmName("getCode")
-      get() = _builder.code
-      @JvmName("setCode")
-      set(value) {
+      @kotlin.jvm.JvmName("getCode")
+        get() = _builder.code
+      @kotlin.jvm.JvmName("setCode")
+        set(value) {
         _builder.code = value
       }
     /**
@@ -140,10 +141,10 @@ public object ValidateCode_ArgsKt {
      * `string schema = 5;`
      */
     public var schema: kotlin.String
-      @JvmName("getSchema")
-      get() = _builder.schema
-      @JvmName("setSchema")
-      set(value) {
+      @kotlin.jvm.JvmName("getSchema")
+        get() = _builder.schema
+      @kotlin.jvm.JvmName("setSchema")
+        set(value) {
         _builder.schema = value
       }
     /**
@@ -165,10 +166,10 @@ public object ValidateCode_ArgsKt {
      * `string attribute_name = 6;`
      */
     public var attributeName: kotlin.String
-      @JvmName("getAttributeName")
-      get() = _builder.attributeName
-      @JvmName("setAttributeName")
-      set(value) {
+      @kotlin.jvm.JvmName("getAttributeName")
+        get() = _builder.attributeName
+      @kotlin.jvm.JvmName("setAttributeName")
+        set(value) {
         _builder.attributeName = value
       }
     /**
@@ -190,10 +191,10 @@ public object ValidateCode_ArgsKt {
      * `string format = 7;`
      */
     public var format: kotlin.String
-      @JvmName("getFormat")
-      get() = _builder.format
-      @JvmName("setFormat")
-      set(value) {
+      @kotlin.jvm.JvmName("getFormat")
+        get() = _builder.format
+      @kotlin.jvm.JvmName("setFormat")
+        set(value) {
         _builder.format = value
       }
     /**
@@ -222,7 +223,7 @@ public object ValidateCode_ArgsKt {
      */
      public val externalPkgs: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.externalPkgsList
       )
     /**
@@ -234,7 +235,7 @@ public object ValidateCode_ArgsKt {
      * @param value The externalPkgs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addExternalPkgs")
+@kotlin.jvm.JvmName("addExternalPkgs")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.ExternalPkg) {
       _builder.addExternalPkgs(value)
     }
@@ -247,7 +248,7 @@ public object ValidateCode_ArgsKt {
      * @param value The externalPkgs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignExternalPkgs")
+@kotlin.jvm.JvmName("plusAssignExternalPkgs")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.ExternalPkg) {
       add(value)
@@ -261,7 +262,7 @@ public object ValidateCode_ArgsKt {
      * @param values The externalPkgs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllExternalPkgs")
+@kotlin.jvm.JvmName("addAllExternalPkgs")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllExternalPkgs(values)
     }
@@ -274,7 +275,7 @@ public object ValidateCode_ArgsKt {
      * @param values The externalPkgs to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllExternalPkgs")
+@kotlin.jvm.JvmName("plusAssignAllExternalPkgs")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -289,7 +290,7 @@ public object ValidateCode_ArgsKt {
      * @param value The externalPkgs to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setExternalPkgs")
+@kotlin.jvm.JvmName("setExternalPkgs")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.ExternalPkg) {
       _builder.setExternalPkgs(index, value)
     }
@@ -301,14 +302,13 @@ public object ValidateCode_ArgsKt {
      * `repeated .com.kcl.api.ExternalPkg external_pkgs = 8;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearExternalPkgs")
+@kotlin.jvm.JvmName("clearExternalPkgs")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearExternalPkgs()
     }
-
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.ValidateCode_Args.copy(block: `com.kcl.api`.ValidateCode_ArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ValidateCode_Args =
-  `com.kcl.api`.ValidateCode_ArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.ValidateCodeArgs.copy(block: `com.kcl.api`.ValidateCodeArgsKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ValidateCodeArgs =
+  `com.kcl.api`.ValidateCodeArgsKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/ValidateCode_ResultKt.kt b/kotlin/src/main/kotlin/com/kcl/api/ValidateCodeResultKt.kt
similarity index 60%
rename from kotlin/src/main/kotlin/com/kcl/api/ValidateCode_ResultKt.kt
rename to kotlin/src/main/kotlin/com/kcl/api/ValidateCodeResultKt.kt
index 209593b2..d38edbf4 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/ValidateCode_ResultKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/ValidateCodeResultKt.kt
@@ -2,35 +2,36 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
 
 @kotlin.jvm.JvmName("-initializevalidateCodeResult")
-public inline fun validateCodeResult(block: com.kcl.api.ValidateCode_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ValidateCode_Result =
-  com.kcl.api.ValidateCode_ResultKt.Dsl._create(com.kcl.api.Spec.ValidateCode_Result.newBuilder()).apply { block() }._build()
+public inline fun validateCodeResult(block: com.kcl.api.ValidateCodeResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ValidateCodeResult =
+  com.kcl.api.ValidateCodeResultKt.Dsl._create(com.kcl.api.Spec.ValidateCodeResult.newBuilder()).apply { block() }._build()
 /**
  * ```
  * Message for validate code response.
  * ```
  *
- * Protobuf type `com.kcl.api.ValidateCode_Result`
+ * Protobuf type `com.kcl.api.ValidateCodeResult`
  */
-public object ValidateCode_ResultKt {
+public object ValidateCodeResultKt {
   @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
   @com.google.protobuf.kotlin.ProtoDslMarker
   public class Dsl private constructor(
-    private val _builder: com.kcl.api.Spec.ValidateCode_Result.Builder
+    private val _builder: com.kcl.api.Spec.ValidateCodeResult.Builder
   ) {
     public companion object {
       @kotlin.jvm.JvmSynthetic
     @kotlin.PublishedApi
-      internal fun _create(builder: com.kcl.api.Spec.ValidateCode_Result.Builder): Dsl = Dsl(builder)
+      internal fun _create(builder: com.kcl.api.Spec.ValidateCodeResult.Builder): Dsl = Dsl(builder)
     }
 
     @kotlin.jvm.JvmSynthetic
   @kotlin.PublishedApi
-    internal fun _build(): com.kcl.api.Spec.ValidateCode_Result = _builder.build()
+    internal fun _build(): com.kcl.api.Spec.ValidateCodeResult = _builder.build()
 
     /**
      * ```
@@ -40,10 +41,10 @@ public object ValidateCode_ResultKt {
      * `bool success = 1;`
      */
     public var success: kotlin.Boolean
-      @JvmName("getSuccess")
-      get() = _builder.success
-      @JvmName("setSuccess")
-      set(value) {
+      @kotlin.jvm.JvmName("getSuccess")
+        get() = _builder.success
+      @kotlin.jvm.JvmName("setSuccess")
+        set(value) {
         _builder.success = value
       }
     /**
@@ -65,10 +66,10 @@ public object ValidateCode_ResultKt {
      * `string err_message = 2;`
      */
     public var errMessage: kotlin.String
-      @JvmName("getErrMessage")
-      get() = _builder.errMessage
-      @JvmName("setErrMessage")
-      set(value) {
+      @kotlin.jvm.JvmName("getErrMessage")
+        get() = _builder.errMessage
+      @kotlin.jvm.JvmName("setErrMessage")
+        set(value) {
         _builder.errMessage = value
       }
     /**
@@ -84,6 +85,6 @@ public object ValidateCode_ResultKt {
   }
 }
 @kotlin.jvm.JvmSynthetic
-public inline fun com.kcl.api.Spec.ValidateCode_Result.copy(block: `com.kcl.api`.ValidateCode_ResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ValidateCode_Result =
-  `com.kcl.api`.ValidateCode_ResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+public inline fun com.kcl.api.Spec.ValidateCodeResult.copy(block: `com.kcl.api`.ValidateCodeResultKt.Dsl.() -> kotlin.Unit): com.kcl.api.Spec.ValidateCodeResult =
+  `com.kcl.api`.ValidateCodeResultKt.Dsl._create(this.toBuilder()).apply { block() }._build()
 
diff --git a/kotlin/src/main/kotlin/com/kcl/api/VariableKt.kt b/kotlin/src/main/kotlin/com/kcl/api/VariableKt.kt
index d4afa45e..b205c6eb 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/VariableKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/VariableKt.kt
@@ -2,6 +2,7 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
@@ -40,10 +41,10 @@ public object VariableKt {
      * `string value = 1;`
      */
     public var value: kotlin.String
-      @JvmName("getValue")
-      get() = _builder.value
-      @JvmName("setValue")
-      set(value) {
+      @kotlin.jvm.JvmName("getValue")
+        get() = _builder.value
+      @kotlin.jvm.JvmName("setValue")
+        set(value) {
         _builder.value = value
       }
     /**
@@ -65,10 +66,10 @@ public object VariableKt {
      * `string type_name = 2;`
      */
     public var typeName: kotlin.String
-      @JvmName("getTypeName")
-      get() = _builder.typeName
-      @JvmName("setTypeName")
-      set(value) {
+      @kotlin.jvm.JvmName("getTypeName")
+        get() = _builder.typeName
+      @kotlin.jvm.JvmName("setTypeName")
+        set(value) {
         _builder.typeName = value
       }
     /**
@@ -90,10 +91,10 @@ public object VariableKt {
      * `string op_sym = 3;`
      */
     public var opSym: kotlin.String
-      @JvmName("getOpSym")
-      get() = _builder.opSym
-      @JvmName("setOpSym")
-      set(value) {
+      @kotlin.jvm.JvmName("getOpSym")
+        get() = _builder.opSym
+      @kotlin.jvm.JvmName("setOpSym")
+        set(value) {
         _builder.opSym = value
       }
     /**
@@ -122,7 +123,7 @@ public object VariableKt {
      */
      public val listItems: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.listItemsList
       )
     /**
@@ -134,7 +135,7 @@ public object VariableKt {
      * @param value The listItems to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addListItems")
+@kotlin.jvm.JvmName("addListItems")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.Variable) {
       _builder.addListItems(value)
     }
@@ -147,7 +148,7 @@ public object VariableKt {
      * @param value The listItems to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignListItems")
+@kotlin.jvm.JvmName("plusAssignListItems")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.Variable) {
       add(value)
@@ -161,7 +162,7 @@ public object VariableKt {
      * @param values The listItems to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllListItems")
+@kotlin.jvm.JvmName("addAllListItems")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllListItems(values)
     }
@@ -174,7 +175,7 @@ public object VariableKt {
      * @param values The listItems to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllListItems")
+@kotlin.jvm.JvmName("plusAssignAllListItems")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -189,7 +190,7 @@ public object VariableKt {
      * @param value The listItems to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setListItems")
+@kotlin.jvm.JvmName("setListItems")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.Variable) {
       _builder.setListItems(index, value)
     }
@@ -201,12 +202,11 @@ public object VariableKt {
      * `repeated .com.kcl.api.Variable list_items = 4;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearListItems")
+@kotlin.jvm.JvmName("clearListItems")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearListItems()
     }
 
-
     /**
      * An uninstantiable, behaviorless type to represent the field in
      * generics.
@@ -222,7 +222,7 @@ public object VariableKt {
      */
      public val dictEntries: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.dictEntriesList
       )
     /**
@@ -234,7 +234,7 @@ public object VariableKt {
      * @param value The dictEntries to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addDictEntries")
+@kotlin.jvm.JvmName("addDictEntries")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.MapEntry) {
       _builder.addDictEntries(value)
     }
@@ -247,7 +247,7 @@ public object VariableKt {
      * @param value The dictEntries to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignDictEntries")
+@kotlin.jvm.JvmName("plusAssignDictEntries")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.MapEntry) {
       add(value)
@@ -261,7 +261,7 @@ public object VariableKt {
      * @param values The dictEntries to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllDictEntries")
+@kotlin.jvm.JvmName("addAllDictEntries")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllDictEntries(values)
     }
@@ -274,7 +274,7 @@ public object VariableKt {
      * @param values The dictEntries to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllDictEntries")
+@kotlin.jvm.JvmName("plusAssignAllDictEntries")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -289,7 +289,7 @@ public object VariableKt {
      * @param value The dictEntries to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setDictEntries")
+@kotlin.jvm.JvmName("setDictEntries")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.MapEntry) {
       _builder.setDictEntries(index, value)
     }
@@ -301,11 +301,10 @@ public object VariableKt {
      * `repeated .com.kcl.api.MapEntry dict_entries = 5;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearDictEntries")
+@kotlin.jvm.JvmName("clearDictEntries")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearDictEntries()
     }
-
   }
 }
 @kotlin.jvm.JvmSynthetic
diff --git a/kotlin/src/main/kotlin/com/kcl/api/VariableListKt.kt b/kotlin/src/main/kotlin/com/kcl/api/VariableListKt.kt
index bb1a499a..feefa641 100644
--- a/kotlin/src/main/kotlin/com/kcl/api/VariableListKt.kt
+++ b/kotlin/src/main/kotlin/com/kcl/api/VariableListKt.kt
@@ -2,6 +2,7 @@
 // NO CHECKED-IN PROTOBUF GENCODE
 // source: spec.proto
 
+@file:com.google.protobuf.Generated
 // Generated files should ignore deprecation warnings
 @file:Suppress("DEPRECATION")
 package com.kcl.api;
@@ -47,7 +48,7 @@ public object VariableListKt {
      */
      public val variables: com.google.protobuf.kotlin.DslList
       @kotlin.jvm.JvmSynthetic
-      get() = com.google.protobuf.kotlin.DslList(
+  get() = com.google.protobuf.kotlin.DslList(
         _builder.variablesList
       )
     /**
@@ -59,7 +60,7 @@ public object VariableListKt {
      * @param value The variables to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addVariables")
+@kotlin.jvm.JvmName("addVariables")
     public fun com.google.protobuf.kotlin.DslList.add(value: com.kcl.api.Spec.Variable) {
       _builder.addVariables(value)
     }
@@ -72,7 +73,7 @@ public object VariableListKt {
      * @param value The variables to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignVariables")
+@kotlin.jvm.JvmName("plusAssignVariables")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.kcl.api.Spec.Variable) {
       add(value)
@@ -86,7 +87,7 @@ public object VariableListKt {
      * @param values The variables to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("addAllVariables")
+@kotlin.jvm.JvmName("addAllVariables")
     public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
       _builder.addAllVariables(values)
     }
@@ -99,7 +100,7 @@ public object VariableListKt {
      * @param values The variables to add.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("plusAssignAllVariables")
+@kotlin.jvm.JvmName("plusAssignAllVariables")
     @Suppress("NOTHING_TO_INLINE")
     public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
       addAll(values)
@@ -114,7 +115,7 @@ public object VariableListKt {
      * @param value The variables to set.
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("setVariables")
+@kotlin.jvm.JvmName("setVariables")
     public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.kcl.api.Spec.Variable) {
       _builder.setVariables(index, value)
     }
@@ -126,11 +127,10 @@ public object VariableListKt {
      * `repeated .com.kcl.api.Variable variables = 1;`
      */
     @kotlin.jvm.JvmSynthetic
-    @kotlin.jvm.JvmName("clearVariables")
+@kotlin.jvm.JvmName("clearVariables")
     public fun com.google.protobuf.kotlin.DslList.clear() {
       _builder.clearVariables()
     }
-
   }
 }
 @kotlin.jvm.JvmSynthetic
diff --git a/lua/Cargo.lock b/lua/Cargo.lock
index 917335fd..8219e1f1 100644
--- a/lua/Cargo.lock
+++ b/lua/Cargo.lock
@@ -4,35 +4,24 @@ version = 4
 
 [[package]]
 name = "addr2line"
-version = "0.24.2"
+version = "0.25.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1"
+checksum = "1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b"
 dependencies = [
  "gimli",
 ]
 
 [[package]]
 name = "adler2"
-version = "2.0.0"
+version = "2.0.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
-
-[[package]]
-name = "ahash"
-version = "0.7.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9"
-dependencies = [
- "getrandom",
- "once_cell",
- "version_check",
-]
+checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
 
 [[package]]
 name = "aho-corasick"
-version = "1.1.3"
+version = "1.1.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
+checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
 dependencies = [
  "memchr",
 ]
@@ -46,12 +35,6 @@ dependencies = [
  "log",
 ]
 
-[[package]]
-name = "android-tzdata"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"
-
 [[package]]
 name = "android_system_properties"
 version = "0.1.5"
@@ -73,9 +56,9 @@ dependencies = [
 
 [[package]]
 name = "anstream"
-version = "0.6.18"
+version = "0.6.21"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b"
+checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a"
 dependencies = [
  "anstyle",
  "anstyle-parse",
@@ -88,43 +71,44 @@ dependencies = [
 
 [[package]]
 name = "anstyle"
-version = "1.0.10"
+version = "1.0.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9"
+checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78"
 
 [[package]]
 name = "anstyle-parse"
-version = "0.2.6"
+version = "0.2.7"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9"
+checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2"
 dependencies = [
  "utf8parse",
 ]
 
 [[package]]
 name = "anstyle-query"
-version = "1.1.2"
+version = "1.1.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c"
+checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
 dependencies = [
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
 name = "anstyle-wincon"
-version = "3.0.6"
+version = "3.0.11"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2109dbce0e72be3ec00bed26e6a7479ca384ad226efdd66db8fa2e3a38c83125"
+checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
 dependencies = [
  "anstyle",
- "windows-sys 0.59.0",
+ "once_cell_polyfill",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
 name = "anyhow"
-version = "1.0.94"
+version = "1.0.100"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c1fd03a028ef38ba2276dce7e33fcd6369c158a1bca17946c4b1b701891c1ff7"
+checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61"
 dependencies = [
  "backtrace",
 ]
@@ -160,36 +144,36 @@ checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
+[[package]]
+name = "atomic-waker"
+version = "1.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
+
 [[package]]
 name = "autocfg"
-version = "1.4.0"
+version = "1.5.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
+checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
 
 [[package]]
 name = "backtrace"
-version = "0.3.74"
+version = "0.3.76"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a"
+checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6"
 dependencies = [
  "addr2line",
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "libc",
  "miniz_oxide",
  "object",
  "rustc-demangle",
- "windows-targets 0.52.6",
+ "windows-link 0.2.1",
 ]
 
-[[package]]
-name = "base-x"
-version = "0.2.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4cbbc9d0964165b47557570cce6c952866c2678457aca742aafc9fb771d30270"
-
 [[package]]
 name = "base32"
 version = "0.4.0"
@@ -231,9 +215,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
 
 [[package]]
 name = "bitflags"
-version = "2.6.0"
+version = "2.10.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
+checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3"
 
 [[package]]
 name = "bitmaps"
@@ -246,14 +230,14 @@ dependencies = [
 
 [[package]]
 name = "blake3"
-version = "1.5.5"
+version = "1.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8ee0c1824c4dea5b5f81736aff91bae041d2c07ee1192bec91054e10e3e601e"
+checksum = "3888aaa89e4b2a40fca9848e400f6a658a5a3978de7be858e209cafa8be9a4a0"
 dependencies = [
  "arrayref",
  "arrayvec",
  "cc",
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "constant_time_eq",
 ]
 
@@ -309,9 +293,9 @@ dependencies = [
 
 [[package]]
 name = "bstr"
-version = "1.11.1"
+version = "1.12.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "786a307d683a5bf92e6fd5fd69a7eb613751668d1d8d67d802846dfe367c62c8"
+checksum = "63044e1ae8e69f3b5a92c736ca6269b8d12fa7efe39bf34ddb06d102cf0e2cab"
 dependencies = [
  "memchr",
  "serde",
@@ -319,9 +303,9 @@ dependencies = [
 
 [[package]]
 name = "bumpalo"
-version = "3.16.0"
+version = "3.19.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
+checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43"
 
 [[package]]
 name = "byte-tools"
@@ -337,16 +321,17 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
 
 [[package]]
 name = "bytes"
-version = "1.9.0"
+version = "1.11.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b"
+checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3"
 
 [[package]]
 name = "cc"
-version = "1.2.4"
+version = "1.2.47"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9157bbaa6b165880c27a4293a474c91cdcf265cc68cc829bf10be0964a391caf"
+checksum = "cd405d82c84ff7f35739f175f67d8b9fb7687a0e84ccdc78bd3568839827cf07"
 dependencies = [
+ "find-msvc-tools",
  "shlex",
 ]
 
@@ -358,9 +343,9 @@ checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
 
 [[package]]
 name = "cfg-if"
-version = "1.0.0"
+version = "1.0.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
 
 [[package]]
 name = "cfg_aliases"
@@ -370,17 +355,16 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
 
 [[package]]
 name = "chrono"
-version = "0.4.39"
+version = "0.4.42"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e36cc9d416881d2e24f9a963be5fb1cd90966419ac844274161d10488b3e825"
+checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2"
 dependencies = [
- "android-tzdata",
  "iana-time-zone",
  "js-sys",
  "num-traits",
  "serde",
  "wasm-bindgen",
- "windows-targets 0.52.6",
+ "windows-link 0.2.1",
 ]
 
 [[package]]
@@ -391,18 +375,18 @@ checksum = "bd1b64030216239a2e7c364b13cd96a2097ebf0dfe5025f2dedee14a23f2ab60"
 
 [[package]]
 name = "clap"
-version = "4.5.23"
+version = "4.5.53"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3135e7ec2ef7b10c6ed8950f0f792ed96ee093fa088608f1c76e569722700c84"
+checksum = "c9e340e012a1bf4935f5282ed1436d1489548e8f72308207ea5df0e23d2d03f8"
 dependencies = [
  "clap_builder",
 ]
 
 [[package]]
 name = "clap_builder"
-version = "4.5.23"
+version = "4.5.53"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30582fc632330df2bd26877bde0c1f4470d57c582bbc070376afcd04d8cb4838"
+checksum = "d76b5d13eaa18c901fd2f7fca939fefe3a0727a953561fefdf3b2922b8569d00"
 dependencies = [
  "anstream",
  "anstyle",
@@ -412,15 +396,15 @@ dependencies = [
 
 [[package]]
 name = "clap_lex"
-version = "0.7.4"
+version = "0.7.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6"
+checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d"
 
 [[package]]
 name = "colorchoice"
-version = "1.0.3"
+version = "1.0.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990"
+checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75"
 
 [[package]]
 name = "compiler_base_error"
@@ -466,12 +450,6 @@ dependencies = [
  "rustc_span",
 ]
 
-[[package]]
-name = "const_fn"
-version = "0.4.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "373e9fafaa20882876db20562275ff58d50e0caa2590077fe7ce7bef90211d0d"
-
 [[package]]
 name = "constant_time_eq"
 version = "0.3.1"
@@ -486,27 +464,27 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
 
 [[package]]
 name = "cpufeatures"
-version = "0.2.16"
+version = "0.2.17"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16b80225097f2e5ae4e7179dd2266824648f3e2f49d9134d584b76389d31c4c3"
+checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
 dependencies = [
  "libc",
 ]
 
 [[package]]
 name = "crc32fast"
-version = "1.4.2"
+version = "1.5.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
+checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
 ]
 
 [[package]]
 name = "crossbeam-channel"
-version = "0.5.14"
+version = "0.5.15"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "06ba6d68e24814cb8de6bb986db8222d3a027d15872cabc0d18817bc3c0e4471"
+checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2"
 dependencies = [
  "crossbeam-utils",
 ]
@@ -538,9 +516,9 @@ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
 
 [[package]]
 name = "crypto-common"
-version = "0.1.6"
+version = "0.1.7"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
+checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
 dependencies = [
  "generic-array 0.14.7",
  "typenum",
@@ -548,9 +526,9 @@ dependencies = [
 
 [[package]]
 name = "darling"
-version = "0.20.10"
+version = "0.20.11"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989"
+checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee"
 dependencies = [
  "darling_core",
  "darling_macro",
@@ -558,27 +536,27 @@ dependencies = [
 
 [[package]]
 name = "darling_core"
-version = "0.20.10"
+version = "0.20.11"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95133861a8032aaea082871032f5815eb9e98cef03fa916ab4500513994df9e5"
+checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e"
 dependencies = [
  "fnv",
  "ident_case",
  "proc-macro2",
  "quote",
  "strsim 0.11.1",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "darling_macro"
-version = "0.20.10"
+version = "0.20.11"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806"
+checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead"
 dependencies = [
  "darling_core",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
@@ -587,18 +565,18 @@ version = "5.5.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "hashbrown 0.14.5",
  "lock_api",
  "once_cell",
- "parking_lot_core 0.9.10",
+ "parking_lot_core 0.9.12",
 ]
 
 [[package]]
 name = "deranged"
-version = "0.3.11"
+version = "0.5.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4"
+checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587"
 dependencies = [
  "powerfmt",
 ]
@@ -621,7 +599,7 @@ dependencies = [
  "darling",
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
@@ -631,7 +609,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "ab63b0e2bf4d5928aff72e83a7dace85d7bba5fe12dcc3c5a572d78caffd3f3c"
 dependencies = [
  "derive_builder_core",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
@@ -690,12 +668,6 @@ dependencies = [
  "windows-sys 0.48.0",
 ]
 
-[[package]]
-name = "discard"
-version = "1.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0"
-
 [[package]]
 name = "displaydoc"
 version = "0.2.5"
@@ -704,26 +676,26 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "dns-lookup"
-version = "2.0.4"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5766087c2235fec47fafa4cfecc81e494ee679d0fd4a59887ea0919bfb0e4fc"
+checksum = "cf5597a4b7fe5275fc9dcf88ce26326bc8e4cb87d0130f33752d4c5f717793cf"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "libc",
  "socket2",
- "windows-sys 0.48.0",
+ "windows-sys 0.60.2",
 ]
 
 [[package]]
 name = "either"
-version = "1.13.0"
+version = "1.15.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
+checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
 
 [[package]]
 name = "ena"
@@ -735,69 +707,14 @@ dependencies = [
 ]
 
 [[package]]
-name = "encoding"
-version = "0.2.33"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6b0d943856b990d12d3b55b359144ff341533e516d94098b1d3fc1ac666d36ec"
-dependencies = [
- "encoding-index-japanese",
- "encoding-index-korean",
- "encoding-index-simpchinese",
- "encoding-index-singlebyte",
- "encoding-index-tradchinese",
-]
-
-[[package]]
-name = "encoding-index-japanese"
-version = "1.20141219.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "04e8b2ff42e9a05335dbf8b5c6f7567e5591d0d916ccef4e0b1710d32a0d0c91"
-dependencies = [
- "encoding_index_tests",
-]
-
-[[package]]
-name = "encoding-index-korean"
-version = "1.20141219.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4dc33fb8e6bcba213fe2f14275f0963fd16f0a02c878e3095ecfdf5bee529d81"
-dependencies = [
- "encoding_index_tests",
-]
-
-[[package]]
-name = "encoding-index-simpchinese"
-version = "1.20141219.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d87a7194909b9118fc707194baa434a4e3b0fb6a5a757c73c3adb07aa25031f7"
-dependencies = [
- "encoding_index_tests",
-]
-
-[[package]]
-name = "encoding-index-singlebyte"
-version = "1.20141219.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3351d5acffb224af9ca265f435b859c7c01537c0849754d3db3fdf2bfe2ae84a"
-dependencies = [
- "encoding_index_tests",
-]
-
-[[package]]
-name = "encoding-index-tradchinese"
-version = "1.20141219.5"
+name = "encoding_rs"
+version = "0.8.35"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fd0e20d5688ce3cab59eb3ef3a2083a5c77bf496cb798dc6fcdb75f323890c18"
+checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3"
 dependencies = [
- "encoding_index_tests",
+ "cfg-if 1.0.4",
 ]
 
-[[package]]
-name = "encoding_index_tests"
-version = "0.1.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a246d82be1c9d791c5dfde9a2bd045fc3cbba3fa2b11ad558f27d01712f00569"
-
 [[package]]
 name = "enquote"
 version = "1.1.0"
@@ -809,9 +726,9 @@ dependencies = [
 
 [[package]]
 name = "env_filter"
-version = "0.1.2"
+version = "0.1.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4f2c92ceda6ceec50f43169f9ee8424fe2db276791afde7b2cd8bc084cb376ab"
+checksum = "1bf3c259d255ca70051b30e2e95b5446cdb8949ac4cd22c0d7fd634d89f568e2"
 dependencies = [
  "log",
  "regex",
@@ -819,41 +736,42 @@ dependencies = [
 
 [[package]]
 name = "env_logger"
-version = "0.11.5"
+version = "0.11.8"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e13fa619b91fb2381732789fc5de83b45675e882f66623b7d8cb4f643017018d"
+checksum = "13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f"
 dependencies = [
  "anstream",
  "anstyle",
  "env_filter",
- "humantime",
+ "jiff",
  "log",
 ]
 
 [[package]]
 name = "equivalent"
-version = "1.0.1"
+version = "1.0.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
+checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
 
 [[package]]
 name = "erased-serde"
-version = "0.4.5"
+version = "0.4.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "24e2389d65ab4fab27dc2a5de7b191e1f6617d1f1c8855c0dc569c94a4cbb18d"
+checksum = "89e8918065695684b2b0702da20382d5ae6065cf3327bc2d6436bd49a71ce9f3"
 dependencies = [
  "serde",
+ "serde_core",
  "typeid",
 ]
 
 [[package]]
 name = "errno"
-version = "0.3.10"
+version = "0.3.14"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d"
+checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
 dependencies = [
  "libc",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
@@ -874,27 +792,39 @@ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
 
 [[package]]
 name = "filetime"
-version = "0.2.25"
+version = "0.2.26"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586"
+checksum = "bc0505cd1b6fa6580283f6bdf70a73fcf4aba1184038c90902b92b3dd0df63ed"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "libc",
  "libredox",
- "windows-sys 0.59.0",
+ "windows-sys 0.60.2",
 ]
 
+[[package]]
+name = "find-msvc-tools"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844"
+
 [[package]]
 name = "fixedbitset"
 version = "0.4.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
 
+[[package]]
+name = "fixedbitset"
+version = "0.5.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99"
+
 [[package]]
 name = "flate2"
-version = "1.0.35"
+version = "1.1.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c"
+checksum = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb"
 dependencies = [
  "crc32fast",
  "miniz_oxide",
@@ -928,9 +858,9 @@ dependencies = [
 
 [[package]]
 name = "fluent-langneg"
-version = "0.13.0"
+version = "0.13.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2c4ad0989667548f06ccd0e306ed56b61bd4d35458d54df5ec7587c0e8ed5e94"
+checksum = "7eebbe59450baee8282d71676f3bfed5689aeab00b27545e83e5f14b1195e8b0"
 dependencies = [
  "unic-langid",
 ]
@@ -952,9 +882,9 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
 
 [[package]]
 name = "form_urlencoded"
-version = "1.2.1"
+version = "1.2.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
+checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf"
 dependencies = [
  "percent-encoding",
 ]
@@ -1040,7 +970,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
@@ -1079,7 +1009,7 @@ version = "0.2.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "877e94aff08e743b651baaea359664321055749b398adff8740a7399af7796e7"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
 ]
 
 [[package]]
@@ -1103,28 +1033,42 @@ dependencies = [
 
 [[package]]
 name = "getrandom"
-version = "0.2.15"
+version = "0.2.16"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
+checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "js-sys",
  "libc",
  "wasi",
  "wasm-bindgen",
 ]
 
+[[package]]
+name = "getrandom"
+version = "0.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
+dependencies = [
+ "cfg-if 1.0.4",
+ "js-sys",
+ "libc",
+ "r-efi",
+ "wasip2",
+ "wasm-bindgen",
+]
+
 [[package]]
 name = "gimli"
-version = "0.31.1"
+version = "0.32.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f"
+checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7"
 
 [[package]]
 name = "glob"
-version = "0.3.1"
+version = "0.3.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
+checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
 
 [[package]]
 name = "handlebars"
@@ -1154,9 +1098,9 @@ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
 
 [[package]]
 name = "hashbrown"
-version = "0.15.2"
+version = "0.16.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
+checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
 
 [[package]]
 name = "heck"
@@ -1169,15 +1113,15 @@ dependencies = [
 
 [[package]]
 name = "heck"
-version = "0.4.1"
+version = "0.5.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
+checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
 
 [[package]]
 name = "hermit-abi"
-version = "0.3.9"
+version = "0.5.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
+checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c"
 
 [[package]]
 name = "hmac"
@@ -1188,31 +1132,22 @@ dependencies = [
  "digest 0.10.7",
 ]
 
-[[package]]
-name = "home"
-version = "0.5.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5"
-dependencies = [
- "windows-sys 0.52.0",
-]
-
 [[package]]
 name = "hostname"
-version = "0.4.0"
+version = "0.4.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f9c7c7c8ac16c798734b8a24560c1362120597c40d5e1459f09498f8f6c8f2ba"
+checksum = "a56f203cd1c76362b69e3863fd987520ac36cf70a8c92627449b2f64a8cf7d65"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "libc",
- "windows",
+ "windows-link 0.1.3",
 ]
 
 [[package]]
 name = "http"
-version = "1.2.0"
+version = "1.3.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea"
+checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565"
 dependencies = [
  "bytes",
  "fnv",
@@ -1240,12 +1175,12 @@ dependencies = [
 
 [[package]]
 name = "http-body-util"
-version = "0.1.2"
+version = "0.1.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f"
+checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a"
 dependencies = [
  "bytes",
- "futures-util",
+ "futures-core",
  "http",
  "http-body",
  "pin-project-lite",
@@ -1253,30 +1188,26 @@ dependencies = [
 
 [[package]]
 name = "httparse"
-version = "1.9.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946"
-
-[[package]]
-name = "humantime"
-version = "2.1.0"
+version = "1.10.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
+checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
 
 [[package]]
 name = "hyper"
-version = "1.5.2"
+version = "1.8.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "256fb8d4bd6413123cc9d91832d78325c48ff41677595be797d90f42969beae0"
+checksum = "2ab2d4f250c3d7b1c9fcdff1cece94ea4e2dfbec68614f7b87cb205f24ca9d11"
 dependencies = [
+ "atomic-waker",
  "bytes",
  "futures-channel",
- "futures-util",
+ "futures-core",
  "http",
  "http-body",
  "httparse",
  "itoa",
  "pin-project-lite",
+ "pin-utils",
  "smallvec",
  "tokio",
  "want",
@@ -1284,11 +1215,10 @@ dependencies = [
 
 [[package]]
 name = "hyper-rustls"
-version = "0.27.4"
+version = "0.27.7"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6884a48c6826ec44f524c7456b163cebe9e55a18d7b5e307cb4f100371cc767"
+checksum = "e3c93eb611681b207e1fe55d5a71ecf91572ec8a6705cdb6857f7d8d5242cf58"
 dependencies = [
- "futures-util",
  "http",
  "hyper",
  "hyper-util",
@@ -1302,16 +1232,21 @@ dependencies = [
 
 [[package]]
 name = "hyper-util"
-version = "0.1.10"
+version = "0.1.18"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4"
+checksum = "52e9a2a24dc5c6821e71a7030e1e14b7b632acac55c40e9d2e082c621261bb56"
 dependencies = [
+ "base64 0.22.1",
  "bytes",
  "futures-channel",
+ "futures-core",
  "futures-util",
  "http",
  "http-body",
  "hyper",
+ "ipnet",
+ "libc",
+ "percent-encoding",
  "pin-project-lite",
  "socket2",
  "tokio",
@@ -1321,14 +1256,15 @@ dependencies = [
 
 [[package]]
 name = "iana-time-zone"
-version = "0.1.61"
+version = "0.1.64"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220"
+checksum = "33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb"
 dependencies = [
  "android_system_properties",
  "core-foundation-sys",
  "iana-time-zone-haiku",
  "js-sys",
+ "log",
  "wasm-bindgen",
  "windows-core",
 ]
@@ -1344,21 +1280,22 @@ dependencies = [
 
 [[package]]
 name = "icu_collections"
-version = "1.5.0"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526"
+checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43"
 dependencies = [
  "displaydoc",
+ "potential_utf",
  "yoke",
  "zerofrom",
  "zerovec",
 ]
 
 [[package]]
-name = "icu_locid"
-version = "1.5.0"
+name = "icu_locale_core"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637"
+checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6"
 dependencies = [
  "displaydoc",
  "litemap",
@@ -1367,99 +1304,61 @@ dependencies = [
  "zerovec",
 ]
 
-[[package]]
-name = "icu_locid_transform"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e"
-dependencies = [
- "displaydoc",
- "icu_locid",
- "icu_locid_transform_data",
- "icu_provider",
- "tinystr",
- "zerovec",
-]
-
-[[package]]
-name = "icu_locid_transform_data"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e"
-
 [[package]]
 name = "icu_normalizer"
-version = "1.5.0"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f"
+checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599"
 dependencies = [
- "displaydoc",
  "icu_collections",
  "icu_normalizer_data",
  "icu_properties",
  "icu_provider",
  "smallvec",
- "utf16_iter",
- "utf8_iter",
- "write16",
  "zerovec",
 ]
 
 [[package]]
 name = "icu_normalizer_data"
-version = "1.5.0"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516"
+checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a"
 
 [[package]]
 name = "icu_properties"
-version = "1.5.1"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5"
+checksum = "e93fcd3157766c0c8da2f8cff6ce651a31f0810eaa1c51ec363ef790bbb5fb99"
 dependencies = [
- "displaydoc",
  "icu_collections",
- "icu_locid_transform",
+ "icu_locale_core",
  "icu_properties_data",
  "icu_provider",
- "tinystr",
+ "zerotrie",
  "zerovec",
 ]
 
 [[package]]
 name = "icu_properties_data"
-version = "1.5.0"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569"
+checksum = "02845b3647bb045f1100ecd6480ff52f34c35f82d9880e029d329c21d1054899"
 
 [[package]]
 name = "icu_provider"
-version = "1.5.0"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9"
+checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614"
 dependencies = [
  "displaydoc",
- "icu_locid",
- "icu_provider_macros",
- "stable_deref_trait",
- "tinystr",
+ "icu_locale_core",
  "writeable",
  "yoke",
  "zerofrom",
+ "zerotrie",
  "zerovec",
 ]
 
-[[package]]
-name = "icu_provider_macros"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.90",
-]
-
 [[package]]
 name = "ident_case"
 version = "1.0.1"
@@ -1468,9 +1367,9 @@ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
 
 [[package]]
 name = "idna"
-version = "1.0.3"
+version = "1.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e"
+checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de"
 dependencies = [
  "idna_adapter",
  "smallvec",
@@ -1479,9 +1378,9 @@ dependencies = [
 
 [[package]]
 name = "idna_adapter"
-version = "1.2.0"
+version = "1.2.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71"
+checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344"
 dependencies = [
  "icu_normalizer",
  "icu_properties",
@@ -1494,7 +1393,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "af1955a75fa080c677d3972822ec4bad316169ab1cfc6c257a942c2265dbe5fe"
 dependencies = [
  "bitmaps",
- "rand_core",
+ "rand_core 0.6.4",
  "rand_xoshiro",
  "sized-chunks",
  "typenum",
@@ -1509,17 +1408,17 @@ checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
 dependencies = [
  "autocfg",
  "hashbrown 0.12.3",
- "rustc-rayon 0.5.0",
+ "rustc-rayon 0.5.1",
 ]
 
 [[package]]
 name = "indexmap"
-version = "2.7.0"
+version = "2.12.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f"
+checksum = "0ad4bb2b565bca0645f4d68c5c9af97fba094e9791da685bf83cb5f3ce74acf2"
 dependencies = [
  "equivalent",
- "hashbrown 0.15.2",
+ "hashbrown 0.16.1",
 ]
 
 [[package]]
@@ -1559,14 +1458,14 @@ version = "0.1.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
 ]
 
 [[package]]
 name = "intl-memoizer"
-version = "0.5.2"
+version = "0.5.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fe22e020fce238ae18a6d5d8c502ee76a52a6e880d99477657e6acc30ec57bda"
+checksum = "310da2e345f5eb861e7a07ee182262e94975051db9e4223e909ba90f392f163f"
 dependencies = [
  "type-map",
  "unic-langid",
@@ -1583,21 +1482,34 @@ dependencies = [
 
 [[package]]
 name = "inventory"
-version = "0.3.15"
+version = "0.3.21"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f958d3d68f4167080a18141e10381e7634563984a537f2a49a30fd8e53ac5767"
+checksum = "bc61209c082fbeb19919bee74b176221b27223e27b65d781eb91af24eb1fb46e"
+dependencies = [
+ "rustversion",
+]
 
 [[package]]
 name = "ipnet"
-version = "2.10.1"
+version = "2.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130"
+
+[[package]]
+name = "iri-string"
+version = "0.7.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708"
+checksum = "4f867b9d1d896b67beb18518eda36fdb77a32ea590de864f1325b294a6d14397"
+dependencies = [
+ "memchr",
+ "serde",
+]
 
 [[package]]
 name = "is_terminal_polyfill"
-version = "1.70.1"
+version = "1.70.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
+checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
 
 [[package]]
 name = "itertools"
@@ -1617,18 +1529,52 @@ dependencies = [
  "either",
 ]
 
+[[package]]
+name = "itertools"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285"
+dependencies = [
+ "either",
+]
+
 [[package]]
 name = "itoa"
-version = "1.0.14"
+version = "1.0.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
+
+[[package]]
+name = "jiff"
+version = "0.2.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "49cce2b81f2098e7e3efc35bc2e0a6b7abec9d34128283d7a26fa8f32a6dbb35"
+dependencies = [
+ "jiff-static",
+ "log",
+ "portable-atomic",
+ "portable-atomic-util",
+ "serde_core",
+]
+
+[[package]]
+name = "jiff-static"
+version = "0.2.16"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674"
+checksum = "980af8b43c3ad5d8d349ace167ec8170839f753a42d233ba19e08afe1850fa69"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.111",
+]
 
 [[package]]
 name = "jobserver"
-version = "0.1.32"
+version = "0.1.34"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0"
+checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33"
 dependencies = [
+ "getrandom 0.3.4",
  "libc",
 ]
 
@@ -1640,9 +1586,9 @@ checksum = "8b23360e99b8717f20aaa4598f5a6541efbe30630039fbc7706cf954a87947ae"
 
 [[package]]
 name = "js-sys"
-version = "0.3.76"
+version = "0.3.82"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6717b6b5b077764fb5966237269cb3c64edddde4b14ce42647430a78ced9e7b7"
+checksum = "b011eec8cc36da2aab2d5cff675ec18454fad408585853910a202391cf9f8e65"
 dependencies = [
  "once_cell",
  "wasm-bindgen",
@@ -1698,112 +1644,58 @@ dependencies = [
  "hmac",
  "serde",
  "serde_json",
- "sha2 0.10.8",
+ "sha2 0.10.9",
 ]
 
 [[package]]
-name = "kcl-language-server"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-api"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
- "chrono",
- "clap",
- "compiler_base_session",
- "crossbeam-channel",
- "dashmap",
- "env_logger",
- "im-rc",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-config",
- "kclvm-driver",
- "kclvm-error",
- "kclvm-parser",
- "kclvm-query",
- "kclvm-sema",
- "kclvm-span",
- "kclvm-tools",
- "kclvm-utils",
- "kclvm-version",
- "log",
- "lsp-server",
- "lsp-types",
+ "futures",
+ "jsonrpc-stdio-server",
+ "kcl-ast",
+ "kcl-ast-pretty",
+ "kcl-config",
+ "kcl-driver",
+ "kcl-error",
+ "kcl-language-server",
+ "kcl-loader",
+ "kcl-parser",
+ "kcl-primitives",
+ "kcl-query",
+ "kcl-runner",
+ "kcl-runtime",
+ "kcl-sema",
+ "kcl-tools",
+ "kcl-utils",
+ "kcl-version",
  "maplit",
- "notify 7.0.0",
- "parking_lot 0.12.3",
- "proc_macro_crate",
- "ra_ap_vfs",
- "ra_ap_vfs-notify",
- "ropey",
- "rustc-hash 1.1.0",
- "rustc_lexer",
- "salsa",
+ "once_cell",
+ "prost",
+ "prost-build",
+ "prost-types",
+ "prost-wkt",
+ "prost-wkt-build",
+ "protoc-bin-vendored",
  "serde",
  "serde_json",
- "threadpool",
+ "serde_yaml_ng",
+ "tempfile",
  "tokio",
- "tokio-test",
 ]
 
 [[package]]
-name = "kcl-lib-lua"
-version = "0.11.2"
-dependencies = [
- "kclvm-api",
- "mlua",
-]
-
-[[package]]
-name = "kclvm-api"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
-dependencies = [
- "anyhow",
- "futures",
- "indexmap 1.9.3",
- "jsonrpc-stdio-server",
- "kcl-language-server",
- "kclvm-ast",
- "kclvm-ast-pretty",
- "kclvm-config",
- "kclvm-driver",
- "kclvm-error",
- "kclvm-loader",
- "kclvm-parser",
- "kclvm-query",
- "kclvm-runner",
- "kclvm-runtime",
- "kclvm-sema",
- "kclvm-tools",
- "kclvm-utils",
- "kclvm-version",
- "maplit",
- "once_cell",
- "prost",
- "prost-build",
- "prost-types",
- "prost-wkt",
- "prost-wkt-build",
- "prost-wkt-types",
- "protoc-bin-vendored",
- "serde",
- "serde_json",
- "serde_yaml",
- "tempfile",
- "tokio",
-]
-
-[[package]]
-name = "kclvm-ast"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-ast"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "compiler_base_span",
- "kclvm-error",
- "kclvm-span",
- "kclvm-utils",
+ "kcl-error",
+ "kcl-span",
+ "kcl-utils",
  "serde",
  "serde_json",
  "thread_local",
@@ -1811,80 +1703,58 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-ast-pretty"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-ast-pretty"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "compiler_base_macros",
  "compiler_base_session",
  "fancy-regex",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-error",
+ "kcl-ast",
+ "kcl-error",
+ "kcl-primitives",
  "pretty_assertions",
 ]
 
 [[package]]
-name = "kclvm-compiler"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
-dependencies = [
- "ahash",
- "bit-set",
- "bitflags 1.3.2",
- "fancy-regex",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-error",
- "kclvm-runtime",
- "kclvm-sema",
- "once_cell",
- "phf",
- "time 0.2.27",
- "unicode_names2",
-]
-
-[[package]]
-name = "kclvm-config"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-config"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
- "ahash",
  "anyhow",
  "chrono",
  "dirs",
  "glob",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-utils",
- "kclvm-version",
+ "kcl-ast",
+ "kcl-utils",
+ "kcl-version",
  "md-5 0.8.0",
  "pathdiff",
  "regex",
  "ron",
  "serde",
  "serde_json",
- "serde_yaml",
+ "serde_yaml_ng",
  "toml",
  "url",
 ]
 
 [[package]]
-name = "kclvm-driver"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-driver"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "flate2",
- "indexmap 2.7.0",
- "kclvm-ast",
- "kclvm-config",
- "kclvm-parser",
- "kclvm-runtime",
- "kclvm-utils",
- "oci-distribution",
+ "kcl-ast",
+ "kcl-config",
+ "kcl-parser",
+ "kcl-primitives",
+ "kcl-runtime",
+ "kcl-utils",
+ "oci-client",
  "once_cell",
- "parking_lot 0.12.3",
+ "parking_lot 0.12.5",
  "serde",
  "serde_json",
  "tar",
@@ -1893,9 +1763,9 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-error"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-error"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "annotate-snippets",
  "anyhow",
@@ -1903,63 +1773,116 @@ dependencies = [
  "compiler_base_macros",
  "compiler_base_session",
  "compiler_base_span",
- "indexmap 1.9.3",
- "kclvm-runtime",
- "kclvm-span",
- "kclvm-utils",
+ "kcl-primitives",
+ "kcl-runtime",
+ "kcl-span",
+ "kcl-utils",
  "serde",
  "serde_json",
  "termize",
- "thiserror 1.0.69",
+ "thiserror 2.0.17",
  "tracing",
 ]
 
 [[package]]
-name = "kclvm-evaluator"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-evaluator"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "generational-arena",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-error",
- "kclvm-runtime",
- "kclvm-sema",
+ "kcl-ast",
+ "kcl-error",
+ "kcl-primitives",
+ "kcl-runtime",
+ "kcl-sema",
  "scopeguard",
 ]
 
 [[package]]
-name = "kclvm-lexer"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-language-server"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
+dependencies = [
+ "anyhow",
+ "chrono",
+ "clap",
+ "compiler_base_session",
+ "crossbeam-channel",
+ "dashmap",
+ "env_logger",
+ "im-rc",
+ "kcl-ast",
+ "kcl-config",
+ "kcl-driver",
+ "kcl-error",
+ "kcl-parser",
+ "kcl-primitives",
+ "kcl-query",
+ "kcl-sema",
+ "kcl-span",
+ "kcl-tools",
+ "kcl-utils",
+ "kcl-version",
+ "log",
+ "lsp-server",
+ "lsp-types",
+ "maplit",
+ "notify 7.0.0",
+ "parking_lot 0.12.5",
+ "proc_macro_crate",
+ "ra_ap_vfs",
+ "ra_ap_vfs-notify",
+ "ropey",
+ "rustc-hash 1.1.0",
+ "rustc_lexer",
+ "salsa",
+ "serde",
+ "serde_json",
+ "threadpool",
+ "tokio",
+ "tokio-test",
+]
+
+[[package]]
+name = "kcl-lexer"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
- "kclvm-error",
+ "kcl-error",
  "rustc_lexer",
  "unic-emoji-char",
 ]
 
 [[package]]
-name = "kclvm-loader"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-lib-lua"
+version = "0.12.0"
+dependencies = [
+ "kcl-api",
+ "mlua",
+]
+
+[[package]]
+name = "kcl-loader"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-ast-pretty",
- "kclvm-error",
- "kclvm-parser",
- "kclvm-query",
- "kclvm-sema",
- "kclvm-utils",
+ "kcl-ast",
+ "kcl-ast-pretty",
+ "kcl-error",
+ "kcl-parser",
+ "kcl-primitives",
+ "kcl-query",
+ "kcl-sema",
+ "kcl-utils",
  "maplit",
 ]
 
 [[package]]
-name = "kclvm-macros"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-macros"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -1968,9 +1891,9 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-parser"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-parser"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "bstr 0.2.17",
@@ -1981,17 +1904,17 @@ dependencies = [
  "either",
  "enquote",
  "glob",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-config",
- "kclvm-error",
- "kclvm-lexer",
- "kclvm-sema",
- "kclvm-span",
- "kclvm-utils",
+ "kcl-ast",
+ "kcl-config",
+ "kcl-error",
+ "kcl-lexer",
+ "kcl-primitives",
+ "kcl-sema",
+ "kcl-span",
+ "kcl-utils",
  "num-bigint",
- "parking_lot 0.12.3",
- "petgraph",
+ "parking_lot 0.12.5",
+ "petgraph 0.6.5",
  "regex",
  "rustc_lexer",
  "serde",
@@ -2002,30 +1925,39 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-query"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-primitives"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
+dependencies = [
+ "indexmap 2.12.1",
+ "rustc-hash 2.1.1",
+]
+
+[[package]]
+name = "kcl-query"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "compiler_base_macros",
  "compiler_base_session",
  "fancy-regex",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-ast-pretty",
- "kclvm-error",
- "kclvm-parser",
- "kclvm-sema",
- "kclvm-utils",
+ "kcl-ast",
+ "kcl-ast-pretty",
+ "kcl-error",
+ "kcl-parser",
+ "kcl-primitives",
+ "kcl-sema",
+ "kcl-utils",
  "maplit",
  "serde",
  "serde_json",
 ]
 
 [[package]]
-name = "kclvm-runner"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-runner"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "cc",
@@ -2033,19 +1965,18 @@ dependencies = [
  "compiler_base_macros",
  "compiler_base_session",
  "glob",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-compiler",
- "kclvm-config",
- "kclvm-driver",
- "kclvm-error",
- "kclvm-evaluator",
- "kclvm-parser",
- "kclvm-query",
- "kclvm-runtime",
- "kclvm-sema",
- "kclvm-utils",
- "kclvm-version",
+ "kcl-ast",
+ "kcl-config",
+ "kcl-driver",
+ "kcl-error",
+ "kcl-evaluator",
+ "kcl-parser",
+ "kcl-primitives",
+ "kcl-query",
+ "kcl-runtime",
+ "kcl-sema",
+ "kcl-utils",
+ "kcl-version",
  "libc",
  "libloading",
  "once_cell",
@@ -2058,11 +1989,10 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-runtime"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-runtime"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
- "ahash",
  "anyhow",
  "base32",
  "base64 0.13.1",
@@ -2071,15 +2001,15 @@ dependencies = [
  "chrono",
  "cidr",
  "dns-lookup",
- "encoding",
+ "encoding_rs",
  "fancy-regex",
  "generational-arena",
  "glob",
  "handlebars",
  "hostname",
- "indexmap 1.9.3",
  "itertools 0.10.5",
- "kclvm_runtime_internal_macros",
+ "kcl-primitives",
+ "kcl_runtime_internal_macros",
  "lazy_static",
  "libc",
  "md5",
@@ -2088,7 +2018,7 @@ dependencies = [
  "regex",
  "serde",
  "serde_json",
- "serde_yaml",
+ "serde_yaml_ng",
  "sha1",
  "sha2 0.9.9",
  "unic-ucd-bidi",
@@ -2099,11 +2029,10 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-sema"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-sema"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
- "ahash",
  "anyhow",
  "bit-set",
  "bitflags 1.3.2",
@@ -2113,17 +2042,17 @@ dependencies = [
  "compiler_base_span",
  "fancy-regex",
  "generational-arena",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-ast-pretty",
- "kclvm-error",
- "kclvm-runtime",
- "kclvm-span",
- "kclvm-utils",
+ "kcl-ast",
+ "kcl-ast-pretty",
+ "kcl-error",
+ "kcl-primitives",
+ "kcl-runtime",
+ "kcl-span",
+ "kcl-utils",
  "lazy_static",
  "once_cell",
- "parking_lot 0.12.3",
- "petgraph",
+ "parking_lot 0.12.5",
+ "petgraph 0.6.5",
  "phf",
  "regex",
  "serde",
@@ -2133,51 +2062,51 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-span"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-span"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "compiler_base_span",
- "kclvm-macros",
+ "kcl-macros",
  "parking_lot 0.11.2",
  "scoped-tls",
 ]
 
 [[package]]
-name = "kclvm-tools"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-tools"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "compiler_base_session",
  "compiler_base_span",
  "fancy-regex",
- "indexmap 1.9.3",
  "json-spanned-value",
- "kclvm-ast",
- "kclvm-ast-pretty",
- "kclvm-config",
- "kclvm-driver",
- "kclvm-error",
- "kclvm-parser",
- "kclvm-query",
- "kclvm-runner",
- "kclvm-runtime",
- "kclvm-sema",
- "kclvm-utils",
+ "kcl-ast",
+ "kcl-ast-pretty",
+ "kcl-config",
+ "kcl-driver",
+ "kcl-error",
+ "kcl-parser",
+ "kcl-primitives",
+ "kcl-query",
+ "kcl-runner",
+ "kcl-runtime",
+ "kcl-sema",
+ "kcl-utils",
  "located_yaml",
  "once_cell",
  "regex",
  "rustc_lexer",
  "serde_json",
- "serde_yaml",
+ "serde_yaml_ng",
  "walkdir",
 ]
 
 [[package]]
-name = "kclvm-utils"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-utils"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "fslock",
@@ -2185,17 +2114,17 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-version"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-version"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "vergen-gitcl",
 ]
 
 [[package]]
-name = "kclvm_runtime_internal_macros"
-version = "0.5.0"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl_runtime_internal_macros"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -2204,9 +2133,9 @@ dependencies = [
 
 [[package]]
 name = "kqueue"
-version = "1.0.8"
+version = "1.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7447f1ca1b7b563588a205fe93dea8df60fd981423a768bc1c0ded35ed147d0c"
+checksum = "eac30106d7dce88daf4a3fcb4879ea939476d5074a9b7ddd0fb97fa4bed5596a"
 dependencies = [
  "kqueue-sys",
  "libc",
@@ -2230,9 +2159,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
 
 [[package]]
 name = "libc"
-version = "0.2.169"
+version = "0.2.177"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
+checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976"
 
 [[package]]
 name = "libloading"
@@ -2240,19 +2169,19 @@ version = "0.7.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "winapi",
 ]
 
 [[package]]
 name = "libredox"
-version = "0.1.3"
+version = "0.1.10"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d"
+checksum = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb"
 dependencies = [
- "bitflags 2.6.0",
+ "bitflags 2.10.0",
  "libc",
- "redox_syscall 0.5.8",
+ "redox_syscall 0.5.18",
 ]
 
 [[package]]
@@ -2266,15 +2195,15 @@ dependencies = [
 
 [[package]]
 name = "linux-raw-sys"
-version = "0.4.14"
+version = "0.11.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
+checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039"
 
 [[package]]
 name = "litemap"
-version = "0.7.4"
+version = "0.8.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104"
+checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77"
 
 [[package]]
 name = "located_yaml"
@@ -2289,29 +2218,35 @@ dependencies = [
 
 [[package]]
 name = "lock_api"
-version = "0.4.12"
+version = "0.4.14"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
+checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
 dependencies = [
- "autocfg",
  "scopeguard",
 ]
 
 [[package]]
 name = "log"
-version = "0.4.22"
+version = "0.4.28"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432"
+
+[[package]]
+name = "lru-slab"
+version = "0.1.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
+checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154"
 
 [[package]]
 name = "lsp-server"
-version = "0.7.7"
+version = "0.7.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "550446e84739dcaf6d48a4a093973850669e13e8a34d8f8d64851041be267cd9"
+checksum = "7d6ada348dbc2703cbe7637b2dda05cff84d3da2819c24abcb305dd613e0ba2e"
 dependencies = [
  "crossbeam-channel",
  "log",
  "serde",
+ "serde_derive",
  "serde_json",
 ]
 
@@ -2357,7 +2292,7 @@ version = "0.10.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "digest 0.10.7",
 ]
 
@@ -2369,9 +2304,9 @@ checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771"
 
 [[package]]
 name = "memchr"
-version = "2.7.4"
+version = "2.7.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
+checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
 
 [[package]]
 name = "memmap2"
@@ -2382,19 +2317,14 @@ dependencies = [
  "libc",
 ]
 
-[[package]]
-name = "mime"
-version = "0.3.17"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
-
 [[package]]
 name = "miniz_oxide"
-version = "0.8.2"
+version = "0.8.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ffbe83022cedc1d264172192511ae958937694cd57ce297164951b8b3568394"
+checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
 dependencies = [
  "adler2",
+ "simd-adler32",
 ]
 
 [[package]]
@@ -2411,14 +2341,14 @@ dependencies = [
 
 [[package]]
 name = "mio"
-version = "1.0.3"
+version = "1.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd"
+checksum = "69d83b0086dc8ecf3ce9ae2874b2d1290252e2a30720bea58a5c6639b0092873"
 dependencies = [
  "libc",
  "log",
  "wasi",
- "windows-sys 0.52.0",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
@@ -2436,22 +2366,22 @@ version = "0.9.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "d111deb18a9c9bd33e1541309f4742523bfab01d276bfa9a27519f6de9c11dc7"
 dependencies = [
- "bstr 1.11.1",
+ "bstr 1.12.1",
  "mlua-sys",
  "mlua_derive",
  "num-traits",
  "once_cell",
- "rustc-hash 2.1.0",
+ "rustc-hash 2.1.1",
 ]
 
 [[package]]
 name = "mlua-sys"
-version = "0.6.6"
+version = "0.6.8"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "63a11d485edf0f3f04a508615d36c7d50d299cf61a7ee6d3e2530651e0a31771"
+checksum = "380c1f7e2099cafcf40e51d3a9f20a346977587aa4d012eae1f043149a728a93"
 dependencies = [
  "cc",
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "pkg-config",
 ]
 
@@ -2467,14 +2397,14 @@ dependencies = [
  "proc-macro2",
  "quote",
  "regex",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "multimap"
-version = "0.8.3"
+version = "0.10.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a"
+checksum = "1d87ecb2933e8aeadb3e3a02b828fed80a7528047e68b4f424523a0981a3a084"
 
 [[package]]
 name = "notify"
@@ -2500,14 +2430,14 @@ version = "7.0.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "c533b4c39709f9ba5005d8002048266593c1cfaf3c5f0739d5b8ab0c6c504009"
 dependencies = [
- "bitflags 2.6.0",
+ "bitflags 2.10.0",
  "filetime",
  "fsevent-sys",
  "inotify 0.10.2",
  "kqueue",
  "libc",
  "log",
- "mio 1.0.3",
+ "mio 1.1.0",
  "notify-types",
  "walkdir",
  "windows-sys 0.52.0",
@@ -2558,9 +2488,9 @@ dependencies = [
 
 [[package]]
 name = "num_cpus"
-version = "1.16.0"
+version = "1.17.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43"
+checksum = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b"
 dependencies = [
  "hermit-abi",
  "libc",
@@ -2577,18 +2507,18 @@ dependencies = [
 
 [[package]]
 name = "object"
-version = "0.36.5"
+version = "0.37.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aedf0a2d09c573ed1d8d85b30c119153926a2b36dce0ab28322c09a117a4683e"
+checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe"
 dependencies = [
  "memchr",
 ]
 
 [[package]]
-name = "oci-distribution"
+name = "oci-client"
 version = "0.11.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b95a2c51531af0cb93761f66094044ca6ea879320bccd35ab747ff3fcab3f422"
+checksum = "560faeb9396a5bae11b141bed3cec8bf9242e5bfec17d0f48feeeab0f879ca35"
 dependencies = [
  "bytes",
  "chrono",
@@ -2602,7 +2532,7 @@ dependencies = [
  "reqwest",
  "serde",
  "serde_json",
- "sha2 0.10.8",
+ "sha2 0.10.9",
  "thiserror 1.0.69",
  "tokio",
  "tracing",
@@ -2622,15 +2552,21 @@ dependencies = [
 
 [[package]]
 name = "once_cell"
-version = "1.20.2"
+version = "1.21.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
+
+[[package]]
+name = "once_cell_polyfill"
+version = "1.70.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
+checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
 
 [[package]]
 name = "oorandom"
-version = "11.1.4"
+version = "11.1.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9"
+checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e"
 
 [[package]]
 name = "opaque-debug"
@@ -2663,12 +2599,12 @@ dependencies = [
 
 [[package]]
 name = "parking_lot"
-version = "0.12.3"
+version = "0.12.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27"
+checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
 dependencies = [
  "lock_api",
- "parking_lot_core 0.9.10",
+ "parking_lot_core 0.9.12",
 ]
 
 [[package]]
@@ -2677,7 +2613,7 @@ version = "0.8.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "instant",
  "libc",
  "redox_syscall 0.2.16",
@@ -2687,15 +2623,15 @@ dependencies = [
 
 [[package]]
 name = "parking_lot_core"
-version = "0.9.10"
+version = "0.9.12"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
+checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "libc",
- "redox_syscall 0.5.8",
+ "redox_syscall 0.5.18",
  "smallvec",
- "windows-targets 0.52.6",
+ "windows-link 0.2.1",
 ]
 
 [[package]]
@@ -2706,26 +2642,25 @@ checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3"
 
 [[package]]
 name = "percent-encoding"
-version = "2.3.1"
+version = "2.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
+checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
 
 [[package]]
 name = "pest"
-version = "2.7.15"
+version = "2.8.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b7cafe60d6cf8e62e1b9b2ea516a089c008945bb5a275416789e7db0bc199dc"
+checksum = "cbcfd20a6d4eeba40179f05735784ad32bdaef05ce8e8af05f180d45bb3e7e22"
 dependencies = [
  "memchr",
- "thiserror 2.0.8",
  "ucd-trie",
 ]
 
 [[package]]
 name = "pest_derive"
-version = "2.7.15"
+version = "2.8.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "816518421cfc6887a0d62bf441b6ffb4536fcc926395a69e1a85852d4363f57e"
+checksum = "51f72981ade67b1ca6adc26ec221be9f463f2b5839c7508998daa17c23d94d7f"
 dependencies = [
  "pest",
  "pest_generator",
@@ -2733,26 +2668,25 @@ dependencies = [
 
 [[package]]
 name = "pest_generator"
-version = "2.7.15"
+version = "2.8.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7d1396fd3a870fc7838768d171b4616d5c91f6cc25e377b673d714567d99377b"
+checksum = "dee9efd8cdb50d719a80088b76f81aec7c41ed6d522ee750178f83883d271625"
 dependencies = [
  "pest",
  "pest_meta",
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "pest_meta"
-version = "2.7.15"
+version = "2.8.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1e58089ea25d717bfd31fb534e4f3afcc2cc569c70de3e239778991ea3b7dea"
+checksum = "bf1d70880e76bdc13ba52eafa6239ce793d85c8e43896507e43dd8984ff05b82"
 dependencies = [
- "once_cell",
  "pest",
- "sha2 0.10.8",
+ "sha2 0.10.9",
 ]
 
 [[package]]
@@ -2761,8 +2695,18 @@ version = "0.6.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db"
 dependencies = [
- "fixedbitset",
- "indexmap 2.7.0",
+ "fixedbitset 0.4.2",
+ "indexmap 2.12.1",
+]
+
+[[package]]
+name = "petgraph"
+version = "0.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3672b37090dbd86368a4145bc067582552b29c27377cad4e0a306c97f9bd7772"
+dependencies = [
+ "fixedbitset 0.5.7",
+ "indexmap 2.12.1",
 ]
 
 [[package]]
@@ -2783,7 +2727,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "d43f3220d96e0080cc9ea234978ccd80d904eafb17be31bb0f76daaea6493082"
 dependencies = [
  "phf_shared",
- "rand",
+ "rand 0.8.5",
 ]
 
 [[package]]
@@ -2811,9 +2755,9 @@ dependencies = [
 
 [[package]]
 name = "pin-project-lite"
-version = "0.2.15"
+version = "0.2.16"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff"
+checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
 
 [[package]]
 name = "pin-utils"
@@ -2823,9 +2767,33 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
 
 [[package]]
 name = "pkg-config"
-version = "0.3.31"
+version = "0.3.32"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c"
+
+[[package]]
+name = "portable-atomic"
+version = "1.11.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483"
+
+[[package]]
+name = "portable-atomic-util"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507"
+dependencies = [
+ "portable-atomic",
+]
+
+[[package]]
+name = "potential_utf"
+version = "0.1.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2"
+checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77"
+dependencies = [
+ "zerovec",
+]
 
 [[package]]
 name = "powerfmt"
@@ -2835,9 +2803,9 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
 
 [[package]]
 name = "ppv-lite86"
-version = "0.2.20"
+version = "0.2.21"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04"
+checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
 dependencies = [
  "zerocopy",
 ]
@@ -2854,12 +2822,12 @@ dependencies = [
 
 [[package]]
 name = "prettyplease"
-version = "0.1.25"
+version = "0.2.37"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86"
+checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b"
 dependencies = [
  "proc-macro2",
- "syn 1.0.109",
+ "syn 2.0.111",
 ]
 
 [[package]]
@@ -2894,9 +2862,9 @@ checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068"
 
 [[package]]
 name = "proc-macro2"
-version = "1.0.92"
+version = "1.0.103"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0"
+checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8"
 dependencies = [
  "unicode-ident",
 ]
@@ -2904,18 +2872,18 @@ dependencies = [
 [[package]]
 name = "proc_macro_crate"
 version = "0.1.0"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "prost"
-version = "0.11.9"
+version = "0.14.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd"
+checksum = "7231bd9b3d3d33c86b58adbac74b5ec0ad9f496b19d22801d773636feaa95f3d"
 dependencies = [
  "bytes",
  "prost-derive",
@@ -2923,52 +2891,51 @@ dependencies = [
 
 [[package]]
 name = "prost-build"
-version = "0.11.9"
+version = "0.14.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270"
+checksum = "ac6c3320f9abac597dcbc668774ef006702672474aad53c6d596b62e487b40b1"
 dependencies = [
- "bytes",
- "heck 0.4.1",
- "itertools 0.10.5",
- "lazy_static",
+ "heck 0.5.0",
+ "itertools 0.14.0",
  "log",
  "multimap",
- "petgraph",
+ "once_cell",
+ "petgraph 0.7.1",
  "prettyplease",
  "prost",
  "prost-types",
  "regex",
- "syn 1.0.109",
+ "syn 2.0.111",
  "tempfile",
- "which",
 ]
 
 [[package]]
 name = "prost-derive"
-version = "0.11.9"
+version = "0.14.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4"
+checksum = "9120690fafc389a67ba3803df527d0ec9cbbc9cc45e4cc20b332996dfb672425"
 dependencies = [
  "anyhow",
- "itertools 0.10.5",
+ "itertools 0.14.0",
  "proc-macro2",
  "quote",
- "syn 1.0.109",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "prost-types"
-version = "0.11.9"
+version = "0.14.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13"
+checksum = "b9b4db3d6da204ed77bb26ba83b6122a73aeb2e87e25fbf7ad2e84c4ccbf8f72"
 dependencies = [
  "prost",
 ]
 
 [[package]]
 name = "prost-wkt"
-version = "0.4.1"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "655944d0ce015e71b3ec21279437e6a09e58433e50c7b0677901f3d5235e74f5"
 dependencies = [
  "chrono",
  "inventory",
@@ -2981,41 +2948,26 @@ dependencies = [
 
 [[package]]
 name = "prost-wkt-build"
-version = "0.4.1"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f869f1443fee474b785e935d92e1007f57443e485f51668ed41943fc01a321a2"
 dependencies = [
- "heck 0.4.1",
+ "heck 0.5.0",
  "prost",
  "prost-build",
  "prost-types",
  "quote",
 ]
 
-[[package]]
-name = "prost-wkt-types"
-version = "0.4.1"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
-dependencies = [
- "chrono",
- "prost",
- "prost-build",
- "prost-types",
- "prost-wkt",
- "prost-wkt-build",
- "protoc-bin-vendored",
- "regex",
- "serde",
- "serde_derive",
- "serde_json",
-]
-
 [[package]]
 name = "protoc-bin-vendored"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d1c381df33c98266b5f08186583660090a4ffa0889e76c7e9a5e175f645a67fa"
 dependencies = [
  "protoc-bin-vendored-linux-aarch_64",
  "protoc-bin-vendored-linux-ppcle_64",
+ "protoc-bin-vendored-linux-s390_64",
  "protoc-bin-vendored-linux-x86_32",
  "protoc-bin-vendored-linux-x86_64",
  "protoc-bin-vendored-macos-aarch_64",
@@ -3026,71 +2978,87 @@ dependencies = [
 [[package]]
 name = "protoc-bin-vendored-linux-aarch_64"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c350df4d49b5b9e3ca79f7e646fde2377b199e13cfa87320308397e1f37e1a4c"
 
 [[package]]
 name = "protoc-bin-vendored-linux-ppcle_64"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a55a63e6c7244f19b5c6393f025017eb5d793fd5467823a099740a7a4222440c"
+
+[[package]]
+name = "protoc-bin-vendored-linux-s390_64"
+version = "3.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1dba5565db4288e935d5330a07c264a4ee8e4a5b4a4e6f4e83fad824cc32f3b0"
 
 [[package]]
 name = "protoc-bin-vendored-linux-x86_32"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8854774b24ee28b7868cd71dccaae8e02a2365e67a4a87a6cd11ee6cdbdf9cf5"
 
 [[package]]
 name = "protoc-bin-vendored-linux-x86_64"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b38b07546580df720fa464ce124c4b03630a6fb83e05c336fea2a241df7e5d78"
 
 [[package]]
 name = "protoc-bin-vendored-macos-aarch_64"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "89278a9926ce312e51f1d999fee8825d324d603213344a9a706daa009f1d8092"
 
 [[package]]
 name = "protoc-bin-vendored-macos-x86_64"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "81745feda7ccfb9471d7a4de888f0652e806d5795b61480605d4943176299756"
 
 [[package]]
 name = "protoc-bin-vendored-win32"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "95067976aca6421a523e491fce939a3e65249bac4b977adee0ee9771568e8aa3"
 
 [[package]]
 name = "quinn"
-version = "0.11.6"
+version = "0.11.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62e96808277ec6f97351a2380e6c25114bc9e67037775464979f3037c92d05ef"
+checksum = "b9e20a958963c291dc322d98411f541009df2ced7b5a4f2bd52337638cfccf20"
 dependencies = [
  "bytes",
+ "cfg_aliases",
  "pin-project-lite",
  "quinn-proto",
  "quinn-udp",
- "rustc-hash 2.1.0",
+ "rustc-hash 2.1.1",
  "rustls",
  "socket2",
- "thiserror 2.0.8",
+ "thiserror 2.0.17",
  "tokio",
  "tracing",
+ "web-time",
 ]
 
 [[package]]
 name = "quinn-proto"
-version = "0.11.9"
+version = "0.11.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a2fe5ef3495d7d2e377ff17b1a8ce2ee2ec2a18cde8b6ad6619d65d0701c135d"
+checksum = "f1906b49b0c3bc04b5fe5d86a77925ae6524a19b816ae38ce1e426255f1d8a31"
 dependencies = [
  "bytes",
- "getrandom",
- "rand",
+ "getrandom 0.3.4",
+ "lru-slab",
+ "rand 0.9.2",
  "ring",
- "rustc-hash 2.1.0",
+ "rustc-hash 2.1.1",
  "rustls",
  "rustls-pki-types",
  "slab",
- "thiserror 2.0.8",
+ "thiserror 2.0.17",
  "tinyvec",
  "tracing",
  "web-time",
@@ -3098,27 +3066,33 @@ dependencies = [
 
 [[package]]
 name = "quinn-udp"
-version = "0.5.9"
+version = "0.5.14"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c40286217b4ba3a71d644d752e6a0b71f13f1b6a2c5311acfcbe0c2418ed904"
+checksum = "addec6a0dcad8a8d96a771f815f0eaf55f9d1805756410b39f5fa81332574cbd"
 dependencies = [
  "cfg_aliases",
  "libc",
  "once_cell",
  "socket2",
  "tracing",
- "windows-sys 0.59.0",
+ "windows-sys 0.60.2",
 ]
 
 [[package]]
 name = "quote"
-version = "1.0.37"
+version = "1.0.42"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
+checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f"
 dependencies = [
  "proc-macro2",
 ]
 
+[[package]]
+name = "r-efi"
+version = "5.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
+
 [[package]]
 name = "ra_ap_paths"
 version = "0.0.149"
@@ -3172,8 +3146,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
 dependencies = [
  "libc",
- "rand_chacha",
- "rand_core",
+ "rand_chacha 0.3.1",
+ "rand_core 0.6.4",
+]
+
+[[package]]
+name = "rand"
+version = "0.9.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
+dependencies = [
+ "rand_chacha 0.9.0",
+ "rand_core 0.9.3",
 ]
 
 [[package]]
@@ -3183,7 +3167,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
 dependencies = [
  "ppv-lite86",
- "rand_core",
+ "rand_core 0.6.4",
+]
+
+[[package]]
+name = "rand_chacha"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
+dependencies = [
+ "ppv-lite86",
+ "rand_core 0.9.3",
 ]
 
 [[package]]
@@ -3192,7 +3186,16 @@ version = "0.6.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
 dependencies = [
- "getrandom",
+ "getrandom 0.2.16",
+]
+
+[[package]]
+name = "rand_core"
+version = "0.9.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38"
+dependencies = [
+ "getrandom 0.3.4",
 ]
 
 [[package]]
@@ -3201,7 +3204,7 @@ version = "0.6.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa"
 dependencies = [
- "rand_core",
+ "rand_core 0.6.4",
 ]
 
 [[package]]
@@ -3215,11 +3218,11 @@ dependencies = [
 
 [[package]]
 name = "redox_syscall"
-version = "0.5.8"
+version = "0.5.18"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834"
+checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
 dependencies = [
- "bitflags 2.6.0",
+ "bitflags 2.10.0",
 ]
 
 [[package]]
@@ -3228,20 +3231,20 @@ version = "0.4.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43"
 dependencies = [
- "getrandom",
+ "getrandom 0.2.16",
  "libredox",
  "thiserror 1.0.69",
 ]
 
 [[package]]
 name = "regex"
-version = "1.11.1"
+version = "1.12.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
+checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4"
 dependencies = [
  "aho-corasick",
  "memchr",
- "regex-automata 0.4.9",
+ "regex-automata 0.4.13",
  "regex-syntax",
 ]
 
@@ -3253,9 +3256,9 @@ checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
 
 [[package]]
 name = "regex-automata"
-version = "0.4.9"
+version = "0.4.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
+checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c"
 dependencies = [
  "aho-corasick",
  "memchr",
@@ -3264,15 +3267,15 @@ dependencies = [
 
 [[package]]
 name = "regex-syntax"
-version = "0.8.5"
+version = "0.8.8"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
+checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58"
 
 [[package]]
 name = "reqwest"
-version = "0.12.9"
+version = "0.12.24"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a77c62af46e79de0a562e1a9849205ffcb7fc1238876e9bd743357570e04046f"
+checksum = "9d0946410b9f7b082a427e4ef5c8ff541a88b357bc6c637c40db3a68ac70a36f"
 dependencies = [
  "base64 0.22.1",
  "bytes",
@@ -3284,16 +3287,12 @@ dependencies = [
  "hyper",
  "hyper-rustls",
  "hyper-util",
- "ipnet",
  "js-sys",
  "log",
- "mime",
- "once_cell",
  "percent-encoding",
  "pin-project-lite",
  "quinn",
  "rustls",
- "rustls-pemfile",
  "rustls-pki-types",
  "serde",
  "serde_json",
@@ -3301,7 +3300,9 @@ dependencies = [
  "sync_wrapper",
  "tokio",
  "tokio-rustls",
- "tokio-util 0.7.13",
+ "tokio-util 0.7.17",
+ "tower",
+ "tower-http",
  "tower-service",
  "url",
  "wasm-bindgen",
@@ -3309,20 +3310,18 @@ dependencies = [
  "wasm-streams",
  "web-sys",
  "webpki-roots",
- "windows-registry",
 ]
 
 [[package]]
 name = "ring"
-version = "0.17.8"
+version = "0.17.14"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d"
+checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7"
 dependencies = [
  "cc",
- "cfg-if 1.0.0",
- "getrandom",
+ "cfg-if 1.0.4",
+ "getrandom 0.2.16",
  "libc",
- "spin",
  "untrusted",
  "windows-sys 0.52.0",
 ]
@@ -3350,9 +3349,9 @@ dependencies = [
 
 [[package]]
 name = "rustc-demangle"
-version = "0.1.24"
+version = "0.1.26"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f"
+checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace"
 
 [[package]]
 name = "rustc-hash"
@@ -3362,9 +3361,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
 
 [[package]]
 name = "rustc-hash"
-version = "2.1.0"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497"
+checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
 
 [[package]]
 name = "rustc-rayon"
@@ -3379,12 +3378,12 @@ dependencies = [
 
 [[package]]
 name = "rustc-rayon"
-version = "0.5.0"
+version = "0.5.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb81aadc8837ca6ecebe0fe1353f15df83b3b3cc2cf7a8afd571bc22aa121710"
+checksum = "2cd9fb077db982d7ceb42a90471e5a69a990b58f71e06f0d8340bb2cf35eb751"
 dependencies = [
  "either",
- "rustc-rayon-core 0.5.0",
+ "rustc-rayon-core 0.5.1",
 ]
 
 [[package]]
@@ -3401,14 +3400,12 @@ dependencies = [
 
 [[package]]
 name = "rustc-rayon-core"
-version = "0.5.0"
+version = "0.5.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67668daaf00e359c126f6dcb40d652d89b458a008c8afa727a42a2d20fca0b7f"
+checksum = "2f42932dcd3bcbe484b38a3ccf79b7906fac41c02d408b5b1bac26da3416efdb"
 dependencies = [
- "crossbeam-channel",
  "crossbeam-deque",
  "crossbeam-utils",
- "num_cpus",
 ]
 
 [[package]]
@@ -3425,7 +3422,7 @@ dependencies = [
  "jobserver",
  "libc",
  "memmap2",
- "parking_lot 0.12.3",
+ "parking_lot 0.12.5",
  "rustc-hash 1.1.0",
  "rustc-rayon 0.3.2",
  "rustc-rayon-core 0.3.2",
@@ -3465,47 +3462,38 @@ dependencies = [
  "rustc_data_structures",
  "scoped-tls",
  "sha-1",
- "sha2 0.10.8",
+ "sha2 0.10.9",
  "tracing",
  "unicode-width",
 ]
 
-[[package]]
-name = "rustc_version"
-version = "0.2.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
-dependencies = [
- "semver 0.9.0",
-]
-
 [[package]]
 name = "rustc_version"
 version = "0.4.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
 dependencies = [
- "semver 1.0.24",
+ "semver",
 ]
 
 [[package]]
 name = "rustix"
-version = "0.38.42"
+version = "1.1.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f93dc38ecbab2eb790ff964bb77fa94faf256fd3e73285fd7ba0903b76bedb85"
+checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e"
 dependencies = [
- "bitflags 2.6.0",
+ "bitflags 2.10.0",
  "errno",
  "libc",
  "linux-raw-sys",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
 name = "rustls"
-version = "0.23.20"
+version = "0.23.35"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5065c3f250cbd332cd894be57c40fa52387247659b14a2d6041d121547903b1b"
+checksum = "533f54bc6a7d4f647e46ad909549eda97bf5afc1585190ef692b4286b198bd8f"
 dependencies = [
  "once_cell",
  "ring",
@@ -3515,29 +3503,21 @@ dependencies = [
  "zeroize",
 ]
 
-[[package]]
-name = "rustls-pemfile"
-version = "2.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50"
-dependencies = [
- "rustls-pki-types",
-]
-
 [[package]]
 name = "rustls-pki-types"
-version = "1.10.1"
+version = "1.13.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2bf47e6ff922db3825eb750c4e2ff784c6ff8fb9e13046ef6a1d1c5401b0b37"
+checksum = "94182ad936a0c91c324cd46c6511b9510ed16af436d7b5bab34beab0afd55f7a"
 dependencies = [
  "web-time",
+ "zeroize",
 ]
 
 [[package]]
 name = "rustls-webpki"
-version = "0.102.8"
+version = "0.103.8"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9"
+checksum = "2ffdfa2f5286e2247234e03f680868ac2815974dc39e00ea15adc445d0aafe52"
 dependencies = [
  "ring",
  "rustls-pki-types",
@@ -3546,15 +3526,15 @@ dependencies = [
 
 [[package]]
 name = "rustversion"
-version = "1.0.18"
+version = "1.0.22"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248"
+checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
 
 [[package]]
 name = "ryu"
-version = "1.0.18"
+version = "1.0.20"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
+checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
 
 [[package]]
 name = "salsa"
@@ -3612,76 +3592,73 @@ version = "0.10.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "e14e4d63b804dc0c7ec4a1e52bcb63f02c7ac94476755aa579edac21e01f915d"
 dependencies = [
- "self_cell 1.1.0",
+ "self_cell 1.2.1",
 ]
 
 [[package]]
 name = "self_cell"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c2fdfc24bc566f839a2da4c4295b82db7d25a24253867d5c64355abb5799bdbe"
-
-[[package]]
-name = "semver"
-version = "0.9.0"
+version = "1.2.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
-dependencies = [
- "semver-parser",
-]
+checksum = "16c2f82143577edb4921b71ede051dac62ca3c16084e918bf7b40c96ae10eb33"
 
 [[package]]
 name = "semver"
-version = "1.0.24"
+version = "1.0.27"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3cb6eb87a131f756572d7fb904f6e7b68633f09cca868c5df1c4b8d1a694bbba"
+checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2"
 
 [[package]]
-name = "semver-parser"
-version = "0.7.0"
+name = "serde"
+version = "1.0.228"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
+checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
+dependencies = [
+ "serde_core",
+ "serde_derive",
+]
 
 [[package]]
-name = "serde"
-version = "1.0.216"
+name = "serde_core"
+version = "1.0.228"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b9781016e935a97e8beecf0c933758c97a5520d32930e460142b4cd80c6338e"
+checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
 dependencies = [
  "serde_derive",
 ]
 
 [[package]]
 name = "serde_derive"
-version = "1.0.216"
+version = "1.0.228"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "46f859dbbf73865c6627ed570e78961cd3ac92407a2d117204c49232485da55e"
+checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "serde_json"
-version = "1.0.115"
+version = "1.0.145"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "12dc5c46daa8e9fdf4f5e71b6cf9a53f2487da0e86e55808e2d35539666497dd"
+checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c"
 dependencies = [
  "itoa",
+ "memchr",
  "ryu",
  "serde",
+ "serde_core",
 ]
 
 [[package]]
 name = "serde_repr"
-version = "0.1.19"
+version = "0.1.20"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9"
+checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
@@ -3697,11 +3674,12 @@ dependencies = [
 ]
 
 [[package]]
-name = "serde_yaml"
-version = "0.9.34+deprecated"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "serde_yaml_ng"
+version = "0.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7b4db627b98b36d4203a7b458cf3573730f2bb591b28871d916dfa9efabfd41f"
 dependencies = [
- "indexmap 2.7.0",
+ "indexmap 2.12.1",
  "itoa",
  "ryu",
  "serde",
@@ -3714,7 +3692,7 @@ version = "0.10.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "cpufeatures",
  "digest 0.10.7",
 ]
@@ -3741,7 +3719,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800"
 dependencies = [
  "block-buffer 0.9.0",
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "cpufeatures",
  "digest 0.9.0",
  "opaque-debug 0.3.1",
@@ -3749,11 +3727,11 @@ dependencies = [
 
 [[package]]
 name = "sha2"
-version = "0.10.8"
+version = "0.10.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8"
+checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "cpufeatures",
  "digest 0.10.7",
 ]
@@ -3766,13 +3744,19 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
 
 [[package]]
 name = "signal-hook-registry"
-version = "1.4.2"
+version = "1.4.7"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1"
+checksum = "7664a098b8e616bdfcc2dc0e9ac44eb231eedf41db4e9fe95d8d32ec728dedad"
 dependencies = [
  "libc",
 ]
 
+[[package]]
+name = "simd-adler32"
+version = "0.3.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
+
 [[package]]
 name = "siphasher"
 version = "0.3.11"
@@ -3791,98 +3775,31 @@ dependencies = [
 
 [[package]]
 name = "slab"
-version = "0.4.9"
+version = "0.4.11"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67"
-dependencies = [
- "autocfg",
-]
+checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589"
 
 [[package]]
 name = "smallvec"
-version = "1.13.2"
+version = "1.15.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
+checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
 
 [[package]]
 name = "socket2"
-version = "0.5.8"
+version = "0.6.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8"
+checksum = "17129e116933cf371d018bb80ae557e889637989d8638274fb25622827b03881"
 dependencies = [
  "libc",
- "windows-sys 0.52.0",
+ "windows-sys 0.60.2",
 ]
 
-[[package]]
-name = "spin"
-version = "0.9.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
-
 [[package]]
 name = "stable_deref_trait"
-version = "1.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
-
-[[package]]
-name = "standback"
-version = "0.2.17"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e113fb6f3de07a243d434a56ec6f186dfd51cb08448239fe7bcae73f87ff28ff"
-dependencies = [
- "version_check",
-]
-
-[[package]]
-name = "stdweb"
-version = "0.4.20"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d022496b16281348b52d0e30ae99e01a73d737b2f45d38fed4edf79f9325a1d5"
-dependencies = [
- "discard",
- "rustc_version 0.2.3",
- "stdweb-derive",
- "stdweb-internal-macros",
- "stdweb-internal-runtime",
- "wasm-bindgen",
-]
-
-[[package]]
-name = "stdweb-derive"
-version = "0.5.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c87a60a40fccc84bef0652345bbbbbe20a605bf5d0ce81719fc476f5c03b50ef"
-dependencies = [
- "proc-macro2",
- "quote",
- "serde",
- "serde_derive",
- "syn 1.0.109",
-]
-
-[[package]]
-name = "stdweb-internal-macros"
-version = "0.2.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "58fa5ff6ad0d98d1ffa8cb115892b6e69d67799f6763e162a1c9db421dc22e11"
-dependencies = [
- "base-x",
- "proc-macro2",
- "quote",
- "serde",
- "serde_derive",
- "serde_json",
- "sha1",
- "syn 1.0.109",
-]
-
-[[package]]
-name = "stdweb-internal-runtime"
-version = "0.1.5"
+version = "1.2.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "213701ba3370744dcd1a12960caa4843b3d68b4d1c0a5d575e0d65b2ee9d16c0"
+checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
 
 [[package]]
 name = "str_indices"
@@ -3930,9 +3847,9 @@ dependencies = [
 
 [[package]]
 name = "syn"
-version = "2.0.90"
+version = "2.0.111"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31"
+checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -3962,20 +3879,20 @@ dependencies = [
 
 [[package]]
 name = "synstructure"
-version = "0.13.1"
+version = "0.13.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
+checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "tar"
-version = "0.4.43"
+version = "0.4.44"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c65998313f8e17d0d553d28f91a0df93e4dbbbf770279c7bc21ca0f09ea1a1f6"
+checksum = "1d863878d212c87a19c1a610eb53bb01fe12951c0501cf5a0d65f724914a667a"
 dependencies = [
  "filetime",
  "libc",
@@ -3984,15 +3901,15 @@ dependencies = [
 
 [[package]]
 name = "tempfile"
-version = "3.14.0"
+version = "3.23.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c"
+checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16"
 dependencies = [
- "cfg-if 1.0.0",
  "fastrand",
+ "getrandom 0.3.4",
  "once_cell",
  "rustix",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
@@ -4025,11 +3942,11 @@ dependencies = [
 
 [[package]]
 name = "thiserror"
-version = "2.0.8"
+version = "2.0.17"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08f5383f3e0071702bf93ab5ee99b52d26936be9dedd9413067cbdcddcb6141a"
+checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8"
 dependencies = [
- "thiserror-impl 2.0.8",
+ "thiserror-impl 2.0.17",
 ]
 
 [[package]]
@@ -4040,28 +3957,27 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "thiserror-impl"
-version = "2.0.8"
+version = "2.0.17"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f2f357fcec90b3caef6623a099691be676d033b40a058ac95d2a6ade6fa0c943"
+checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "thread_local"
-version = "1.1.8"
+version = "1.1.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c"
+checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185"
 dependencies = [
- "cfg-if 1.0.0",
- "once_cell",
+ "cfg-if 1.0.4",
 ]
 
 [[package]]
@@ -4075,24 +3991,9 @@ dependencies = [
 
 [[package]]
 name = "time"
-version = "0.2.27"
+version = "0.3.44"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4752a97f8eebd6854ff91f1c1824cd6160626ac4bd44287f7f4ea2035a02a242"
-dependencies = [
- "const_fn",
- "libc",
- "standback",
- "stdweb",
- "time-macros 0.1.1",
- "version_check",
- "winapi",
-]
-
-[[package]]
-name = "time"
-version = "0.3.37"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21"
+checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d"
 dependencies = [
  "deranged",
  "itoa",
@@ -4102,63 +4003,41 @@ dependencies = [
  "powerfmt",
  "serde",
  "time-core",
- "time-macros 0.2.19",
+ "time-macros",
 ]
 
 [[package]]
 name = "time-core"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
-
-[[package]]
-name = "time-macros"
-version = "0.1.1"
+version = "0.1.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "957e9c6e26f12cb6d0dd7fc776bb67a706312e7299aed74c8dd5b17ebb27e2f1"
-dependencies = [
- "proc-macro-hack",
- "time-macros-impl",
-]
+checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b"
 
 [[package]]
 name = "time-macros"
-version = "0.2.19"
+version = "0.2.24"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2834e6017e3e5e4b9834939793b282bc03b37a3336245fa820e35e233e2a85de"
+checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3"
 dependencies = [
  "num-conv",
  "time-core",
 ]
 
-[[package]]
-name = "time-macros-impl"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fd3c141a1b43194f3f56a1411225df8646c55781d5f26db825b3d98507eb482f"
-dependencies = [
- "proc-macro-hack",
- "proc-macro2",
- "quote",
- "standback",
- "syn 1.0.109",
-]
-
 [[package]]
 name = "tinystr"
-version = "0.7.6"
+version = "0.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f"
+checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869"
 dependencies = [
  "displaydoc",
+ "serde_core",
  "zerovec",
 ]
 
 [[package]]
 name = "tinyvec"
-version = "1.8.0"
+version = "1.10.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938"
+checksum = "bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa"
 dependencies = [
  "tinyvec_macros",
 ]
@@ -4171,38 +4050,37 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
 
 [[package]]
 name = "tokio"
-version = "1.42.0"
+version = "1.48.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5cec9b21b0450273377fc97bd4c33a8acffc8c996c987a7c5b319a0083707551"
+checksum = "ff360e02eab121e0bc37a2d3b4d4dc622e6eda3a8e5253d5435ecf5bd4c68408"
 dependencies = [
- "backtrace",
  "bytes",
  "libc",
- "mio 1.0.3",
- "parking_lot 0.12.3",
+ "mio 1.1.0",
+ "parking_lot 0.12.5",
  "pin-project-lite",
  "signal-hook-registry",
  "socket2",
  "tokio-macros",
- "windows-sys 0.52.0",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
 name = "tokio-macros"
-version = "2.4.0"
+version = "2.6.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752"
+checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "tokio-rustls"
-version = "0.26.1"
+version = "0.26.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f6d0975eaace0cf0fcadee4e4aaa5da15b5c079146f2cffb67c113be122bf37"
+checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61"
 dependencies = [
  "rustls",
  "tokio",
@@ -4248,9 +4126,9 @@ dependencies = [
 
 [[package]]
 name = "tokio-util"
-version = "0.7.13"
+version = "0.7.17"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7fcaa8d55a2bdd6b83ace262b016eca0d79ee02818c5c1bcdf0305114081078"
+checksum = "2efa149fe76073d6e8fd97ef4f4eca7b67f599660115591483572e406e165594"
 dependencies = [
  "bytes",
  "futures-core",
@@ -4268,6 +4146,45 @@ dependencies = [
  "serde",
 ]
 
+[[package]]
+name = "tower"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9"
+dependencies = [
+ "futures-core",
+ "futures-util",
+ "pin-project-lite",
+ "sync_wrapper",
+ "tokio",
+ "tower-layer",
+ "tower-service",
+]
+
+[[package]]
+name = "tower-http"
+version = "0.6.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "adc82fd73de2a9722ac5da747f12383d2bfdb93591ee6c58486e0097890f05f2"
+dependencies = [
+ "bitflags 2.10.0",
+ "bytes",
+ "futures-util",
+ "http",
+ "http-body",
+ "iri-string",
+ "pin-project-lite",
+ "tower",
+ "tower-layer",
+ "tower-service",
+]
+
+[[package]]
+name = "tower-layer"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e"
+
 [[package]]
 name = "tower-service"
 version = "0.3.3"
@@ -4288,20 +4205,20 @@ dependencies = [
 
 [[package]]
 name = "tracing-attributes"
-version = "0.1.28"
+version = "0.1.30"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d"
+checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "tracing-core"
-version = "0.1.33"
+version = "0.1.34"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c"
+checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678"
 dependencies = [
  "once_cell",
 ]
@@ -4314,30 +4231,30 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
 
 [[package]]
 name = "type-map"
-version = "0.5.0"
+version = "0.5.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "deb68604048ff8fa93347f02441e4487594adc20bb8a084f9e564d2b827a0a9f"
+checksum = "cb30dbbd9036155e74adad6812e9898d03ec374946234fbcebd5dfc7b9187b90"
 dependencies = [
- "rustc-hash 1.1.0",
+ "rustc-hash 2.1.1",
 ]
 
 [[package]]
 name = "typeid"
-version = "1.0.2"
+version = "1.0.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e13db2e0ccd5e14a544e8a246ba2312cd25223f616442d7f2cb0e3db614236e"
+checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c"
 
 [[package]]
 name = "typenum"
-version = "1.17.0"
+version = "1.19.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
+checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb"
 
 [[package]]
 name = "typetag"
-version = "0.2.18"
+version = "0.2.21"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "52ba3b6e86ffe0054b2c44f2d86407388b933b16cb0a70eea3929420db1d9bbe"
+checksum = "be2212c8a9b9bcfca32024de14998494cf9a5dfa59ea1b829de98bac374b86bf"
 dependencies = [
  "erased-serde",
  "inventory",
@@ -4348,13 +4265,13 @@ dependencies = [
 
 [[package]]
 name = "typetag-impl"
-version = "0.2.18"
+version = "0.2.21"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "70b20a22c42c8f1cd23ce5e34f165d4d37038f5b663ad20fb6adbdf029172483"
+checksum = "27a7a9b72ba121f6f1f6c3632b85604cac41aedb5ddc70accbebb6cac83de846"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
@@ -4397,9 +4314,9 @@ dependencies = [
 
 [[package]]
 name = "unic-langid"
-version = "0.9.5"
+version = "0.9.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23dd9d1e72a73b25e07123a80776aae3e7b0ec461ef94f9151eed6ec88005a44"
+checksum = "a28ba52c9b05311f4f6e62d5d9d46f094bd6e84cb8df7b3ef952748d752a7d05"
 dependencies = [
  "unic-langid-impl",
  "unic-langid-macros",
@@ -4407,18 +4324,18 @@ dependencies = [
 
 [[package]]
 name = "unic-langid-impl"
-version = "0.9.5"
+version = "0.9.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0a5422c1f65949306c99240b81de9f3f15929f5a8bfe05bb44b034cc8bf593e5"
+checksum = "dce1bf08044d4b7a94028c93786f8566047edc11110595914de93362559bc658"
 dependencies = [
  "tinystr",
 ]
 
 [[package]]
 name = "unic-langid-macros"
-version = "0.9.5"
+version = "0.9.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0da1cd2c042d3c7569a1008806b02039e7a4a2bdf8f8e96bd3c792434a0e275e"
+checksum = "d5957eb82e346d7add14182a3315a7e298f04e1ba4baac36f7f0dbfedba5fc25"
 dependencies = [
  "proc-macro-hack",
  "tinystr",
@@ -4428,13 +4345,13 @@ dependencies = [
 
 [[package]]
 name = "unic-langid-macros-impl"
-version = "0.9.5"
+version = "0.9.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ed7f4237ba393424195053097c1516bd4590dc82b84f2f97c5c69e12704555b"
+checksum = "a1249a628de3ad34b821ecb1001355bca3940bcb2f88558f1a8bd82e977f75b5"
 dependencies = [
  "proc-macro-hack",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
  "unic-langid-impl",
 ]
 
@@ -4472,27 +4389,27 @@ dependencies = [
 
 [[package]]
 name = "unicase"
-version = "2.8.0"
+version = "2.8.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e51b68083f157f853b6379db119d1c1be0e6e4dec98101079dec41f6f5cf6df"
+checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539"
 
 [[package]]
 name = "unicode-casing"
-version = "0.1.0"
+version = "0.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "623f59e6af2a98bdafeb93fa277ac8e1e40440973001ca15cf4ae1541cd16d56"
+checksum = "061dbb8cc7f108532b6087a0065eff575e892a4bcb503dc57323a197457cc202"
 
 [[package]]
 name = "unicode-ident"
-version = "1.0.14"
+version = "1.0.22"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83"
+checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
 
 [[package]]
 name = "unicode-normalization"
-version = "0.1.24"
+version = "0.1.25"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956"
+checksum = "5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8"
 dependencies = [
  "tinyvec",
 ]
@@ -4535,9 +4452,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
 
 [[package]]
 name = "url"
-version = "2.5.4"
+version = "2.5.7"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60"
+checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b"
 dependencies = [
  "form_urlencoded",
  "idna",
@@ -4545,12 +4462,6 @@ dependencies = [
  "serde",
 ]
 
-[[package]]
-name = "utf16_iter"
-version = "1.0.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246"
-
 [[package]]
 name = "utf8_iter"
 version = "1.0.4"
@@ -4565,46 +4476,48 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
 
 [[package]]
 name = "uuid"
-version = "1.11.0"
+version = "1.18.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a"
+checksum = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2"
 dependencies = [
- "getrandom",
+ "getrandom 0.3.4",
+ "js-sys",
  "serde",
+ "wasm-bindgen",
 ]
 
 [[package]]
 name = "vergen"
-version = "9.0.2"
+version = "9.0.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "31f25fc8f8f05df455c7941e87f093ad22522a9ff33d7a027774815acf6f0639"
+checksum = "6b2bf58be11fc9414104c6d3a2e464163db5ef74b12296bda593cac37b6e4777"
 dependencies = [
  "anyhow",
  "derive_builder",
- "rustc_version 0.4.1",
+ "rustc_version",
  "rustversion",
  "vergen-lib",
 ]
 
 [[package]]
 name = "vergen-gitcl"
-version = "1.0.2"
+version = "1.0.8"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0227006d09f98ab00ea69e9a5e055e676a813cfbed4232986176c86a6080b997"
+checksum = "b9dfc1de6eb2e08a4ddf152f1b179529638bedc0ea95e6d667c014506377aefe"
 dependencies = [
  "anyhow",
  "derive_builder",
  "rustversion",
- "time 0.3.37",
+ "time",
  "vergen",
  "vergen-lib",
 ]
 
 [[package]]
 name = "vergen-lib"
-version = "0.1.5"
+version = "0.1.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0c767e6751c09fc85cde58722cf2f1007e80e4c8d5a4321fc90d83dc54ca147"
+checksum = "9b07e6010c0f3e59fcb164e0163834597da68d1f864e2b8ca49f74de01e9c166"
 dependencies = [
  "anyhow",
  "derive_builder",
@@ -4638,42 +4551,39 @@ dependencies = [
 
 [[package]]
 name = "wasi"
-version = "0.11.0+wasi-snapshot-preview1"
+version = "0.11.1+wasi-snapshot-preview1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
+checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
 
 [[package]]
-name = "wasm-bindgen"
-version = "0.2.99"
+name = "wasip2"
+version = "1.0.1+wasi-0.2.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a474f6281d1d70c17ae7aa6a613c87fce69a127e2624002df63dcb39d6cf6396"
+checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7"
 dependencies = [
- "cfg-if 1.0.0",
- "once_cell",
- "wasm-bindgen-macro",
+ "wit-bindgen",
 ]
 
 [[package]]
-name = "wasm-bindgen-backend"
-version = "0.2.99"
+name = "wasm-bindgen"
+version = "0.2.105"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f89bb38646b4f81674e8f5c3fb81b562be1fd936d84320f3264486418519c79"
+checksum = "da95793dfc411fbbd93f5be7715b0578ec61fe87cb1a42b12eb625caa5c5ea60"
 dependencies = [
- "bumpalo",
- "log",
- "proc-macro2",
- "quote",
- "syn 2.0.90",
+ "cfg-if 1.0.4",
+ "once_cell",
+ "rustversion",
+ "wasm-bindgen-macro",
  "wasm-bindgen-shared",
 ]
 
 [[package]]
 name = "wasm-bindgen-futures"
-version = "0.4.49"
+version = "0.4.55"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38176d9b44ea84e9184eff0bc34cc167ed044f816accfe5922e54d84cf48eca2"
+checksum = "551f88106c6d5e7ccc7cd9a16f312dd3b5d36ea8b4954304657d5dfba115d4a0"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "js-sys",
  "once_cell",
  "wasm-bindgen",
@@ -4682,9 +4592,9 @@ dependencies = [
 
 [[package]]
 name = "wasm-bindgen-macro"
-version = "0.2.99"
+version = "0.2.105"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2cc6181fd9a7492eef6fef1f33961e3695e4579b9872a6f7c83aee556666d4fe"
+checksum = "04264334509e04a7bf8690f2384ef5265f05143a4bff3889ab7a3269adab59c2"
 dependencies = [
  "quote",
  "wasm-bindgen-macro-support",
@@ -4692,22 +4602,25 @@ dependencies = [
 
 [[package]]
 name = "wasm-bindgen-macro-support"
-version = "0.2.99"
+version = "0.2.105"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30d7a95b763d3c45903ed6c81f156801839e5ee968bb07e534c44df0fcd330c2"
+checksum = "420bc339d9f322e562942d52e115d57e950d12d88983a14c79b86859ee6c7ebc"
 dependencies = [
+ "bumpalo",
  "proc-macro2",
  "quote",
- "syn 2.0.90",
- "wasm-bindgen-backend",
+ "syn 2.0.111",
  "wasm-bindgen-shared",
 ]
 
 [[package]]
 name = "wasm-bindgen-shared"
-version = "0.2.99"
+version = "0.2.105"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "943aab3fdaaa029a6e0271b35ea10b72b943135afe9bffca82384098ad0e06a6"
+checksum = "76f218a38c84bcb33c25ec7059b07847d465ce0e0a76b995e134a45adcb6af76"
+dependencies = [
+ "unicode-ident",
+]
 
 [[package]]
 name = "wasm-streams"
@@ -4724,9 +4637,9 @@ dependencies = [
 
 [[package]]
 name = "web-sys"
-version = "0.3.76"
+version = "0.3.82"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "04dd7223427d52553d3702c004d3b2fe07c148165faa56313cb00211e31c12bc"
+checksum = "3a1f95c0d03a47f4ae1f7a64643a6bb97465d9b740f0fa8f90ea33915c99a9a1"
 dependencies = [
  "js-sys",
  "wasm-bindgen",
@@ -4744,25 +4657,13 @@ dependencies = [
 
 [[package]]
 name = "webpki-roots"
-version = "0.26.7"
+version = "1.0.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5d642ff16b7e79272ae451b7322067cdc17cadf68c23264be9d94a32319efe7e"
+checksum = "b2878ef029c47c6e8cf779119f20fcf52bde7ad42a731b2a304bc221df17571e"
 dependencies = [
  "rustls-pki-types",
 ]
 
-[[package]]
-name = "which"
-version = "4.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7"
-dependencies = [
- "either",
- "home",
- "once_cell",
- "rustix",
-]
-
 [[package]]
 name = "winapi"
 version = "0.3.9"
@@ -4781,11 +4682,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
 
 [[package]]
 name = "winapi-util"
-version = "0.1.9"
+version = "0.1.11"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
+checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
 dependencies = [
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
@@ -4795,52 +4696,68 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
 
 [[package]]
-name = "windows"
-version = "0.52.0"
+name = "windows-core"
+version = "0.62.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be"
+checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb"
 dependencies = [
- "windows-core",
- "windows-targets 0.52.6",
+ "windows-implement",
+ "windows-interface",
+ "windows-link 0.2.1",
+ "windows-result",
+ "windows-strings",
 ]
 
 [[package]]
-name = "windows-core"
-version = "0.52.0"
+name = "windows-implement"
+version = "0.60.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9"
+checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf"
 dependencies = [
- "windows-targets 0.52.6",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.111",
 ]
 
 [[package]]
-name = "windows-registry"
-version = "0.2.0"
+name = "windows-interface"
+version = "0.59.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0"
+checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358"
 dependencies = [
- "windows-result",
- "windows-strings",
- "windows-targets 0.52.6",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.111",
 ]
 
+[[package]]
+name = "windows-link"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a"
+
+[[package]]
+name = "windows-link"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
+
 [[package]]
 name = "windows-result"
-version = "0.2.0"
+version = "0.4.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e"
+checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5"
 dependencies = [
- "windows-targets 0.52.6",
+ "windows-link 0.2.1",
 ]
 
 [[package]]
 name = "windows-strings"
-version = "0.1.0"
+version = "0.5.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10"
+checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091"
 dependencies = [
- "windows-result",
- "windows-targets 0.52.6",
+ "windows-link 0.2.1",
 ]
 
 [[package]]
@@ -4887,11 +4804,20 @@ dependencies = [
 
 [[package]]
 name = "windows-sys"
-version = "0.59.0"
+version = "0.60.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
+checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
 dependencies = [
- "windows-targets 0.52.6",
+ "windows-targets 0.53.5",
+]
+
+[[package]]
+name = "windows-sys"
+version = "0.61.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
+dependencies = [
+ "windows-link 0.2.1",
 ]
 
 [[package]]
@@ -4933,13 +4859,30 @@ dependencies = [
  "windows_aarch64_gnullvm 0.52.6",
  "windows_aarch64_msvc 0.52.6",
  "windows_i686_gnu 0.52.6",
- "windows_i686_gnullvm",
+ "windows_i686_gnullvm 0.52.6",
  "windows_i686_msvc 0.52.6",
  "windows_x86_64_gnu 0.52.6",
  "windows_x86_64_gnullvm 0.52.6",
  "windows_x86_64_msvc 0.52.6",
 ]
 
+[[package]]
+name = "windows-targets"
+version = "0.53.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3"
+dependencies = [
+ "windows-link 0.2.1",
+ "windows_aarch64_gnullvm 0.53.1",
+ "windows_aarch64_msvc 0.53.1",
+ "windows_i686_gnu 0.53.1",
+ "windows_i686_gnullvm 0.53.1",
+ "windows_i686_msvc 0.53.1",
+ "windows_x86_64_gnu 0.53.1",
+ "windows_x86_64_gnullvm 0.53.1",
+ "windows_x86_64_msvc 0.53.1",
+]
+
 [[package]]
 name = "windows_aarch64_gnullvm"
 version = "0.42.2"
@@ -4958,6 +4901,12 @@ version = "0.52.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
 
+[[package]]
+name = "windows_aarch64_gnullvm"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53"
+
 [[package]]
 name = "windows_aarch64_msvc"
 version = "0.42.2"
@@ -4976,6 +4925,12 @@ version = "0.52.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
 
+[[package]]
+name = "windows_aarch64_msvc"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006"
+
 [[package]]
 name = "windows_i686_gnu"
 version = "0.42.2"
@@ -4994,12 +4949,24 @@ version = "0.52.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
 
+[[package]]
+name = "windows_i686_gnu"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3"
+
 [[package]]
 name = "windows_i686_gnullvm"
 version = "0.52.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
 
+[[package]]
+name = "windows_i686_gnullvm"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c"
+
 [[package]]
 name = "windows_i686_msvc"
 version = "0.42.2"
@@ -5018,6 +4985,12 @@ version = "0.52.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
 
+[[package]]
+name = "windows_i686_msvc"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2"
+
 [[package]]
 name = "windows_x86_64_gnu"
 version = "0.42.2"
@@ -5036,6 +5009,12 @@ version = "0.52.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
 
+[[package]]
+name = "windows_x86_64_gnu"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499"
+
 [[package]]
 name = "windows_x86_64_gnullvm"
 version = "0.42.2"
@@ -5054,6 +5033,12 @@ version = "0.52.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
 
+[[package]]
+name = "windows_x86_64_gnullvm"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1"
+
 [[package]]
 name = "windows_x86_64_msvc"
 version = "0.42.2"
@@ -5073,25 +5058,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
 
 [[package]]
-name = "write16"
-version = "1.0.0"
+name = "windows_x86_64_msvc"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650"
+
+[[package]]
+name = "wit-bindgen"
+version = "0.46.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936"
+checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"
 
 [[package]]
 name = "writeable"
-version = "0.5.5"
+version = "0.6.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51"
+checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9"
 
 [[package]]
 name = "xattr"
-version = "1.3.1"
+version = "1.6.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f"
+checksum = "32e45ad4206f6d2479085147f02bc2ef834ac85886624a23575ae137c8aa8156"
 dependencies = [
  "libc",
- "linux-raw-sys",
  "rustix",
 ]
 
@@ -5121,11 +5111,10 @@ dependencies = [
 
 [[package]]
 name = "yoke"
-version = "0.7.5"
+version = "0.8.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40"
+checksum = "72d6e5c6afb84d73944e5cedb052c4680d5657337201555f9f2a16b7406d4954"
 dependencies = [
- "serde",
  "stable_deref_trait",
  "yoke-derive",
  "zerofrom",
@@ -5133,70 +5122,81 @@ dependencies = [
 
 [[package]]
 name = "yoke-derive"
-version = "0.7.5"
+version = "0.8.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154"
+checksum = "b659052874eb698efe5b9e8cf382204678a0086ebf46982b79d6ca3182927e5d"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
- "synstructure 0.13.1",
+ "syn 2.0.111",
+ "synstructure 0.13.2",
 ]
 
 [[package]]
 name = "zerocopy"
-version = "0.7.35"
+version = "0.8.28"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
+checksum = "43fa6694ed34d6e57407afbccdeecfa268c470a7d2a5b0cf49ce9fcc345afb90"
 dependencies = [
- "byteorder",
  "zerocopy-derive",
 ]
 
 [[package]]
 name = "zerocopy-derive"
-version = "0.7.35"
+version = "0.8.28"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
+checksum = "c640b22cd9817fae95be82f0d2f90b11f7605f6c319d16705c459b27ac2cbc26"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "zerofrom"
-version = "0.1.5"
+version = "0.1.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e"
+checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5"
 dependencies = [
  "zerofrom-derive",
 ]
 
 [[package]]
 name = "zerofrom-derive"
-version = "0.1.5"
+version = "0.1.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808"
+checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
- "synstructure 0.13.1",
+ "syn 2.0.111",
+ "synstructure 0.13.2",
 ]
 
 [[package]]
 name = "zeroize"
-version = "1.8.1"
+version = "1.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
+checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0"
+
+[[package]]
+name = "zerotrie"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2a59c17a5562d507e4b54960e8569ebee33bee890c70aa3fe7b97e85a9fd7851"
+dependencies = [
+ "displaydoc",
+ "yoke",
+ "zerofrom",
+]
 
 [[package]]
 name = "zerovec"
-version = "0.10.4"
+version = "0.11.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079"
+checksum = "6c28719294829477f525be0186d13efa9a3c602f7ec202ca9e353d310fb9a002"
 dependencies = [
+ "serde",
  "yoke",
  "zerofrom",
  "zerovec-derive",
@@ -5204,11 +5204,11 @@ dependencies = [
 
 [[package]]
 name = "zerovec-derive"
-version = "0.10.3"
+version = "0.11.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
+checksum = "eadce39539ca5cb3985590102671f2567e659fca9666581ad3411d59207951f3"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
diff --git a/lua/Cargo.toml b/lua/Cargo.toml
index a962fb92..5ba061b3 100644
--- a/lua/Cargo.toml
+++ b/lua/Cargo.toml
@@ -1,7 +1,7 @@
 [package]
 name = "kcl-lib-lua"
-version = "0.11.2"
-edition = "2021"
+version = "0.12.0"
+edition = "2024"
 publish = false
 
 [features]
@@ -16,4 +16,4 @@ mlua = { version = "0.9", features = [
   "module",
   "macros",
 ], default-features = false, optional = true }
-kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.11.2" }
+kcl-api = { git = "https://github.com/kcl-lang/kcl", version = "0.12.0" }
diff --git a/lua/kcl_lib-0.11.2-1.rockspec b/lua/kcl_lib-0.11.2-1.rockspec
index 4cca1aac..5fb48035 100644
--- a/lua/kcl_lib-0.11.2-1.rockspec
+++ b/lua/kcl_lib-0.11.2-1.rockspec
@@ -1,5 +1,5 @@
 package = "kcl_lib"
-version = "0.11.2-1"
+version = "0.12.0-1"
 
 source = {
     url = "git+https://github.com/kcl-lang/kcl",
diff --git a/lua/src/lib.rs b/lua/src/lib.rs
index d3eca9be..2576ec42 100644
--- a/lua/src/lib.rs
+++ b/lua/src/lib.rs
@@ -1,15 +1,15 @@
-extern crate kclvm_api;
+extern crate kcl_api;
 
 use mlua::prelude::*;
 
 /// Execute KCL file with arguments and return the JSON/YAML result.
 fn exec_program<'a>(lua: &'a Lua, args: LuaTable<'a>) -> LuaResult> {
-    let api = kclvm_api::API::default();
+    let api = kcl_api::API::default();
     let work_dir: String = args.get("work_dir")?;
     let k_filename_list: Vec = args.get("k_filename_list")?;
     let k_code_list: Vec = args.get("k_code_list")?;
 
-    let result = match api.exec_program(&kclvm_api::ExecProgramArgs {
+    let result = match api.exec_program(&kcl_api::ExecProgramArgs {
         work_dir,
         k_filename_list,
         k_code_list,
diff --git a/nodejs/.gitignore b/nodejs/.gitignore
index a2b5be15..1e3c9320 100644
--- a/nodejs/.gitignore
+++ b/nodejs/.gitignore
@@ -9,6 +9,7 @@ npm-debug.log*
 yarn-debug.log*
 yarn-error.log*
 lerna-debug.log*
+pnpm-lock.yaml
 
 # Diagnostic reports (https://nodejs.org/api/report.html)
 report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
@@ -121,7 +122,7 @@ dist
 .AppleDouble
 .LSOverride
 
-# Icon must end with two 
+# Icon must end with two 
 Icon
 
 
diff --git a/nodejs/Cargo.lock b/nodejs/Cargo.lock
index cd375acc..8bf34b6f 100644
--- a/nodejs/Cargo.lock
+++ b/nodejs/Cargo.lock
@@ -4,35 +4,24 @@ version = 4
 
 [[package]]
 name = "addr2line"
-version = "0.24.2"
+version = "0.25.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1"
+checksum = "1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b"
 dependencies = [
  "gimli",
 ]
 
 [[package]]
 name = "adler2"
-version = "2.0.0"
+version = "2.0.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
-
-[[package]]
-name = "ahash"
-version = "0.7.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9"
-dependencies = [
- "getrandom",
- "once_cell",
- "version_check",
-]
+checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
 
 [[package]]
 name = "aho-corasick"
-version = "1.1.3"
+version = "1.1.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
+checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
 dependencies = [
  "memchr",
 ]
@@ -46,12 +35,6 @@ dependencies = [
  "log",
 ]
 
-[[package]]
-name = "android-tzdata"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"
-
 [[package]]
 name = "android_system_properties"
 version = "0.1.5"
@@ -73,9 +56,9 @@ dependencies = [
 
 [[package]]
 name = "anstream"
-version = "0.6.18"
+version = "0.6.21"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b"
+checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a"
 dependencies = [
  "anstyle",
  "anstyle-parse",
@@ -88,43 +71,44 @@ dependencies = [
 
 [[package]]
 name = "anstyle"
-version = "1.0.10"
+version = "1.0.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9"
+checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78"
 
 [[package]]
 name = "anstyle-parse"
-version = "0.2.6"
+version = "0.2.7"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9"
+checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2"
 dependencies = [
  "utf8parse",
 ]
 
 [[package]]
 name = "anstyle-query"
-version = "1.1.2"
+version = "1.1.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c"
+checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
 dependencies = [
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
 name = "anstyle-wincon"
-version = "3.0.6"
+version = "3.0.11"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2109dbce0e72be3ec00bed26e6a7479ca384ad226efdd66db8fa2e3a38c83125"
+checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
 dependencies = [
  "anstyle",
- "windows-sys 0.59.0",
+ "once_cell_polyfill",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
 name = "anyhow"
-version = "1.0.94"
+version = "1.0.100"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c1fd03a028ef38ba2276dce7e33fcd6369c158a1bca17946c4b1b701891c1ff7"
+checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61"
 dependencies = [
  "backtrace",
 ]
@@ -160,36 +144,36 @@ checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
+[[package]]
+name = "atomic-waker"
+version = "1.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
+
 [[package]]
 name = "autocfg"
-version = "1.4.0"
+version = "1.5.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
+checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
 
 [[package]]
 name = "backtrace"
-version = "0.3.74"
+version = "0.3.76"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a"
+checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6"
 dependencies = [
  "addr2line",
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "libc",
  "miniz_oxide",
  "object",
  "rustc-demangle",
- "windows-targets 0.52.6",
+ "windows-link 0.2.1",
 ]
 
-[[package]]
-name = "base-x"
-version = "0.2.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4cbbc9d0964165b47557570cce6c952866c2678457aca742aafc9fb771d30270"
-
 [[package]]
 name = "base32"
 version = "0.4.0"
@@ -231,9 +215,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
 
 [[package]]
 name = "bitflags"
-version = "2.6.0"
+version = "2.10.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
+checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3"
 
 [[package]]
 name = "bitmaps"
@@ -246,14 +230,14 @@ dependencies = [
 
 [[package]]
 name = "blake3"
-version = "1.5.5"
+version = "1.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8ee0c1824c4dea5b5f81736aff91bae041d2c07ee1192bec91054e10e3e601e"
+checksum = "3888aaa89e4b2a40fca9848e400f6a658a5a3978de7be858e209cafa8be9a4a0"
 dependencies = [
  "arrayref",
  "arrayvec",
  "cc",
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "constant_time_eq",
 ]
 
@@ -309,9 +293,9 @@ dependencies = [
 
 [[package]]
 name = "bumpalo"
-version = "3.16.0"
+version = "3.19.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
+checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43"
 
 [[package]]
 name = "byte-tools"
@@ -327,16 +311,17 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
 
 [[package]]
 name = "bytes"
-version = "1.9.0"
+version = "1.11.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b"
+checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3"
 
 [[package]]
 name = "cc"
-version = "1.2.4"
+version = "1.2.47"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9157bbaa6b165880c27a4293a474c91cdcf265cc68cc829bf10be0964a391caf"
+checksum = "cd405d82c84ff7f35739f175f67d8b9fb7687a0e84ccdc78bd3568839827cf07"
 dependencies = [
+ "find-msvc-tools",
  "shlex",
 ]
 
@@ -348,9 +333,9 @@ checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
 
 [[package]]
 name = "cfg-if"
-version = "1.0.0"
+version = "1.0.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
 
 [[package]]
 name = "cfg_aliases"
@@ -360,17 +345,16 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
 
 [[package]]
 name = "chrono"
-version = "0.4.39"
+version = "0.4.42"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e36cc9d416881d2e24f9a963be5fb1cd90966419ac844274161d10488b3e825"
+checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2"
 dependencies = [
- "android-tzdata",
  "iana-time-zone",
  "js-sys",
  "num-traits",
  "serde",
  "wasm-bindgen",
- "windows-targets 0.52.6",
+ "windows-link 0.2.1",
 ]
 
 [[package]]
@@ -381,18 +365,18 @@ checksum = "bd1b64030216239a2e7c364b13cd96a2097ebf0dfe5025f2dedee14a23f2ab60"
 
 [[package]]
 name = "clap"
-version = "4.5.23"
+version = "4.5.53"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3135e7ec2ef7b10c6ed8950f0f792ed96ee093fa088608f1c76e569722700c84"
+checksum = "c9e340e012a1bf4935f5282ed1436d1489548e8f72308207ea5df0e23d2d03f8"
 dependencies = [
  "clap_builder",
 ]
 
 [[package]]
 name = "clap_builder"
-version = "4.5.23"
+version = "4.5.53"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30582fc632330df2bd26877bde0c1f4470d57c582bbc070376afcd04d8cb4838"
+checksum = "d76b5d13eaa18c901fd2f7fca939fefe3a0727a953561fefdf3b2922b8569d00"
 dependencies = [
  "anstream",
  "anstyle",
@@ -402,15 +386,15 @@ dependencies = [
 
 [[package]]
 name = "clap_lex"
-version = "0.7.4"
+version = "0.7.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6"
+checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d"
 
 [[package]]
 name = "colorchoice"
-version = "1.0.3"
+version = "1.0.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990"
+checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75"
 
 [[package]]
 name = "compiler_base_error"
@@ -456,12 +440,6 @@ dependencies = [
  "rustc_span",
 ]
 
-[[package]]
-name = "const_fn"
-version = "0.4.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "373e9fafaa20882876db20562275ff58d50e0caa2590077fe7ce7bef90211d0d"
-
 [[package]]
 name = "constant_time_eq"
 version = "0.3.1"
@@ -485,27 +463,27 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
 
 [[package]]
 name = "cpufeatures"
-version = "0.2.16"
+version = "0.2.17"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16b80225097f2e5ae4e7179dd2266824648f3e2f49d9134d584b76389d31c4c3"
+checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
 dependencies = [
  "libc",
 ]
 
 [[package]]
 name = "crc32fast"
-version = "1.4.2"
+version = "1.5.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
+checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
 ]
 
 [[package]]
 name = "crossbeam-channel"
-version = "0.5.14"
+version = "0.5.15"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "06ba6d68e24814cb8de6bb986db8222d3a027d15872cabc0d18817bc3c0e4471"
+checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2"
 dependencies = [
  "crossbeam-utils",
 ]
@@ -537,9 +515,9 @@ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
 
 [[package]]
 name = "crypto-common"
-version = "0.1.6"
+version = "0.1.7"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
+checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
 dependencies = [
  "generic-array 0.14.7",
  "typenum",
@@ -552,14 +530,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "32a2785755761f3ddc1492979ce1e48d2c00d09311c39e4466429188f3dd6501"
 dependencies = [
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "darling"
-version = "0.20.10"
+version = "0.20.11"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989"
+checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee"
 dependencies = [
  "darling_core",
  "darling_macro",
@@ -567,27 +545,27 @@ dependencies = [
 
 [[package]]
 name = "darling_core"
-version = "0.20.10"
+version = "0.20.11"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95133861a8032aaea082871032f5815eb9e98cef03fa916ab4500513994df9e5"
+checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e"
 dependencies = [
  "fnv",
  "ident_case",
  "proc-macro2",
  "quote",
  "strsim 0.11.1",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "darling_macro"
-version = "0.20.10"
+version = "0.20.11"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806"
+checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead"
 dependencies = [
  "darling_core",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
@@ -596,18 +574,18 @@ version = "5.5.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "hashbrown 0.14.5",
  "lock_api",
  "once_cell",
- "parking_lot_core 0.9.10",
+ "parking_lot_core 0.9.12",
 ]
 
 [[package]]
 name = "deranged"
-version = "0.3.11"
+version = "0.5.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4"
+checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587"
 dependencies = [
  "powerfmt",
 ]
@@ -630,7 +608,7 @@ dependencies = [
  "darling",
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
@@ -640,7 +618,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "ab63b0e2bf4d5928aff72e83a7dace85d7bba5fe12dcc3c5a572d78caffd3f3c"
 dependencies = [
  "derive_builder_core",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
@@ -699,12 +677,6 @@ dependencies = [
  "windows-sys 0.48.0",
 ]
 
-[[package]]
-name = "discard"
-version = "1.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0"
-
 [[package]]
 name = "displaydoc"
 version = "0.2.5"
@@ -713,26 +685,26 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "dns-lookup"
-version = "2.0.4"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5766087c2235fec47fafa4cfecc81e494ee679d0fd4a59887ea0919bfb0e4fc"
+checksum = "cf5597a4b7fe5275fc9dcf88ce26326bc8e4cb87d0130f33752d4c5f717793cf"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "libc",
  "socket2",
- "windows-sys 0.48.0",
+ "windows-sys 0.60.2",
 ]
 
 [[package]]
 name = "either"
-version = "1.13.0"
+version = "1.15.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
+checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
 
 [[package]]
 name = "ena"
@@ -744,69 +716,14 @@ dependencies = [
 ]
 
 [[package]]
-name = "encoding"
-version = "0.2.33"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6b0d943856b990d12d3b55b359144ff341533e516d94098b1d3fc1ac666d36ec"
-dependencies = [
- "encoding-index-japanese",
- "encoding-index-korean",
- "encoding-index-simpchinese",
- "encoding-index-singlebyte",
- "encoding-index-tradchinese",
-]
-
-[[package]]
-name = "encoding-index-japanese"
-version = "1.20141219.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "04e8b2ff42e9a05335dbf8b5c6f7567e5591d0d916ccef4e0b1710d32a0d0c91"
-dependencies = [
- "encoding_index_tests",
-]
-
-[[package]]
-name = "encoding-index-korean"
-version = "1.20141219.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4dc33fb8e6bcba213fe2f14275f0963fd16f0a02c878e3095ecfdf5bee529d81"
-dependencies = [
- "encoding_index_tests",
-]
-
-[[package]]
-name = "encoding-index-simpchinese"
-version = "1.20141219.5"
+name = "encoding_rs"
+version = "0.8.35"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d87a7194909b9118fc707194baa434a4e3b0fb6a5a757c73c3adb07aa25031f7"
+checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3"
 dependencies = [
- "encoding_index_tests",
+ "cfg-if 1.0.4",
 ]
 
-[[package]]
-name = "encoding-index-singlebyte"
-version = "1.20141219.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3351d5acffb224af9ca265f435b859c7c01537c0849754d3db3fdf2bfe2ae84a"
-dependencies = [
- "encoding_index_tests",
-]
-
-[[package]]
-name = "encoding-index-tradchinese"
-version = "1.20141219.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fd0e20d5688ce3cab59eb3ef3a2083a5c77bf496cb798dc6fcdb75f323890c18"
-dependencies = [
- "encoding_index_tests",
-]
-
-[[package]]
-name = "encoding_index_tests"
-version = "0.1.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a246d82be1c9d791c5dfde9a2bd045fc3cbba3fa2b11ad558f27d01712f00569"
-
 [[package]]
 name = "enquote"
 version = "1.1.0"
@@ -818,9 +735,9 @@ dependencies = [
 
 [[package]]
 name = "env_filter"
-version = "0.1.2"
+version = "0.1.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4f2c92ceda6ceec50f43169f9ee8424fe2db276791afde7b2cd8bc084cb376ab"
+checksum = "1bf3c259d255ca70051b30e2e95b5446cdb8949ac4cd22c0d7fd634d89f568e2"
 dependencies = [
  "log",
  "regex",
@@ -828,41 +745,42 @@ dependencies = [
 
 [[package]]
 name = "env_logger"
-version = "0.11.5"
+version = "0.11.8"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e13fa619b91fb2381732789fc5de83b45675e882f66623b7d8cb4f643017018d"
+checksum = "13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f"
 dependencies = [
  "anstream",
  "anstyle",
  "env_filter",
- "humantime",
+ "jiff",
  "log",
 ]
 
 [[package]]
 name = "equivalent"
-version = "1.0.1"
+version = "1.0.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
+checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
 
 [[package]]
 name = "erased-serde"
-version = "0.4.5"
+version = "0.4.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "24e2389d65ab4fab27dc2a5de7b191e1f6617d1f1c8855c0dc569c94a4cbb18d"
+checksum = "89e8918065695684b2b0702da20382d5ae6065cf3327bc2d6436bd49a71ce9f3"
 dependencies = [
  "serde",
+ "serde_core",
  "typeid",
 ]
 
 [[package]]
 name = "errno"
-version = "0.3.10"
+version = "0.3.14"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d"
+checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
 dependencies = [
  "libc",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
@@ -883,27 +801,39 @@ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
 
 [[package]]
 name = "filetime"
-version = "0.2.25"
+version = "0.2.26"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586"
+checksum = "bc0505cd1b6fa6580283f6bdf70a73fcf4aba1184038c90902b92b3dd0df63ed"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "libc",
  "libredox",
- "windows-sys 0.59.0",
+ "windows-sys 0.60.2",
 ]
 
+[[package]]
+name = "find-msvc-tools"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844"
+
 [[package]]
 name = "fixedbitset"
 version = "0.4.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
 
+[[package]]
+name = "fixedbitset"
+version = "0.5.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99"
+
 [[package]]
 name = "flate2"
-version = "1.0.35"
+version = "1.1.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c"
+checksum = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb"
 dependencies = [
  "crc32fast",
  "miniz_oxide",
@@ -937,9 +867,9 @@ dependencies = [
 
 [[package]]
 name = "fluent-langneg"
-version = "0.13.0"
+version = "0.13.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2c4ad0989667548f06ccd0e306ed56b61bd4d35458d54df5ec7587c0e8ed5e94"
+checksum = "7eebbe59450baee8282d71676f3bfed5689aeab00b27545e83e5f14b1195e8b0"
 dependencies = [
  "unic-langid",
 ]
@@ -961,9 +891,9 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
 
 [[package]]
 name = "form_urlencoded"
-version = "1.2.1"
+version = "1.2.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
+checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf"
 dependencies = [
  "percent-encoding",
 ]
@@ -1049,7 +979,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
@@ -1088,7 +1018,7 @@ version = "0.2.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "877e94aff08e743b651baaea359664321055749b398adff8740a7399af7796e7"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
 ]
 
 [[package]]
@@ -1112,28 +1042,42 @@ dependencies = [
 
 [[package]]
 name = "getrandom"
-version = "0.2.15"
+version = "0.2.16"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
+checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "js-sys",
  "libc",
  "wasi",
  "wasm-bindgen",
 ]
 
+[[package]]
+name = "getrandom"
+version = "0.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
+dependencies = [
+ "cfg-if 1.0.4",
+ "js-sys",
+ "libc",
+ "r-efi",
+ "wasip2",
+ "wasm-bindgen",
+]
+
 [[package]]
 name = "gimli"
-version = "0.31.1"
+version = "0.32.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f"
+checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7"
 
 [[package]]
 name = "glob"
-version = "0.3.1"
+version = "0.3.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
+checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
 
 [[package]]
 name = "handlebars"
@@ -1163,9 +1107,9 @@ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
 
 [[package]]
 name = "hashbrown"
-version = "0.15.2"
+version = "0.16.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
+checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
 
 [[package]]
 name = "heck"
@@ -1178,15 +1122,15 @@ dependencies = [
 
 [[package]]
 name = "heck"
-version = "0.4.1"
+version = "0.5.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
+checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
 
 [[package]]
 name = "hermit-abi"
-version = "0.3.9"
+version = "0.5.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
+checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c"
 
 [[package]]
 name = "hmac"
@@ -1197,31 +1141,22 @@ dependencies = [
  "digest 0.10.7",
 ]
 
-[[package]]
-name = "home"
-version = "0.5.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5"
-dependencies = [
- "windows-sys 0.52.0",
-]
-
 [[package]]
 name = "hostname"
-version = "0.4.0"
+version = "0.4.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f9c7c7c8ac16c798734b8a24560c1362120597c40d5e1459f09498f8f6c8f2ba"
+checksum = "a56f203cd1c76362b69e3863fd987520ac36cf70a8c92627449b2f64a8cf7d65"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "libc",
- "windows",
+ "windows-link 0.1.3",
 ]
 
 [[package]]
 name = "http"
-version = "1.2.0"
+version = "1.3.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea"
+checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565"
 dependencies = [
  "bytes",
  "fnv",
@@ -1249,12 +1184,12 @@ dependencies = [
 
 [[package]]
 name = "http-body-util"
-version = "0.1.2"
+version = "0.1.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f"
+checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a"
 dependencies = [
  "bytes",
- "futures-util",
+ "futures-core",
  "http",
  "http-body",
  "pin-project-lite",
@@ -1262,30 +1197,26 @@ dependencies = [
 
 [[package]]
 name = "httparse"
-version = "1.9.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946"
-
-[[package]]
-name = "humantime"
-version = "2.1.0"
+version = "1.10.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
+checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
 
 [[package]]
 name = "hyper"
-version = "1.5.2"
+version = "1.8.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "256fb8d4bd6413123cc9d91832d78325c48ff41677595be797d90f42969beae0"
+checksum = "2ab2d4f250c3d7b1c9fcdff1cece94ea4e2dfbec68614f7b87cb205f24ca9d11"
 dependencies = [
+ "atomic-waker",
  "bytes",
  "futures-channel",
- "futures-util",
+ "futures-core",
  "http",
  "http-body",
  "httparse",
  "itoa",
  "pin-project-lite",
+ "pin-utils",
  "smallvec",
  "tokio",
  "want",
@@ -1293,11 +1224,10 @@ dependencies = [
 
 [[package]]
 name = "hyper-rustls"
-version = "0.27.4"
+version = "0.27.7"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6884a48c6826ec44f524c7456b163cebe9e55a18d7b5e307cb4f100371cc767"
+checksum = "e3c93eb611681b207e1fe55d5a71ecf91572ec8a6705cdb6857f7d8d5242cf58"
 dependencies = [
- "futures-util",
  "http",
  "hyper",
  "hyper-util",
@@ -1311,16 +1241,21 @@ dependencies = [
 
 [[package]]
 name = "hyper-util"
-version = "0.1.10"
+version = "0.1.18"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4"
+checksum = "52e9a2a24dc5c6821e71a7030e1e14b7b632acac55c40e9d2e082c621261bb56"
 dependencies = [
+ "base64 0.22.1",
  "bytes",
  "futures-channel",
+ "futures-core",
  "futures-util",
  "http",
  "http-body",
  "hyper",
+ "ipnet",
+ "libc",
+ "percent-encoding",
  "pin-project-lite",
  "socket2",
  "tokio",
@@ -1330,14 +1265,15 @@ dependencies = [
 
 [[package]]
 name = "iana-time-zone"
-version = "0.1.61"
+version = "0.1.64"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220"
+checksum = "33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb"
 dependencies = [
  "android_system_properties",
  "core-foundation-sys",
  "iana-time-zone-haiku",
  "js-sys",
+ "log",
  "wasm-bindgen",
  "windows-core",
 ]
@@ -1353,21 +1289,22 @@ dependencies = [
 
 [[package]]
 name = "icu_collections"
-version = "1.5.0"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526"
+checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43"
 dependencies = [
  "displaydoc",
+ "potential_utf",
  "yoke",
  "zerofrom",
  "zerovec",
 ]
 
 [[package]]
-name = "icu_locid"
-version = "1.5.0"
+name = "icu_locale_core"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637"
+checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6"
 dependencies = [
  "displaydoc",
  "litemap",
@@ -1376,99 +1313,61 @@ dependencies = [
  "zerovec",
 ]
 
-[[package]]
-name = "icu_locid_transform"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e"
-dependencies = [
- "displaydoc",
- "icu_locid",
- "icu_locid_transform_data",
- "icu_provider",
- "tinystr",
- "zerovec",
-]
-
-[[package]]
-name = "icu_locid_transform_data"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e"
-
 [[package]]
 name = "icu_normalizer"
-version = "1.5.0"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f"
+checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599"
 dependencies = [
- "displaydoc",
  "icu_collections",
  "icu_normalizer_data",
  "icu_properties",
  "icu_provider",
  "smallvec",
- "utf16_iter",
- "utf8_iter",
- "write16",
  "zerovec",
 ]
 
 [[package]]
 name = "icu_normalizer_data"
-version = "1.5.0"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516"
+checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a"
 
 [[package]]
 name = "icu_properties"
-version = "1.5.1"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5"
+checksum = "e93fcd3157766c0c8da2f8cff6ce651a31f0810eaa1c51ec363ef790bbb5fb99"
 dependencies = [
- "displaydoc",
  "icu_collections",
- "icu_locid_transform",
+ "icu_locale_core",
  "icu_properties_data",
  "icu_provider",
- "tinystr",
+ "zerotrie",
  "zerovec",
 ]
 
 [[package]]
 name = "icu_properties_data"
-version = "1.5.0"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569"
+checksum = "02845b3647bb045f1100ecd6480ff52f34c35f82d9880e029d329c21d1054899"
 
 [[package]]
 name = "icu_provider"
-version = "1.5.0"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9"
+checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614"
 dependencies = [
  "displaydoc",
- "icu_locid",
- "icu_provider_macros",
- "stable_deref_trait",
- "tinystr",
+ "icu_locale_core",
  "writeable",
  "yoke",
  "zerofrom",
+ "zerotrie",
  "zerovec",
 ]
 
-[[package]]
-name = "icu_provider_macros"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.90",
-]
-
 [[package]]
 name = "ident_case"
 version = "1.0.1"
@@ -1477,9 +1376,9 @@ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
 
 [[package]]
 name = "idna"
-version = "1.0.3"
+version = "1.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e"
+checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de"
 dependencies = [
  "idna_adapter",
  "smallvec",
@@ -1488,9 +1387,9 @@ dependencies = [
 
 [[package]]
 name = "idna_adapter"
-version = "1.2.0"
+version = "1.2.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71"
+checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344"
 dependencies = [
  "icu_normalizer",
  "icu_properties",
@@ -1503,7 +1402,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "af1955a75fa080c677d3972822ec4bad316169ab1cfc6c257a942c2265dbe5fe"
 dependencies = [
  "bitmaps",
- "rand_core",
+ "rand_core 0.6.4",
  "rand_xoshiro",
  "sized-chunks",
  "typenum",
@@ -1518,17 +1417,17 @@ checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
 dependencies = [
  "autocfg",
  "hashbrown 0.12.3",
- "rustc-rayon 0.5.0",
+ "rustc-rayon 0.5.1",
 ]
 
 [[package]]
 name = "indexmap"
-version = "2.7.0"
+version = "2.12.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f"
+checksum = "0ad4bb2b565bca0645f4d68c5c9af97fba094e9791da685bf83cb5f3ce74acf2"
 dependencies = [
  "equivalent",
- "hashbrown 0.15.2",
+ "hashbrown 0.16.1",
 ]
 
 [[package]]
@@ -1568,14 +1467,14 @@ version = "0.1.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
 ]
 
 [[package]]
 name = "intl-memoizer"
-version = "0.5.2"
+version = "0.5.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fe22e020fce238ae18a6d5d8c502ee76a52a6e880d99477657e6acc30ec57bda"
+checksum = "310da2e345f5eb861e7a07ee182262e94975051db9e4223e909ba90f392f163f"
 dependencies = [
  "type-map",
  "unic-langid",
@@ -1592,21 +1491,34 @@ dependencies = [
 
 [[package]]
 name = "inventory"
-version = "0.3.15"
+version = "0.3.21"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f958d3d68f4167080a18141e10381e7634563984a537f2a49a30fd8e53ac5767"
+checksum = "bc61209c082fbeb19919bee74b176221b27223e27b65d781eb91af24eb1fb46e"
+dependencies = [
+ "rustversion",
+]
 
 [[package]]
 name = "ipnet"
-version = "2.10.1"
+version = "2.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130"
+
+[[package]]
+name = "iri-string"
+version = "0.7.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708"
+checksum = "4f867b9d1d896b67beb18518eda36fdb77a32ea590de864f1325b294a6d14397"
+dependencies = [
+ "memchr",
+ "serde",
+]
 
 [[package]]
 name = "is_terminal_polyfill"
-version = "1.70.1"
+version = "1.70.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
+checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
 
 [[package]]
 name = "itertools"
@@ -1617,18 +1529,52 @@ dependencies = [
  "either",
 ]
 
+[[package]]
+name = "itertools"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285"
+dependencies = [
+ "either",
+]
+
 [[package]]
 name = "itoa"
-version = "1.0.14"
+version = "1.0.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
+
+[[package]]
+name = "jiff"
+version = "0.2.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "49cce2b81f2098e7e3efc35bc2e0a6b7abec9d34128283d7a26fa8f32a6dbb35"
+dependencies = [
+ "jiff-static",
+ "log",
+ "portable-atomic",
+ "portable-atomic-util",
+ "serde_core",
+]
+
+[[package]]
+name = "jiff-static"
+version = "0.2.16"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674"
+checksum = "980af8b43c3ad5d8d349ace167ec8170839f753a42d233ba19e08afe1850fa69"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.111",
+]
 
 [[package]]
 name = "jobserver"
-version = "0.1.32"
+version = "0.1.34"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0"
+checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33"
 dependencies = [
+ "getrandom 0.3.4",
  "libc",
 ]
 
@@ -1640,9 +1586,9 @@ checksum = "8b23360e99b8717f20aaa4598f5a6541efbe30630039fbc7706cf954a87947ae"
 
 [[package]]
 name = "js-sys"
-version = "0.3.76"
+version = "0.3.82"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6717b6b5b077764fb5966237269cb3c64edddde4b14ce42647430a78ced9e7b7"
+checksum = "b011eec8cc36da2aab2d5cff675ec18454fad408585853910a202391cf9f8e65"
 dependencies = [
  "once_cell",
  "wasm-bindgen",
@@ -1698,114 +1644,58 @@ dependencies = [
  "hmac",
  "serde",
  "serde_json",
- "sha2 0.10.8",
+ "sha2 0.10.9",
 ]
 
 [[package]]
-name = "kcl-language-server"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-api"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
- "chrono",
- "clap",
- "compiler_base_session",
- "crossbeam-channel",
- "dashmap",
- "env_logger",
- "im-rc",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-config",
- "kclvm-driver",
- "kclvm-error",
- "kclvm-parser",
- "kclvm-query",
- "kclvm-sema",
- "kclvm-span",
- "kclvm-tools",
- "kclvm-utils",
- "kclvm-version",
- "log",
- "lsp-server",
- "lsp-types",
+ "futures",
+ "jsonrpc-stdio-server",
+ "kcl-ast",
+ "kcl-ast-pretty",
+ "kcl-config",
+ "kcl-driver",
+ "kcl-error",
+ "kcl-language-server",
+ "kcl-loader",
+ "kcl-parser",
+ "kcl-primitives",
+ "kcl-query",
+ "kcl-runner",
+ "kcl-runtime",
+ "kcl-sema",
+ "kcl-tools",
+ "kcl-utils",
+ "kcl-version",
  "maplit",
- "notify 7.0.0",
- "parking_lot 0.12.3",
- "proc_macro_crate",
- "ra_ap_vfs",
- "ra_ap_vfs-notify",
- "ropey",
- "rustc-hash 1.1.0",
- "rustc_lexer",
- "salsa",
+ "once_cell",
+ "prost",
+ "prost-build",
+ "prost-types",
+ "prost-wkt",
+ "prost-wkt-build",
+ "protoc-bin-vendored",
  "serde",
  "serde_json",
- "threadpool",
+ "serde_yaml_ng",
+ "tempfile",
  "tokio",
- "tokio-test",
 ]
 
 [[package]]
-name = "kcl-lib"
-version = "0.0.0"
-dependencies = [
- "kclvm-api",
- "napi",
- "napi-build",
- "napi-derive",
-]
-
-[[package]]
-name = "kclvm-api"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
-dependencies = [
- "anyhow",
- "futures",
- "indexmap 1.9.3",
- "jsonrpc-stdio-server",
- "kcl-language-server",
- "kclvm-ast",
- "kclvm-ast-pretty",
- "kclvm-config",
- "kclvm-driver",
- "kclvm-error",
- "kclvm-loader",
- "kclvm-parser",
- "kclvm-query",
- "kclvm-runner",
- "kclvm-runtime",
- "kclvm-sema",
- "kclvm-tools",
- "kclvm-utils",
- "kclvm-version",
- "maplit",
- "once_cell",
- "prost",
- "prost-build",
- "prost-types",
- "prost-wkt",
- "prost-wkt-build",
- "prost-wkt-types",
- "protoc-bin-vendored",
- "serde",
- "serde_json",
- "serde_yaml",
- "tempfile",
- "tokio",
-]
-
-[[package]]
-name = "kclvm-ast"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-ast"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "compiler_base_span",
- "kclvm-error",
- "kclvm-span",
- "kclvm-utils",
+ "kcl-error",
+ "kcl-span",
+ "kcl-utils",
  "serde",
  "serde_json",
  "thread_local",
@@ -1813,80 +1703,58 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-ast-pretty"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-ast-pretty"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "compiler_base_macros",
  "compiler_base_session",
  "fancy-regex",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-error",
+ "kcl-ast",
+ "kcl-error",
+ "kcl-primitives",
  "pretty_assertions",
 ]
 
 [[package]]
-name = "kclvm-compiler"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
-dependencies = [
- "ahash",
- "bit-set",
- "bitflags 1.3.2",
- "fancy-regex",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-error",
- "kclvm-runtime",
- "kclvm-sema",
- "once_cell",
- "phf",
- "time 0.2.27",
- "unicode_names2",
-]
-
-[[package]]
-name = "kclvm-config"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-config"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
- "ahash",
  "anyhow",
  "chrono",
  "dirs",
  "glob",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-utils",
- "kclvm-version",
+ "kcl-ast",
+ "kcl-utils",
+ "kcl-version",
  "md-5 0.8.0",
  "pathdiff",
  "regex",
  "ron",
  "serde",
  "serde_json",
- "serde_yaml",
+ "serde_yaml_ng",
  "toml",
  "url",
 ]
 
 [[package]]
-name = "kclvm-driver"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-driver"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "flate2",
- "indexmap 2.7.0",
- "kclvm-ast",
- "kclvm-config",
- "kclvm-parser",
- "kclvm-runtime",
- "kclvm-utils",
- "oci-distribution",
+ "kcl-ast",
+ "kcl-config",
+ "kcl-parser",
+ "kcl-primitives",
+ "kcl-runtime",
+ "kcl-utils",
+ "oci-client",
  "once_cell",
- "parking_lot 0.12.3",
+ "parking_lot 0.12.5",
  "serde",
  "serde_json",
  "tar",
@@ -1895,9 +1763,9 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-error"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-error"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "annotate-snippets",
  "anyhow",
@@ -1905,63 +1773,118 @@ dependencies = [
  "compiler_base_macros",
  "compiler_base_session",
  "compiler_base_span",
- "indexmap 1.9.3",
- "kclvm-runtime",
- "kclvm-span",
- "kclvm-utils",
+ "kcl-primitives",
+ "kcl-runtime",
+ "kcl-span",
+ "kcl-utils",
  "serde",
  "serde_json",
  "termize",
- "thiserror 1.0.69",
+ "thiserror 2.0.17",
  "tracing",
 ]
 
 [[package]]
-name = "kclvm-evaluator"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-evaluator"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "generational-arena",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-error",
- "kclvm-runtime",
- "kclvm-sema",
+ "kcl-ast",
+ "kcl-error",
+ "kcl-primitives",
+ "kcl-runtime",
+ "kcl-sema",
  "scopeguard",
 ]
 
 [[package]]
-name = "kclvm-lexer"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-language-server"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
+dependencies = [
+ "anyhow",
+ "chrono",
+ "clap",
+ "compiler_base_session",
+ "crossbeam-channel",
+ "dashmap",
+ "env_logger",
+ "im-rc",
+ "kcl-ast",
+ "kcl-config",
+ "kcl-driver",
+ "kcl-error",
+ "kcl-parser",
+ "kcl-primitives",
+ "kcl-query",
+ "kcl-sema",
+ "kcl-span",
+ "kcl-tools",
+ "kcl-utils",
+ "kcl-version",
+ "log",
+ "lsp-server",
+ "lsp-types",
+ "maplit",
+ "notify 7.0.0",
+ "parking_lot 0.12.5",
+ "proc_macro_crate",
+ "ra_ap_vfs",
+ "ra_ap_vfs-notify",
+ "ropey",
+ "rustc-hash 1.1.0",
+ "rustc_lexer",
+ "salsa",
+ "serde",
+ "serde_json",
+ "threadpool",
+ "tokio",
+ "tokio-test",
+]
+
+[[package]]
+name = "kcl-lexer"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
- "kclvm-error",
+ "kcl-error",
  "rustc_lexer",
  "unic-emoji-char",
 ]
 
 [[package]]
-name = "kclvm-loader"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-lib"
+version = "0.0.0"
+dependencies = [
+ "kcl-api",
+ "napi",
+ "napi-build",
+ "napi-derive",
+]
+
+[[package]]
+name = "kcl-loader"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-ast-pretty",
- "kclvm-error",
- "kclvm-parser",
- "kclvm-query",
- "kclvm-sema",
- "kclvm-utils",
+ "kcl-ast",
+ "kcl-ast-pretty",
+ "kcl-error",
+ "kcl-parser",
+ "kcl-primitives",
+ "kcl-query",
+ "kcl-sema",
+ "kcl-utils",
  "maplit",
 ]
 
 [[package]]
-name = "kclvm-macros"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-macros"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -1970,9 +1893,9 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-parser"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-parser"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "bstr",
@@ -1983,17 +1906,17 @@ dependencies = [
  "either",
  "enquote",
  "glob",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-config",
- "kclvm-error",
- "kclvm-lexer",
- "kclvm-sema",
- "kclvm-span",
- "kclvm-utils",
+ "kcl-ast",
+ "kcl-config",
+ "kcl-error",
+ "kcl-lexer",
+ "kcl-primitives",
+ "kcl-sema",
+ "kcl-span",
+ "kcl-utils",
  "num-bigint",
- "parking_lot 0.12.3",
- "petgraph",
+ "parking_lot 0.12.5",
+ "petgraph 0.6.5",
  "regex",
  "rustc_lexer",
  "serde",
@@ -2004,30 +1927,39 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-query"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-primitives"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
+dependencies = [
+ "indexmap 2.12.1",
+ "rustc-hash 2.1.1",
+]
+
+[[package]]
+name = "kcl-query"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "compiler_base_macros",
  "compiler_base_session",
  "fancy-regex",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-ast-pretty",
- "kclvm-error",
- "kclvm-parser",
- "kclvm-sema",
- "kclvm-utils",
+ "kcl-ast",
+ "kcl-ast-pretty",
+ "kcl-error",
+ "kcl-parser",
+ "kcl-primitives",
+ "kcl-sema",
+ "kcl-utils",
  "maplit",
  "serde",
  "serde_json",
 ]
 
 [[package]]
-name = "kclvm-runner"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-runner"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "cc",
@@ -2035,19 +1967,18 @@ dependencies = [
  "compiler_base_macros",
  "compiler_base_session",
  "glob",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-compiler",
- "kclvm-config",
- "kclvm-driver",
- "kclvm-error",
- "kclvm-evaluator",
- "kclvm-parser",
- "kclvm-query",
- "kclvm-runtime",
- "kclvm-sema",
- "kclvm-utils",
- "kclvm-version",
+ "kcl-ast",
+ "kcl-config",
+ "kcl-driver",
+ "kcl-error",
+ "kcl-evaluator",
+ "kcl-parser",
+ "kcl-primitives",
+ "kcl-query",
+ "kcl-runtime",
+ "kcl-sema",
+ "kcl-utils",
+ "kcl-version",
  "libc",
  "libloading 0.7.4",
  "once_cell",
@@ -2060,11 +1991,10 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-runtime"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-runtime"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
- "ahash",
  "anyhow",
  "base32",
  "base64 0.13.1",
@@ -2073,15 +2003,15 @@ dependencies = [
  "chrono",
  "cidr",
  "dns-lookup",
- "encoding",
+ "encoding_rs",
  "fancy-regex",
  "generational-arena",
  "glob",
  "handlebars",
  "hostname",
- "indexmap 1.9.3",
- "itertools",
- "kclvm_runtime_internal_macros",
+ "itertools 0.10.5",
+ "kcl-primitives",
+ "kcl_runtime_internal_macros",
  "lazy_static",
  "libc",
  "md5",
@@ -2090,7 +2020,7 @@ dependencies = [
  "regex",
  "serde",
  "serde_json",
- "serde_yaml",
+ "serde_yaml_ng",
  "sha1",
  "sha2 0.9.9",
  "unic-ucd-bidi",
@@ -2101,11 +2031,10 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-sema"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-sema"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
- "ahash",
  "anyhow",
  "bit-set",
  "bitflags 1.3.2",
@@ -2115,17 +2044,17 @@ dependencies = [
  "compiler_base_span",
  "fancy-regex",
  "generational-arena",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-ast-pretty",
- "kclvm-error",
- "kclvm-runtime",
- "kclvm-span",
- "kclvm-utils",
+ "kcl-ast",
+ "kcl-ast-pretty",
+ "kcl-error",
+ "kcl-primitives",
+ "kcl-runtime",
+ "kcl-span",
+ "kcl-utils",
  "lazy_static",
  "once_cell",
- "parking_lot 0.12.3",
- "petgraph",
+ "parking_lot 0.12.5",
+ "petgraph 0.6.5",
  "phf",
  "regex",
  "serde",
@@ -2135,51 +2064,51 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-span"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-span"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "compiler_base_span",
- "kclvm-macros",
+ "kcl-macros",
  "parking_lot 0.11.2",
  "scoped-tls",
 ]
 
 [[package]]
-name = "kclvm-tools"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-tools"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "compiler_base_session",
  "compiler_base_span",
  "fancy-regex",
- "indexmap 1.9.3",
  "json-spanned-value",
- "kclvm-ast",
- "kclvm-ast-pretty",
- "kclvm-config",
- "kclvm-driver",
- "kclvm-error",
- "kclvm-parser",
- "kclvm-query",
- "kclvm-runner",
- "kclvm-runtime",
- "kclvm-sema",
- "kclvm-utils",
+ "kcl-ast",
+ "kcl-ast-pretty",
+ "kcl-config",
+ "kcl-driver",
+ "kcl-error",
+ "kcl-parser",
+ "kcl-primitives",
+ "kcl-query",
+ "kcl-runner",
+ "kcl-runtime",
+ "kcl-sema",
+ "kcl-utils",
  "located_yaml",
  "once_cell",
  "regex",
  "rustc_lexer",
  "serde_json",
- "serde_yaml",
+ "serde_yaml_ng",
  "walkdir",
 ]
 
 [[package]]
-name = "kclvm-utils"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-utils"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "fslock",
@@ -2187,17 +2116,17 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-version"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-version"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "vergen-gitcl",
 ]
 
 [[package]]
-name = "kclvm_runtime_internal_macros"
-version = "0.5.0"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl_runtime_internal_macros"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -2206,9 +2135,9 @@ dependencies = [
 
 [[package]]
 name = "kqueue"
-version = "1.0.8"
+version = "1.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7447f1ca1b7b563588a205fe93dea8df60fd981423a768bc1c0ded35ed147d0c"
+checksum = "eac30106d7dce88daf4a3fcb4879ea939476d5074a9b7ddd0fb97fa4bed5596a"
 dependencies = [
  "kqueue-sys",
  "libc",
@@ -2232,9 +2161,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
 
 [[package]]
 name = "libc"
-version = "0.2.169"
+version = "0.2.177"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
+checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976"
 
 [[package]]
 name = "libloading"
@@ -2242,29 +2171,29 @@ version = "0.7.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "winapi",
 ]
 
 [[package]]
 name = "libloading"
-version = "0.8.6"
+version = "0.8.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34"
+checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
 dependencies = [
- "cfg-if 1.0.0",
- "windows-targets 0.52.6",
+ "cfg-if 1.0.4",
+ "windows-link 0.2.1",
 ]
 
 [[package]]
 name = "libredox"
-version = "0.1.3"
+version = "0.1.10"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d"
+checksum = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb"
 dependencies = [
- "bitflags 2.6.0",
+ "bitflags 2.10.0",
  "libc",
- "redox_syscall 0.5.8",
+ "redox_syscall 0.5.18",
 ]
 
 [[package]]
@@ -2278,15 +2207,15 @@ dependencies = [
 
 [[package]]
 name = "linux-raw-sys"
-version = "0.4.14"
+version = "0.11.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
+checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039"
 
 [[package]]
 name = "litemap"
-version = "0.7.4"
+version = "0.8.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104"
+checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77"
 
 [[package]]
 name = "located_yaml"
@@ -2301,29 +2230,35 @@ dependencies = [
 
 [[package]]
 name = "lock_api"
-version = "0.4.12"
+version = "0.4.14"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
+checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
 dependencies = [
- "autocfg",
  "scopeguard",
 ]
 
 [[package]]
 name = "log"
-version = "0.4.22"
+version = "0.4.28"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432"
+
+[[package]]
+name = "lru-slab"
+version = "0.1.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
+checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154"
 
 [[package]]
 name = "lsp-server"
-version = "0.7.7"
+version = "0.7.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "550446e84739dcaf6d48a4a093973850669e13e8a34d8f8d64851041be267cd9"
+checksum = "7d6ada348dbc2703cbe7637b2dda05cff84d3da2819c24abcb305dd613e0ba2e"
 dependencies = [
  "crossbeam-channel",
  "log",
  "serde",
+ "serde_derive",
  "serde_json",
 ]
 
@@ -2369,7 +2304,7 @@ version = "0.10.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "digest 0.10.7",
 ]
 
@@ -2381,9 +2316,9 @@ checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771"
 
 [[package]]
 name = "memchr"
-version = "2.7.4"
+version = "2.7.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
+checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
 
 [[package]]
 name = "memmap2"
@@ -2394,19 +2329,14 @@ dependencies = [
  "libc",
 ]
 
-[[package]]
-name = "mime"
-version = "0.3.17"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
-
 [[package]]
 name = "miniz_oxide"
-version = "0.8.2"
+version = "0.8.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ffbe83022cedc1d264172192511ae958937694cd57ce297164951b8b3568394"
+checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
 dependencies = [
  "adler2",
+ "simd-adler32",
 ]
 
 [[package]]
@@ -2423,14 +2353,14 @@ dependencies = [
 
 [[package]]
 name = "mio"
-version = "1.0.3"
+version = "1.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd"
+checksum = "69d83b0086dc8ecf3ce9ae2874b2d1290252e2a30720bea58a5c6639b0092873"
 dependencies = [
  "libc",
  "log",
  "wasi",
- "windows-sys 0.52.0",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
@@ -2444,17 +2374,17 @@ dependencies = [
 
 [[package]]
 name = "multimap"
-version = "0.8.3"
+version = "0.10.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a"
+checksum = "1d87ecb2933e8aeadb3e3a02b828fed80a7528047e68b4f424523a0981a3a084"
 
 [[package]]
 name = "napi"
-version = "2.16.13"
+version = "2.16.17"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "214f07a80874bb96a8433b3cdfc84980d56c7b02e1a0d7ba4ba0db5cef785e2b"
+checksum = "55740c4ae1d8696773c78fdafd5d0e5fe9bc9f1b071c7ba493ba5c413a9184f3"
 dependencies = [
- "bitflags 2.6.0",
+ "bitflags 2.10.0",
  "ctor",
  "napi-derive",
  "napi-sys",
@@ -2463,9 +2393,9 @@ dependencies = [
 
 [[package]]
 name = "napi-build"
-version = "2.1.4"
+version = "2.3.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db836caddef23662b94e16bf1f26c40eceb09d6aee5d5b06a7ac199320b69b19"
+checksum = "d376940fd5b723c6893cd1ee3f33abbfd86acb1cd1ec079f3ab04a2a3bc4d3b1"
 
 [[package]]
 name = "napi-derive"
@@ -2473,12 +2403,12 @@ version = "2.16.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "7cbe2585d8ac223f7d34f13701434b9d5f4eb9c332cccce8dee57ea18ab8ab0c"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "convert_case",
  "napi-derive-backend",
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
@@ -2492,8 +2422,8 @@ dependencies = [
  "proc-macro2",
  "quote",
  "regex",
- "semver 1.0.24",
- "syn 2.0.90",
+ "semver",
+ "syn 2.0.111",
 ]
 
 [[package]]
@@ -2502,7 +2432,7 @@ version = "2.4.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "427802e8ec3a734331fec1035594a210ce1ff4dc5bc1950530920ab717964ea3"
 dependencies = [
- "libloading 0.8.6",
+ "libloading 0.8.9",
 ]
 
 [[package]]
@@ -2529,14 +2459,14 @@ version = "7.0.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "c533b4c39709f9ba5005d8002048266593c1cfaf3c5f0739d5b8ab0c6c504009"
 dependencies = [
- "bitflags 2.6.0",
+ "bitflags 2.10.0",
  "filetime",
  "fsevent-sys",
  "inotify 0.10.2",
  "kqueue",
  "libc",
  "log",
- "mio 1.0.3",
+ "mio 1.1.0",
  "notify-types",
  "walkdir",
  "windows-sys 0.52.0",
@@ -2587,9 +2517,9 @@ dependencies = [
 
 [[package]]
 name = "num_cpus"
-version = "1.16.0"
+version = "1.17.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43"
+checksum = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b"
 dependencies = [
  "hermit-abi",
  "libc",
@@ -2606,18 +2536,18 @@ dependencies = [
 
 [[package]]
 name = "object"
-version = "0.36.5"
+version = "0.37.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aedf0a2d09c573ed1d8d85b30c119153926a2b36dce0ab28322c09a117a4683e"
+checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe"
 dependencies = [
  "memchr",
 ]
 
 [[package]]
-name = "oci-distribution"
+name = "oci-client"
 version = "0.11.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b95a2c51531af0cb93761f66094044ca6ea879320bccd35ab747ff3fcab3f422"
+checksum = "560faeb9396a5bae11b141bed3cec8bf9242e5bfec17d0f48feeeab0f879ca35"
 dependencies = [
  "bytes",
  "chrono",
@@ -2631,7 +2561,7 @@ dependencies = [
  "reqwest",
  "serde",
  "serde_json",
- "sha2 0.10.8",
+ "sha2 0.10.9",
  "thiserror 1.0.69",
  "tokio",
  "tracing",
@@ -2651,15 +2581,21 @@ dependencies = [
 
 [[package]]
 name = "once_cell"
-version = "1.20.2"
+version = "1.21.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
+
+[[package]]
+name = "once_cell_polyfill"
+version = "1.70.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
+checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
 
 [[package]]
 name = "oorandom"
-version = "11.1.4"
+version = "11.1.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9"
+checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e"
 
 [[package]]
 name = "opaque-debug"
@@ -2692,12 +2628,12 @@ dependencies = [
 
 [[package]]
 name = "parking_lot"
-version = "0.12.3"
+version = "0.12.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27"
+checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
 dependencies = [
  "lock_api",
- "parking_lot_core 0.9.10",
+ "parking_lot_core 0.9.12",
 ]
 
 [[package]]
@@ -2706,7 +2642,7 @@ version = "0.8.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "instant",
  "libc",
  "redox_syscall 0.2.16",
@@ -2716,15 +2652,15 @@ dependencies = [
 
 [[package]]
 name = "parking_lot_core"
-version = "0.9.10"
+version = "0.9.12"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
+checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "libc",
- "redox_syscall 0.5.8",
+ "redox_syscall 0.5.18",
  "smallvec",
- "windows-targets 0.52.6",
+ "windows-link 0.2.1",
 ]
 
 [[package]]
@@ -2735,26 +2671,25 @@ checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3"
 
 [[package]]
 name = "percent-encoding"
-version = "2.3.1"
+version = "2.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
+checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
 
 [[package]]
 name = "pest"
-version = "2.7.15"
+version = "2.8.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b7cafe60d6cf8e62e1b9b2ea516a089c008945bb5a275416789e7db0bc199dc"
+checksum = "cbcfd20a6d4eeba40179f05735784ad32bdaef05ce8e8af05f180d45bb3e7e22"
 dependencies = [
  "memchr",
- "thiserror 2.0.8",
  "ucd-trie",
 ]
 
 [[package]]
 name = "pest_derive"
-version = "2.7.15"
+version = "2.8.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "816518421cfc6887a0d62bf441b6ffb4536fcc926395a69e1a85852d4363f57e"
+checksum = "51f72981ade67b1ca6adc26ec221be9f463f2b5839c7508998daa17c23d94d7f"
 dependencies = [
  "pest",
  "pest_generator",
@@ -2762,26 +2697,25 @@ dependencies = [
 
 [[package]]
 name = "pest_generator"
-version = "2.7.15"
+version = "2.8.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7d1396fd3a870fc7838768d171b4616d5c91f6cc25e377b673d714567d99377b"
+checksum = "dee9efd8cdb50d719a80088b76f81aec7c41ed6d522ee750178f83883d271625"
 dependencies = [
  "pest",
  "pest_meta",
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "pest_meta"
-version = "2.7.15"
+version = "2.8.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1e58089ea25d717bfd31fb534e4f3afcc2cc569c70de3e239778991ea3b7dea"
+checksum = "bf1d70880e76bdc13ba52eafa6239ce793d85c8e43896507e43dd8984ff05b82"
 dependencies = [
- "once_cell",
  "pest",
- "sha2 0.10.8",
+ "sha2 0.10.9",
 ]
 
 [[package]]
@@ -2790,8 +2724,18 @@ version = "0.6.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db"
 dependencies = [
- "fixedbitset",
- "indexmap 2.7.0",
+ "fixedbitset 0.4.2",
+ "indexmap 2.12.1",
+]
+
+[[package]]
+name = "petgraph"
+version = "0.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3672b37090dbd86368a4145bc067582552b29c27377cad4e0a306c97f9bd7772"
+dependencies = [
+ "fixedbitset 0.5.7",
+ "indexmap 2.12.1",
 ]
 
 [[package]]
@@ -2812,7 +2756,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "d43f3220d96e0080cc9ea234978ccd80d904eafb17be31bb0f76daaea6493082"
 dependencies = [
  "phf_shared",
- "rand",
+ "rand 0.8.5",
 ]
 
 [[package]]
@@ -2840,9 +2784,9 @@ dependencies = [
 
 [[package]]
 name = "pin-project-lite"
-version = "0.2.15"
+version = "0.2.16"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff"
+checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
 
 [[package]]
 name = "pin-utils"
@@ -2850,6 +2794,30 @@ version = "0.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
 
+[[package]]
+name = "portable-atomic"
+version = "1.11.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483"
+
+[[package]]
+name = "portable-atomic-util"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507"
+dependencies = [
+ "portable-atomic",
+]
+
+[[package]]
+name = "potential_utf"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77"
+dependencies = [
+ "zerovec",
+]
+
 [[package]]
 name = "powerfmt"
 version = "0.2.0"
@@ -2858,9 +2826,9 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
 
 [[package]]
 name = "ppv-lite86"
-version = "0.2.20"
+version = "0.2.21"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04"
+checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
 dependencies = [
  "zerocopy",
 ]
@@ -2877,12 +2845,12 @@ dependencies = [
 
 [[package]]
 name = "prettyplease"
-version = "0.1.25"
+version = "0.2.37"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86"
+checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b"
 dependencies = [
  "proc-macro2",
- "syn 1.0.109",
+ "syn 2.0.111",
 ]
 
 [[package]]
@@ -2893,9 +2861,9 @@ checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068"
 
 [[package]]
 name = "proc-macro2"
-version = "1.0.92"
+version = "1.0.103"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0"
+checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8"
 dependencies = [
  "unicode-ident",
 ]
@@ -2903,18 +2871,18 @@ dependencies = [
 [[package]]
 name = "proc_macro_crate"
 version = "0.1.0"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "prost"
-version = "0.11.9"
+version = "0.14.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd"
+checksum = "7231bd9b3d3d33c86b58adbac74b5ec0ad9f496b19d22801d773636feaa95f3d"
 dependencies = [
  "bytes",
  "prost-derive",
@@ -2922,52 +2890,51 @@ dependencies = [
 
 [[package]]
 name = "prost-build"
-version = "0.11.9"
+version = "0.14.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270"
+checksum = "ac6c3320f9abac597dcbc668774ef006702672474aad53c6d596b62e487b40b1"
 dependencies = [
- "bytes",
- "heck 0.4.1",
- "itertools",
- "lazy_static",
+ "heck 0.5.0",
+ "itertools 0.14.0",
  "log",
  "multimap",
- "petgraph",
+ "once_cell",
+ "petgraph 0.7.1",
  "prettyplease",
  "prost",
  "prost-types",
  "regex",
- "syn 1.0.109",
+ "syn 2.0.111",
  "tempfile",
- "which",
 ]
 
 [[package]]
 name = "prost-derive"
-version = "0.11.9"
+version = "0.14.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4"
+checksum = "9120690fafc389a67ba3803df527d0ec9cbbc9cc45e4cc20b332996dfb672425"
 dependencies = [
  "anyhow",
- "itertools",
+ "itertools 0.14.0",
  "proc-macro2",
  "quote",
- "syn 1.0.109",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "prost-types"
-version = "0.11.9"
+version = "0.14.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13"
+checksum = "b9b4db3d6da204ed77bb26ba83b6122a73aeb2e87e25fbf7ad2e84c4ccbf8f72"
 dependencies = [
  "prost",
 ]
 
 [[package]]
 name = "prost-wkt"
-version = "0.4.1"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "655944d0ce015e71b3ec21279437e6a09e58433e50c7b0677901f3d5235e74f5"
 dependencies = [
  "chrono",
  "inventory",
@@ -2980,41 +2947,26 @@ dependencies = [
 
 [[package]]
 name = "prost-wkt-build"
-version = "0.4.1"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f869f1443fee474b785e935d92e1007f57443e485f51668ed41943fc01a321a2"
 dependencies = [
- "heck 0.4.1",
+ "heck 0.5.0",
  "prost",
  "prost-build",
  "prost-types",
  "quote",
 ]
 
-[[package]]
-name = "prost-wkt-types"
-version = "0.4.1"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
-dependencies = [
- "chrono",
- "prost",
- "prost-build",
- "prost-types",
- "prost-wkt",
- "prost-wkt-build",
- "protoc-bin-vendored",
- "regex",
- "serde",
- "serde_derive",
- "serde_json",
-]
-
 [[package]]
 name = "protoc-bin-vendored"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d1c381df33c98266b5f08186583660090a4ffa0889e76c7e9a5e175f645a67fa"
 dependencies = [
  "protoc-bin-vendored-linux-aarch_64",
  "protoc-bin-vendored-linux-ppcle_64",
+ "protoc-bin-vendored-linux-s390_64",
  "protoc-bin-vendored-linux-x86_32",
  "protoc-bin-vendored-linux-x86_64",
  "protoc-bin-vendored-macos-aarch_64",
@@ -3025,71 +2977,87 @@ dependencies = [
 [[package]]
 name = "protoc-bin-vendored-linux-aarch_64"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c350df4d49b5b9e3ca79f7e646fde2377b199e13cfa87320308397e1f37e1a4c"
 
 [[package]]
 name = "protoc-bin-vendored-linux-ppcle_64"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a55a63e6c7244f19b5c6393f025017eb5d793fd5467823a099740a7a4222440c"
+
+[[package]]
+name = "protoc-bin-vendored-linux-s390_64"
+version = "3.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1dba5565db4288e935d5330a07c264a4ee8e4a5b4a4e6f4e83fad824cc32f3b0"
 
 [[package]]
 name = "protoc-bin-vendored-linux-x86_32"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8854774b24ee28b7868cd71dccaae8e02a2365e67a4a87a6cd11ee6cdbdf9cf5"
 
 [[package]]
 name = "protoc-bin-vendored-linux-x86_64"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b38b07546580df720fa464ce124c4b03630a6fb83e05c336fea2a241df7e5d78"
 
 [[package]]
 name = "protoc-bin-vendored-macos-aarch_64"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "89278a9926ce312e51f1d999fee8825d324d603213344a9a706daa009f1d8092"
 
 [[package]]
 name = "protoc-bin-vendored-macos-x86_64"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "81745feda7ccfb9471d7a4de888f0652e806d5795b61480605d4943176299756"
 
 [[package]]
 name = "protoc-bin-vendored-win32"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "95067976aca6421a523e491fce939a3e65249bac4b977adee0ee9771568e8aa3"
 
 [[package]]
 name = "quinn"
-version = "0.11.6"
+version = "0.11.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62e96808277ec6f97351a2380e6c25114bc9e67037775464979f3037c92d05ef"
+checksum = "b9e20a958963c291dc322d98411f541009df2ced7b5a4f2bd52337638cfccf20"
 dependencies = [
  "bytes",
+ "cfg_aliases",
  "pin-project-lite",
  "quinn-proto",
  "quinn-udp",
- "rustc-hash 2.1.0",
+ "rustc-hash 2.1.1",
  "rustls",
  "socket2",
- "thiserror 2.0.8",
+ "thiserror 2.0.17",
  "tokio",
  "tracing",
+ "web-time",
 ]
 
 [[package]]
 name = "quinn-proto"
-version = "0.11.9"
+version = "0.11.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a2fe5ef3495d7d2e377ff17b1a8ce2ee2ec2a18cde8b6ad6619d65d0701c135d"
+checksum = "f1906b49b0c3bc04b5fe5d86a77925ae6524a19b816ae38ce1e426255f1d8a31"
 dependencies = [
  "bytes",
- "getrandom",
- "rand",
+ "getrandom 0.3.4",
+ "lru-slab",
+ "rand 0.9.2",
  "ring",
- "rustc-hash 2.1.0",
+ "rustc-hash 2.1.1",
  "rustls",
  "rustls-pki-types",
  "slab",
- "thiserror 2.0.8",
+ "thiserror 2.0.17",
  "tinyvec",
  "tracing",
  "web-time",
@@ -3097,27 +3065,33 @@ dependencies = [
 
 [[package]]
 name = "quinn-udp"
-version = "0.5.9"
+version = "0.5.14"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c40286217b4ba3a71d644d752e6a0b71f13f1b6a2c5311acfcbe0c2418ed904"
+checksum = "addec6a0dcad8a8d96a771f815f0eaf55f9d1805756410b39f5fa81332574cbd"
 dependencies = [
  "cfg_aliases",
  "libc",
  "once_cell",
  "socket2",
  "tracing",
- "windows-sys 0.59.0",
+ "windows-sys 0.60.2",
 ]
 
 [[package]]
 name = "quote"
-version = "1.0.37"
+version = "1.0.42"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
+checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f"
 dependencies = [
  "proc-macro2",
 ]
 
+[[package]]
+name = "r-efi"
+version = "5.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
+
 [[package]]
 name = "ra_ap_paths"
 version = "0.0.149"
@@ -3171,8 +3145,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
 dependencies = [
  "libc",
- "rand_chacha",
- "rand_core",
+ "rand_chacha 0.3.1",
+ "rand_core 0.6.4",
+]
+
+[[package]]
+name = "rand"
+version = "0.9.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
+dependencies = [
+ "rand_chacha 0.9.0",
+ "rand_core 0.9.3",
 ]
 
 [[package]]
@@ -3182,7 +3166,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
 dependencies = [
  "ppv-lite86",
- "rand_core",
+ "rand_core 0.6.4",
+]
+
+[[package]]
+name = "rand_chacha"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
+dependencies = [
+ "ppv-lite86",
+ "rand_core 0.9.3",
 ]
 
 [[package]]
@@ -3191,7 +3185,16 @@ version = "0.6.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
 dependencies = [
- "getrandom",
+ "getrandom 0.2.16",
+]
+
+[[package]]
+name = "rand_core"
+version = "0.9.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38"
+dependencies = [
+ "getrandom 0.3.4",
 ]
 
 [[package]]
@@ -3200,7 +3203,7 @@ version = "0.6.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa"
 dependencies = [
- "rand_core",
+ "rand_core 0.6.4",
 ]
 
 [[package]]
@@ -3214,11 +3217,11 @@ dependencies = [
 
 [[package]]
 name = "redox_syscall"
-version = "0.5.8"
+version = "0.5.18"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834"
+checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
 dependencies = [
- "bitflags 2.6.0",
+ "bitflags 2.10.0",
 ]
 
 [[package]]
@@ -3227,20 +3230,20 @@ version = "0.4.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43"
 dependencies = [
- "getrandom",
+ "getrandom 0.2.16",
  "libredox",
  "thiserror 1.0.69",
 ]
 
 [[package]]
 name = "regex"
-version = "1.11.1"
+version = "1.12.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
+checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4"
 dependencies = [
  "aho-corasick",
  "memchr",
- "regex-automata 0.4.9",
+ "regex-automata 0.4.13",
  "regex-syntax",
 ]
 
@@ -3252,9 +3255,9 @@ checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
 
 [[package]]
 name = "regex-automata"
-version = "0.4.9"
+version = "0.4.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
+checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c"
 dependencies = [
  "aho-corasick",
  "memchr",
@@ -3263,15 +3266,15 @@ dependencies = [
 
 [[package]]
 name = "regex-syntax"
-version = "0.8.5"
+version = "0.8.8"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
+checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58"
 
 [[package]]
 name = "reqwest"
-version = "0.12.9"
+version = "0.12.24"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a77c62af46e79de0a562e1a9849205ffcb7fc1238876e9bd743357570e04046f"
+checksum = "9d0946410b9f7b082a427e4ef5c8ff541a88b357bc6c637c40db3a68ac70a36f"
 dependencies = [
  "base64 0.22.1",
  "bytes",
@@ -3283,16 +3286,12 @@ dependencies = [
  "hyper",
  "hyper-rustls",
  "hyper-util",
- "ipnet",
  "js-sys",
  "log",
- "mime",
- "once_cell",
  "percent-encoding",
  "pin-project-lite",
  "quinn",
  "rustls",
- "rustls-pemfile",
  "rustls-pki-types",
  "serde",
  "serde_json",
@@ -3300,7 +3299,9 @@ dependencies = [
  "sync_wrapper",
  "tokio",
  "tokio-rustls",
- "tokio-util 0.7.13",
+ "tokio-util 0.7.17",
+ "tower",
+ "tower-http",
  "tower-service",
  "url",
  "wasm-bindgen",
@@ -3308,20 +3309,18 @@ dependencies = [
  "wasm-streams",
  "web-sys",
  "webpki-roots",
- "windows-registry",
 ]
 
 [[package]]
 name = "ring"
-version = "0.17.8"
+version = "0.17.14"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d"
+checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7"
 dependencies = [
  "cc",
- "cfg-if 1.0.0",
- "getrandom",
+ "cfg-if 1.0.4",
+ "getrandom 0.2.16",
  "libc",
- "spin",
  "untrusted",
  "windows-sys 0.52.0",
 ]
@@ -3349,9 +3348,9 @@ dependencies = [
 
 [[package]]
 name = "rustc-demangle"
-version = "0.1.24"
+version = "0.1.26"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f"
+checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace"
 
 [[package]]
 name = "rustc-hash"
@@ -3361,9 +3360,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
 
 [[package]]
 name = "rustc-hash"
-version = "2.1.0"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497"
+checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
 
 [[package]]
 name = "rustc-rayon"
@@ -3378,12 +3377,12 @@ dependencies = [
 
 [[package]]
 name = "rustc-rayon"
-version = "0.5.0"
+version = "0.5.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb81aadc8837ca6ecebe0fe1353f15df83b3b3cc2cf7a8afd571bc22aa121710"
+checksum = "2cd9fb077db982d7ceb42a90471e5a69a990b58f71e06f0d8340bb2cf35eb751"
 dependencies = [
  "either",
- "rustc-rayon-core 0.5.0",
+ "rustc-rayon-core 0.5.1",
 ]
 
 [[package]]
@@ -3400,14 +3399,12 @@ dependencies = [
 
 [[package]]
 name = "rustc-rayon-core"
-version = "0.5.0"
+version = "0.5.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67668daaf00e359c126f6dcb40d652d89b458a008c8afa727a42a2d20fca0b7f"
+checksum = "2f42932dcd3bcbe484b38a3ccf79b7906fac41c02d408b5b1bac26da3416efdb"
 dependencies = [
- "crossbeam-channel",
  "crossbeam-deque",
  "crossbeam-utils",
- "num_cpus",
 ]
 
 [[package]]
@@ -3424,7 +3421,7 @@ dependencies = [
  "jobserver",
  "libc",
  "memmap2",
- "parking_lot 0.12.3",
+ "parking_lot 0.12.5",
  "rustc-hash 1.1.0",
  "rustc-rayon 0.3.2",
  "rustc-rayon-core 0.3.2",
@@ -3464,47 +3461,38 @@ dependencies = [
  "rustc_data_structures",
  "scoped-tls",
  "sha-1",
- "sha2 0.10.8",
+ "sha2 0.10.9",
  "tracing",
  "unicode-width",
 ]
 
 [[package]]
 name = "rustc_version"
-version = "0.2.3"
+version = "0.4.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
+checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
 dependencies = [
- "semver 0.9.0",
-]
-
-[[package]]
-name = "rustc_version"
-version = "0.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
-dependencies = [
- "semver 1.0.24",
+ "semver",
 ]
 
 [[package]]
 name = "rustix"
-version = "0.38.42"
+version = "1.1.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f93dc38ecbab2eb790ff964bb77fa94faf256fd3e73285fd7ba0903b76bedb85"
+checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e"
 dependencies = [
- "bitflags 2.6.0",
+ "bitflags 2.10.0",
  "errno",
  "libc",
  "linux-raw-sys",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
 name = "rustls"
-version = "0.23.20"
+version = "0.23.35"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5065c3f250cbd332cd894be57c40fa52387247659b14a2d6041d121547903b1b"
+checksum = "533f54bc6a7d4f647e46ad909549eda97bf5afc1585190ef692b4286b198bd8f"
 dependencies = [
  "once_cell",
  "ring",
@@ -3514,29 +3502,21 @@ dependencies = [
  "zeroize",
 ]
 
-[[package]]
-name = "rustls-pemfile"
-version = "2.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50"
-dependencies = [
- "rustls-pki-types",
-]
-
 [[package]]
 name = "rustls-pki-types"
-version = "1.10.1"
+version = "1.13.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2bf47e6ff922db3825eb750c4e2ff784c6ff8fb9e13046ef6a1d1c5401b0b37"
+checksum = "94182ad936a0c91c324cd46c6511b9510ed16af436d7b5bab34beab0afd55f7a"
 dependencies = [
  "web-time",
+ "zeroize",
 ]
 
 [[package]]
 name = "rustls-webpki"
-version = "0.102.8"
+version = "0.103.8"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9"
+checksum = "2ffdfa2f5286e2247234e03f680868ac2815974dc39e00ea15adc445d0aafe52"
 dependencies = [
  "ring",
  "rustls-pki-types",
@@ -3545,15 +3525,15 @@ dependencies = [
 
 [[package]]
 name = "rustversion"
-version = "1.0.18"
+version = "1.0.22"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248"
+checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
 
 [[package]]
 name = "ryu"
-version = "1.0.18"
+version = "1.0.20"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
+checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
 
 [[package]]
 name = "salsa"
@@ -3611,76 +3591,73 @@ version = "0.10.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "e14e4d63b804dc0c7ec4a1e52bcb63f02c7ac94476755aa579edac21e01f915d"
 dependencies = [
- "self_cell 1.1.0",
+ "self_cell 1.2.1",
 ]
 
 [[package]]
 name = "self_cell"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c2fdfc24bc566f839a2da4c4295b82db7d25a24253867d5c64355abb5799bdbe"
-
-[[package]]
-name = "semver"
-version = "0.9.0"
+version = "1.2.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
-dependencies = [
- "semver-parser",
-]
+checksum = "16c2f82143577edb4921b71ede051dac62ca3c16084e918bf7b40c96ae10eb33"
 
 [[package]]
 name = "semver"
-version = "1.0.24"
+version = "1.0.27"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3cb6eb87a131f756572d7fb904f6e7b68633f09cca868c5df1c4b8d1a694bbba"
+checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2"
 
 [[package]]
-name = "semver-parser"
-version = "0.7.0"
+name = "serde"
+version = "1.0.228"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
+checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
+dependencies = [
+ "serde_core",
+ "serde_derive",
+]
 
 [[package]]
-name = "serde"
-version = "1.0.216"
+name = "serde_core"
+version = "1.0.228"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b9781016e935a97e8beecf0c933758c97a5520d32930e460142b4cd80c6338e"
+checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
 dependencies = [
  "serde_derive",
 ]
 
 [[package]]
 name = "serde_derive"
-version = "1.0.216"
+version = "1.0.228"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "46f859dbbf73865c6627ed570e78961cd3ac92407a2d117204c49232485da55e"
+checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "serde_json"
-version = "1.0.115"
+version = "1.0.145"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "12dc5c46daa8e9fdf4f5e71b6cf9a53f2487da0e86e55808e2d35539666497dd"
+checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c"
 dependencies = [
  "itoa",
+ "memchr",
  "ryu",
  "serde",
+ "serde_core",
 ]
 
 [[package]]
 name = "serde_repr"
-version = "0.1.19"
+version = "0.1.20"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9"
+checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
@@ -3696,11 +3673,12 @@ dependencies = [
 ]
 
 [[package]]
-name = "serde_yaml"
-version = "0.9.34+deprecated"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "serde_yaml_ng"
+version = "0.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7b4db627b98b36d4203a7b458cf3573730f2bb591b28871d916dfa9efabfd41f"
 dependencies = [
- "indexmap 2.7.0",
+ "indexmap 2.12.1",
  "itoa",
  "ryu",
  "serde",
@@ -3713,7 +3691,7 @@ version = "0.10.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "cpufeatures",
  "digest 0.10.7",
 ]
@@ -3740,7 +3718,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800"
 dependencies = [
  "block-buffer 0.9.0",
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "cpufeatures",
  "digest 0.9.0",
  "opaque-debug 0.3.1",
@@ -3748,11 +3726,11 @@ dependencies = [
 
 [[package]]
 name = "sha2"
-version = "0.10.8"
+version = "0.10.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8"
+checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "cpufeatures",
  "digest 0.10.7",
 ]
@@ -3765,13 +3743,19 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
 
 [[package]]
 name = "signal-hook-registry"
-version = "1.4.2"
+version = "1.4.7"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1"
+checksum = "7664a098b8e616bdfcc2dc0e9ac44eb231eedf41db4e9fe95d8d32ec728dedad"
 dependencies = [
  "libc",
 ]
 
+[[package]]
+name = "simd-adler32"
+version = "0.3.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
+
 [[package]]
 name = "siphasher"
 version = "0.3.11"
@@ -3790,98 +3774,31 @@ dependencies = [
 
 [[package]]
 name = "slab"
-version = "0.4.9"
+version = "0.4.11"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67"
-dependencies = [
- "autocfg",
-]
+checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589"
 
 [[package]]
 name = "smallvec"
-version = "1.13.2"
+version = "1.15.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
+checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
 
 [[package]]
 name = "socket2"
-version = "0.5.8"
+version = "0.6.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8"
+checksum = "17129e116933cf371d018bb80ae557e889637989d8638274fb25622827b03881"
 dependencies = [
  "libc",
- "windows-sys 0.52.0",
+ "windows-sys 0.60.2",
 ]
 
-[[package]]
-name = "spin"
-version = "0.9.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
-
 [[package]]
 name = "stable_deref_trait"
-version = "1.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
-
-[[package]]
-name = "standback"
-version = "0.2.17"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e113fb6f3de07a243d434a56ec6f186dfd51cb08448239fe7bcae73f87ff28ff"
-dependencies = [
- "version_check",
-]
-
-[[package]]
-name = "stdweb"
-version = "0.4.20"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d022496b16281348b52d0e30ae99e01a73d737b2f45d38fed4edf79f9325a1d5"
-dependencies = [
- "discard",
- "rustc_version 0.2.3",
- "stdweb-derive",
- "stdweb-internal-macros",
- "stdweb-internal-runtime",
- "wasm-bindgen",
-]
-
-[[package]]
-name = "stdweb-derive"
-version = "0.5.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c87a60a40fccc84bef0652345bbbbbe20a605bf5d0ce81719fc476f5c03b50ef"
-dependencies = [
- "proc-macro2",
- "quote",
- "serde",
- "serde_derive",
- "syn 1.0.109",
-]
-
-[[package]]
-name = "stdweb-internal-macros"
-version = "0.2.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "58fa5ff6ad0d98d1ffa8cb115892b6e69d67799f6763e162a1c9db421dc22e11"
-dependencies = [
- "base-x",
- "proc-macro2",
- "quote",
- "serde",
- "serde_derive",
- "serde_json",
- "sha1",
- "syn 1.0.109",
-]
-
-[[package]]
-name = "stdweb-internal-runtime"
-version = "0.1.5"
+version = "1.2.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "213701ba3370744dcd1a12960caa4843b3d68b4d1c0a5d575e0d65b2ee9d16c0"
+checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
 
 [[package]]
 name = "str_indices"
@@ -3929,9 +3846,9 @@ dependencies = [
 
 [[package]]
 name = "syn"
-version = "2.0.90"
+version = "2.0.111"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31"
+checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -3961,20 +3878,20 @@ dependencies = [
 
 [[package]]
 name = "synstructure"
-version = "0.13.1"
+version = "0.13.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
+checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "tar"
-version = "0.4.43"
+version = "0.4.44"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c65998313f8e17d0d553d28f91a0df93e4dbbbf770279c7bc21ca0f09ea1a1f6"
+checksum = "1d863878d212c87a19c1a610eb53bb01fe12951c0501cf5a0d65f724914a667a"
 dependencies = [
  "filetime",
  "libc",
@@ -3983,15 +3900,15 @@ dependencies = [
 
 [[package]]
 name = "tempfile"
-version = "3.14.0"
+version = "3.23.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c"
+checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16"
 dependencies = [
- "cfg-if 1.0.0",
  "fastrand",
+ "getrandom 0.3.4",
  "once_cell",
  "rustix",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
@@ -4024,11 +3941,11 @@ dependencies = [
 
 [[package]]
 name = "thiserror"
-version = "2.0.8"
+version = "2.0.17"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08f5383f3e0071702bf93ab5ee99b52d26936be9dedd9413067cbdcddcb6141a"
+checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8"
 dependencies = [
- "thiserror-impl 2.0.8",
+ "thiserror-impl 2.0.17",
 ]
 
 [[package]]
@@ -4039,28 +3956,27 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "thiserror-impl"
-version = "2.0.8"
+version = "2.0.17"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f2f357fcec90b3caef6623a099691be676d033b40a058ac95d2a6ade6fa0c943"
+checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "thread_local"
-version = "1.1.8"
+version = "1.1.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c"
+checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185"
 dependencies = [
- "cfg-if 1.0.0",
- "once_cell",
+ "cfg-if 1.0.4",
 ]
 
 [[package]]
@@ -4074,24 +3990,9 @@ dependencies = [
 
 [[package]]
 name = "time"
-version = "0.2.27"
+version = "0.3.44"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4752a97f8eebd6854ff91f1c1824cd6160626ac4bd44287f7f4ea2035a02a242"
-dependencies = [
- "const_fn",
- "libc",
- "standback",
- "stdweb",
- "time-macros 0.1.1",
- "version_check",
- "winapi",
-]
-
-[[package]]
-name = "time"
-version = "0.3.37"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21"
+checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d"
 dependencies = [
  "deranged",
  "itoa",
@@ -4101,63 +4002,41 @@ dependencies = [
  "powerfmt",
  "serde",
  "time-core",
- "time-macros 0.2.19",
+ "time-macros",
 ]
 
 [[package]]
 name = "time-core"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
-
-[[package]]
-name = "time-macros"
-version = "0.1.1"
+version = "0.1.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "957e9c6e26f12cb6d0dd7fc776bb67a706312e7299aed74c8dd5b17ebb27e2f1"
-dependencies = [
- "proc-macro-hack",
- "time-macros-impl",
-]
+checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b"
 
 [[package]]
 name = "time-macros"
-version = "0.2.19"
+version = "0.2.24"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2834e6017e3e5e4b9834939793b282bc03b37a3336245fa820e35e233e2a85de"
+checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3"
 dependencies = [
  "num-conv",
  "time-core",
 ]
 
-[[package]]
-name = "time-macros-impl"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fd3c141a1b43194f3f56a1411225df8646c55781d5f26db825b3d98507eb482f"
-dependencies = [
- "proc-macro-hack",
- "proc-macro2",
- "quote",
- "standback",
- "syn 1.0.109",
-]
-
 [[package]]
 name = "tinystr"
-version = "0.7.6"
+version = "0.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f"
+checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869"
 dependencies = [
  "displaydoc",
+ "serde_core",
  "zerovec",
 ]
 
 [[package]]
 name = "tinyvec"
-version = "1.8.0"
+version = "1.10.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938"
+checksum = "bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa"
 dependencies = [
  "tinyvec_macros",
 ]
@@ -4170,38 +4049,37 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
 
 [[package]]
 name = "tokio"
-version = "1.42.0"
+version = "1.48.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5cec9b21b0450273377fc97bd4c33a8acffc8c996c987a7c5b319a0083707551"
+checksum = "ff360e02eab121e0bc37a2d3b4d4dc622e6eda3a8e5253d5435ecf5bd4c68408"
 dependencies = [
- "backtrace",
  "bytes",
  "libc",
- "mio 1.0.3",
- "parking_lot 0.12.3",
+ "mio 1.1.0",
+ "parking_lot 0.12.5",
  "pin-project-lite",
  "signal-hook-registry",
  "socket2",
  "tokio-macros",
- "windows-sys 0.52.0",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
 name = "tokio-macros"
-version = "2.4.0"
+version = "2.6.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752"
+checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "tokio-rustls"
-version = "0.26.1"
+version = "0.26.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f6d0975eaace0cf0fcadee4e4aaa5da15b5c079146f2cffb67c113be122bf37"
+checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61"
 dependencies = [
  "rustls",
  "tokio",
@@ -4247,9 +4125,9 @@ dependencies = [
 
 [[package]]
 name = "tokio-util"
-version = "0.7.13"
+version = "0.7.17"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7fcaa8d55a2bdd6b83ace262b016eca0d79ee02818c5c1bcdf0305114081078"
+checksum = "2efa149fe76073d6e8fd97ef4f4eca7b67f599660115591483572e406e165594"
 dependencies = [
  "bytes",
  "futures-core",
@@ -4267,6 +4145,45 @@ dependencies = [
  "serde",
 ]
 
+[[package]]
+name = "tower"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9"
+dependencies = [
+ "futures-core",
+ "futures-util",
+ "pin-project-lite",
+ "sync_wrapper",
+ "tokio",
+ "tower-layer",
+ "tower-service",
+]
+
+[[package]]
+name = "tower-http"
+version = "0.6.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "adc82fd73de2a9722ac5da747f12383d2bfdb93591ee6c58486e0097890f05f2"
+dependencies = [
+ "bitflags 2.10.0",
+ "bytes",
+ "futures-util",
+ "http",
+ "http-body",
+ "iri-string",
+ "pin-project-lite",
+ "tower",
+ "tower-layer",
+ "tower-service",
+]
+
+[[package]]
+name = "tower-layer"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e"
+
 [[package]]
 name = "tower-service"
 version = "0.3.3"
@@ -4287,20 +4204,20 @@ dependencies = [
 
 [[package]]
 name = "tracing-attributes"
-version = "0.1.28"
+version = "0.1.30"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d"
+checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "tracing-core"
-version = "0.1.33"
+version = "0.1.34"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c"
+checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678"
 dependencies = [
  "once_cell",
 ]
@@ -4313,30 +4230,30 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
 
 [[package]]
 name = "type-map"
-version = "0.5.0"
+version = "0.5.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "deb68604048ff8fa93347f02441e4487594adc20bb8a084f9e564d2b827a0a9f"
+checksum = "cb30dbbd9036155e74adad6812e9898d03ec374946234fbcebd5dfc7b9187b90"
 dependencies = [
- "rustc-hash 1.1.0",
+ "rustc-hash 2.1.1",
 ]
 
 [[package]]
 name = "typeid"
-version = "1.0.2"
+version = "1.0.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e13db2e0ccd5e14a544e8a246ba2312cd25223f616442d7f2cb0e3db614236e"
+checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c"
 
 [[package]]
 name = "typenum"
-version = "1.17.0"
+version = "1.19.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
+checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb"
 
 [[package]]
 name = "typetag"
-version = "0.2.18"
+version = "0.2.21"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "52ba3b6e86ffe0054b2c44f2d86407388b933b16cb0a70eea3929420db1d9bbe"
+checksum = "be2212c8a9b9bcfca32024de14998494cf9a5dfa59ea1b829de98bac374b86bf"
 dependencies = [
  "erased-serde",
  "inventory",
@@ -4347,13 +4264,13 @@ dependencies = [
 
 [[package]]
 name = "typetag-impl"
-version = "0.2.18"
+version = "0.2.21"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "70b20a22c42c8f1cd23ce5e34f165d4d37038f5b663ad20fb6adbdf029172483"
+checksum = "27a7a9b72ba121f6f1f6c3632b85604cac41aedb5ddc70accbebb6cac83de846"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
@@ -4396,9 +4313,9 @@ dependencies = [
 
 [[package]]
 name = "unic-langid"
-version = "0.9.5"
+version = "0.9.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23dd9d1e72a73b25e07123a80776aae3e7b0ec461ef94f9151eed6ec88005a44"
+checksum = "a28ba52c9b05311f4f6e62d5d9d46f094bd6e84cb8df7b3ef952748d752a7d05"
 dependencies = [
  "unic-langid-impl",
  "unic-langid-macros",
@@ -4406,18 +4323,18 @@ dependencies = [
 
 [[package]]
 name = "unic-langid-impl"
-version = "0.9.5"
+version = "0.9.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0a5422c1f65949306c99240b81de9f3f15929f5a8bfe05bb44b034cc8bf593e5"
+checksum = "dce1bf08044d4b7a94028c93786f8566047edc11110595914de93362559bc658"
 dependencies = [
  "tinystr",
 ]
 
 [[package]]
 name = "unic-langid-macros"
-version = "0.9.5"
+version = "0.9.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0da1cd2c042d3c7569a1008806b02039e7a4a2bdf8f8e96bd3c792434a0e275e"
+checksum = "d5957eb82e346d7add14182a3315a7e298f04e1ba4baac36f7f0dbfedba5fc25"
 dependencies = [
  "proc-macro-hack",
  "tinystr",
@@ -4427,13 +4344,13 @@ dependencies = [
 
 [[package]]
 name = "unic-langid-macros-impl"
-version = "0.9.5"
+version = "0.9.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ed7f4237ba393424195053097c1516bd4590dc82b84f2f97c5c69e12704555b"
+checksum = "a1249a628de3ad34b821ecb1001355bca3940bcb2f88558f1a8bd82e977f75b5"
 dependencies = [
  "proc-macro-hack",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
  "unic-langid-impl",
 ]
 
@@ -4471,27 +4388,27 @@ dependencies = [
 
 [[package]]
 name = "unicase"
-version = "2.8.0"
+version = "2.8.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e51b68083f157f853b6379db119d1c1be0e6e4dec98101079dec41f6f5cf6df"
+checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539"
 
 [[package]]
 name = "unicode-casing"
-version = "0.1.0"
+version = "0.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "623f59e6af2a98bdafeb93fa277ac8e1e40440973001ca15cf4ae1541cd16d56"
+checksum = "061dbb8cc7f108532b6087a0065eff575e892a4bcb503dc57323a197457cc202"
 
 [[package]]
 name = "unicode-ident"
-version = "1.0.14"
+version = "1.0.22"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83"
+checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
 
 [[package]]
 name = "unicode-normalization"
-version = "0.1.24"
+version = "0.1.25"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956"
+checksum = "5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8"
 dependencies = [
  "tinyvec",
 ]
@@ -4534,9 +4451,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
 
 [[package]]
 name = "url"
-version = "2.5.4"
+version = "2.5.7"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60"
+checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b"
 dependencies = [
  "form_urlencoded",
  "idna",
@@ -4544,12 +4461,6 @@ dependencies = [
  "serde",
 ]
 
-[[package]]
-name = "utf16_iter"
-version = "1.0.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246"
-
 [[package]]
 name = "utf8_iter"
 version = "1.0.4"
@@ -4564,46 +4475,48 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
 
 [[package]]
 name = "uuid"
-version = "1.11.0"
+version = "1.18.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a"
+checksum = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2"
 dependencies = [
- "getrandom",
+ "getrandom 0.3.4",
+ "js-sys",
  "serde",
+ "wasm-bindgen",
 ]
 
 [[package]]
 name = "vergen"
-version = "9.0.2"
+version = "9.0.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "31f25fc8f8f05df455c7941e87f093ad22522a9ff33d7a027774815acf6f0639"
+checksum = "6b2bf58be11fc9414104c6d3a2e464163db5ef74b12296bda593cac37b6e4777"
 dependencies = [
  "anyhow",
  "derive_builder",
- "rustc_version 0.4.1",
+ "rustc_version",
  "rustversion",
  "vergen-lib",
 ]
 
 [[package]]
 name = "vergen-gitcl"
-version = "1.0.2"
+version = "1.0.8"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0227006d09f98ab00ea69e9a5e055e676a813cfbed4232986176c86a6080b997"
+checksum = "b9dfc1de6eb2e08a4ddf152f1b179529638bedc0ea95e6d667c014506377aefe"
 dependencies = [
  "anyhow",
  "derive_builder",
  "rustversion",
- "time 0.3.37",
+ "time",
  "vergen",
  "vergen-lib",
 ]
 
 [[package]]
 name = "vergen-lib"
-version = "0.1.5"
+version = "0.1.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0c767e6751c09fc85cde58722cf2f1007e80e4c8d5a4321fc90d83dc54ca147"
+checksum = "9b07e6010c0f3e59fcb164e0163834597da68d1f864e2b8ca49f74de01e9c166"
 dependencies = [
  "anyhow",
  "derive_builder",
@@ -4637,42 +4550,39 @@ dependencies = [
 
 [[package]]
 name = "wasi"
-version = "0.11.0+wasi-snapshot-preview1"
+version = "0.11.1+wasi-snapshot-preview1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
+checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
 
 [[package]]
-name = "wasm-bindgen"
-version = "0.2.99"
+name = "wasip2"
+version = "1.0.1+wasi-0.2.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a474f6281d1d70c17ae7aa6a613c87fce69a127e2624002df63dcb39d6cf6396"
+checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7"
 dependencies = [
- "cfg-if 1.0.0",
- "once_cell",
- "wasm-bindgen-macro",
+ "wit-bindgen",
 ]
 
 [[package]]
-name = "wasm-bindgen-backend"
-version = "0.2.99"
+name = "wasm-bindgen"
+version = "0.2.105"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f89bb38646b4f81674e8f5c3fb81b562be1fd936d84320f3264486418519c79"
+checksum = "da95793dfc411fbbd93f5be7715b0578ec61fe87cb1a42b12eb625caa5c5ea60"
 dependencies = [
- "bumpalo",
- "log",
- "proc-macro2",
- "quote",
- "syn 2.0.90",
+ "cfg-if 1.0.4",
+ "once_cell",
+ "rustversion",
+ "wasm-bindgen-macro",
  "wasm-bindgen-shared",
 ]
 
 [[package]]
 name = "wasm-bindgen-futures"
-version = "0.4.49"
+version = "0.4.55"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38176d9b44ea84e9184eff0bc34cc167ed044f816accfe5922e54d84cf48eca2"
+checksum = "551f88106c6d5e7ccc7cd9a16f312dd3b5d36ea8b4954304657d5dfba115d4a0"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "js-sys",
  "once_cell",
  "wasm-bindgen",
@@ -4681,9 +4591,9 @@ dependencies = [
 
 [[package]]
 name = "wasm-bindgen-macro"
-version = "0.2.99"
+version = "0.2.105"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2cc6181fd9a7492eef6fef1f33961e3695e4579b9872a6f7c83aee556666d4fe"
+checksum = "04264334509e04a7bf8690f2384ef5265f05143a4bff3889ab7a3269adab59c2"
 dependencies = [
  "quote",
  "wasm-bindgen-macro-support",
@@ -4691,22 +4601,25 @@ dependencies = [
 
 [[package]]
 name = "wasm-bindgen-macro-support"
-version = "0.2.99"
+version = "0.2.105"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30d7a95b763d3c45903ed6c81f156801839e5ee968bb07e534c44df0fcd330c2"
+checksum = "420bc339d9f322e562942d52e115d57e950d12d88983a14c79b86859ee6c7ebc"
 dependencies = [
+ "bumpalo",
  "proc-macro2",
  "quote",
- "syn 2.0.90",
- "wasm-bindgen-backend",
+ "syn 2.0.111",
  "wasm-bindgen-shared",
 ]
 
 [[package]]
 name = "wasm-bindgen-shared"
-version = "0.2.99"
+version = "0.2.105"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "943aab3fdaaa029a6e0271b35ea10b72b943135afe9bffca82384098ad0e06a6"
+checksum = "76f218a38c84bcb33c25ec7059b07847d465ce0e0a76b995e134a45adcb6af76"
+dependencies = [
+ "unicode-ident",
+]
 
 [[package]]
 name = "wasm-streams"
@@ -4723,9 +4636,9 @@ dependencies = [
 
 [[package]]
 name = "web-sys"
-version = "0.3.76"
+version = "0.3.82"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "04dd7223427d52553d3702c004d3b2fe07c148165faa56313cb00211e31c12bc"
+checksum = "3a1f95c0d03a47f4ae1f7a64643a6bb97465d9b740f0fa8f90ea33915c99a9a1"
 dependencies = [
  "js-sys",
  "wasm-bindgen",
@@ -4743,25 +4656,13 @@ dependencies = [
 
 [[package]]
 name = "webpki-roots"
-version = "0.26.7"
+version = "1.0.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5d642ff16b7e79272ae451b7322067cdc17cadf68c23264be9d94a32319efe7e"
+checksum = "b2878ef029c47c6e8cf779119f20fcf52bde7ad42a731b2a304bc221df17571e"
 dependencies = [
  "rustls-pki-types",
 ]
 
-[[package]]
-name = "which"
-version = "4.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7"
-dependencies = [
- "either",
- "home",
- "once_cell",
- "rustix",
-]
-
 [[package]]
 name = "winapi"
 version = "0.3.9"
@@ -4780,11 +4681,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
 
 [[package]]
 name = "winapi-util"
-version = "0.1.9"
+version = "0.1.11"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
+checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
 dependencies = [
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
@@ -4794,52 +4695,68 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
 
 [[package]]
-name = "windows"
-version = "0.52.0"
+name = "windows-core"
+version = "0.62.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be"
+checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb"
 dependencies = [
- "windows-core",
- "windows-targets 0.52.6",
+ "windows-implement",
+ "windows-interface",
+ "windows-link 0.2.1",
+ "windows-result",
+ "windows-strings",
 ]
 
 [[package]]
-name = "windows-core"
-version = "0.52.0"
+name = "windows-implement"
+version = "0.60.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9"
+checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf"
 dependencies = [
- "windows-targets 0.52.6",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.111",
 ]
 
 [[package]]
-name = "windows-registry"
-version = "0.2.0"
+name = "windows-interface"
+version = "0.59.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0"
+checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358"
 dependencies = [
- "windows-result",
- "windows-strings",
- "windows-targets 0.52.6",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.111",
 ]
 
+[[package]]
+name = "windows-link"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a"
+
+[[package]]
+name = "windows-link"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
+
 [[package]]
 name = "windows-result"
-version = "0.2.0"
+version = "0.4.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e"
+checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5"
 dependencies = [
- "windows-targets 0.52.6",
+ "windows-link 0.2.1",
 ]
 
 [[package]]
 name = "windows-strings"
-version = "0.1.0"
+version = "0.5.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10"
+checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091"
 dependencies = [
- "windows-result",
- "windows-targets 0.52.6",
+ "windows-link 0.2.1",
 ]
 
 [[package]]
@@ -4886,11 +4803,20 @@ dependencies = [
 
 [[package]]
 name = "windows-sys"
-version = "0.59.0"
+version = "0.60.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
+checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
 dependencies = [
- "windows-targets 0.52.6",
+ "windows-targets 0.53.5",
+]
+
+[[package]]
+name = "windows-sys"
+version = "0.61.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
+dependencies = [
+ "windows-link 0.2.1",
 ]
 
 [[package]]
@@ -4932,13 +4858,30 @@ dependencies = [
  "windows_aarch64_gnullvm 0.52.6",
  "windows_aarch64_msvc 0.52.6",
  "windows_i686_gnu 0.52.6",
- "windows_i686_gnullvm",
+ "windows_i686_gnullvm 0.52.6",
  "windows_i686_msvc 0.52.6",
  "windows_x86_64_gnu 0.52.6",
  "windows_x86_64_gnullvm 0.52.6",
  "windows_x86_64_msvc 0.52.6",
 ]
 
+[[package]]
+name = "windows-targets"
+version = "0.53.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3"
+dependencies = [
+ "windows-link 0.2.1",
+ "windows_aarch64_gnullvm 0.53.1",
+ "windows_aarch64_msvc 0.53.1",
+ "windows_i686_gnu 0.53.1",
+ "windows_i686_gnullvm 0.53.1",
+ "windows_i686_msvc 0.53.1",
+ "windows_x86_64_gnu 0.53.1",
+ "windows_x86_64_gnullvm 0.53.1",
+ "windows_x86_64_msvc 0.53.1",
+]
+
 [[package]]
 name = "windows_aarch64_gnullvm"
 version = "0.42.2"
@@ -4957,6 +4900,12 @@ version = "0.52.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
 
+[[package]]
+name = "windows_aarch64_gnullvm"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53"
+
 [[package]]
 name = "windows_aarch64_msvc"
 version = "0.42.2"
@@ -4975,6 +4924,12 @@ version = "0.52.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
 
+[[package]]
+name = "windows_aarch64_msvc"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006"
+
 [[package]]
 name = "windows_i686_gnu"
 version = "0.42.2"
@@ -4993,12 +4948,24 @@ version = "0.52.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
 
+[[package]]
+name = "windows_i686_gnu"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3"
+
 [[package]]
 name = "windows_i686_gnullvm"
 version = "0.52.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
 
+[[package]]
+name = "windows_i686_gnullvm"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c"
+
 [[package]]
 name = "windows_i686_msvc"
 version = "0.42.2"
@@ -5017,6 +4984,12 @@ version = "0.52.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
 
+[[package]]
+name = "windows_i686_msvc"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2"
+
 [[package]]
 name = "windows_x86_64_gnu"
 version = "0.42.2"
@@ -5035,6 +5008,12 @@ version = "0.52.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
 
+[[package]]
+name = "windows_x86_64_gnu"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499"
+
 [[package]]
 name = "windows_x86_64_gnullvm"
 version = "0.42.2"
@@ -5053,6 +5032,12 @@ version = "0.52.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
 
+[[package]]
+name = "windows_x86_64_gnullvm"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1"
+
 [[package]]
 name = "windows_x86_64_msvc"
 version = "0.42.2"
@@ -5072,25 +5057,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
 
 [[package]]
-name = "write16"
-version = "1.0.0"
+name = "windows_x86_64_msvc"
+version = "0.53.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936"
+checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650"
+
+[[package]]
+name = "wit-bindgen"
+version = "0.46.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"
 
 [[package]]
 name = "writeable"
-version = "0.5.5"
+version = "0.6.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51"
+checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9"
 
 [[package]]
 name = "xattr"
-version = "1.3.1"
+version = "1.6.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f"
+checksum = "32e45ad4206f6d2479085147f02bc2ef834ac85886624a23575ae137c8aa8156"
 dependencies = [
  "libc",
- "linux-raw-sys",
  "rustix",
 ]
 
@@ -5120,11 +5110,10 @@ dependencies = [
 
 [[package]]
 name = "yoke"
-version = "0.7.5"
+version = "0.8.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40"
+checksum = "72d6e5c6afb84d73944e5cedb052c4680d5657337201555f9f2a16b7406d4954"
 dependencies = [
- "serde",
  "stable_deref_trait",
  "yoke-derive",
  "zerofrom",
@@ -5132,70 +5121,81 @@ dependencies = [
 
 [[package]]
 name = "yoke-derive"
-version = "0.7.5"
+version = "0.8.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154"
+checksum = "b659052874eb698efe5b9e8cf382204678a0086ebf46982b79d6ca3182927e5d"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
- "synstructure 0.13.1",
+ "syn 2.0.111",
+ "synstructure 0.13.2",
 ]
 
 [[package]]
 name = "zerocopy"
-version = "0.7.35"
+version = "0.8.28"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
+checksum = "43fa6694ed34d6e57407afbccdeecfa268c470a7d2a5b0cf49ce9fcc345afb90"
 dependencies = [
- "byteorder",
  "zerocopy-derive",
 ]
 
 [[package]]
 name = "zerocopy-derive"
-version = "0.7.35"
+version = "0.8.28"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
+checksum = "c640b22cd9817fae95be82f0d2f90b11f7605f6c319d16705c459b27ac2cbc26"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "zerofrom"
-version = "0.1.5"
+version = "0.1.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e"
+checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5"
 dependencies = [
  "zerofrom-derive",
 ]
 
 [[package]]
 name = "zerofrom-derive"
-version = "0.1.5"
+version = "0.1.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808"
+checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
- "synstructure 0.13.1",
+ "syn 2.0.111",
+ "synstructure 0.13.2",
 ]
 
 [[package]]
 name = "zeroize"
-version = "1.8.1"
+version = "1.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
+checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0"
+
+[[package]]
+name = "zerotrie"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2a59c17a5562d507e4b54960e8569ebee33bee890c70aa3fe7b97e85a9fd7851"
+dependencies = [
+ "displaydoc",
+ "yoke",
+ "zerofrom",
+]
 
 [[package]]
 name = "zerovec"
-version = "0.10.4"
+version = "0.11.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079"
+checksum = "6c28719294829477f525be0186d13efa9a3c602f7ec202ca9e353d310fb9a002"
 dependencies = [
+ "serde",
  "yoke",
  "zerofrom",
  "zerovec-derive",
@@ -5203,11 +5203,11 @@ dependencies = [
 
 [[package]]
 name = "zerovec-derive"
-version = "0.10.3"
+version = "0.11.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
+checksum = "eadce39539ca5cb3985590102671f2567e659fca9666581ad3411d59207951f3"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
diff --git a/nodejs/Cargo.toml b/nodejs/Cargo.toml
index e45dc185..9e4de582 100644
--- a/nodejs/Cargo.toml
+++ b/nodejs/Cargo.toml
@@ -1,13 +1,13 @@
 [package]
-edition = "2021"
-name = "kcl-lib"
-version = "0.0.0"
+edition = "2024"
+name = "kcl-nodejs-lib"
+version = "0.12.0"
 
 [lib]
 crate-type = ["cdylib"]
 
 [dependencies]
-kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.11.2" }
+kcl-api = { git = "https://github.com/kcl-lang/kcl", version = "0.12.0" }
 # Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
 napi = { version = "2.12.2", default-features = false, features = ["napi4"] }
 napi-derive = "2.12.2"
diff --git a/nodejs/examples/exec-program/package.json b/nodejs/examples/exec-program/package.json
index 0e9029f1..b26fad2d 100644
--- a/nodejs/examples/exec-program/package.json
+++ b/nodejs/examples/exec-program/package.json
@@ -12,6 +12,6 @@
     "dist/"
   ],
   "dependencies": {
-    "kcl-lib": "0.11.2"
+    "kcl-lib": "0.12.0"
   }
 }
diff --git a/nodejs/npm/darwin-arm64/package-lock.json b/nodejs/npm/darwin-arm64/package-lock.json
index 2876a014..b8ec5bd6 100644
--- a/nodejs/npm/darwin-arm64/package-lock.json
+++ b/nodejs/npm/darwin-arm64/package-lock.json
@@ -1,12 +1,12 @@
 {
   "name": "@kcl-lang/lib-darwin-arm64",
-  "version": "0.11.2",
+  "version": "0.12.0",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "@kcl-lang/lib-darwin-arm64",
-      "version": "0.11.2",
+      "version": "0.12.0",
       "cpu": [
         "arm64"
       ],
diff --git a/nodejs/npm/darwin-arm64/package.json b/nodejs/npm/darwin-arm64/package.json
index 6d555bf9..772707cc 100644
--- a/nodejs/npm/darwin-arm64/package.json
+++ b/nodejs/npm/darwin-arm64/package.json
@@ -1,7 +1,7 @@
 {
   "name": "@kcl-lang/lib-darwin-arm64",
   "repository": "https://github.com/kcl-lang/lib",
-  "version": "0.11.2",
+  "version": "0.12.0",
   "os": [
     "darwin"
   ],
diff --git a/nodejs/npm/darwin-x64/package.json b/nodejs/npm/darwin-x64/package.json
index 43e3d2c8..a42f82fd 100644
--- a/nodejs/npm/darwin-x64/package.json
+++ b/nodejs/npm/darwin-x64/package.json
@@ -1,7 +1,7 @@
 {
   "name": "@kcl-lang/lib-darwin-x64",
   "repository": "https://github.com/kcl-lang/lib",
-  "version": "0.11.2",
+  "version": "0.12.0",
   "os": [
     "darwin"
   ],
diff --git a/nodejs/npm/linux-arm64-gnu/package.json b/nodejs/npm/linux-arm64-gnu/package.json
index 648eedef..37643efe 100644
--- a/nodejs/npm/linux-arm64-gnu/package.json
+++ b/nodejs/npm/linux-arm64-gnu/package.json
@@ -1,7 +1,7 @@
 {
   "name": "@kcl-lang/lib-linux-arm64-gnu",
   "repository": "https://github.com/kcl-lang/lib",
-  "version": "0.11.2",
+  "version": "0.12.0",
   "os": [
     "linux"
   ],
diff --git a/nodejs/npm/linux-x64-gnu/package.json b/nodejs/npm/linux-x64-gnu/package.json
index 06b4e753..bdb81872 100644
--- a/nodejs/npm/linux-x64-gnu/package.json
+++ b/nodejs/npm/linux-x64-gnu/package.json
@@ -1,7 +1,7 @@
 {
   "name": "@kcl-lang/lib-linux-x64-gnu",
   "repository": "https://github.com/kcl-lang/lib",
-  "version": "0.11.2",
+  "version": "0.12.0",
   "os": [
     "linux"
   ],
diff --git a/nodejs/npm/win32-arm64-msvc/package.json b/nodejs/npm/win32-arm64-msvc/package.json
index 9dedaadf..b46e6ffe 100644
--- a/nodejs/npm/win32-arm64-msvc/package.json
+++ b/nodejs/npm/win32-arm64-msvc/package.json
@@ -1,7 +1,7 @@
 {
   "name": "@kcl-lang/lib-win32-arm64-msvc",
   "repository": "https://github.com/kcl-lang/lib",
-  "version": "0.11.2",
+  "version": "0.12.0",
   "os": [
     "win32"
   ],
diff --git a/nodejs/npm/win32-x64-msvc/package.json b/nodejs/npm/win32-x64-msvc/package.json
index 4083ccea..b241548f 100644
--- a/nodejs/npm/win32-x64-msvc/package.json
+++ b/nodejs/npm/win32-x64-msvc/package.json
@@ -1,7 +1,7 @@
 {
   "name": "@kcl-lang/lib-win32-x64-msvc",
   "repository": "https://github.com/kcl-lang/lib",
-  "version": "0.11.2",
+  "version": "0.12.0",
   "os": [
     "win32"
   ],
diff --git a/nodejs/package.json b/nodejs/package.json
index 2373c7fc..87db7241 100644
--- a/nodejs/package.json
+++ b/nodejs/package.json
@@ -1,6 +1,6 @@
 {
   "name": "kcl-lib",
-  "version": "0.11.2",
+  "version": "0.12.0",
   "repository": "https://github.com/kcl-lang/lib",
   "license": "Apache-2.0",
   "main": "index.js",
diff --git a/nodejs/pnpm-lock.yaml b/nodejs/pnpm-lock.yaml
deleted file mode 100644
index 18edd779..00000000
--- a/nodejs/pnpm-lock.yaml
+++ /dev/null
@@ -1,1232 +0,0 @@
-lockfileVersion: '6.0'
-
-settings:
-  autoInstallPeers: true
-  excludeLinksFromLockfile: false
-
-devDependencies:
-  '@napi-rs/cli':
-    specifier: ^2.18.1
-    version: 2.18.1
-  ava:
-    specifier: ^6.0.1
-    version: 6.1.2
-  prettier:
-    specifier: ^2.8.4
-    version: 2.8.8
-  typedoc:
-    specifier: ^0.25
-    version: 0.25.13(typescript@5.4.5)
-  typescript:
-    specifier: ^5.0.2
-    version: 5.4.5
-
-packages:
-
-  /@mapbox/node-pre-gyp@1.0.11:
-    resolution: {integrity: sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ==}
-    hasBin: true
-    dependencies:
-      detect-libc: 2.0.3
-      https-proxy-agent: 5.0.1
-      make-dir: 3.1.0
-      node-fetch: 2.7.0
-      nopt: 5.0.0
-      npmlog: 5.0.1
-      rimraf: 3.0.2
-      semver: 7.6.0
-      tar: 6.2.1
-    transitivePeerDependencies:
-      - encoding
-      - supports-color
-    dev: true
-
-  /@napi-rs/cli@2.18.1:
-    resolution: {integrity: sha512-N4iTeip2VSk0RftgDGuk7IBrgOST/WPUSA3lYstILXsNifR3tHugcbLzo04+OtSrMc+ZUPsXo3Jd1t3dlswAlw==}
-    engines: {node: '>= 10'}
-    hasBin: true
-    dev: true
-
-  /@nodelib/fs.scandir@2.1.5:
-    resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
-    engines: {node: '>= 8'}
-    dependencies:
-      '@nodelib/fs.stat': 2.0.5
-      run-parallel: 1.2.0
-    dev: true
-
-  /@nodelib/fs.stat@2.0.5:
-    resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==}
-    engines: {node: '>= 8'}
-    dev: true
-
-  /@nodelib/fs.walk@1.2.8:
-    resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}
-    engines: {node: '>= 8'}
-    dependencies:
-      '@nodelib/fs.scandir': 2.1.5
-      fastq: 1.17.1
-    dev: true
-
-  /@rollup/pluginutils@4.2.1:
-    resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==}
-    engines: {node: '>= 8.0.0'}
-    dependencies:
-      estree-walker: 2.0.2
-      picomatch: 2.3.1
-    dev: true
-
-  /@sindresorhus/merge-streams@2.3.0:
-    resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==}
-    engines: {node: '>=18'}
-    dev: true
-
-  /@vercel/nft@0.26.4:
-    resolution: {integrity: sha512-j4jCOOXke2t8cHZCIxu1dzKLHLcFmYzC3yqAK6MfZznOL1QIJKd0xcFsXK3zcqzU7ScsE2zWkiMMNHGMHgp+FA==}
-    engines: {node: '>=16'}
-    hasBin: true
-    dependencies:
-      '@mapbox/node-pre-gyp': 1.0.11
-      '@rollup/pluginutils': 4.2.1
-      acorn: 8.11.3
-      acorn-import-attributes: 1.9.5(acorn@8.11.3)
-      async-sema: 3.1.1
-      bindings: 1.5.0
-      estree-walker: 2.0.2
-      glob: 7.2.3
-      graceful-fs: 4.2.11
-      micromatch: 4.0.5
-      node-gyp-build: 4.8.0
-      resolve-from: 5.0.0
-    transitivePeerDependencies:
-      - encoding
-      - supports-color
-    dev: true
-
-  /abbrev@1.1.1:
-    resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==}
-    dev: true
-
-  /acorn-import-attributes@1.9.5(acorn@8.11.3):
-    resolution: {integrity: sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==}
-    peerDependencies:
-      acorn: ^8
-    dependencies:
-      acorn: 8.11.3
-    dev: true
-
-  /acorn-walk@8.3.2:
-    resolution: {integrity: sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==}
-    engines: {node: '>=0.4.0'}
-    dev: true
-
-  /acorn@8.11.3:
-    resolution: {integrity: sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==}
-    engines: {node: '>=0.4.0'}
-    hasBin: true
-    dev: true
-
-  /agent-base@6.0.2:
-    resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==}
-    engines: {node: '>= 6.0.0'}
-    dependencies:
-      debug: 4.3.4
-    transitivePeerDependencies:
-      - supports-color
-    dev: true
-
-  /ansi-regex@5.0.1:
-    resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
-    engines: {node: '>=8'}
-    dev: true
-
-  /ansi-regex@6.0.1:
-    resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==}
-    engines: {node: '>=12'}
-    dev: true
-
-  /ansi-sequence-parser@1.1.1:
-    resolution: {integrity: sha512-vJXt3yiaUL4UU546s3rPXlsry/RnM730G1+HkpKE012AN0sx1eOrxSu95oKDIonskeLTijMgqWZ3uDEe3NFvyg==}
-    dev: true
-
-  /ansi-styles@4.3.0:
-    resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}
-    engines: {node: '>=8'}
-    dependencies:
-      color-convert: 2.0.1
-    dev: true
-
-  /ansi-styles@6.2.1:
-    resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==}
-    engines: {node: '>=12'}
-    dev: true
-
-  /aproba@2.0.0:
-    resolution: {integrity: sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==}
-    dev: true
-
-  /are-we-there-yet@2.0.0:
-    resolution: {integrity: sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==}
-    engines: {node: '>=10'}
-    dependencies:
-      delegates: 1.0.0
-      readable-stream: 3.6.2
-    dev: true
-
-  /argparse@1.0.10:
-    resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==}
-    dependencies:
-      sprintf-js: 1.0.3
-    dev: true
-
-  /array-find-index@1.0.2:
-    resolution: {integrity: sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw==}
-    engines: {node: '>=0.10.0'}
-    dev: true
-
-  /arrgv@1.0.2:
-    resolution: {integrity: sha512-a4eg4yhp7mmruZDQFqVMlxNRFGi/i1r87pt8SDHy0/I8PqSXoUTlWZRdAZo0VXgvEARcujbtTk8kiZRi1uDGRw==}
-    engines: {node: '>=8.0.0'}
-    dev: true
-
-  /arrify@3.0.0:
-    resolution: {integrity: sha512-tLkvA81vQG/XqE2mjDkGQHoOINtMHtysSnemrmoGe6PydDPMRbVugqyk4A6V/WDWEfm3l+0d8anA9r8cv/5Jaw==}
-    engines: {node: '>=12'}
-    dev: true
-
-  /async-sema@3.1.1:
-    resolution: {integrity: sha512-tLRNUXati5MFePdAk8dw7Qt7DpxPB60ofAgn8WRhW6a2rcimZnYBP9oxHiv0OHy+Wz7kPMG+t4LGdt31+4EmGg==}
-    dev: true
-
-  /ava@6.1.2:
-    resolution: {integrity: sha512-WcpxJ8yZ7mk9ABTinD0IAjcemovSeVGjuuwZx0JS9johREWFeLTl8UP6wd7l6nmnrWqkKZdwaD71a/ocH4qPKw==}
-    engines: {node: ^18.18 || ^20.8 || ^21}
-    hasBin: true
-    peerDependencies:
-      '@ava/typescript': '*'
-    peerDependenciesMeta:
-      '@ava/typescript':
-        optional: true
-    dependencies:
-      '@vercel/nft': 0.26.4
-      acorn: 8.11.3
-      acorn-walk: 8.3.2
-      ansi-styles: 6.2.1
-      arrgv: 1.0.2
-      arrify: 3.0.0
-      callsites: 4.1.0
-      cbor: 9.0.2
-      chalk: 5.3.0
-      chunkd: 2.0.1
-      ci-info: 4.0.0
-      ci-parallel-vars: 1.0.1
-      cli-truncate: 4.0.0
-      code-excerpt: 4.0.0
-      common-path-prefix: 3.0.0
-      concordance: 5.0.4
-      currently-unhandled: 0.4.1
-      debug: 4.3.4
-      emittery: 1.0.3
-      figures: 6.1.0
-      globby: 14.0.1
-      ignore-by-default: 2.1.0
-      indent-string: 5.0.0
-      is-plain-object: 5.0.0
-      is-promise: 4.0.0
-      matcher: 5.0.0
-      memoize: 10.0.0
-      ms: 2.1.3
-      p-map: 7.0.2
-      package-config: 5.0.0
-      picomatch: 3.0.1
-      plur: 5.1.0
-      pretty-ms: 9.0.0
-      resolve-cwd: 3.0.0
-      stack-utils: 2.0.6
-      strip-ansi: 7.1.0
-      supertap: 3.0.1
-      temp-dir: 3.0.0
-      write-file-atomic: 5.0.1
-      yargs: 17.7.2
-    transitivePeerDependencies:
-      - encoding
-      - supports-color
-    dev: true
-
-  /balanced-match@1.0.2:
-    resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
-    dev: true
-
-  /bindings@1.5.0:
-    resolution: {integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==}
-    dependencies:
-      file-uri-to-path: 1.0.0
-    dev: true
-
-  /blueimp-md5@2.19.0:
-    resolution: {integrity: sha512-DRQrD6gJyy8FbiE4s+bDoXS9hiW3Vbx5uCdwvcCf3zLHL+Iv7LtGHLpr+GZV8rHG8tK766FGYBwRbu8pELTt+w==}
-    dev: true
-
-  /brace-expansion@1.1.11:
-    resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==}
-    dependencies:
-      balanced-match: 1.0.2
-      concat-map: 0.0.1
-    dev: true
-
-  /brace-expansion@2.0.1:
-    resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==}
-    dependencies:
-      balanced-match: 1.0.2
-    dev: true
-
-  /braces@3.0.2:
-    resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==}
-    engines: {node: '>=8'}
-    dependencies:
-      fill-range: 7.0.1
-    dev: true
-
-  /callsites@4.1.0:
-    resolution: {integrity: sha512-aBMbD1Xxay75ViYezwT40aQONfr+pSXTHwNKvIXhXD6+LY3F1dLIcceoC5OZKBVHbXcysz1hL9D2w0JJIMXpUw==}
-    engines: {node: '>=12.20'}
-    dev: true
-
-  /cbor@9.0.2:
-    resolution: {integrity: sha512-JPypkxsB10s9QOWwa6zwPzqE1Md3vqpPc+cai4sAecuCsRyAtAl/pMyhPlMbT/xtPnm2dznJZYRLui57qiRhaQ==}
-    engines: {node: '>=16'}
-    dependencies:
-      nofilter: 3.1.0
-    dev: true
-
-  /chalk@5.3.0:
-    resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==}
-    engines: {node: ^12.17.0 || ^14.13 || >=16.0.0}
-    dev: true
-
-  /chownr@2.0.0:
-    resolution: {integrity: sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==}
-    engines: {node: '>=10'}
-    dev: true
-
-  /chunkd@2.0.1:
-    resolution: {integrity: sha512-7d58XsFmOq0j6el67Ug9mHf9ELUXsQXYJBkyxhH/k+6Ke0qXRnv0kbemx+Twc6fRJ07C49lcbdgm9FL1Ei/6SQ==}
-    dev: true
-
-  /ci-info@4.0.0:
-    resolution: {integrity: sha512-TdHqgGf9odd8SXNuxtUBVx8Nv+qZOejE6qyqiy5NtbYYQOeFa6zmHkxlPzmaLxWWHsU6nJmB7AETdVPi+2NBUg==}
-    engines: {node: '>=8'}
-    dev: true
-
-  /ci-parallel-vars@1.0.1:
-    resolution: {integrity: sha512-uvzpYrpmidaoxvIQHM+rKSrigjOe9feHYbw4uOI2gdfe1C3xIlxO+kVXq83WQWNniTf8bAxVpy+cQeFQsMERKg==}
-    dev: true
-
-  /cli-truncate@4.0.0:
-    resolution: {integrity: sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==}
-    engines: {node: '>=18'}
-    dependencies:
-      slice-ansi: 5.0.0
-      string-width: 7.1.0
-    dev: true
-
-  /cliui@8.0.1:
-    resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==}
-    engines: {node: '>=12'}
-    dependencies:
-      string-width: 4.2.3
-      strip-ansi: 6.0.1
-      wrap-ansi: 7.0.0
-    dev: true
-
-  /code-excerpt@4.0.0:
-    resolution: {integrity: sha512-xxodCmBen3iy2i0WtAK8FlFNrRzjUqjRsMfho58xT/wvZU1YTM3fCnRjcy1gJPMepaRlgm/0e6w8SpWHpn3/cA==}
-    engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
-    dependencies:
-      convert-to-spaces: 2.0.1
-    dev: true
-
-  /color-convert@2.0.1:
-    resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}
-    engines: {node: '>=7.0.0'}
-    dependencies:
-      color-name: 1.1.4
-    dev: true
-
-  /color-name@1.1.4:
-    resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
-    dev: true
-
-  /color-support@1.1.3:
-    resolution: {integrity: sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==}
-    hasBin: true
-    dev: true
-
-  /common-path-prefix@3.0.0:
-    resolution: {integrity: sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w==}
-    dev: true
-
-  /concat-map@0.0.1:
-    resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
-    dev: true
-
-  /concordance@5.0.4:
-    resolution: {integrity: sha512-OAcsnTEYu1ARJqWVGwf4zh4JDfHZEaSNlNccFmt8YjB2l/n19/PF2viLINHc57vO4FKIAFl2FWASIGZZWZ2Kxw==}
-    engines: {node: '>=10.18.0 <11 || >=12.14.0 <13 || >=14'}
-    dependencies:
-      date-time: 3.1.0
-      esutils: 2.0.3
-      fast-diff: 1.3.0
-      js-string-escape: 1.0.1
-      lodash: 4.17.21
-      md5-hex: 3.0.1
-      semver: 7.6.0
-      well-known-symbols: 2.0.0
-    dev: true
-
-  /console-control-strings@1.1.0:
-    resolution: {integrity: sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==}
-    dev: true
-
-  /convert-to-spaces@2.0.1:
-    resolution: {integrity: sha512-rcQ1bsQO9799wq24uE5AM2tAILy4gXGIK/njFWcVQkGNZ96edlpY+A7bjwvzjYvLDyzmG1MmMLZhpcsb+klNMQ==}
-    engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
-    dev: true
-
-  /currently-unhandled@0.4.1:
-    resolution: {integrity: sha512-/fITjgjGU50vjQ4FH6eUoYu+iUoUKIXws2hL15JJpIR+BbTxaXQsMuuyjtNh2WqsSBS5nsaZHFsFecyw5CCAng==}
-    engines: {node: '>=0.10.0'}
-    dependencies:
-      array-find-index: 1.0.2
-    dev: true
-
-  /date-time@3.1.0:
-    resolution: {integrity: sha512-uqCUKXE5q1PNBXjPqvwhwJf9SwMoAHBgWJ6DcrnS5o+W2JOiIILl0JEdVD8SGujrNS02GGxgwAg2PN2zONgtjg==}
-    engines: {node: '>=6'}
-    dependencies:
-      time-zone: 1.0.0
-    dev: true
-
-  /debug@4.3.4:
-    resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==}
-    engines: {node: '>=6.0'}
-    peerDependencies:
-      supports-color: '*'
-    peerDependenciesMeta:
-      supports-color:
-        optional: true
-    dependencies:
-      ms: 2.1.2
-    dev: true
-
-  /delegates@1.0.0:
-    resolution: {integrity: sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==}
-    dev: true
-
-  /detect-libc@2.0.3:
-    resolution: {integrity: sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==}
-    engines: {node: '>=8'}
-    dev: true
-
-  /emittery@1.0.3:
-    resolution: {integrity: sha512-tJdCJitoy2lrC2ldJcqN4vkqJ00lT+tOWNT1hBJjO/3FDMJa5TTIiYGCKGkn/WfCyOzUMObeohbVTj00fhiLiA==}
-    engines: {node: '>=14.16'}
-    dev: true
-
-  /emoji-regex@10.3.0:
-    resolution: {integrity: sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==}
-    dev: true
-
-  /emoji-regex@8.0.0:
-    resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
-    dev: true
-
-  /escalade@3.1.2:
-    resolution: {integrity: sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==}
-    engines: {node: '>=6'}
-    dev: true
-
-  /escape-string-regexp@2.0.0:
-    resolution: {integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==}
-    engines: {node: '>=8'}
-    dev: true
-
-  /escape-string-regexp@5.0.0:
-    resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==}
-    engines: {node: '>=12'}
-    dev: true
-
-  /esprima@4.0.1:
-    resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==}
-    engines: {node: '>=4'}
-    hasBin: true
-    dev: true
-
-  /estree-walker@2.0.2:
-    resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}
-    dev: true
-
-  /esutils@2.0.3:
-    resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==}
-    engines: {node: '>=0.10.0'}
-    dev: true
-
-  /fast-diff@1.3.0:
-    resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==}
-    dev: true
-
-  /fast-glob@3.3.2:
-    resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==}
-    engines: {node: '>=8.6.0'}
-    dependencies:
-      '@nodelib/fs.stat': 2.0.5
-      '@nodelib/fs.walk': 1.2.8
-      glob-parent: 5.1.2
-      merge2: 1.4.1
-      micromatch: 4.0.5
-    dev: true
-
-  /fastq@1.17.1:
-    resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==}
-    dependencies:
-      reusify: 1.0.4
-    dev: true
-
-  /figures@6.1.0:
-    resolution: {integrity: sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==}
-    engines: {node: '>=18'}
-    dependencies:
-      is-unicode-supported: 2.0.0
-    dev: true
-
-  /file-uri-to-path@1.0.0:
-    resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==}
-    dev: true
-
-  /fill-range@7.0.1:
-    resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==}
-    engines: {node: '>=8'}
-    dependencies:
-      to-regex-range: 5.0.1
-    dev: true
-
-  /find-up-simple@1.0.0:
-    resolution: {integrity: sha512-q7Us7kcjj2VMePAa02hDAF6d+MzsdsAWEwYyOpwUtlerRBkOEPBCRZrAV4XfcSN8fHAgaD0hP7miwoay6DCprw==}
-    engines: {node: '>=18'}
-    dev: true
-
-  /fs-minipass@2.1.0:
-    resolution: {integrity: sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==}
-    engines: {node: '>= 8'}
-    dependencies:
-      minipass: 3.3.6
-    dev: true
-
-  /fs.realpath@1.0.0:
-    resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}
-    dev: true
-
-  /gauge@3.0.2:
-    resolution: {integrity: sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==}
-    engines: {node: '>=10'}
-    dependencies:
-      aproba: 2.0.0
-      color-support: 1.1.3
-      console-control-strings: 1.1.0
-      has-unicode: 2.0.1
-      object-assign: 4.1.1
-      signal-exit: 3.0.7
-      string-width: 4.2.3
-      strip-ansi: 6.0.1
-      wide-align: 1.1.5
-    dev: true
-
-  /get-caller-file@2.0.5:
-    resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==}
-    engines: {node: 6.* || 8.* || >= 10.*}
-    dev: true
-
-  /get-east-asian-width@1.2.0:
-    resolution: {integrity: sha512-2nk+7SIVb14QrgXFHcm84tD4bKQz0RxPuMT8Ag5KPOq7J5fEmAg0UbXdTOSHqNuHSU28k55qnceesxXRZGzKWA==}
-    engines: {node: '>=18'}
-    dev: true
-
-  /glob-parent@5.1.2:
-    resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}
-    engines: {node: '>= 6'}
-    dependencies:
-      is-glob: 4.0.3
-    dev: true
-
-  /glob@7.2.3:
-    resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
-    dependencies:
-      fs.realpath: 1.0.0
-      inflight: 1.0.6
-      inherits: 2.0.4
-      minimatch: 3.1.2
-      once: 1.4.0
-      path-is-absolute: 1.0.1
-    dev: true
-
-  /globby@14.0.1:
-    resolution: {integrity: sha512-jOMLD2Z7MAhyG8aJpNOpmziMOP4rPLcc95oQPKXBazW82z+CEgPFBQvEpRUa1KeIMUJo4Wsm+q6uzO/Q/4BksQ==}
-    engines: {node: '>=18'}
-    dependencies:
-      '@sindresorhus/merge-streams': 2.3.0
-      fast-glob: 3.3.2
-      ignore: 5.3.1
-      path-type: 5.0.0
-      slash: 5.1.0
-      unicorn-magic: 0.1.0
-    dev: true
-
-  /graceful-fs@4.2.11:
-    resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
-    dev: true
-
-  /has-unicode@2.0.1:
-    resolution: {integrity: sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==}
-    dev: true
-
-  /https-proxy-agent@5.0.1:
-    resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==}
-    engines: {node: '>= 6'}
-    dependencies:
-      agent-base: 6.0.2
-      debug: 4.3.4
-    transitivePeerDependencies:
-      - supports-color
-    dev: true
-
-  /ignore-by-default@2.1.0:
-    resolution: {integrity: sha512-yiWd4GVmJp0Q6ghmM2B/V3oZGRmjrKLXvHR3TE1nfoXsmoggllfZUQe74EN0fJdPFZu2NIvNdrMMLm3OsV7Ohw==}
-    engines: {node: '>=10 <11 || >=12 <13 || >=14'}
-    dev: true
-
-  /ignore@5.3.1:
-    resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==}
-    engines: {node: '>= 4'}
-    dev: true
-
-  /imurmurhash@0.1.4:
-    resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==}
-    engines: {node: '>=0.8.19'}
-    dev: true
-
-  /indent-string@5.0.0:
-    resolution: {integrity: sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==}
-    engines: {node: '>=12'}
-    dev: true
-
-  /inflight@1.0.6:
-    resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}
-    dependencies:
-      once: 1.4.0
-      wrappy: 1.0.2
-    dev: true
-
-  /inherits@2.0.4:
-    resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
-    dev: true
-
-  /irregular-plurals@3.5.0:
-    resolution: {integrity: sha512-1ANGLZ+Nkv1ptFb2pa8oG8Lem4krflKuX/gINiHJHjJUKaJHk/SXk5x6K3J+39/p0h1RQ2saROclJJ+QLvETCQ==}
-    engines: {node: '>=8'}
-    dev: true
-
-  /is-extglob@2.1.1:
-    resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==}
-    engines: {node: '>=0.10.0'}
-    dev: true
-
-  /is-fullwidth-code-point@3.0.0:
-    resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==}
-    engines: {node: '>=8'}
-    dev: true
-
-  /is-fullwidth-code-point@4.0.0:
-    resolution: {integrity: sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==}
-    engines: {node: '>=12'}
-    dev: true
-
-  /is-glob@4.0.3:
-    resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==}
-    engines: {node: '>=0.10.0'}
-    dependencies:
-      is-extglob: 2.1.1
-    dev: true
-
-  /is-number@7.0.0:
-    resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==}
-    engines: {node: '>=0.12.0'}
-    dev: true
-
-  /is-plain-object@5.0.0:
-    resolution: {integrity: sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==}
-    engines: {node: '>=0.10.0'}
-    dev: true
-
-  /is-promise@4.0.0:
-    resolution: {integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==}
-    dev: true
-
-  /is-unicode-supported@2.0.0:
-    resolution: {integrity: sha512-FRdAyx5lusK1iHG0TWpVtk9+1i+GjrzRffhDg4ovQ7mcidMQ6mj+MhKPmvh7Xwyv5gIS06ns49CA7Sqg7lC22Q==}
-    engines: {node: '>=18'}
-    dev: true
-
-  /js-string-escape@1.0.1:
-    resolution: {integrity: sha512-Smw4xcfIQ5LVjAOuJCvN/zIodzA/BBSsluuoSykP+lUvScIi4U6RJLfwHet5cxFnCswUjISV8oAXaqaJDY3chg==}
-    engines: {node: '>= 0.8'}
-    dev: true
-
-  /js-yaml@3.14.1:
-    resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==}
-    hasBin: true
-    dependencies:
-      argparse: 1.0.10
-      esprima: 4.0.1
-    dev: true
-
-  /jsonc-parser@3.2.1:
-    resolution: {integrity: sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA==}
-    dev: true
-
-  /load-json-file@7.0.1:
-    resolution: {integrity: sha512-Gnxj3ev3mB5TkVBGad0JM6dmLiQL+o0t23JPBZ9sd+yvSLk05mFoqKBw5N8gbbkU4TNXyqCgIrl/VM17OgUIgQ==}
-    engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
-    dev: true
-
-  /lodash@4.17.21:
-    resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
-    dev: true
-
-  /lru-cache@6.0.0:
-    resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==}
-    engines: {node: '>=10'}
-    dependencies:
-      yallist: 4.0.0
-    dev: true
-
-  /lunr@2.3.9:
-    resolution: {integrity: sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==}
-    dev: true
-
-  /make-dir@3.1.0:
-    resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==}
-    engines: {node: '>=8'}
-    dependencies:
-      semver: 6.3.1
-    dev: true
-
-  /marked@4.3.0:
-    resolution: {integrity: sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==}
-    engines: {node: '>= 12'}
-    hasBin: true
-    dev: true
-
-  /matcher@5.0.0:
-    resolution: {integrity: sha512-s2EMBOWtXFc8dgqvoAzKJXxNHibcdJMV0gwqKUaw9E2JBJuGUK7DrNKrA6g/i+v72TT16+6sVm5mS3thaMLQUw==}
-    engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
-    dependencies:
-      escape-string-regexp: 5.0.0
-    dev: true
-
-  /md5-hex@3.0.1:
-    resolution: {integrity: sha512-BUiRtTtV39LIJwinWBjqVsU9xhdnz7/i889V859IBFpuqGAj6LuOvHv5XLbgZ2R7ptJoJaEcxkv88/h25T7Ciw==}
-    engines: {node: '>=8'}
-    dependencies:
-      blueimp-md5: 2.19.0
-    dev: true
-
-  /memoize@10.0.0:
-    resolution: {integrity: sha512-H6cBLgsi6vMWOcCpvVCdFFnl3kerEXbrYh9q+lY6VXvQSmM6CkmV08VOwT+WE2tzIEqRPFfAq3fm4v/UIW6mSA==}
-    engines: {node: '>=18'}
-    dependencies:
-      mimic-function: 5.0.1
-    dev: true
-
-  /merge2@1.4.1:
-    resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}
-    engines: {node: '>= 8'}
-    dev: true
-
-  /micromatch@4.0.5:
-    resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==}
-    engines: {node: '>=8.6'}
-    dependencies:
-      braces: 3.0.2
-      picomatch: 2.3.1
-    dev: true
-
-  /mimic-function@5.0.1:
-    resolution: {integrity: sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==}
-    engines: {node: '>=18'}
-    dev: true
-
-  /minimatch@3.1.2:
-    resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}
-    dependencies:
-      brace-expansion: 1.1.11
-    dev: true
-
-  /minimatch@9.0.4:
-    resolution: {integrity: sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==}
-    engines: {node: '>=16 || 14 >=14.17'}
-    dependencies:
-      brace-expansion: 2.0.1
-    dev: true
-
-  /minipass@3.3.6:
-    resolution: {integrity: sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==}
-    engines: {node: '>=8'}
-    dependencies:
-      yallist: 4.0.0
-    dev: true
-
-  /minipass@5.0.0:
-    resolution: {integrity: sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==}
-    engines: {node: '>=8'}
-    dev: true
-
-  /minizlib@2.1.2:
-    resolution: {integrity: sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==}
-    engines: {node: '>= 8'}
-    dependencies:
-      minipass: 3.3.6
-      yallist: 4.0.0
-    dev: true
-
-  /mkdirp@1.0.4:
-    resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==}
-    engines: {node: '>=10'}
-    hasBin: true
-    dev: true
-
-  /ms@2.1.2:
-    resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==}
-    dev: true
-
-  /ms@2.1.3:
-    resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
-    dev: true
-
-  /node-fetch@2.7.0:
-    resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==}
-    engines: {node: 4.x || >=6.0.0}
-    peerDependencies:
-      encoding: ^0.1.0
-    peerDependenciesMeta:
-      encoding:
-        optional: true
-    dependencies:
-      whatwg-url: 5.0.0
-    dev: true
-
-  /node-gyp-build@4.8.0:
-    resolution: {integrity: sha512-u6fs2AEUljNho3EYTJNBfImO5QTo/J/1Etd+NVdCj7qWKUSN/bSLkZwhDv7I+w/MSC6qJ4cknepkAYykDdK8og==}
-    hasBin: true
-    dev: true
-
-  /nofilter@3.1.0:
-    resolution: {integrity: sha512-l2NNj07e9afPnhAhvgVrCD/oy2Ai1yfLpuo3EpiO1jFTsB4sFz6oIfAfSZyQzVpkZQ9xS8ZS5g1jCBgq4Hwo0g==}
-    engines: {node: '>=12.19'}
-    dev: true
-
-  /nopt@5.0.0:
-    resolution: {integrity: sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==}
-    engines: {node: '>=6'}
-    hasBin: true
-    dependencies:
-      abbrev: 1.1.1
-    dev: true
-
-  /npmlog@5.0.1:
-    resolution: {integrity: sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==}
-    dependencies:
-      are-we-there-yet: 2.0.0
-      console-control-strings: 1.1.0
-      gauge: 3.0.2
-      set-blocking: 2.0.0
-    dev: true
-
-  /object-assign@4.1.1:
-    resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
-    engines: {node: '>=0.10.0'}
-    dev: true
-
-  /once@1.4.0:
-    resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}
-    dependencies:
-      wrappy: 1.0.2
-    dev: true
-
-  /p-map@7.0.2:
-    resolution: {integrity: sha512-z4cYYMMdKHzw4O5UkWJImbZynVIo0lSGTXc7bzB1e/rrDqkgGUNysK/o4bTr+0+xKvvLoTyGqYC4Fgljy9qe1Q==}
-    engines: {node: '>=18'}
-    dev: true
-
-  /package-config@5.0.0:
-    resolution: {integrity: sha512-GYTTew2slBcYdvRHqjhwaaydVMvn/qrGC323+nKclYioNSLTDUM/lGgtGTgyHVtYcozb+XkE8CNhwcraOmZ9Mg==}
-    engines: {node: '>=18'}
-    dependencies:
-      find-up-simple: 1.0.0
-      load-json-file: 7.0.1
-    dev: true
-
-  /parse-ms@4.0.0:
-    resolution: {integrity: sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==}
-    engines: {node: '>=18'}
-    dev: true
-
-  /path-is-absolute@1.0.1:
-    resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==}
-    engines: {node: '>=0.10.0'}
-    dev: true
-
-  /path-type@5.0.0:
-    resolution: {integrity: sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==}
-    engines: {node: '>=12'}
-    dev: true
-
-  /picomatch@2.3.1:
-    resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}
-    engines: {node: '>=8.6'}
-    dev: true
-
-  /picomatch@3.0.1:
-    resolution: {integrity: sha512-I3EurrIQMlRc9IaAZnqRR044Phh2DXY+55o7uJ0V+hYZAcQYSuFWsc9q5PvyDHUSCe1Qxn/iBz+78s86zWnGag==}
-    engines: {node: '>=10'}
-    dev: true
-
-  /plur@5.1.0:
-    resolution: {integrity: sha512-VP/72JeXqak2KiOzjgKtQen5y3IZHn+9GOuLDafPv0eXa47xq0At93XahYBs26MsifCQ4enGKwbjBTKgb9QJXg==}
-    engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
-    dependencies:
-      irregular-plurals: 3.5.0
-    dev: true
-
-  /prettier@2.8.8:
-    resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==}
-    engines: {node: '>=10.13.0'}
-    hasBin: true
-    dev: true
-
-  /pretty-ms@9.0.0:
-    resolution: {integrity: sha512-E9e9HJ9R9NasGOgPaPE8VMeiPKAyWR5jcFpNnwIejslIhWqdqOrb2wShBsncMPUb+BcCd2OPYfh7p2W6oemTng==}
-    engines: {node: '>=18'}
-    dependencies:
-      parse-ms: 4.0.0
-    dev: true
-
-  /queue-microtask@1.2.3:
-    resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}
-    dev: true
-
-  /readable-stream@3.6.2:
-    resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==}
-    engines: {node: '>= 6'}
-    dependencies:
-      inherits: 2.0.4
-      string_decoder: 1.3.0
-      util-deprecate: 1.0.2
-    dev: true
-
-  /require-directory@2.1.1:
-    resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==}
-    engines: {node: '>=0.10.0'}
-    dev: true
-
-  /resolve-cwd@3.0.0:
-    resolution: {integrity: sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==}
-    engines: {node: '>=8'}
-    dependencies:
-      resolve-from: 5.0.0
-    dev: true
-
-  /resolve-from@5.0.0:
-    resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==}
-    engines: {node: '>=8'}
-    dev: true
-
-  /reusify@1.0.4:
-    resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==}
-    engines: {iojs: '>=1.0.0', node: '>=0.10.0'}
-    dev: true
-
-  /rimraf@3.0.2:
-    resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==}
-    hasBin: true
-    dependencies:
-      glob: 7.2.3
-    dev: true
-
-  /run-parallel@1.2.0:
-    resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
-    dependencies:
-      queue-microtask: 1.2.3
-    dev: true
-
-  /safe-buffer@5.2.1:
-    resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==}
-    dev: true
-
-  /semver@6.3.1:
-    resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}
-    hasBin: true
-    dev: true
-
-  /semver@7.6.0:
-    resolution: {integrity: sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==}
-    engines: {node: '>=10'}
-    hasBin: true
-    dependencies:
-      lru-cache: 6.0.0
-    dev: true
-
-  /serialize-error@7.0.1:
-    resolution: {integrity: sha512-8I8TjW5KMOKsZQTvoxjuSIa7foAwPWGOts+6o7sgjz41/qMD9VQHEDxi6PBvK2l0MXUmqZyNpUK+T2tQaaElvw==}
-    engines: {node: '>=10'}
-    dependencies:
-      type-fest: 0.13.1
-    dev: true
-
-  /set-blocking@2.0.0:
-    resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==}
-    dev: true
-
-  /shiki@0.14.7:
-    resolution: {integrity: sha512-dNPAPrxSc87ua2sKJ3H5dQ/6ZaY8RNnaAqK+t0eG7p0Soi2ydiqbGOTaZCqaYvA/uZYfS1LJnemt3Q+mSfcPCg==}
-    dependencies:
-      ansi-sequence-parser: 1.1.1
-      jsonc-parser: 3.2.1
-      vscode-oniguruma: 1.7.0
-      vscode-textmate: 8.0.0
-    dev: true
-
-  /signal-exit@3.0.7:
-    resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==}
-    dev: true
-
-  /signal-exit@4.1.0:
-    resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==}
-    engines: {node: '>=14'}
-    dev: true
-
-  /slash@5.1.0:
-    resolution: {integrity: sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==}
-    engines: {node: '>=14.16'}
-    dev: true
-
-  /slice-ansi@5.0.0:
-    resolution: {integrity: sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==}
-    engines: {node: '>=12'}
-    dependencies:
-      ansi-styles: 6.2.1
-      is-fullwidth-code-point: 4.0.0
-    dev: true
-
-  /sprintf-js@1.0.3:
-    resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==}
-    dev: true
-
-  /stack-utils@2.0.6:
-    resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==}
-    engines: {node: '>=10'}
-    dependencies:
-      escape-string-regexp: 2.0.0
-    dev: true
-
-  /string-width@4.2.3:
-    resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}
-    engines: {node: '>=8'}
-    dependencies:
-      emoji-regex: 8.0.0
-      is-fullwidth-code-point: 3.0.0
-      strip-ansi: 6.0.1
-    dev: true
-
-  /string-width@7.1.0:
-    resolution: {integrity: sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw==}
-    engines: {node: '>=18'}
-    dependencies:
-      emoji-regex: 10.3.0
-      get-east-asian-width: 1.2.0
-      strip-ansi: 7.1.0
-    dev: true
-
-  /string_decoder@1.3.0:
-    resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==}
-    dependencies:
-      safe-buffer: 5.2.1
-    dev: true
-
-  /strip-ansi@6.0.1:
-    resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}
-    engines: {node: '>=8'}
-    dependencies:
-      ansi-regex: 5.0.1
-    dev: true
-
-  /strip-ansi@7.1.0:
-    resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==}
-    engines: {node: '>=12'}
-    dependencies:
-      ansi-regex: 6.0.1
-    dev: true
-
-  /supertap@3.0.1:
-    resolution: {integrity: sha512-u1ZpIBCawJnO+0QePsEiOknOfCRq0yERxiAchT0i4li0WHNUJbf0evXXSXOcCAR4M8iMDoajXYmstm/qO81Isw==}
-    engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
-    dependencies:
-      indent-string: 5.0.0
-      js-yaml: 3.14.1
-      serialize-error: 7.0.1
-      strip-ansi: 7.1.0
-    dev: true
-
-  /tar@6.2.1:
-    resolution: {integrity: sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==}
-    engines: {node: '>=10'}
-    dependencies:
-      chownr: 2.0.0
-      fs-minipass: 2.1.0
-      minipass: 5.0.0
-      minizlib: 2.1.2
-      mkdirp: 1.0.4
-      yallist: 4.0.0
-    dev: true
-
-  /temp-dir@3.0.0:
-    resolution: {integrity: sha512-nHc6S/bwIilKHNRgK/3jlhDoIHcp45YgyiwcAk46Tr0LfEqGBVpmiAyuiuxeVE44m3mXnEeVhaipLOEWmH+Njw==}
-    engines: {node: '>=14.16'}
-    dev: true
-
-  /time-zone@1.0.0:
-    resolution: {integrity: sha512-TIsDdtKo6+XrPtiTm1ssmMngN1sAhyKnTO2kunQWqNPWIVvCm15Wmw4SWInwTVgJ5u/Tr04+8Ei9TNcw4x4ONA==}
-    engines: {node: '>=4'}
-    dev: true
-
-  /to-regex-range@5.0.1:
-    resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}
-    engines: {node: '>=8.0'}
-    dependencies:
-      is-number: 7.0.0
-    dev: true
-
-  /tr46@0.0.3:
-    resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==}
-    dev: true
-
-  /type-fest@0.13.1:
-    resolution: {integrity: sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==}
-    engines: {node: '>=10'}
-    dev: true
-
-  /typedoc@0.25.13(typescript@5.4.5):
-    resolution: {integrity: sha512-pQqiwiJ+Z4pigfOnnysObszLiU3mVLWAExSPf+Mu06G/qsc3wzbuM56SZQvONhHLncLUhYzOVkjFFpFfL5AzhQ==}
-    engines: {node: '>= 16'}
-    hasBin: true
-    peerDependencies:
-      typescript: 4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x
-    dependencies:
-      lunr: 2.3.9
-      marked: 4.3.0
-      minimatch: 9.0.4
-      shiki: 0.14.7
-      typescript: 5.4.5
-    dev: true
-
-  /typescript@5.4.5:
-    resolution: {integrity: sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==}
-    engines: {node: '>=14.17'}
-    hasBin: true
-    dev: true
-
-  /unicorn-magic@0.1.0:
-    resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==}
-    engines: {node: '>=18'}
-    dev: true
-
-  /util-deprecate@1.0.2:
-    resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
-    dev: true
-
-  /vscode-oniguruma@1.7.0:
-    resolution: {integrity: sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==}
-    dev: true
-
-  /vscode-textmate@8.0.0:
-    resolution: {integrity: sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==}
-    dev: true
-
-  /webidl-conversions@3.0.1:
-    resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==}
-    dev: true
-
-  /well-known-symbols@2.0.0:
-    resolution: {integrity: sha512-ZMjC3ho+KXo0BfJb7JgtQ5IBuvnShdlACNkKkdsqBmYw3bPAaJfPeYUo6tLUaT5tG/Gkh7xkpBhKRQ9e7pyg9Q==}
-    engines: {node: '>=6'}
-    dev: true
-
-  /whatwg-url@5.0.0:
-    resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==}
-    dependencies:
-      tr46: 0.0.3
-      webidl-conversions: 3.0.1
-    dev: true
-
-  /wide-align@1.1.5:
-    resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==}
-    dependencies:
-      string-width: 4.2.3
-    dev: true
-
-  /wrap-ansi@7.0.0:
-    resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==}
-    engines: {node: '>=10'}
-    dependencies:
-      ansi-styles: 4.3.0
-      string-width: 4.2.3
-      strip-ansi: 6.0.1
-    dev: true
-
-  /wrappy@1.0.2:
-    resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
-    dev: true
-
-  /write-file-atomic@5.0.1:
-    resolution: {integrity: sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==}
-    engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
-    dependencies:
-      imurmurhash: 0.1.4
-      signal-exit: 4.1.0
-    dev: true
-
-  /y18n@5.0.8:
-    resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==}
-    engines: {node: '>=10'}
-    dev: true
-
-  /yallist@4.0.0:
-    resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==}
-    dev: true
-
-  /yargs-parser@21.1.1:
-    resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==}
-    engines: {node: '>=12'}
-    dev: true
-
-  /yargs@17.7.2:
-    resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==}
-    engines: {node: '>=12'}
-    dependencies:
-      cliui: 8.0.1
-      escalade: 3.1.2
-      get-caller-file: 2.0.5
-      require-directory: 2.1.1
-      string-width: 4.2.3
-      y18n: 5.0.8
-      yargs-parser: 21.1.1
-    dev: true
diff --git a/nodejs/src/lib.rs b/nodejs/src/lib.rs
index 5b85dce2..4fcbe4ae 100644
--- a/nodejs/src/lib.rs
+++ b/nodejs/src/lib.rs
@@ -20,7 +20,7 @@ use std::collections::HashMap;
 /// - load_builtin: Flag indicating whether to load built-in modules.
 /// - with_ast_index: Flag indicating whether to include AST index.
 #[napi]
-pub struct LoadPackageArgs(kclvm_api::LoadPackageArgs);
+pub struct LoadPackageArgs(kcl_api::LoadPackageArgs);
 
 #[napi]
 impl LoadPackageArgs {
@@ -32,8 +32,8 @@ impl LoadPackageArgs {
         load_builtin: Option,
         with_ast_index: Option,
     ) -> Result {
-        Ok(Self(kclvm_api::LoadPackageArgs {
-            parse_args: Some(kclvm_api::ParseProgramArgs {
+        Ok(Self(kcl_api::LoadPackageArgs {
+            parse_args: Some(kcl_api::ParseProgramArgs {
                 paths,
                 sources,
                 ..Default::default()
@@ -49,7 +49,7 @@ impl LoadPackageArgs {
 /// model information including symbols, types, definitions, etc.
 #[napi]
 pub fn load_package(args: &LoadPackageArgs) -> Result {
-    let api = kclvm_api::API::default();
+    let api = kcl_api::API::default();
     api.load_package(&args.0)
         .map_err(|e| napi::bindgen_prelude::Error::from_reason(e.to_string()))
         .map(LoadPackageResult::new)
@@ -61,7 +61,7 @@ pub fn load_package(args: &LoadPackageArgs) -> Result {
 
 /// Message for execute program request arguments.
 #[napi]
-pub struct ExecProgramArgs(kclvm_api::ExecProgramArgs);
+pub struct ExecProgramArgs(kcl_api::ExecProgramArgs);
 
 #[napi]
 impl ExecProgramArgs {
@@ -82,7 +82,7 @@ impl ExecProgramArgs {
         path_selector: Option>,
         fast_eval: Option,
     ) -> Result {
-        Ok(Self(kclvm_api::ExecProgramArgs {
+        Ok(Self(kcl_api::ExecProgramArgs {
             k_filename_list: paths,
             k_code_list: sources.unwrap_or_default(),
             work_dir: work_dir.unwrap_or_default(),
@@ -90,22 +90,22 @@ impl ExecProgramArgs {
                 .into_iter()
                 .flat_map(|vec| {
                     vec.into_iter()
-                        .map(|a| kclvm_api::Argument {
+                        .map(|a| kcl_api::Argument {
                             name: a.name.clone(),
                             value: a.value.clone(),
                         })
-                        .collect::>()
+                        .collect::>()
                 })
                 .collect(),
             external_pkgs: external_pkgs
                 .into_iter()
                 .flat_map(|vec| {
                     vec.into_iter()
-                        .map(|e| kclvm_api::ExternalPkg {
+                        .map(|e| kcl_api::ExternalPkg {
                             pkg_name: e.pkg_name.clone(),
                             pkg_path: e.pkg_path.clone(),
                         })
-                        .collect::>()
+                        .collect::>()
                 })
                 .collect(),
             overrides: overrides.unwrap_or_default(),
@@ -125,7 +125,7 @@ impl ExecProgramArgs {
 /// Execute KCL file with arguments and return the JSON/YAML result.
 #[napi]
 pub fn exec_program(args: &ExecProgramArgs) -> Result {
-    let api = kclvm_api::API::default();
+    let api = kcl_api::API::default();
     api.exec_program(&args.0)
         .map_err(|e| napi::bindgen_prelude::Error::from_reason(e.to_string()))
         .map(ExecProgramResult::new)
@@ -136,7 +136,7 @@ pub fn exec_program(args: &ExecProgramArgs) -> Result {
 */
 
 #[napi]
-pub struct ParseProgramArgs(kclvm_api::ParseProgramArgs);
+pub struct ParseProgramArgs(kcl_api::ParseProgramArgs);
 
 #[napi]
 impl ParseProgramArgs {
@@ -146,18 +146,18 @@ impl ParseProgramArgs {
         sources: Option>,
         external_pkgs: Option>,
     ) -> Result {
-        Ok(Self(kclvm_api::ParseProgramArgs {
+        Ok(Self(kcl_api::ParseProgramArgs {
             paths,
             sources: sources.unwrap_or_default(),
             external_pkgs: external_pkgs
                 .into_iter()
                 .flat_map(|vec| {
                     vec.into_iter()
-                        .map(|e| kclvm_api::ExternalPkg {
+                        .map(|e| kcl_api::ExternalPkg {
                             pkg_name: e.pkg_name.clone(),
                             pkg_path: e.pkg_path.clone(),
                         })
-                        .collect::>()
+                        .collect::>()
                 })
                 .collect(),
         }))
@@ -167,7 +167,7 @@ impl ParseProgramArgs {
 /// Parse KCL program with entry files.
 #[napi]
 pub fn parse_program(args: &ParseProgramArgs) -> Result {
-    let api = kclvm_api::API::default();
+    let api = kcl_api::API::default();
     api.parse_program(&args.0)
         .map_err(|e| napi::bindgen_prelude::Error::from_reason(e.to_string()))
         .map(ParseProgramResult::new)
@@ -178,7 +178,7 @@ pub fn parse_program(args: &ParseProgramArgs) -> Result {
 */
 
 #[napi]
-pub struct ParseFileArgs(kclvm_api::ParseFileArgs);
+pub struct ParseFileArgs(kcl_api::ParseFileArgs);
 
 #[napi]
 impl ParseFileArgs {
@@ -188,18 +188,18 @@ impl ParseFileArgs {
         source: Option,
         external_pkgs: Option>,
     ) -> Result {
-        Ok(Self(kclvm_api::ParseFileArgs {
+        Ok(Self(kcl_api::ParseFileArgs {
             path,
             source: source.unwrap_or_default(),
             external_pkgs: external_pkgs
                 .into_iter()
                 .flat_map(|vec| {
                     vec.into_iter()
-                        .map(|e| kclvm_api::ExternalPkg {
+                        .map(|e| kcl_api::ExternalPkg {
                             pkg_name: e.pkg_name.clone(),
                             pkg_path: e.pkg_path.clone(),
                         })
-                        .collect::>()
+                        .collect::>()
                 })
                 .collect(),
         }))
@@ -210,7 +210,7 @@ impl ParseFileArgs {
 /// and parse errors.
 #[napi]
 pub fn parse_file(args: &ParseFileArgs) -> Result {
-    let api = kclvm_api::API::default();
+    let api = kcl_api::API::default();
     api.parse_file(&args.0)
         .map_err(|e| napi::bindgen_prelude::Error::from_reason(e.to_string()))
         .map(ParseFileResult::new)
@@ -221,13 +221,13 @@ pub fn parse_file(args: &ParseFileArgs) -> Result {
 */
 
 #[napi]
-pub struct ListOptionsArgs(kclvm_api::ParseProgramArgs);
+pub struct ListOptionsArgs(kcl_api::ParseProgramArgs);
 
 #[napi]
 impl ListOptionsArgs {
     #[napi(constructor)]
     pub fn new(paths: Vec, sources: Option>) -> Result {
-        Ok(Self(kclvm_api::ParseProgramArgs {
+        Ok(Self(kcl_api::ParseProgramArgs {
             paths,
             sources: sources.unwrap_or_default(),
             ..Default::default()
@@ -238,7 +238,7 @@ impl ListOptionsArgs {
 /// Provides users with the ability to parse kcl program and get all option information.
 #[napi]
 pub fn list_options(args: &ListOptionsArgs) -> Result {
-    let api = kclvm_api::API::default();
+    let api = kcl_api::API::default();
     api.list_options(&args.0)
         .map_err(|e| napi::bindgen_prelude::Error::from_reason(e.to_string()))
         .map(ListOptionsResult::new)
@@ -249,7 +249,7 @@ pub fn list_options(args: &ListOptionsArgs) -> Result {
 */
 
 #[napi]
-pub struct ListVariablesArgs(kclvm_api::ListVariablesArgs);
+pub struct ListVariablesArgs(kcl_api::ListVariablesArgs);
 
 #[napi]
 impl ListVariablesArgs {
@@ -259,10 +259,10 @@ impl ListVariablesArgs {
         specs: Vec,
         opts: Option,
     ) -> Result {
-        Ok(Self(kclvm_api::ListVariablesArgs {
+        Ok(Self(kcl_api::ListVariablesArgs {
             files,
             specs,
-            options: opts.map(|o| kclvm_api::ListVariablesOptions {
+            options: opts.map(|o| kcl_api::ListVariablesOptions {
                 merge_program: o.merge_program,
             }),
         }))
@@ -273,7 +273,7 @@ impl ListVariablesArgs {
 /// all variables by specs.
 #[napi]
 pub fn list_variables(args: &ListVariablesArgs) -> Result {
-    let api = kclvm_api::API::default();
+    let api = kcl_api::API::default();
     api.list_variables(&args.0)
         .map_err(|e| napi::bindgen_prelude::Error::from_reason(e.to_string()))
         .map(ListVariablesResult::new)
@@ -284,13 +284,13 @@ pub fn list_variables(args: &ListVariablesArgs) -> Result {
 */
 
 #[napi]
-pub struct OverrideFileArgs(kclvm_api::OverrideFileArgs);
+pub struct OverrideFileArgs(kcl_api::OverrideFileArgs);
 
 #[napi]
 impl OverrideFileArgs {
     #[napi(constructor)]
     pub fn new(file: String, specs: Vec, import_paths: Vec) -> Result {
-        Ok(Self(kclvm_api::OverrideFileArgs {
+        Ok(Self(kcl_api::OverrideFileArgs {
             file,
             specs,
             import_paths,
@@ -303,7 +303,7 @@ impl OverrideFileArgs {
 /// for more override spec guide.
 #[napi]
 pub fn override_file(args: &OverrideFileArgs) -> Result {
-    let api = kclvm_api::API::default();
+    let api = kcl_api::API::default();
     api.override_file(&args.0)
         .map_err(|e| napi::bindgen_prelude::Error::from_reason(e.to_string()))
         .map(OverrideFileResult::new)
@@ -314,7 +314,7 @@ pub fn override_file(args: &OverrideFileArgs) -> Result {
 */
 
 #[napi]
-pub struct GetSchemaTypeMappingArgs(kclvm_api::GetSchemaTypeMappingArgs);
+pub struct GetSchemaTypeMappingArgs(kcl_api::GetSchemaTypeMappingArgs);
 
 #[napi]
 impl GetSchemaTypeMappingArgs {
@@ -324,8 +324,8 @@ impl GetSchemaTypeMappingArgs {
         work_dir: Option,
         schema_name: Option,
     ) -> Result {
-        Ok(Self(kclvm_api::GetSchemaTypeMappingArgs {
-            exec_args: Some(kclvm_api::ExecProgramArgs {
+        Ok(Self(kcl_api::GetSchemaTypeMappingArgs {
+            exec_args: Some(kcl_api::ExecProgramArgs {
                 work_dir: work_dir.unwrap_or_default(),
                 k_filename_list: paths,
                 ..Default::default()
@@ -340,7 +340,7 @@ impl GetSchemaTypeMappingArgs {
 pub fn get_schema_type_mapping(
     args: &GetSchemaTypeMappingArgs,
 ) -> Result {
-    let api = kclvm_api::API::default();
+    let api = kcl_api::API::default();
     api.get_schema_type_mapping(&args.0)
         .map_err(|e| napi::bindgen_prelude::Error::from_reason(e.to_string()))
         .map(GetSchemaTypeMappingResult::new)
@@ -351,20 +351,20 @@ pub fn get_schema_type_mapping(
 */
 
 #[napi]
-pub struct FormatCodeArgs(kclvm_api::FormatCodeArgs);
+pub struct FormatCodeArgs(kcl_api::FormatCodeArgs);
 
 #[napi]
 impl FormatCodeArgs {
     #[napi(constructor)]
     pub fn new(source: String) -> Result {
-        Ok(Self(kclvm_api::FormatCodeArgs { source }))
+        Ok(Self(kcl_api::FormatCodeArgs { source }))
     }
 }
 
 /// Format KCL file or directory path contains KCL files and returns the changed file paths.
 #[napi]
 pub fn format_code(args: &FormatCodeArgs) -> Result {
-    let api = kclvm_api::API::default();
+    let api = kcl_api::API::default();
     api.format_code(&args.0)
         .map_err(|e| napi::bindgen_prelude::Error::from_reason(e.to_string()))
         .map(FormatCodeResult::new)
@@ -375,20 +375,20 @@ pub fn format_code(args: &FormatCodeArgs) -> Result {
 */
 
 #[napi]
-pub struct FormatPathArgs(kclvm_api::FormatPathArgs);
+pub struct FormatPathArgs(kcl_api::FormatPathArgs);
 
 #[napi]
 impl FormatPathArgs {
     #[napi(constructor)]
     pub fn new(path: String) -> Result {
-        Ok(Self(kclvm_api::FormatPathArgs { path }))
+        Ok(Self(kcl_api::FormatPathArgs { path }))
     }
 }
 
 /// Format KCL file or directory path contains KCL files and returns the changed file paths.
 #[napi]
 pub fn format_path(args: &FormatPathArgs) -> Result {
-    let api = kclvm_api::API::default();
+    let api = kcl_api::API::default();
     api.format_path(&args.0)
         .map_err(|e| napi::bindgen_prelude::Error::from_reason(e.to_string()))
         .map(FormatPathResult::new)
@@ -399,20 +399,20 @@ pub fn format_path(args: &FormatPathArgs) -> Result {
 */
 
 #[napi]
-pub struct LintPathArgs(kclvm_api::LintPathArgs);
+pub struct LintPathArgs(kcl_api::LintPathArgs);
 
 #[napi]
 impl LintPathArgs {
     #[napi(constructor)]
     pub fn new(paths: Vec) -> Result {
-        Ok(Self(kclvm_api::LintPathArgs { paths }))
+        Ok(Self(kcl_api::LintPathArgs { paths }))
     }
 }
 
 /// Lint files and return error messages including errors and warnings.
 #[napi]
 pub fn lint_path(args: &LintPathArgs) -> Result {
-    let api = kclvm_api::API::default();
+    let api = kcl_api::API::default();
     api.lint_path(&args.0)
         .map_err(|e| napi::bindgen_prelude::Error::from_reason(e.to_string()))
         .map(LintPathResult::new)
@@ -423,7 +423,7 @@ pub fn lint_path(args: &LintPathArgs) -> Result {
 */
 
 #[napi]
-pub struct ValidateCodeArgs(kclvm_api::ValidateCodeArgs);
+pub struct ValidateCodeArgs(kcl_api::ValidateCodeArgs);
 
 #[napi]
 impl ValidateCodeArgs {
@@ -438,7 +438,7 @@ impl ValidateCodeArgs {
         format: Option,
         external_pkgs: Option>,
     ) -> Result {
-        Ok(Self(kclvm_api::ValidateCodeArgs {
+        Ok(Self(kcl_api::ValidateCodeArgs {
             datafile: datafile.unwrap_or_default(),
             data: data.unwrap_or_default(),
             file: file.unwrap_or_default(),
@@ -450,11 +450,11 @@ impl ValidateCodeArgs {
                 .into_iter()
                 .flat_map(|vec| {
                     vec.into_iter()
-                        .map(|e| kclvm_api::ExternalPkg {
+                        .map(|e| kcl_api::ExternalPkg {
                             pkg_name: e.pkg_name.clone(),
                             pkg_path: e.pkg_path.clone(),
                         })
-                        .collect::>()
+                        .collect::>()
                 })
                 .collect(),
         }))
@@ -464,7 +464,7 @@ impl ValidateCodeArgs {
 /// Validate code using schema and data strings.
 #[napi]
 pub fn validate_code(args: &ValidateCodeArgs) -> Result {
-    let api = kclvm_api::API::default();
+    let api = kcl_api::API::default();
     api.validate_code(&args.0)
         .map_err(|e| napi::bindgen_prelude::Error::from_reason(e.to_string()))
         .map(ValidateCodeResult::new)
@@ -475,20 +475,20 @@ pub fn validate_code(args: &ValidateCodeArgs) -> Result {
 */
 
 #[napi]
-pub struct LoadSettingsFilesArgs(kclvm_api::LoadSettingsFilesArgs);
+pub struct LoadSettingsFilesArgs(kcl_api::LoadSettingsFilesArgs);
 
 #[napi]
 impl LoadSettingsFilesArgs {
     #[napi(constructor)]
     pub fn new(work_dir: String, files: Vec) -> Result {
-        Ok(Self(kclvm_api::LoadSettingsFilesArgs { work_dir, files }))
+        Ok(Self(kcl_api::LoadSettingsFilesArgs { work_dir, files }))
     }
 }
 
 /// Load the setting file config defined in `kcl.yaml`
 #[napi]
 pub fn load_settings_files(args: &LoadSettingsFilesArgs) -> Result {
-    let api = kclvm_api::API::default();
+    let api = kcl_api::API::default();
     api.load_settings_files(&args.0)
         .map_err(|e| napi::bindgen_prelude::Error::from_reason(e.to_string()))
         .map(LoadSettingsFilesResult::new)
@@ -499,7 +499,7 @@ pub fn load_settings_files(args: &LoadSettingsFilesArgs) -> Result,
         new_name: String,
     ) -> Result {
-        Ok(Self(kclvm_api::RenameArgs {
+        Ok(Self(kcl_api::RenameArgs {
             package_root,
             symbol_path,
             file_paths,
@@ -523,7 +523,7 @@ impl RenameArgs {
 /// Return the file paths that got changed.
 #[napi]
 pub fn rename(args: &RenameArgs) -> Result {
-    let api = kclvm_api::API::default();
+    let api = kcl_api::API::default();
     api.rename(&args.0)
         .map_err(|e| napi::bindgen_prelude::Error::from_reason(e.to_string()))
         .map(RenameResult::new)
@@ -534,7 +534,7 @@ pub fn rename(args: &RenameArgs) -> Result {
 */
 
 #[napi]
-pub struct RenameCodeArgs(kclvm_api::RenameCodeArgs);
+pub struct RenameCodeArgs(kcl_api::RenameCodeArgs);
 
 #[napi]
 impl RenameCodeArgs {
@@ -545,7 +545,7 @@ impl RenameCodeArgs {
         source_codes: HashMap,
         new_name: String,
     ) -> Result {
-        Ok(Self(kclvm_api::RenameCodeArgs {
+        Ok(Self(kcl_api::RenameCodeArgs {
             package_root,
             symbol_path,
             source_codes,
@@ -558,7 +558,7 @@ impl RenameCodeArgs {
 /// rewrite files but return the changed code.
 #[napi]
 pub fn rename_code(args: &RenameCodeArgs) -> Result {
-    let api = kclvm_api::API::default();
+    let api = kcl_api::API::default();
     api.rename_code(&args.0)
         .map_err(|e| napi::bindgen_prelude::Error::from_reason(e.to_string()))
         .map(RenameCodeResult::new)
@@ -569,7 +569,7 @@ pub fn rename_code(args: &RenameCodeArgs) -> Result {
 */
 
 #[napi]
-pub struct TestArgs(kclvm_api::TestArgs);
+pub struct TestArgs(kcl_api::TestArgs);
 
 #[napi]
 impl TestArgs {
@@ -581,8 +581,8 @@ impl TestArgs {
         work_dir: Option,
         paths: Option>,
     ) -> Result {
-        Ok(Self(kclvm_api::TestArgs {
-            exec_args: Some(kclvm_api::ExecProgramArgs {
+        Ok(Self(kcl_api::TestArgs {
+            exec_args: Some(kcl_api::ExecProgramArgs {
                 work_dir: work_dir.unwrap_or_default(),
                 k_filename_list: paths.unwrap_or_default(),
                 ..Default::default()
@@ -597,7 +597,7 @@ impl TestArgs {
 /// Test KCL packages with test arguments.
 #[napi]
 pub fn test(args: &TestArgs) -> Result {
-    let api = kclvm_api::API::default();
+    let api = kcl_api::API::default();
     api.test(&args.0)
         .map_err(|e| napi::bindgen_prelude::Error::from_reason(e.to_string()))
         .map(TestResult::new)
@@ -608,13 +608,13 @@ pub fn test(args: &TestArgs) -> Result {
 */
 
 #[napi]
-pub struct UpdateDependenciesArgs(kclvm_api::UpdateDependenciesArgs);
+pub struct UpdateDependenciesArgs(kcl_api::UpdateDependenciesArgs);
 
 #[napi]
 impl UpdateDependenciesArgs {
     #[napi(constructor)]
     pub fn new(manifest_path: String, vendor: bool) -> Result {
-        Ok(Self(kclvm_api::UpdateDependenciesArgs {
+        Ok(Self(kcl_api::UpdateDependenciesArgs {
             manifest_path,
             vendor,
         }))
@@ -625,7 +625,7 @@ impl UpdateDependenciesArgs {
 /// external package name and location list.
 #[napi]
 pub fn update_dependencies(args: &UpdateDependenciesArgs) -> Result {
-    let api = kclvm_api::API::default();
+    let api = kcl_api::API::default();
     api.update_dependencies(&args.0)
         .map_err(|e| napi::bindgen_prelude::Error::from_reason(e.to_string()))
         .map(UpdateDependenciesResult::new)
@@ -638,8 +638,8 @@ pub fn update_dependencies(args: &UpdateDependenciesArgs) -> Result Result {
-    let api = kclvm_api::API::default();
-    api.get_version(&kclvm_api::GetVersionArgs {})
+    let api = kcl_api::API::default();
+    api.get_version(&kcl_api::GetVersionArgs {})
         .map_err(|e| napi::bindgen_prelude::Error::from_reason(e.to_string()))
         .map(GetVersionResult::new)
 }
diff --git a/nodejs/src/spec.rs b/nodejs/src/spec.rs
index 2ae60bdf..886ff64a 100644
--- a/nodejs/src/spec.rs
+++ b/nodejs/src/spec.rs
@@ -67,7 +67,7 @@ pub struct ParseFileResult {
 }
 
 impl ParseFileResult {
-    pub fn new(r: kclvm_api::ParseFileResult) -> Self {
+    pub fn new(r: kcl_api::ParseFileResult) -> Self {
         Self {
             ast_json: r.ast_json,
             deps: r.deps,
@@ -88,7 +88,7 @@ pub struct ParseProgramResult {
 }
 
 impl ParseProgramResult {
-    pub fn new(r: kclvm_api::ParseProgramResult) -> Self {
+    pub fn new(r: kcl_api::ParseProgramResult) -> Self {
         Self {
             ast_json: r.ast_json,
             paths: r.paths,
@@ -98,7 +98,7 @@ impl ParseProgramResult {
 }
 
 impl crate::spec::Error {
-    pub fn new(e: &kclvm_api::Error) -> Self {
+    pub fn new(e: &kcl_api::Error) -> Self {
         Self {
             level: e.level.clone(),
             code: e.code.clone(),
@@ -119,7 +119,7 @@ impl crate::spec::Error {
 }
 
 impl ScopeIndex {
-    pub fn new(v: &kclvm_api::ScopeIndex) -> Self {
+    pub fn new(v: &kcl_api::ScopeIndex) -> Self {
         ScopeIndex {
             i: v.i as u32,
             g: v.g as u32,
@@ -129,7 +129,7 @@ impl ScopeIndex {
 }
 
 impl SymbolIndex {
-    pub fn new(v: &kclvm_api::SymbolIndex) -> Self {
+    pub fn new(v: &kcl_api::SymbolIndex) -> Self {
         SymbolIndex {
             i: v.i as u32,
             g: v.g as u32,
@@ -139,7 +139,7 @@ impl SymbolIndex {
 }
 
 impl crate::spec::Symbol {
-    pub fn new(v: &kclvm_api::Symbol) -> Self {
+    pub fn new(v: &kcl_api::Symbol) -> Self {
         crate::spec::Symbol {
             ty: v.ty.as_ref().map(|ty| ty.r#type.clone()),
             name: v.name.clone(),
@@ -152,7 +152,7 @@ impl crate::spec::Symbol {
 }
 
 impl LoadPackageResult {
-    pub fn new(r: kclvm_api::LoadPackageResult) -> Self {
+    pub fn new(r: kcl_api::LoadPackageResult) -> Self {
         Self {
             program: r.program,
             paths: r.paths,
@@ -232,7 +232,7 @@ pub struct ListOptionsResult {
 }
 
 impl ListOptionsResult {
-    pub fn new(r: kclvm_api::ListOptionsResult) -> Self {
+    pub fn new(r: kcl_api::ListOptionsResult) -> Self {
         Self {
             options: r
                 .options
@@ -326,7 +326,7 @@ pub struct ExecProgramResult {
 }
 
 impl ExecProgramResult {
-    pub fn new(r: kclvm_api::ExecProgramResult) -> Self {
+    pub fn new(r: kcl_api::ExecProgramResult) -> Self {
         Self {
             json_result: r.json_result,
             yaml_result: r.yaml_result,
@@ -351,7 +351,7 @@ pub struct FormatCodeResult {
 }
 
 impl FormatCodeResult {
-    pub fn new(r: kclvm_api::FormatCodeResult) -> Self {
+    pub fn new(r: kcl_api::FormatCodeResult) -> Self {
         Self {
             formatted: String::from_utf8(r.formatted).unwrap(),
         }
@@ -366,7 +366,7 @@ pub struct FormatPathResult {
 }
 
 impl FormatPathResult {
-    pub fn new(r: kclvm_api::FormatPathResult) -> Self {
+    pub fn new(r: kcl_api::FormatPathResult) -> Self {
         Self {
             changed_paths: r.changed_paths,
         }
@@ -381,7 +381,7 @@ pub struct LintPathResult {
 }
 
 impl LintPathResult {
-    pub fn new(r: kclvm_api::LintPathResult) -> Self {
+    pub fn new(r: kcl_api::LintPathResult) -> Self {
         Self { results: r.results }
     }
 }
@@ -396,7 +396,7 @@ pub struct OverrideFileResult {
 }
 
 impl OverrideFileResult {
-    pub fn new(r: kclvm_api::OverrideFileResult) -> Self {
+    pub fn new(r: kcl_api::OverrideFileResult) -> Self {
         Self {
             result: r.result,
             parse_errors: r.parse_errors.iter().map(crate::spec::Error::new).collect(),
@@ -439,7 +439,7 @@ pub struct Variable {
 }
 
 impl Variable {
-    pub fn new(v: &kclvm_api::Variable) -> Self {
+    pub fn new(v: &kcl_api::Variable) -> Self {
         Self {
             value: v.value.to_string(),
             type_name: v.type_name.to_string(),
@@ -460,7 +460,7 @@ impl Variable {
 }
 
 impl ListVariablesResult {
-    pub fn new(r: kclvm_api::ListVariablesResult) -> Self {
+    pub fn new(r: kcl_api::ListVariablesResult) -> Self {
         Self {
             variables: r
                 .variables
@@ -486,7 +486,7 @@ pub struct GetSchemaTypeMappingResult {
 }
 
 impl GetSchemaTypeMappingResult {
-    pub fn new(r: kclvm_api::GetSchemaTypeMappingResult) -> Self {
+    pub fn new(r: kcl_api::GetSchemaTypeMappingResult) -> Self {
         Self {
             schema_type_mapping: r
                 .schema_type_mapping
@@ -507,7 +507,7 @@ pub struct ValidateCodeResult {
 }
 
 impl ValidateCodeResult {
-    pub fn new(r: kclvm_api::ValidateCodeResult) -> Self {
+    pub fn new(r: kcl_api::ValidateCodeResult) -> Self {
         Self {
             success: r.success,
             err_message: r.err_message,
@@ -536,7 +536,7 @@ pub struct LoadSettingsFilesResult {
 }
 
 impl LoadSettingsFilesResult {
-    pub fn new(r: kclvm_api::LoadSettingsFilesResult) -> Self {
+    pub fn new(r: kcl_api::LoadSettingsFilesResult) -> Self {
         Self {
             kcl_cli_configs: r.kcl_cli_configs.map(|r| CliConfig {
                 files: r.files.clone(),
@@ -609,7 +609,7 @@ pub struct RenameResult {
 }
 
 impl RenameResult {
-    pub fn new(r: kclvm_api::RenameResult) -> Self {
+    pub fn new(r: kcl_api::RenameResult) -> Self {
         Self {
             changed_files: r.changed_files,
         }
@@ -624,7 +624,7 @@ pub struct RenameCodeResult {
 }
 
 impl RenameCodeResult {
-    pub fn new(r: kclvm_api::RenameCodeResult) -> Self {
+    pub fn new(r: kcl_api::RenameCodeResult) -> Self {
         Self {
             changed_codes: r.changed_codes,
         }
@@ -639,7 +639,7 @@ pub struct TestResult {
 }
 
 impl TestResult {
-    pub fn new(r: kclvm_api::TestResult) -> Self {
+    pub fn new(r: kcl_api::TestResult) -> Self {
         Self {
             info: r
                 .info
@@ -732,7 +732,7 @@ pub struct UpdateDependenciesResult {
 }
 
 impl UpdateDependenciesResult {
-    pub fn new(r: kclvm_api::UpdateDependenciesResult) -> Self {
+    pub fn new(r: kcl_api::UpdateDependenciesResult) -> Self {
         Self {
             external_pkgs: r
                 .external_pkgs
@@ -755,7 +755,7 @@ pub struct GetVersionResult {
 }
 
 impl GetVersionResult {
-    pub fn new(r: kclvm_api::GetVersionResult) -> Self {
+    pub fn new(r: kcl_api::GetVersionResult) -> Self {
         Self {
             version: r.version.clone(),
             checksum: r.checksum.clone(),
diff --git a/python/Cargo.toml b/python/Cargo.toml
index 5b8b70f8..a63cfb81 100644
--- a/python/Cargo.toml
+++ b/python/Cargo.toml
@@ -1,14 +1,14 @@
 [package]
 name = "kcl-python-lib"
-version = "0.11.2"
-edition = "2021"
+version = "0.12.0"
+edition = "2024"
 
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 [lib]
 crate-type = ["cdylib"]
 
 [dependencies]
-kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.11.2" }
+kcl-api = { git = "https://github.com/kcl-lang/kcl", version = "0.12.0" }
 # fix the pyos version to 0.20.1
 # because https://github.com/PyO3/maturin/issues/1960
 pyo3 = "=0.20.2"
diff --git a/python/README.md b/python/README.md
index 42689aee..d3021ce2 100644
--- a/python/README.md
+++ b/python/README.md
@@ -11,7 +11,7 @@ python3 -m pip install kcl-lib
 ```python
 import kcl_lib.api as api
 
-args = api.ExecProgram_Args(k_filename_list=["/path/to/kcl_file.k"])
+args = api.ExecProgramArgs(k_filename_list=["/path/to/kcl_file.k"])
 api = api.API()
 result = api.exec_program(args)
 print(result.yaml_result)
@@ -34,7 +34,7 @@ source venv/bin/activate
 Install maturin:
 
 ```shell
-cargo install maturin
+python3 -m pip install maturin
 ```
 
 Build bindings:
@@ -74,7 +74,7 @@ Python Code
 ```python
 import kcl_lib.api as api
 
-args = api.ExecProgram_Args(k_filename_list=["schema.k"])
+args = api.ExecProgramArgs(k_filename_list=["schema.k"])
 api = api.API()
 result = api.exec_program(args)
 assert result.yaml_result == "app:\n  replicas: 2"
@@ -92,7 +92,7 @@ A case with the file not found error
 import kcl_lib.api as api
 
 try:
-    args = api.ExecProgram_Args(k_filename_list=["file_not_found"])
+    args = api.ExecProgramArgs(k_filename_list=["file_not_found"])
     api = api.API()
     result = api.exec_program(args)
     assert False
@@ -126,7 +126,7 @@ Python Code
 ```python
 import kcl_lib.api as api
 
-args = api.ParseParseFile_Args(path=TEST_FILE)
+args = api.ParseParseFileArgs(path=TEST_FILE)
 api = api.API()
 result = api.parse_file(args)
 ```
@@ -157,7 +157,7 @@ Python Code
 ```python
 import kcl_lib.api as api
 
-args = api.ParseProgram_Args(paths=["schema.k"])
+args = api.ParseProgramArgs(paths=["schema.k"])
 api = api.API()
 result = api.parse_program(args)
 assert len(result.paths) == 1
@@ -190,8 +190,8 @@ Python Code
 ```python
 import kcl_lib.api as api
 
-args = api.LoadPackage_Args(
-    parse_args=api.ParseProgram_Args(paths=["schema.k"]), resolve_ast=True
+args = api.LoadPackageArgs(
+    parse_args=api.ParseProgramArgs(paths=["schema.k"]), resolve_ast=True
 )
 api = api.API()
 result = api.load_package(args)
@@ -224,7 +224,7 @@ Python Code
 ```python
 import kcl_lib.api as api
 
-args = api.ListVariables_Args(files=[TEST_FILE])
+args = api.ListVariablesArgs(files=[TEST_FILE])
 api = api.API()
 result = api.list_variables(args)
 ```
@@ -254,7 +254,7 @@ Python Code
 ```python
 import kcl_lib.api as api
 
-args = api.ParseProgram_Args(paths=["options.k"])
+args = api.ParseProgramArgs(paths=["options.k"])
 api = api.API()
 result = api.list_options(args)
 assert len(result.options) == 3
@@ -289,8 +289,8 @@ Python Code
 ```python
 import kcl_lib.api as api
 
-exec_args = api.ExecProgram_Args(k_filename_list=["schema.k"])
-args = api.GetSchemaTypeMapping_Args(exec_args=exec_args)
+exec_args = api.ExecProgramArgs(k_filename_list=["schema.k"])
+args = api.GetSchemaTypeMappingArgs(exec_args=exec_args)
 api = api.API()
 result = api.get_schema_type_mapping(args)
 assert result.schema_type_mapping["app"].properties["replicas"].type == "int"
@@ -323,7 +323,7 @@ import kcl_lib.api as api
 import pathlib
 
 test_file = "main.k"
-args = api.OverrideFile_Args(
+args = api.OverrideFileArgs(
     file=test_file,
     specs=["b.a=2"],
 )
@@ -363,7 +363,7 @@ schema Person:
     check:
         0 <   age <   120
 """
-args = api.FormatCode_Args(source=source_code)
+args = api.FormatCodeArgs(source=source_code)
 api_instance = api.API()
 result = api_instance.format_code(args)
 assert (
@@ -406,7 +406,7 @@ Python Code
 ```python
 import kcl_lib.api as api
 
-args = api.FormatPath_Args(path="format_path.k")
+args = api.FormatPathArgs(path="format_path.k")
 api_instance = api.API()
 result = api_instance.format_path(args)
 print(result)
@@ -435,7 +435,7 @@ Python Code
 ```python
 import kcl_lib.api as api
 
-args = api.LintPath_Args(paths=["lint_path.k"])
+args = api.LintPathArgs(paths=["lint_path.k"])
 api_instance = api.API()
 result = api_instance.lint_path(args)
 ```
@@ -464,7 +464,7 @@ schema Person:
         0 < age < 120
 """
 data = '{"name": "Alice", "age": 10}'
-args = api.ValidateCode_Args(code=code, data=data, format="json")
+args = api.ValidateCodeArgs(code=code, data=data, format="json")
 api_instance = api.API()
 result = api_instance.validate_code(args)
 assert result.success == True
@@ -493,7 +493,7 @@ Python Code
 ```python
 import kcl_lib.api as api
 
-args = api.Rename_Args(
+args = api.RenameArgs(
     package_root=".",
     symbol_path="a",
     file_paths=["main.k"],
@@ -518,7 +518,7 @@ Python Code
 ```python
 import kcl_lib.api as api
 
-args = api.RenameCode_Args(
+args = api.RenameCodeArgs(
     package_root="/mock/path",
     symbol_path="a",
     source_codes={"/mock/path/main.k": "a = 1\nb = a"},
@@ -543,7 +543,7 @@ Python Code
 
 ```python
 import kcl_lib.api as api
-args = api.Test_Args(
+args = api.TestArgs(
     pkg_list=["path/to/testing/pkg/..."],
 )
 api_instance = api.API()
@@ -575,7 +575,7 @@ Python Code
 ```python
 import kcl_lib.api as api
 
-args = api.LoadSettingsFiles_Args(
+args = api.LoadSettingsFilesArgs(
     work_dir=".", files=["kcl.yaml"]
 )
 api_instance = api.API()
@@ -615,7 +615,7 @@ Python Code
 ```python
 import kcl_lib.api as api
 
-args = api.UpdateDependencies_Args(
+args = api.UpdateDependenciesArgs(
     manifest_path="module"
 )
 api_instance = api.API()
@@ -661,12 +661,12 @@ Python Code
 ```python
 import kcl_lib.api as api
 
-args = api.UpdateDependencies_Args(
+args = api.UpdateDependenciesArgs(
     manifest_path="module"
 )
 api_instance = api.API()
 result = api_instance.update_dependencies(args)
-exec_args = api.ExecProgram_Args(
+exec_args = api.ExecProgramArgs(
     k_filename_list=["module/main.k"],
     external_pkgs=result.external_pkgs,
 )
diff --git a/python/kcl_lib/api/__init__.py b/python/kcl_lib/api/__init__.py
index 45d399ad..b6ef9f16 100644
--- a/python/kcl_lib/api/__init__.py
+++ b/python/kcl_lib/api/__init__.py
@@ -5,63 +5,63 @@
     Argument,
     Error,
     Message,
-    Ping_Args,
-    Ping_Result,
-    GetVersion_Args,
-    GetVersion_Result,
-    ListMethod_Args,
-    ListMethod_Result,
-    ParseFile_Args,
-    ParseFile_Result,
-    ParseProgram_Args,
-    ParseProgram_Result,
-    LoadPackage_Args,
-    LoadPackage_Result,
-    ListOptions_Result,
+    PingArgs,
+    PingResult,
+    GetVersionArgs,
+    GetVersionResult,
+    ListMethodArgs,
+    ListMethodResult,
+    ParseFileArgs,
+    ParseFileResult,
+    ParseProgramArgs,
+    ParseProgramResult,
+    LoadPackageArgs,
+    LoadPackageResult,
+    ListOptionsResult,
     OptionHelp,
     Symbol,
     Scope,
     SymbolIndex,
     ScopeIndex,
-    ExecProgram_Args,
-    ExecProgram_Result,
-    BuildProgram_Args,
-    BuildProgram_Result,
-    ExecArtifact_Args,
-    FormatCode_Args,
-    FormatCode_Result,
-    FormatPath_Args,
-    FormatPath_Result,
-    LintPath_Args,
-    LintPath_Result,
-    OverrideFile_Args,
-    OverrideFile_Result,
-    ListVariables_Options,
+    ExecProgramArgs,
+    ExecProgramResult,
+    BuildProgramArgs,
+    BuildProgramResult,
+    ExecArtifactArgs,
+    FormatCodeArgs,
+    FormatCodeResult,
+    FormatPathArgs,
+    FormatPathResult,
+    LintPathArgs,
+    LintPathResult,
+    OverrideFileArgs,
+    OverrideFileResult,
+    ListVariablesOptions,
     VariableList,
-    ListVariables_Args,
-    ListVariables_Result,
+    ListVariablesArgs,
+    ListVariablesResult,
     Variable,
     MapEntry,
-    GetSchemaTypeMapping_Args,
-    GetSchemaTypeMapping_Result,
-    ValidateCode_Args,
-    ValidateCode_Result,
+    GetSchemaTypeMappingArgs,
+    GetSchemaTypeMappingResult,
+    ValidateCodeArgs,
+    ValidateCodeResult,
     Position,
-    ListDepFiles_Args,
-    ListDepFiles_Result,
-    LoadSettingsFiles_Args,
-    LoadSettingsFiles_Result,
+    ListDepFilesArgs,
+    ListDepFilesResult,
+    LoadSettingsFilesArgs,
+    LoadSettingsFilesResult,
     CliConfig,
     KeyValuePair,
-    Rename_Args,
-    Rename_Result,
-    RenameCode_Args,
-    RenameCode_Result,
-    Test_Args,
-    Test_Result,
+    RenameArgs,
+    RenameResult,
+    RenameCodeArgs,
+    RenameCodeResult,
+    TestArgs,
+    TestResult,
     TestCaseInfo,
-    UpdateDependencies_Args,
-    UpdateDependencies_Result,
+    UpdateDependenciesArgs,
+    UpdateDependenciesResult,
     KclType,
     Decorator,
     Example,
@@ -74,63 +74,63 @@
     "Argument",
     "Error",
     "Message",
-    "Ping_Args",
-    "Ping_Result",
-    "GetVersion_Args",
-    "GetVersion_Result",
-    "ListMethod_Args",
-    "ListMethod_Result",
-    "ParseFile_Args",
-    "ParseFile_Result",
-    "ParseProgram_Args",
-    "ParseProgram_Result",
-    "LoadPackage_Args",
-    "LoadPackage_Result",
-    "ListOptions_Result",
+    "PingArgs",
+    "PingResult",
+    "GetVersionArgs",
+    "GetVersionResult",
+    "ListMethodArgs",
+    "ListMethodResult",
+    "ParseFileArgs",
+    "ParseFileResult",
+    "ParseProgramArgs",
+    "ParseProgramResult",
+    "LoadPackageArgs",
+    "LoadPackageResult",
+    "ListOptionsResult",
     "OptionHelp",
     "Symbol",
     "Scope",
     "SymbolIndex",
     "ScopeIndex",
-    "ExecProgram_Args",
-    "ExecProgram_Result",
-    "BuildProgram_Args",
-    "BuildProgram_Result",
-    "ExecArtifact_Args",
-    "FormatCode_Args",
-    "FormatCode_Result",
-    "FormatPath_Args",
-    "FormatPath_Result",
-    "LintPath_Args",
-    "LintPath_Result",
-    "OverrideFile_Args",
-    "OverrideFile_Result",
-    "ListVariables_Options",
+    "ExecProgramArgs",
+    "ExecProgramResult",
+    "BuildProgramArgs",
+    "BuildProgramResult",
+    "ExecArtifactArgs",
+    "FormatCodeArgs",
+    "FormatCodeResult",
+    "FormatPathArgs",
+    "FormatPathResult",
+    "LintPathArgs",
+    "LintPathResult",
+    "OverrideFileArgs",
+    "OverrideFileResult",
+    "ListVariablesOptions",
     "VariableList",
-    "ListVariables_Args",
-    "ListVariables_Result",
+    "ListVariablesArgs",
+    "ListVariablesResult",
     "Variable",
     "MapEntry",
-    "GetSchemaTypeMapping_Args",
-    "GetSchemaTypeMapping_Result",
-    "ValidateCode_Args",
-    "ValidateCode_Result",
+    "GetSchemaTypeMappingArgs",
+    "GetSchemaTypeMappingResult",
+    "ValidateCodeArgs",
+    "ValidateCodeResult",
     "Position",
-    "ListDepFiles_Args",
-    "ListDepFiles_Result",
-    "LoadSettingsFiles_Args",
-    "LoadSettingsFiles_Result",
+    "ListDepFilesArgs",
+    "ListDepFilesResult",
+    "LoadSettingsFilesArgs",
+    "LoadSettingsFilesResult",
     "CliConfig",
     "KeyValuePair",
-    "Rename_Args",
-    "Rename_Result",
-    "RenameCode_Args",
-    "RenameCode_Result",
-    "Test_Args",
-    "Test_Result",
+    "RenameArgs",
+    "RenameResult",
+    "RenameCodeArgs",
+    "RenameCodeResult",
+    "TestArgs",
+    "TestResult",
     "TestCaseInfo",
-    "UpdateDependencies_Args",
-    "UpdateDependencies_Result",
+    "UpdateDependenciesArgs",
+    "UpdateDependenciesResult",
     "KclType",
     "Decorator",
     "Example",
diff --git a/python/kcl_lib/api/service.py b/python/kcl_lib/api/service.py
index 891ede74..124698e1 100644
--- a/python/kcl_lib/api/service.py
+++ b/python/kcl_lib/api/service.py
@@ -1,48 +1,48 @@
 import kcl_lib
 import kcl_lib.plugin as plugin
 from .spec_pb2 import (
-    Ping_Args,
-    Ping_Result,
-    GetVersion_Args,
-    GetVersion_Result,
-    ParseFile_Args,
-    ParseFile_Result,
-    ParseProgram_Args,
-    ParseProgram_Result,
-    LoadPackage_Args,
-    LoadPackage_Result,
-    ListOptions_Result,
-    ExecProgram_Args,
-    ExecProgram_Result,
-    BuildProgram_Args,
-    BuildProgram_Result,
-    ExecArtifact_Args,
-    FormatCode_Args,
-    FormatCode_Result,
-    FormatPath_Args,
-    FormatPath_Result,
-    LintPath_Args,
-    LintPath_Result,
-    OverrideFile_Args,
-    OverrideFile_Result,
-    ListVariables_Args,
-    ListVariables_Result,
-    GetSchemaTypeMapping_Args,
-    GetSchemaTypeMapping_Result,
-    ValidateCode_Args,
-    ValidateCode_Result,
-    ListDepFiles_Args,
-    ListDepFiles_Result,
-    LoadSettingsFiles_Args,
-    LoadSettingsFiles_Result,
-    Rename_Args,
-    Rename_Result,
-    RenameCode_Args,
-    RenameCode_Result,
-    Test_Args,
-    Test_Result,
-    UpdateDependencies_Args,
-    UpdateDependencies_Result,
+    PingArgs,
+    PingResult,
+    GetVersionArgs,
+    GetVersionResult,
+    ParseFileArgs,
+    ParseFileResult,
+    ParseProgramArgs,
+    ParseProgramResult,
+    LoadPackageArgs,
+    LoadPackageResult,
+    ListOptionsResult,
+    ExecProgramArgs,
+    ExecProgramResult,
+    BuildProgramArgs,
+    BuildProgramResult,
+    ExecArtifactArgs,
+    FormatCodeArgs,
+    FormatCodeResult,
+    FormatPathArgs,
+    FormatPathResult,
+    LintPathArgs,
+    LintPathResult,
+    OverrideFileArgs,
+    OverrideFileResult,
+    ListVariablesArgs,
+    ListVariablesResult,
+    GetSchemaTypeMappingArgs,
+    GetSchemaTypeMappingResult,
+    ValidateCodeArgs,
+    ValidateCodeResult,
+    ListDepFilesArgs,
+    ListDepFilesResult,
+    LoadSettingsFilesArgs,
+    LoadSettingsFilesResult,
+    RenameArgs,
+    RenameResult,
+    RenameCodeArgs,
+    RenameCodeResult,
+    TestArgs,
+    TestResult,
+    UpdateDependenciesArgs,
+    UpdateDependenciesResult,
 )
 from google.protobuf import message as _message
 
@@ -56,7 +56,7 @@ class API:
 
     ```python
     import kcl_lib.api as api
-    args = api.ExecProgram_Args(k_filename_list=["a.k"])
+    args = api.ExecProgramArgs(k_filename_list=["a.k"])
     api = api.API()
 
     result = api.exec_program(args)
@@ -67,10 +67,10 @@ class API:
     def __init__(self, plugin_agent: int = plugin.plugin_agent_addr):
         self.plugin_agent = plugin_agent
 
-    def ping(self, args: Ping_Args) -> Ping_Result:
-        return self.call("KclvmService.Ping", args)
+    def ping(self, args: PingArgs) -> PingResult:
+        return self.call("KclService.Ping", args)
 
-    def parse_program(self, args: ParseProgram_Args) -> ParseProgram_Result:
+    def parse_program(self, args: ParseProgramArgs) -> ParseProgramResult:
         """Parse KCL program with entry files and return the AST JSON string.
 
         ## Example
@@ -90,16 +90,16 @@ def parse_program(self, args: ParseProgram_Args) -> ParseProgram_Result:
         ```python
         import kcl_lib.api as api
 
-        args = api.ParseProgram_Args(paths=["schema.k"])
+        args = api.ParseProgramArgs(paths=["schema.k"])
         api = api.API()
         result = api.parse_program(args)
         assert len(result.paths) == 1
         assert len(result.errors) == 0
         ```
         """
-        return self.call("KclvmService.ParseProgram", args)
+        return self.call("KclService.ParseProgram", args)
 
-    def exec_program(self, args: ExecProgram_Args) -> ExecProgram_Result:
+    def exec_program(self, args: ExecProgramArgs) -> ExecProgramResult:
         """Execute KCL file with arguments and return the JSON/YAML result.
 
         ## Examples
@@ -119,7 +119,7 @@ def exec_program(self, args: ExecProgram_Args) -> ExecProgram_Result:
         ```python
         import kcl_lib.api as api
 
-        args = api.ExecProgram_Args(k_filename_list=["schema.k"])
+        args = api.ExecProgramArgs(k_filename_list=["schema.k"])
         api = api.API()
         result = api.exec_program(args)
         ```
@@ -129,7 +129,7 @@ def exec_program(self, args: ExecProgram_Args) -> ExecProgram_Result:
         ```python
         import kcl_lib.api as api
         try:
-            args = api.ExecProgram_Args(k_filename_list=["file_not_found"])
+            args = api.ExecProgramArgs(k_filename_list=["file_not_found"])
             api = api.API()
             result = api.exec_program(args)
             assert False
@@ -137,9 +137,9 @@ def exec_program(self, args: ExecProgram_Args) -> ExecProgram_Result:
             assert "Cannot find the kcl file" in str(err)
         ```
         """
-        return self.call("KclvmService.ExecProgram", args)
+        return self.call("KclService.ExecProgram", args)
 
-    def parse_file(self, args: ParseFile_Args) -> ParseFile_Result:
+    def parse_file(self, args: ParseFileArgs) -> ParseFileResult:
         """Parse KCL single file to Module AST JSON string with import dependencies and parse errors.
 
         ## Example
@@ -159,16 +159,16 @@ def parse_file(self, args: ParseFile_Args) -> ParseFile_Result:
         ```python
         import kcl_lib.api as api
 
-        args = api.ParseProgram_Args(paths=[TEST_FILE])
+        args = api.ParseProgramArgs(paths=[TEST_FILE])
         api = api.API()
         result = api.parse_program(args)
         assert len(result.paths) == 1
         assert len(result.errors) == 0
         ```
         """
-        return self.call("KclvmService.ParseFile", args)
+        return self.call("KclService.ParseFile", args)
 
-    def parse_program(self, args: ParseProgram_Args) -> ParseProgram_Result:
+    def parse_program(self, args: ParseProgramArgs) -> ParseProgramResult:
         """Parse KCL program with entry files and return the AST JSON string.
 
         ## Example
@@ -188,16 +188,16 @@ def parse_program(self, args: ParseProgram_Args) -> ParseProgram_Result:
         ```python
         import kcl_lib.api as api
 
-        args = api.ParseProgram_Args(paths=["schema.k"])
+        args = api.ParseProgramArgs(paths=["schema.k"])
         api = api.API()
         result = api.parse_program(args)
         assert len(result.paths) == 1
         assert len(result.errors) == 0
         ```
         """
-        return self.call("KclvmService.ParseProgram", args)
+        return self.call("KclService.ParseProgram", args)
 
-    def load_package(self, args: LoadPackage_Args) -> LoadPackage_Result:
+    def load_package(self, args: LoadPackageArgs) -> LoadPackageResult:
         """load_package provides users with the ability to parse KCL program and semantic model information including symbols, types, definitions, etc.
 
         ## Example
@@ -216,17 +216,17 @@ def load_package(self, args: LoadPackage_Args) -> LoadPackage_Result:
 
         ```python
         import kcl_lib.api as api
-        args = api.LoadPackage_Args(
-            parse_args=api.ParseProgram_Args(paths=["schema.k"]), resolve_ast=True
+        args = api.LoadPackageArgs(
+            parse_args=api.ParseProgramArgs(paths=["schema.k"]), resolve_ast=True
         )
         api = api.API()
         result = api.load_package(args)
         assert list(result.symbols.values())[0].ty.schema_name == "AppConfig"
         ```
         """
-        return self.call("KclvmService.LoadPackage", args)
+        return self.call("KclService.LoadPackage", args)
 
-    def list_options(self, args: ParseProgram_Args) -> ListOptions_Result:
+    def list_options(self, args: ParseProgramArgs) -> ListOptionsResult:
         """list_options provides users with the ability to parse KCL program and get all option information.
 
         ## Example
@@ -246,7 +246,7 @@ def list_options(self, args: ParseProgram_Args) -> ListOptions_Result:
         ```python
         import kcl_lib.api as api
 
-        args = api.ParseProgram_Args(paths=["options.k"])
+        args = api.ParseProgramArgs(paths=["options.k"])
         api = api.API()
         result = api.list_options(args)
         assert len(result.options) == 3
@@ -255,9 +255,9 @@ def list_options(self, args: ParseProgram_Args) -> ListOptions_Result:
         assert result.options[2].name == "metadata-key"
         ```
         """
-        return self.call("KclvmService.ListOptions", args)
+        return self.call("KclService.ListOptions", args)
 
-    def list_variables(self, args: ListVariables_Args) -> ListVariables_Result:
+    def list_variables(self, args: ListVariablesArgs) -> ListVariablesResult:
         """list_variables provides users with the ability to parse KCL program and get all variables by specs.
 
         ## Example
@@ -277,14 +277,14 @@ def list_variables(self, args: ListVariables_Args) -> ListVariables_Result:
         ```python
         import kcl_lib.api as api
 
-        args = api.ListVariables_Args(files=[TEST_FILE])
+        args = api.ListVariablesArgs(files=[TEST_FILE])
         api = api.API()
         result = api.list_variables(args)
         ```
         """
-        return self.call("KclvmService.ListVariables", args)
+        return self.call("KclService.ListVariables", args)
 
-    def format_code(self, args: FormatCode_Args) -> FormatCode_Result:
+    def format_code(self, args: FormatCodeArgs) -> FormatCodeResult:
         """Format the code source.
 
         ## Example
@@ -294,16 +294,16 @@ def format_code(self, args: FormatCode_Args) -> FormatCode_Result:
         ```python
         import kcl_lib.api as api
         source_code = "a   =   1"
-        args = api.FormatCode_Args(source=source_code)
+        args = api.FormatCodeArgs(source=source_code)
         api_instance = api.API()
 
         result = api_instance.format_code(args)
         assert result.formatted.decode(), "a = 1"
         ```
         """
-        return self.call("KclvmService.FormatCode", args)
+        return self.call("KclService.FormatCode", args)
 
-    def format_path(self, args: FormatPath_Args) -> FormatPath_Result:
+    def format_path(self, args: FormatPathArgs) -> FormatPathResult:
         """Format KCL file or directory path contains KCL files and returns the changed file paths.
 
         ## Example
@@ -323,15 +323,15 @@ def format_path(self, args: FormatPath_Args) -> FormatPath_Result:
         ```python
         import kcl_lib.api as api
 
-        args = api.FormatPath_Args(path="format_path.k")
+        args = api.FormatPathArgs(path="format_path.k")
         api_instance = api.API()
         result = api_instance.format_path(args)
         print(result)
         ```
         """
-        return self.call("KclvmService.FormatPath", args)
+        return self.call("KclService.FormatPath", args)
 
-    def lint_path(self, args: LintPath_Args) -> LintPath_Result:
+    def lint_path(self, args: LintPathArgs) -> LintPathResult:
         """Lint files and return error messages including errors and warnings.
 
         ## Example
@@ -348,14 +348,14 @@ def lint_path(self, args: LintPath_Args) -> LintPath_Result:
         ```python
         import kcl_lib.api as api
 
-        args = api.LintPath_Args(paths=["lint_path.k"])
+        args = api.LintPathArgs(paths=["lint_path.k"])
         api_instance = api.API()
         result = api_instance.lint_path(args)
         ```
         """
-        return self.call("KclvmService.LintPath", args)
+        return self.call("KclService.LintPath", args)
 
-    def override_file(self, args: OverrideFile_Args) -> OverrideFile_Result:
+    def override_file(self, args: OverrideFileArgs) -> OverrideFileResult:
         """Override KCL file with arguments. See [https://www.kcl-lang.io/docs/user_docs/guides/automation](https://www.kcl-lang.io/docs/user_docs/guides/automation) for more override spec guide.
 
         ## Example
@@ -377,7 +377,7 @@ def override_file(self, args: OverrideFile_Args) -> OverrideFile_Result:
         import pathlib
 
         test_file = "main.k"
-        args = api.OverrideFile_Args(
+        args = api.OverrideFileArgs(
             file=test_file,
             specs=["b.a=2"],
         )
@@ -393,12 +393,12 @@ def override_file(self, args: OverrideFile_Args) -> OverrideFile_Result:
         \"\"\"
         ```
         """
-        return self.call("KclvmService.OverrideFile", args)
+        return self.call("KclService.OverrideFile", args)
 
     def get_schema_type_mapping(
         self,
-        args: GetSchemaTypeMapping_Args,
-    ) -> GetSchemaTypeMapping_Result:
+        args: GetSchemaTypeMappingArgs,
+    ) -> GetSchemaTypeMappingResult:
         """Get schema type mapping defined in the program.
 
         ## Example
@@ -418,16 +418,16 @@ def get_schema_type_mapping(
         ```python
         import kcl_lib.api as api
 
-        exec_args = api.ExecProgram_Args(k_filename_list=["schema.k"])
-        args = api.GetSchemaTypeMapping_Args(exec_args=exec_args)
+        exec_args = api.ExecProgramArgs(k_filename_list=["schema.k"])
+        args = api.GetSchemaTypeMappingArgs(exec_args=exec_args)
         api = api.API()
         result = api.get_schema_type_mapping(args)
         assert result.schema_type_mapping["app"].properties["replicas"].type == "int"
         ```
         """
-        return self.call("KclvmService.GetSchemaTypeMapping", args)
+        return self.call("KclService.GetSchemaTypeMapping", args)
 
-    def validate_code(self, args: ValidateCode_Args) -> ValidateCode_Result:
+    def validate_code(self, args: ValidateCodeArgs) -> ValidateCodeResult:
         """Validate code using schema and JSON/YAML data strings.
 
         ## Example
@@ -444,19 +444,19 @@ def validate_code(self, args: ValidateCode_Args) -> ValidateCode_Result:
                 0 < age < 120
         \"\"\"
         data = '{"name": "Alice", "age": 10}'
-        args = api.ValidateCode_Args(code=code, data=data, format="json")
+        args = api.ValidateCodeArgs(code=code, data=data, format="json")
         api_instance = api.API()
         result = api_instance.validate_code(args)
         assert result.success == True
         assert result.err_message == ""
         ```
         """
-        return self.call("KclvmService.ValidateCode", args)
+        return self.call("KclService.ValidateCode", args)
 
     def load_settings_files(
         self,
-        args: LoadSettingsFiles_Args,
-    ) -> LoadSettingsFiles_Result:
+        args: LoadSettingsFilesArgs,
+    ) -> LoadSettingsFilesResult:
         """Load the setting file config defined in `kcl.yaml`
 
         ## Example
@@ -475,7 +475,7 @@ def load_settings_files(
 
         ```python
         import kcl_lib.api as api
-        args = api.LoadSettingsFiles_Args(
+        args = api.LoadSettingsFilesArgs(
             work_dir=".", files=["kcl.yaml"]
         )
         api_instance = api.API()
@@ -487,9 +487,9 @@ def load_settings_files(
         )
         ```
         """
-        return self.call("KclvmService.LoadSettingsFiles", args)
+        return self.call("KclService.LoadSettingsFiles", args)
 
-    def rename(self, args: Rename_Args) -> Rename_Result:
+    def rename(self, args: RenameArgs) -> RenameResult:
         """Rename all the occurrences of the target symbol in the files. This API will rewrite files if they contain symbols to be renamed. Return the file paths that got changed.
 
         ## Example
@@ -506,7 +506,7 @@ def rename(self, args: Rename_Args) -> Rename_Result:
 
         ```python
         import kcl_lib.api as api
-        args = api.Rename_Args(
+        args = api.RenameArgs(
             package_root=".",
             symbol_path="a",
             file_paths=["main.k"],
@@ -516,9 +516,9 @@ def rename(self, args: Rename_Args) -> Rename_Result:
         result = api_instance.rename(args)
         ```
         """
-        return self.call("KclvmService.Rename", args)
+        return self.call("KclService.Rename", args)
 
-    def rename_code(self, args: RenameCode_Args) -> RenameCode_Result:
+    def rename_code(self, args: RenameCodeArgs) -> RenameCodeResult:
         """Rename all the occurrences of the target symbol and return the modified code if any code has been changed. This API won't rewrite files but return the changed code.
 
         ## Example
@@ -527,7 +527,7 @@ def rename_code(self, args: RenameCode_Args) -> RenameCode_Result:
 
         ```python
         import kcl_lib.api as api
-        args = api.RenameCode_Args(
+        args = api.RenameCodeArgs(
             package_root="/mock/path",
             symbol_path="a",
             source_codes={"/mock/path/main.k": "a = 1"},
@@ -538,9 +538,9 @@ def rename_code(self, args: RenameCode_Args) -> RenameCode_Result:
         assert result.changed_codes["/mock/path/main.k"] == "a2 = 1"
         ```
         """
-        return self.call("KclvmService.RenameCode", args)
+        return self.call("KclService.RenameCode", args)
 
-    def test(self, args: Test_Args) -> Test_Result:
+    def test(self, args: TestArgs) -> TestResult:
         """Test KCL packages with test arguments.
 
         ## Example
@@ -549,18 +549,18 @@ def test(self, args: Test_Args) -> Test_Result:
 
         ```python
         import kcl_lib.api as api
-        args = api.Test_Args(
+        args = api.TestArgs(
             pkg_list=["path/to/testing/pkg/..."],
         )
         api_instance = api.API()
         result = api_instance.test(args)
         ```
         """
-        return self.call("KclvmService.Test", args)
+        return self.call("KclService.Test", args)
 
     def update_dependencies(
-        self, args: UpdateDependencies_Args
-    ) -> UpdateDependencies_Result:
+        self, args: UpdateDependenciesArgs
+    ) -> UpdateDependenciesResult:
         """Download and update dependencies defined in the `kcl.mod` file and return the external package name and location list.
 
         ## Examples
@@ -582,7 +582,7 @@ def update_dependencies(
 
         ```python
         import kcl_lib.api as api
-        args = api.UpdateDependencies_Args(
+        args = api.UpdateDependenciesArgs(
             manifest_path="module"
         )
         api_instance = api.API()
@@ -620,12 +620,12 @@ def update_dependencies(
 
         ```python
         import kcl_lib.api as api
-        args = api.UpdateDependencies_Args(
+        args = api.UpdateDependenciesArgs(
             manifest_path="module"
         )
         api_instance = api.API()
         result = api_instance.update_dependencies(args)
-        exec_args = api.ExecProgram_Args(
+        exec_args = api.ExecProgramArgs(
             k_filename_list=["module/main.k"],
             external_pkgs=result.external_pkgs,
         )
@@ -633,9 +633,9 @@ def update_dependencies(
         assert result.yaml_result == "a: Hello World!"
         ```
         """
-        return self.call("KclvmService.UpdateDependencies", args)
+        return self.call("KclService.UpdateDependencies", args)
 
-    def get_version(self) -> GetVersion_Result:
+    def get_version(self) -> GetVersionResult:
         """Return the KCL service version information.
 
         ## Example
@@ -650,7 +650,7 @@ def get_version(self) -> GetVersion_Result:
         print(result.version_info)
         ```
         """
-        return self.call("KclvmService.GetVersion", GetVersion_Args())
+        return self.call("KclService.GetVersion", GetVersionArgs())
 
     # Helper method to perform the call
     def call(self, name: str, args):
@@ -670,95 +670,95 @@ def call(self, name: str, args):
         return msg
 
     def create_method_req_message(self, method: str) -> _message.Message:
-        if method in ["Ping", "KclvmService.Ping"]:
-            return Ping_Args()
-        elif method in ["ExecProgram", "KclvmService.ExecProgram"]:
-            return ExecProgram_Args()
-        elif method in ["BuildProgram", "KclvmService.BuildProgram"]:
-            return BuildProgram_Args()
-        elif method in ["ExecArtifact", "KclvmService.ExecArtifact"]:
-            return ExecArtifact_Args()
-        elif method in ["ParseFile", "KclvmService.ParseFile"]:
-            return ParseFile_Args()
-        elif method in ["ParseProgram", "KclvmService.ParseProgram"]:
-            return ParseProgram_Args()
-        elif method in ["LoadPackage", "KclvmService.LoadPackage"]:
-            return LoadPackage_Args()
-        elif method in ["ListOptions", "KclvmService.ListOptions"]:
-            return ParseProgram_Args()
-        elif method in ["ListVariables", "KclvmService.ListVariables"]:
-            return ListVariables_Args()
-        elif method in ["FormatCode", "KclvmService.FormatCode"]:
-            return FormatCode_Args()
-        elif method in ["FormatPath", "KclvmService.FormatPath"]:
-            return FormatPath_Args()
-        elif method in ["LintPath", "KclvmService.LintPath"]:
-            return LintPath_Args()
-        elif method in ["OverrideFile", "KclvmService.OverrideFile"]:
-            return OverrideFile_Args()
-        elif method in ["GetSchemaTypeMapping", "KclvmService.GetSchemaTypeMapping"]:
-            return GetSchemaTypeMapping_Args()
-        elif method in ["ValidateCode", "KclvmService.ValidateCode"]:
-            return ValidateCode_Args()
-        elif method in ["ListDepFiles", "KclvmService.ListDepFiles"]:
-            return ListDepFiles_Args()
-        elif method in ["LoadSettingsFiles", "KclvmService.LoadSettingsFiles"]:
-            return LoadSettingsFiles_Args()
-        elif method in ["Rename", "KclvmService.Rename"]:
-            return Rename_Args()
-        elif method in ["RenameCode", "KclvmService.RenameCode"]:
-            return RenameCode_Args()
-        elif method in ["Test", "KclvmService.Test"]:
-            return Test_Args()
-        elif method in ["UpdateDependencies", "KclvmService.UpdateDependencies"]:
-            return UpdateDependencies_Args()
-        elif method in ["GetVersion", "KclvmService.GetVersion"]:
-            return GetVersion_Args()
+        if method in ["Ping", "KclService.Ping"]:
+            return PingArgs()
+        elif method in ["ExecProgram", "KclService.ExecProgram"]:
+            return ExecProgramArgs()
+        elif method in ["BuildProgram", "KclService.BuildProgram"]:
+            return BuildProgramArgs()
+        elif method in ["ExecArtifact", "KclService.ExecArtifact"]:
+            return ExecArtifactArgs()
+        elif method in ["ParseFile", "KclService.ParseFile"]:
+            return ParseFileArgs()
+        elif method in ["ParseProgram", "KclService.ParseProgram"]:
+            return ParseProgramArgs()
+        elif method in ["LoadPackage", "KclService.LoadPackage"]:
+            return LoadPackageArgs()
+        elif method in ["ListOptions", "KclService.ListOptions"]:
+            return ParseProgramArgs()
+        elif method in ["ListVariables", "KclService.ListVariables"]:
+            return ListVariablesArgs()
+        elif method in ["FormatCode", "KclService.FormatCode"]:
+            return FormatCodeArgs()
+        elif method in ["FormatPath", "KclService.FormatPath"]:
+            return FormatPathArgs()
+        elif method in ["LintPath", "KclService.LintPath"]:
+            return LintPathArgs()
+        elif method in ["OverrideFile", "KclService.OverrideFile"]:
+            return OverrideFileArgs()
+        elif method in ["GetSchemaTypeMapping", "KclService.GetSchemaTypeMapping"]:
+            return GetSchemaTypeMappingArgs()
+        elif method in ["ValidateCode", "KclService.ValidateCode"]:
+            return ValidateCodeArgs()
+        elif method in ["ListDepFiles", "KclService.ListDepFiles"]:
+            return ListDepFilesArgs()
+        elif method in ["LoadSettingsFiles", "KclService.LoadSettingsFiles"]:
+            return LoadSettingsFilesArgs()
+        elif method in ["Rename", "KclService.Rename"]:
+            return RenameArgs()
+        elif method in ["RenameCode", "KclService.RenameCode"]:
+            return RenameCodeArgs()
+        elif method in ["Test", "KclService.Test"]:
+            return TestArgs()
+        elif method in ["UpdateDependencies", "KclService.UpdateDependencies"]:
+            return UpdateDependenciesArgs()
+        elif method in ["GetVersion", "KclService.GetVersion"]:
+            return GetVersionArgs()
         raise Exception(f"unknown method: {method}")
 
     def create_method_resp_message(self, method: str) -> _message.Message:
-        if method in ["Ping", "KclvmService.Ping"]:
-            return Ping_Result()
-        elif method in ["ExecProgram", "KclvmService.ExecProgram"]:
-            return ExecProgram_Result()
-        elif method in ["BuildProgram", "KclvmService.BuildProgram"]:
-            return BuildProgram_Result()
-        elif method in ["ExecArtifact", "KclvmService.ExecArtifact"]:
-            return ExecProgram_Result()
-        elif method in ["ParseFile", "KclvmService.ParseFile"]:
-            return ParseFile_Result()
-        elif method in ["ParseProgram", "KclvmService.ParseProgram"]:
-            return ParseProgram_Result()
-        elif method in ["LoadPackage", "KclvmService.LoadPackage"]:
-            return LoadPackage_Result()
-        elif method in ["ListOptions", "KclvmService.ListOptions"]:
-            return ListOptions_Result()
-        elif method in ["ListVariables", "KclvmService.ListVariables"]:
-            return ListVariables_Result()
-        elif method in ["FormatCode", "KclvmService.FormatCode"]:
-            return FormatCode_Result()
-        elif method in ["FormatPath", "KclvmService.FormatPath"]:
-            return FormatPath_Result()
-        elif method in ["LintPath", "KclvmService.LintPath"]:
-            return LintPath_Result()
-        elif method in ["OverrideFile", "KclvmService.OverrideFile"]:
-            return OverrideFile_Result()
-        elif method in ["GetSchemaTypeMapping", "KclvmService.GetSchemaTypeMapping"]:
-            return GetSchemaTypeMapping_Result()
-        elif method in ["ValidateCode", "KclvmService.ValidateCode"]:
-            return ValidateCode_Result()
-        elif method in ["ListDepFiles", "KclvmService.ListDepFiles"]:
-            return ListDepFiles_Result()
-        elif method in ["LoadSettingsFiles", "KclvmService.LoadSettingsFiles"]:
-            return LoadSettingsFiles_Result()
-        elif method in ["Rename", "KclvmService.Rename"]:
-            return Rename_Result()
-        elif method in ["RenameCode", "KclvmService.RenameCode"]:
-            return RenameCode_Result()
-        elif method in ["Test", "KclvmService.Test"]:
-            return Test_Result()
-        elif method in ["UpdateDependencies", "KclvmService.UpdateDependencies"]:
-            return UpdateDependencies_Result()
-        elif method in ["GetVersion", "KclvmService.GetVersion"]:
-            return GetVersion_Result()
+        if method in ["Ping", "KclService.Ping"]:
+            return PingResult()
+        elif method in ["ExecProgram", "KclService.ExecProgram"]:
+            return ExecProgramResult()
+        elif method in ["BuildProgram", "KclService.BuildProgram"]:
+            return BuildProgramResult()
+        elif method in ["ExecArtifact", "KclService.ExecArtifact"]:
+            return ExecProgramResult()
+        elif method in ["ParseFile", "KclService.ParseFile"]:
+            return ParseFileResult()
+        elif method in ["ParseProgram", "KclService.ParseProgram"]:
+            return ParseProgramResult()
+        elif method in ["LoadPackage", "KclService.LoadPackage"]:
+            return LoadPackageResult()
+        elif method in ["ListOptions", "KclService.ListOptions"]:
+            return ListOptionsResult()
+        elif method in ["ListVariables", "KclService.ListVariables"]:
+            return ListVariablesResult()
+        elif method in ["FormatCode", "KclService.FormatCode"]:
+            return FormatCodeResult()
+        elif method in ["FormatPath", "KclService.FormatPath"]:
+            return FormatPathResult()
+        elif method in ["LintPath", "KclService.LintPath"]:
+            return LintPathResult()
+        elif method in ["OverrideFile", "KclService.OverrideFile"]:
+            return OverrideFileResult()
+        elif method in ["GetSchemaTypeMapping", "KclService.GetSchemaTypeMapping"]:
+            return GetSchemaTypeMappingResult()
+        elif method in ["ValidateCode", "KclService.ValidateCode"]:
+            return ValidateCodeResult()
+        elif method in ["ListDepFiles", "KclService.ListDepFiles"]:
+            return ListDepFilesResult()
+        elif method in ["LoadSettingsFiles", "KclService.LoadSettingsFiles"]:
+            return LoadSettingsFilesResult()
+        elif method in ["Rename", "KclService.Rename"]:
+            return RenameResult()
+        elif method in ["RenameCode", "KclService.RenameCode"]:
+            return RenameCodeResult()
+        elif method in ["Test", "KclService.Test"]:
+            return TestResult()
+        elif method in ["UpdateDependencies", "KclService.UpdateDependencies"]:
+            return UpdateDependenciesResult()
+        elif method in ["GetVersion", "KclService.GetVersion"]:
+            return GetVersionResult()
         raise Exception(f"unknown method: {method}")
diff --git a/python/kcl_lib/api/spec_pb2.py b/python/kcl_lib/api/spec_pb2.py
index 93fddb73..dcf2e482 100644
--- a/python/kcl_lib/api/spec_pb2.py
+++ b/python/kcl_lib/api/spec_pb2.py
@@ -2,218 +2,240 @@
 # Generated by the protocol buffer compiler.  DO NOT EDIT!
 # NO CHECKED-IN PROTOBUF GENCODE
 # source: spec.proto
-# Protobuf Python Version: 5.29.3
+# Protobuf Python Version: 6.33.1
 """Generated protocol buffer code."""
 from google.protobuf import descriptor as _descriptor
 from google.protobuf import descriptor_pool as _descriptor_pool
 from google.protobuf import runtime_version as _runtime_version
 from google.protobuf import symbol_database as _symbol_database
 from google.protobuf.internal import builder as _builder
+
 _runtime_version.ValidateProtobufRuntimeVersion(
-    _runtime_version.Domain.PUBLIC,
-    5,
-    29,
-    3,
-    '',
-    'spec.proto'
+    _runtime_version.Domain.PUBLIC, 6, 33, 1, "", "spec.proto"
 )
 # @@protoc_insertion_point(imports)
 
 _sym_db = _symbol_database.Default()
 
 
-
-
-DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nspec.proto\x12\x0b\x63om.kcl.api\"1\n\x0b\x45xternalPkg\x12\x10\n\x08pkg_name\x18\x01 \x01(\t\x12\x10\n\x08pkg_path\x18\x02 \x01(\t\"\'\n\x08\x41rgument\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"L\n\x05\x45rror\x12\r\n\x05level\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\x12&\n\x08messages\x18\x03 \x03(\x0b\x32\x14.com.kcl.api.Message\":\n\x07Message\x12\x0b\n\x03msg\x18\x01 \x01(\t\x12\"\n\x03pos\x18\x02 \x01(\x0b\x32\x15.com.kcl.api.Position\"\x1a\n\tPing_Args\x12\r\n\x05value\x18\x01 \x01(\t\"\x1c\n\x0bPing_Result\x12\r\n\x05value\x18\x01 \x01(\t\"\x11\n\x0fGetVersion_Args\"]\n\x11GetVersion_Result\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\t\x12\x0f\n\x07git_sha\x18\x03 \x01(\t\x12\x14\n\x0cversion_info\x18\x04 \x01(\t\"\x11\n\x0fListMethod_Args\"-\n\x11ListMethod_Result\x12\x18\n\x10method_name_list\x18\x01 \x03(\t\"_\n\x0eParseFile_Args\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x0e\n\x06source\x18\x02 \x01(\t\x12/\n\rexternal_pkgs\x18\x03 \x03(\x0b\x32\x18.com.kcl.api.ExternalPkg\"V\n\x10ParseFile_Result\x12\x10\n\x08\x61st_json\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x65ps\x18\x02 \x03(\t\x12\"\n\x06\x65rrors\x18\x03 \x03(\x0b\x32\x12.com.kcl.api.Error\"d\n\x11ParseProgram_Args\x12\r\n\x05paths\x18\x01 \x03(\t\x12\x0f\n\x07sources\x18\x02 \x03(\t\x12/\n\rexternal_pkgs\x18\x03 \x03(\x0b\x32\x18.com.kcl.api.ExternalPkg\"Z\n\x13ParseProgram_Result\x12\x10\n\x08\x61st_json\x18\x01 \x01(\t\x12\r\n\x05paths\x18\x02 \x03(\t\x12\"\n\x06\x65rrors\x18\x03 \x03(\x0b\x32\x12.com.kcl.api.Error\"\x89\x01\n\x10LoadPackage_Args\x12\x32\n\nparse_args\x18\x01 \x01(\x0b\x32\x1e.com.kcl.api.ParseProgram_Args\x12\x13\n\x0bresolve_ast\x18\x02 \x01(\x08\x12\x14\n\x0cload_builtin\x18\x03 \x01(\x08\x12\x16\n\x0ewith_ast_index\x18\x04 \x01(\x08\"\xf7\x07\n\x12LoadPackage_Result\x12\x0f\n\x07program\x18\x01 \x01(\t\x12\r\n\x05paths\x18\x02 \x03(\t\x12(\n\x0cparse_errors\x18\x03 \x03(\x0b\x32\x12.com.kcl.api.Error\x12\'\n\x0btype_errors\x18\x04 \x03(\x0b\x32\x12.com.kcl.api.Error\x12;\n\x06scopes\x18\x05 \x03(\x0b\x32+.com.kcl.api.LoadPackage_Result.ScopesEntry\x12=\n\x07symbols\x18\x06 \x03(\x0b\x32,.com.kcl.api.LoadPackage_Result.SymbolsEntry\x12K\n\x0fnode_symbol_map\x18\x07 \x03(\x0b\x32\x32.com.kcl.api.LoadPackage_Result.NodeSymbolMapEntry\x12K\n\x0fsymbol_node_map\x18\x08 \x03(\x0b\x32\x32.com.kcl.api.LoadPackage_Result.SymbolNodeMapEntry\x12\\\n\x18\x66ully_qualified_name_map\x18\t \x03(\x0b\x32:.com.kcl.api.LoadPackage_Result.FullyQualifiedNameMapEntry\x12G\n\rpkg_scope_map\x18\n \x03(\x0b\x32\x30.com.kcl.api.LoadPackage_Result.PkgScopeMapEntry\x1a\x41\n\x0bScopesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.com.kcl.api.Scope:\x02\x38\x01\x1a\x43\n\x0cSymbolsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.com.kcl.api.Symbol:\x02\x38\x01\x1aN\n\x12NodeSymbolMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex:\x02\x38\x01\x1a\x34\n\x12SymbolNodeMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aV\n\x1a\x46ullyQualifiedNameMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex:\x02\x38\x01\x1aK\n\x10PkgScopeMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.com.kcl.api.ScopeIndex:\x02\x38\x01\">\n\x12ListOptions_Result\x12(\n\x07options\x18\x02 \x03(\x0b\x32\x17.com.kcl.api.OptionHelp\"_\n\nOptionHelp\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x10\n\x08required\x18\x03 \x01(\x08\x12\x15\n\rdefault_value\x18\x04 \x01(\t\x12\x0c\n\x04help\x18\x05 \x01(\t\"\xc4\x01\n\x06Symbol\x12 \n\x02ty\x18\x01 \x01(\x0b\x32\x14.com.kcl.api.KclType\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\'\n\x05owner\x18\x03 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12%\n\x03\x64\x65\x66\x18\x04 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12\'\n\x05\x61ttrs\x18\x05 \x03(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12\x11\n\tis_global\x18\x06 \x01(\x08\"\xba\x01\n\x05Scope\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\'\n\x06parent\x18\x02 \x01(\x0b\x32\x17.com.kcl.api.ScopeIndex\x12\'\n\x05owner\x18\x03 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12)\n\x08\x63hildren\x18\x04 \x03(\x0b\x32\x17.com.kcl.api.ScopeIndex\x12&\n\x04\x64\x65\x66s\x18\x05 \x03(\x0b\x32\x18.com.kcl.api.SymbolIndex\"1\n\x0bSymbolIndex\x12\t\n\x01i\x18\x01 \x01(\x04\x12\t\n\x01g\x18\x02 \x01(\x04\x12\x0c\n\x04kind\x18\x03 \x01(\t\"0\n\nScopeIndex\x12\t\n\x01i\x18\x01 \x01(\x04\x12\t\n\x01g\x18\x02 \x01(\x04\x12\x0c\n\x04kind\x18\x03 \x01(\t\"\xd0\x03\n\x10\x45xecProgram_Args\x12\x10\n\x08work_dir\x18\x01 \x01(\t\x12\x17\n\x0fk_filename_list\x18\x02 \x03(\t\x12\x13\n\x0bk_code_list\x18\x03 \x03(\t\x12#\n\x04\x61rgs\x18\x04 \x03(\x0b\x32\x15.com.kcl.api.Argument\x12\x11\n\toverrides\x18\x05 \x03(\t\x12\x1b\n\x13\x64isable_yaml_result\x18\x06 \x01(\x08\x12\x1a\n\x12print_override_ast\x18\x07 \x01(\x08\x12\x1a\n\x12strict_range_check\x18\x08 \x01(\x08\x12\x14\n\x0c\x64isable_none\x18\t \x01(\x08\x12\x0f\n\x07verbose\x18\n \x01(\x05\x12\r\n\x05\x64\x65\x62ug\x18\x0b \x01(\x05\x12\x11\n\tsort_keys\x18\x0c \x01(\x08\x12/\n\rexternal_pkgs\x18\r \x03(\x0b\x32\x18.com.kcl.api.ExternalPkg\x12 \n\x18include_schema_type_path\x18\x0e \x01(\x08\x12\x14\n\x0c\x63ompile_only\x18\x0f \x01(\x08\x12\x13\n\x0bshow_hidden\x18\x10 \x01(\x08\x12\x15\n\rpath_selector\x18\x11 \x03(\t\x12\x11\n\tfast_eval\x18\x12 \x01(\x08\"h\n\x12\x45xecProgram_Result\x12\x13\n\x0bjson_result\x18\x01 \x01(\t\x12\x13\n\x0byaml_result\x18\x02 \x01(\t\x12\x13\n\x0blog_message\x18\x03 \x01(\t\x12\x13\n\x0b\x65rr_message\x18\x04 \x01(\t\"U\n\x11\x42uildProgram_Args\x12\x30\n\texec_args\x18\x01 \x01(\x0b\x32\x1d.com.kcl.api.ExecProgram_Args\x12\x0e\n\x06output\x18\x02 \x01(\t\"#\n\x13\x42uildProgram_Result\x12\x0c\n\x04path\x18\x01 \x01(\t\"S\n\x11\x45xecArtifact_Args\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x30\n\texec_args\x18\x02 \x01(\x0b\x32\x1d.com.kcl.api.ExecProgram_Args\"!\n\x0f\x46ormatCode_Args\x12\x0e\n\x06source\x18\x01 \x01(\t\"&\n\x11\x46ormatCode_Result\x12\x11\n\tformatted\x18\x01 \x01(\x0c\"\x1f\n\x0f\x46ormatPath_Args\x12\x0c\n\x04path\x18\x01 \x01(\t\"*\n\x11\x46ormatPath_Result\x12\x15\n\rchanged_paths\x18\x01 \x03(\t\"\x1e\n\rLintPath_Args\x12\r\n\x05paths\x18\x01 \x03(\t\"\"\n\x0fLintPath_Result\x12\x0f\n\x07results\x18\x01 \x03(\t\"F\n\x11OverrideFile_Args\x12\x0c\n\x04\x66ile\x18\x01 \x01(\t\x12\r\n\x05specs\x18\x02 \x03(\t\x12\x14\n\x0cimport_paths\x18\x03 \x03(\t\"O\n\x13OverrideFile_Result\x12\x0e\n\x06result\x18\x01 \x01(\x08\x12(\n\x0cparse_errors\x18\x02 \x03(\x0b\x32\x12.com.kcl.api.Error\".\n\x15ListVariables_Options\x12\x15\n\rmerge_program\x18\x01 \x01(\x08\"8\n\x0cVariableList\x12(\n\tvariables\x18\x01 \x03(\x0b\x32\x15.com.kcl.api.Variable\"g\n\x12ListVariables_Args\x12\r\n\x05\x66iles\x18\x01 \x03(\t\x12\r\n\x05specs\x18\x02 \x03(\t\x12\x33\n\x07options\x18\x03 \x01(\x0b\x32\".com.kcl.api.ListVariables_Options\"\xed\x01\n\x14ListVariables_Result\x12\x43\n\tvariables\x18\x01 \x03(\x0b\x32\x30.com.kcl.api.ListVariables_Result.VariablesEntry\x12\x19\n\x11unsupported_codes\x18\x02 \x03(\t\x12(\n\x0cparse_errors\x18\x03 \x03(\x0b\x32\x12.com.kcl.api.Error\x1aK\n\x0eVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12(\n\x05value\x18\x02 \x01(\x0b\x32\x19.com.kcl.api.VariableList:\x02\x38\x01\"\x94\x01\n\x08Variable\x12\r\n\x05value\x18\x01 \x01(\t\x12\x11\n\ttype_name\x18\x02 \x01(\t\x12\x0e\n\x06op_sym\x18\x03 \x01(\t\x12)\n\nlist_items\x18\x04 \x03(\x0b\x32\x15.com.kcl.api.Variable\x12+\n\x0c\x64ict_entries\x18\x05 \x03(\x0b\x32\x15.com.kcl.api.MapEntry\"=\n\x08MapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.com.kcl.api.Variable\"b\n\x19GetSchemaTypeMapping_Args\x12\x30\n\texec_args\x18\x01 \x01(\x0b\x32\x1d.com.kcl.api.ExecProgram_Args\x12\x13\n\x0bschema_name\x18\x02 \x01(\t\"\xcb\x01\n\x1bGetSchemaTypeMapping_Result\x12\\\n\x13schema_type_mapping\x18\x01 \x03(\x0b\x32?.com.kcl.api.GetSchemaTypeMapping_Result.SchemaTypeMappingEntry\x1aN\n\x16SchemaTypeMappingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.com.kcl.api.KclType:\x02\x38\x01\"\xb8\x01\n\x11ValidateCode_Args\x12\x10\n\x08\x64\x61tafile\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\t\x12\x0c\n\x04\x66ile\x18\x03 \x01(\t\x12\x0c\n\x04\x63ode\x18\x04 \x01(\t\x12\x0e\n\x06schema\x18\x05 \x01(\t\x12\x16\n\x0e\x61ttribute_name\x18\x06 \x01(\t\x12\x0e\n\x06\x66ormat\x18\x07 \x01(\t\x12/\n\rexternal_pkgs\x18\x08 \x03(\x0b\x32\x18.com.kcl.api.ExternalPkg\";\n\x13ValidateCode_Result\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x13\n\x0b\x65rr_message\x18\x02 \x01(\t\":\n\x08Position\x12\x0c\n\x04line\x18\x01 \x01(\x03\x12\x0e\n\x06\x63olumn\x18\x02 \x01(\x03\x12\x10\n\x08\x66ilename\x18\x03 \x01(\t\"i\n\x11ListDepFiles_Args\x12\x10\n\x08work_dir\x18\x01 \x01(\t\x12\x14\n\x0cuse_abs_path\x18\x02 \x01(\x08\x12\x13\n\x0binclude_all\x18\x03 \x01(\x08\x12\x17\n\x0fuse_fast_parser\x18\x04 \x01(\x08\"F\n\x13ListDepFiles_Result\x12\x0f\n\x07pkgroot\x18\x01 \x01(\t\x12\x0f\n\x07pkgpath\x18\x02 \x01(\t\x12\r\n\x05\x66iles\x18\x03 \x03(\t\"9\n\x16LoadSettingsFiles_Args\x12\x10\n\x08work_dir\x18\x01 \x01(\t\x12\r\n\x05\x66iles\x18\x02 \x03(\t\"{\n\x18LoadSettingsFiles_Result\x12/\n\x0fkcl_cli_configs\x18\x01 \x01(\x0b\x32\x16.com.kcl.api.CliConfig\x12.\n\x0bkcl_options\x18\x02 \x03(\x0b\x32\x19.com.kcl.api.KeyValuePair\"\x83\x02\n\tCliConfig\x12\r\n\x05\x66iles\x18\x01 \x03(\t\x12\x0e\n\x06output\x18\x02 \x01(\t\x12\x11\n\toverrides\x18\x03 \x03(\t\x12\x15\n\rpath_selector\x18\x04 \x03(\t\x12\x1a\n\x12strict_range_check\x18\x05 \x01(\x08\x12\x14\n\x0c\x64isable_none\x18\x06 \x01(\x08\x12\x0f\n\x07verbose\x18\x07 \x01(\x03\x12\r\n\x05\x64\x65\x62ug\x18\x08 \x01(\x08\x12\x11\n\tsort_keys\x18\t \x01(\x08\x12\x13\n\x0bshow_hidden\x18\n \x01(\x08\x12 \n\x18include_schema_type_path\x18\x0b \x01(\x08\x12\x11\n\tfast_eval\x18\x0c \x01(\x08\"*\n\x0cKeyValuePair\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"^\n\x0bRename_Args\x12\x14\n\x0cpackage_root\x18\x01 \x01(\t\x12\x13\n\x0bsymbol_path\x18\x02 \x01(\t\x12\x12\n\nfile_paths\x18\x03 \x03(\t\x12\x10\n\x08new_name\x18\x04 \x01(\t\"&\n\rRename_Result\x12\x15\n\rchanged_files\x18\x01 \x03(\t\"\xc7\x01\n\x0fRenameCode_Args\x12\x14\n\x0cpackage_root\x18\x01 \x01(\t\x12\x13\n\x0bsymbol_path\x18\x02 \x01(\t\x12\x43\n\x0csource_codes\x18\x03 \x03(\x0b\x32-.com.kcl.api.RenameCode_Args.SourceCodesEntry\x12\x10\n\x08new_name\x18\x04 \x01(\t\x1a\x32\n\x10SourceCodesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x91\x01\n\x11RenameCode_Result\x12G\n\rchanged_codes\x18\x01 \x03(\x0b\x32\x30.com.kcl.api.RenameCode_Result.ChangedCodesEntry\x1a\x33\n\x11\x43hangedCodesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"v\n\tTest_Args\x12\x30\n\texec_args\x18\x01 \x01(\x0b\x32\x1d.com.kcl.api.ExecProgram_Args\x12\x10\n\x08pkg_list\x18\x02 \x03(\t\x12\x12\n\nrun_regexp\x18\x03 \x01(\t\x12\x11\n\tfail_fast\x18\x04 \x01(\x08\"6\n\x0bTest_Result\x12\'\n\x04info\x18\x02 \x03(\x0b\x32\x19.com.kcl.api.TestCaseInfo\"R\n\x0cTestCaseInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12\x10\n\x08\x64uration\x18\x03 \x01(\x04\x12\x13\n\x0blog_message\x18\x04 \x01(\t\"@\n\x17UpdateDependencies_Args\x12\x15\n\rmanifest_path\x18\x01 \x01(\t\x12\x0e\n\x06vendor\x18\x02 \x01(\x08\"L\n\x19UpdateDependencies_Result\x12/\n\rexternal_pkgs\x18\x03 \x03(\x0b\x32\x18.com.kcl.api.ExternalPkg\"\xf3\x04\n\x07KclType\x12\x0c\n\x04type\x18\x01 \x01(\t\x12)\n\x0bunion_types\x18\x02 \x03(\x0b\x32\x14.com.kcl.api.KclType\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\t\x12\x13\n\x0bschema_name\x18\x04 \x01(\t\x12\x12\n\nschema_doc\x18\x05 \x01(\t\x12\x38\n\nproperties\x18\x06 \x03(\x0b\x32$.com.kcl.api.KclType.PropertiesEntry\x12\x10\n\x08required\x18\x07 \x03(\t\x12!\n\x03key\x18\x08 \x01(\x0b\x32\x14.com.kcl.api.KclType\x12\"\n\x04item\x18\t \x01(\x0b\x32\x14.com.kcl.api.KclType\x12\x0c\n\x04line\x18\n \x01(\x05\x12*\n\ndecorators\x18\x0b \x03(\x0b\x32\x16.com.kcl.api.Decorator\x12\x10\n\x08\x66ilename\x18\x0c \x01(\t\x12\x10\n\x08pkg_path\x18\r \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x0e \x01(\t\x12\x34\n\x08\x65xamples\x18\x0f \x03(\x0b\x32\".com.kcl.api.KclType.ExamplesEntry\x12)\n\x0b\x62\x61se_schema\x18\x10 \x01(\x0b\x32\x14.com.kcl.api.KclType\x1aG\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.com.kcl.api.KclType:\x02\x38\x01\x1a\x45\n\rExamplesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.com.kcl.api.Example:\x02\x38\x01\"\x95\x01\n\tDecorator\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\targuments\x18\x02 \x03(\t\x12\x36\n\x08keywords\x18\x03 \x03(\x0b\x32$.com.kcl.api.Decorator.KeywordsEntry\x1a/\n\rKeywordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\">\n\x07\x45xample\x12\x0f\n\x07summary\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t2\x96\x01\n\x0e\x42uiltinService\x12\x38\n\x04Ping\x12\x16.com.kcl.api.Ping_Args\x1a\x18.com.kcl.api.Ping_Result\x12J\n\nListMethod\x12\x1c.com.kcl.api.ListMethod_Args\x1a\x1e.com.kcl.api.ListMethod_Result2\xde\r\n\x0cKclvmService\x12\x38\n\x04Ping\x12\x16.com.kcl.api.Ping_Args\x1a\x18.com.kcl.api.Ping_Result\x12J\n\nGetVersion\x12\x1c.com.kcl.api.GetVersion_Args\x1a\x1e.com.kcl.api.GetVersion_Result\x12P\n\x0cParseProgram\x12\x1e.com.kcl.api.ParseProgram_Args\x1a .com.kcl.api.ParseProgram_Result\x12G\n\tParseFile\x12\x1b.com.kcl.api.ParseFile_Args\x1a\x1d.com.kcl.api.ParseFile_Result\x12M\n\x0bLoadPackage\x12\x1d.com.kcl.api.LoadPackage_Args\x1a\x1f.com.kcl.api.LoadPackage_Result\x12N\n\x0bListOptions\x12\x1e.com.kcl.api.ParseProgram_Args\x1a\x1f.com.kcl.api.ListOptions_Result\x12S\n\rListVariables\x12\x1f.com.kcl.api.ListVariables_Args\x1a!.com.kcl.api.ListVariables_Result\x12M\n\x0b\x45xecProgram\x12\x1d.com.kcl.api.ExecProgram_Args\x1a\x1f.com.kcl.api.ExecProgram_Result\x12P\n\x0c\x42uildProgram\x12\x1e.com.kcl.api.BuildProgram_Args\x1a .com.kcl.api.BuildProgram_Result\x12O\n\x0c\x45xecArtifact\x12\x1e.com.kcl.api.ExecArtifact_Args\x1a\x1f.com.kcl.api.ExecProgram_Result\x12P\n\x0cOverrideFile\x12\x1e.com.kcl.api.OverrideFile_Args\x1a .com.kcl.api.OverrideFile_Result\x12h\n\x14GetSchemaTypeMapping\x12&.com.kcl.api.GetSchemaTypeMapping_Args\x1a(.com.kcl.api.GetSchemaTypeMapping_Result\x12J\n\nFormatCode\x12\x1c.com.kcl.api.FormatCode_Args\x1a\x1e.com.kcl.api.FormatCode_Result\x12J\n\nFormatPath\x12\x1c.com.kcl.api.FormatPath_Args\x1a\x1e.com.kcl.api.FormatPath_Result\x12\x44\n\x08LintPath\x12\x1a.com.kcl.api.LintPath_Args\x1a\x1c.com.kcl.api.LintPath_Result\x12P\n\x0cValidateCode\x12\x1e.com.kcl.api.ValidateCode_Args\x1a .com.kcl.api.ValidateCode_Result\x12P\n\x0cListDepFiles\x12\x1e.com.kcl.api.ListDepFiles_Args\x1a .com.kcl.api.ListDepFiles_Result\x12_\n\x11LoadSettingsFiles\x12#.com.kcl.api.LoadSettingsFiles_Args\x1a%.com.kcl.api.LoadSettingsFiles_Result\x12>\n\x06Rename\x12\x18.com.kcl.api.Rename_Args\x1a\x1a.com.kcl.api.Rename_Result\x12J\n\nRenameCode\x12\x1c.com.kcl.api.RenameCode_Args\x1a\x1e.com.kcl.api.RenameCode_Result\x12\x38\n\x04Test\x12\x16.com.kcl.api.Test_Args\x1a\x18.com.kcl.api.Test_Result\x12\x62\n\x12UpdateDependencies\x12$.com.kcl.api.UpdateDependencies_Args\x1a&.com.kcl.api.UpdateDependencies_ResultB\x14Z\x05.;api\xaa\x02\nKclLib.APIb\x06proto3')
+DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
+    b'\n\nspec.proto\x12\x0b\x63om.kcl.api"1\n\x0b\x45xternalPkg\x12\x10\n\x08pkg_name\x18\x01 \x01(\t\x12\x10\n\x08pkg_path\x18\x02 \x01(\t"\'\n\x08\x41rgument\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t"L\n\x05\x45rror\x12\r\n\x05level\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\x12&\n\x08messages\x18\x03 \x03(\x0b\x32\x14.com.kcl.api.Message":\n\x07Message\x12\x0b\n\x03msg\x18\x01 \x01(\t\x12"\n\x03pos\x18\x02 \x01(\x0b\x32\x15.com.kcl.api.Position"\x19\n\x08PingArgs\x12\r\n\x05value\x18\x01 \x01(\t"\x1b\n\nPingResult\x12\r\n\x05value\x18\x01 \x01(\t"\x10\n\x0eGetVersionArgs"\\\n\x10GetVersionResult\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\t\x12\x0f\n\x07git_sha\x18\x03 \x01(\t\x12\x14\n\x0cversion_info\x18\x04 \x01(\t"\x10\n\x0eListMethodArgs",\n\x10ListMethodResult\x12\x18\n\x10method_name_list\x18\x01 \x03(\t"^\n\rParseFileArgs\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x0e\n\x06source\x18\x02 \x01(\t\x12/\n\rexternal_pkgs\x18\x03 \x03(\x0b\x32\x18.com.kcl.api.ExternalPkg"U\n\x0fParseFileResult\x12\x10\n\x08\x61st_json\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x65ps\x18\x02 \x03(\t\x12"\n\x06\x65rrors\x18\x03 \x03(\x0b\x32\x12.com.kcl.api.Error"c\n\x10ParseProgramArgs\x12\r\n\x05paths\x18\x01 \x03(\t\x12\x0f\n\x07sources\x18\x02 \x03(\t\x12/\n\rexternal_pkgs\x18\x03 \x03(\x0b\x32\x18.com.kcl.api.ExternalPkg"Y\n\x12ParseProgramResult\x12\x10\n\x08\x61st_json\x18\x01 \x01(\t\x12\r\n\x05paths\x18\x02 \x03(\t\x12"\n\x06\x65rrors\x18\x03 \x03(\x0b\x32\x12.com.kcl.api.Error"\x87\x01\n\x0fLoadPackageArgs\x12\x31\n\nparse_args\x18\x01 \x01(\x0b\x32\x1d.com.kcl.api.ParseProgramArgs\x12\x13\n\x0bresolve_ast\x18\x02 \x01(\x08\x12\x14\n\x0cload_builtin\x18\x03 \x01(\x08\x12\x16\n\x0ewith_ast_index\x18\x04 \x01(\x08"\xf0\x07\n\x11LoadPackageResult\x12\x0f\n\x07program\x18\x01 \x01(\t\x12\r\n\x05paths\x18\x02 \x03(\t\x12(\n\x0cparse_errors\x18\x03 \x03(\x0b\x32\x12.com.kcl.api.Error\x12\'\n\x0btype_errors\x18\x04 \x03(\x0b\x32\x12.com.kcl.api.Error\x12:\n\x06scopes\x18\x05 \x03(\x0b\x32*.com.kcl.api.LoadPackageResult.ScopesEntry\x12<\n\x07symbols\x18\x06 \x03(\x0b\x32+.com.kcl.api.LoadPackageResult.SymbolsEntry\x12J\n\x0fnode_symbol_map\x18\x07 \x03(\x0b\x32\x31.com.kcl.api.LoadPackageResult.NodeSymbolMapEntry\x12J\n\x0fsymbol_node_map\x18\x08 \x03(\x0b\x32\x31.com.kcl.api.LoadPackageResult.SymbolNodeMapEntry\x12[\n\x18\x66ully_qualified_name_map\x18\t \x03(\x0b\x32\x39.com.kcl.api.LoadPackageResult.FullyQualifiedNameMapEntry\x12\x46\n\rpkg_scope_map\x18\n \x03(\x0b\x32/.com.kcl.api.LoadPackageResult.PkgScopeMapEntry\x1a\x41\n\x0bScopesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.com.kcl.api.Scope:\x02\x38\x01\x1a\x43\n\x0cSymbolsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12"\n\x05value\x18\x02 \x01(\x0b\x32\x13.com.kcl.api.Symbol:\x02\x38\x01\x1aN\n\x12NodeSymbolMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex:\x02\x38\x01\x1a\x34\n\x12SymbolNodeMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aV\n\x1a\x46ullyQualifiedNameMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex:\x02\x38\x01\x1aK\n\x10PkgScopeMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.com.kcl.api.ScopeIndex:\x02\x38\x01"=\n\x11ListOptionsResult\x12(\n\x07options\x18\x02 \x03(\x0b\x32\x17.com.kcl.api.OptionHelp"_\n\nOptionHelp\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x10\n\x08required\x18\x03 \x01(\x08\x12\x15\n\rdefault_value\x18\x04 \x01(\t\x12\x0c\n\x04help\x18\x05 \x01(\t"\xc4\x01\n\x06Symbol\x12 \n\x02ty\x18\x01 \x01(\x0b\x32\x14.com.kcl.api.KclType\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\'\n\x05owner\x18\x03 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12%\n\x03\x64\x65\x66\x18\x04 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12\'\n\x05\x61ttrs\x18\x05 \x03(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12\x11\n\tis_global\x18\x06 \x01(\x08"\xba\x01\n\x05Scope\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\'\n\x06parent\x18\x02 \x01(\x0b\x32\x17.com.kcl.api.ScopeIndex\x12\'\n\x05owner\x18\x03 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12)\n\x08\x63hildren\x18\x04 \x03(\x0b\x32\x17.com.kcl.api.ScopeIndex\x12&\n\x04\x64\x65\x66s\x18\x05 \x03(\x0b\x32\x18.com.kcl.api.SymbolIndex"1\n\x0bSymbolIndex\x12\t\n\x01i\x18\x01 \x01(\x04\x12\t\n\x01g\x18\x02 \x01(\x04\x12\x0c\n\x04kind\x18\x03 \x01(\t"0\n\nScopeIndex\x12\t\n\x01i\x18\x01 \x01(\x04\x12\t\n\x01g\x18\x02 \x01(\x04\x12\x0c\n\x04kind\x18\x03 \x01(\t"\xcf\x03\n\x0f\x45xecProgramArgs\x12\x10\n\x08work_dir\x18\x01 \x01(\t\x12\x17\n\x0fk_filename_list\x18\x02 \x03(\t\x12\x13\n\x0bk_code_list\x18\x03 \x03(\t\x12#\n\x04\x61rgs\x18\x04 \x03(\x0b\x32\x15.com.kcl.api.Argument\x12\x11\n\toverrides\x18\x05 \x03(\t\x12\x1b\n\x13\x64isable_yaml_result\x18\x06 \x01(\x08\x12\x1a\n\x12print_override_ast\x18\x07 \x01(\x08\x12\x1a\n\x12strict_range_check\x18\x08 \x01(\x08\x12\x14\n\x0c\x64isable_none\x18\t \x01(\x08\x12\x0f\n\x07verbose\x18\n \x01(\x05\x12\r\n\x05\x64\x65\x62ug\x18\x0b \x01(\x05\x12\x11\n\tsort_keys\x18\x0c \x01(\x08\x12/\n\rexternal_pkgs\x18\r \x03(\x0b\x32\x18.com.kcl.api.ExternalPkg\x12 \n\x18include_schema_type_path\x18\x0e \x01(\x08\x12\x14\n\x0c\x63ompile_only\x18\x0f \x01(\x08\x12\x13\n\x0bshow_hidden\x18\x10 \x01(\x08\x12\x15\n\rpath_selector\x18\x11 \x03(\t\x12\x11\n\tfast_eval\x18\x12 \x01(\x08"g\n\x11\x45xecProgramResult\x12\x13\n\x0bjson_result\x18\x01 \x01(\t\x12\x13\n\x0byaml_result\x18\x02 \x01(\t\x12\x13\n\x0blog_message\x18\x03 \x01(\t\x12\x13\n\x0b\x65rr_message\x18\x04 \x01(\t"S\n\x10\x42uildProgramArgs\x12/\n\texec_args\x18\x01 \x01(\x0b\x32\x1c.com.kcl.api.ExecProgramArgs\x12\x0e\n\x06output\x18\x02 \x01(\t""\n\x12\x42uildProgramResult\x12\x0c\n\x04path\x18\x01 \x01(\t"Q\n\x10\x45xecArtifactArgs\x12\x0c\n\x04path\x18\x01 \x01(\t\x12/\n\texec_args\x18\x02 \x01(\x0b\x32\x1c.com.kcl.api.ExecProgramArgs" \n\x0e\x46ormatCodeArgs\x12\x0e\n\x06source\x18\x01 \x01(\t"%\n\x10\x46ormatCodeResult\x12\x11\n\tformatted\x18\x01 \x01(\x0c"\x1e\n\x0e\x46ormatPathArgs\x12\x0c\n\x04path\x18\x01 \x01(\t")\n\x10\x46ormatPathResult\x12\x15\n\rchanged_paths\x18\x01 \x03(\t"\x1d\n\x0cLintPathArgs\x12\r\n\x05paths\x18\x01 \x03(\t"!\n\x0eLintPathResult\x12\x0f\n\x07results\x18\x01 \x03(\t"E\n\x10OverrideFileArgs\x12\x0c\n\x04\x66ile\x18\x01 \x01(\t\x12\r\n\x05specs\x18\x02 \x03(\t\x12\x14\n\x0cimport_paths\x18\x03 \x03(\t"N\n\x12OverrideFileResult\x12\x0e\n\x06result\x18\x01 \x01(\x08\x12(\n\x0cparse_errors\x18\x02 \x03(\x0b\x32\x12.com.kcl.api.Error"-\n\x14ListVariablesOptions\x12\x15\n\rmerge_program\x18\x01 \x01(\x08"8\n\x0cVariableList\x12(\n\tvariables\x18\x01 \x03(\x0b\x32\x15.com.kcl.api.Variable"e\n\x11ListVariablesArgs\x12\r\n\x05\x66iles\x18\x01 \x03(\t\x12\r\n\x05specs\x18\x02 \x03(\t\x12\x32\n\x07options\x18\x03 \x01(\x0b\x32!.com.kcl.api.ListVariablesOptions"\xeb\x01\n\x13ListVariablesResult\x12\x42\n\tvariables\x18\x01 \x03(\x0b\x32/.com.kcl.api.ListVariablesResult.VariablesEntry\x12\x19\n\x11unsupported_codes\x18\x02 \x03(\t\x12(\n\x0cparse_errors\x18\x03 \x03(\x0b\x32\x12.com.kcl.api.Error\x1aK\n\x0eVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12(\n\x05value\x18\x02 \x01(\x0b\x32\x19.com.kcl.api.VariableList:\x02\x38\x01"\x94\x01\n\x08Variable\x12\r\n\x05value\x18\x01 \x01(\t\x12\x11\n\ttype_name\x18\x02 \x01(\t\x12\x0e\n\x06op_sym\x18\x03 \x01(\t\x12)\n\nlist_items\x18\x04 \x03(\x0b\x32\x15.com.kcl.api.Variable\x12+\n\x0c\x64ict_entries\x18\x05 \x03(\x0b\x32\x15.com.kcl.api.MapEntry"=\n\x08MapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.com.kcl.api.Variable"`\n\x18GetSchemaTypeMappingArgs\x12/\n\texec_args\x18\x01 \x01(\x0b\x32\x1c.com.kcl.api.ExecProgramArgs\x12\x13\n\x0bschema_name\x18\x02 \x01(\t"\xc9\x01\n\x1aGetSchemaTypeMappingResult\x12[\n\x13schema_type_mapping\x18\x01 \x03(\x0b\x32>.com.kcl.api.GetSchemaTypeMappingResult.SchemaTypeMappingEntry\x1aN\n\x16SchemaTypeMappingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.com.kcl.api.KclType:\x02\x38\x01"\xdf\x01\n#GetSchemaTypeMappingUnderPathResult\x12\x64\n\x13schema_type_mapping\x18\x01 \x03(\x0b\x32G.com.kcl.api.GetSchemaTypeMappingUnderPathResult.SchemaTypeMappingEntry\x1aR\n\x16SchemaTypeMappingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.com.kcl.api.SchemaTypes:\x02\x38\x01"8\n\x0bSchemaTypes\x12)\n\x0bschema_type\x18\x01 \x03(\x0b\x32\x14.com.kcl.api.KclType"\xb7\x01\n\x10ValidateCodeArgs\x12\x10\n\x08\x64\x61tafile\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\t\x12\x0c\n\x04\x66ile\x18\x03 \x01(\t\x12\x0c\n\x04\x63ode\x18\x04 \x01(\t\x12\x0e\n\x06schema\x18\x05 \x01(\t\x12\x16\n\x0e\x61ttribute_name\x18\x06 \x01(\t\x12\x0e\n\x06\x66ormat\x18\x07 \x01(\t\x12/\n\rexternal_pkgs\x18\x08 \x03(\x0b\x32\x18.com.kcl.api.ExternalPkg":\n\x12ValidateCodeResult\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x13\n\x0b\x65rr_message\x18\x02 \x01(\t":\n\x08Position\x12\x0c\n\x04line\x18\x01 \x01(\x03\x12\x0e\n\x06\x63olumn\x18\x02 \x01(\x03\x12\x10\n\x08\x66ilename\x18\x03 \x01(\t"h\n\x10ListDepFilesArgs\x12\x10\n\x08work_dir\x18\x01 \x01(\t\x12\x14\n\x0cuse_abs_path\x18\x02 \x01(\x08\x12\x13\n\x0binclude_all\x18\x03 \x01(\x08\x12\x17\n\x0fuse_fast_parser\x18\x04 \x01(\x08"E\n\x12ListDepFilesResult\x12\x0f\n\x07pkgroot\x18\x01 \x01(\t\x12\x0f\n\x07pkgpath\x18\x02 \x01(\t\x12\r\n\x05\x66iles\x18\x03 \x03(\t"8\n\x15LoadSettingsFilesArgs\x12\x10\n\x08work_dir\x18\x01 \x01(\t\x12\r\n\x05\x66iles\x18\x02 \x03(\t"z\n\x17LoadSettingsFilesResult\x12/\n\x0fkcl_cli_configs\x18\x01 \x01(\x0b\x32\x16.com.kcl.api.CliConfig\x12.\n\x0bkcl_options\x18\x02 \x03(\x0b\x32\x19.com.kcl.api.KeyValuePair"\x83\x02\n\tCliConfig\x12\r\n\x05\x66iles\x18\x01 \x03(\t\x12\x0e\n\x06output\x18\x02 \x01(\t\x12\x11\n\toverrides\x18\x03 \x03(\t\x12\x15\n\rpath_selector\x18\x04 \x03(\t\x12\x1a\n\x12strict_range_check\x18\x05 \x01(\x08\x12\x14\n\x0c\x64isable_none\x18\x06 \x01(\x08\x12\x0f\n\x07verbose\x18\x07 \x01(\x03\x12\r\n\x05\x64\x65\x62ug\x18\x08 \x01(\x08\x12\x11\n\tsort_keys\x18\t \x01(\x08\x12\x13\n\x0bshow_hidden\x18\n \x01(\x08\x12 \n\x18include_schema_type_path\x18\x0b \x01(\x08\x12\x11\n\tfast_eval\x18\x0c \x01(\x08"*\n\x0cKeyValuePair\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t"]\n\nRenameArgs\x12\x14\n\x0cpackage_root\x18\x01 \x01(\t\x12\x13\n\x0bsymbol_path\x18\x02 \x01(\t\x12\x12\n\nfile_paths\x18\x03 \x03(\t\x12\x10\n\x08new_name\x18\x04 \x01(\t"%\n\x0cRenameResult\x12\x15\n\rchanged_files\x18\x01 \x03(\t"\xc5\x01\n\x0eRenameCodeArgs\x12\x14\n\x0cpackage_root\x18\x01 \x01(\t\x12\x13\n\x0bsymbol_path\x18\x02 \x01(\t\x12\x42\n\x0csource_codes\x18\x03 \x03(\x0b\x32,.com.kcl.api.RenameCodeArgs.SourceCodesEntry\x12\x10\n\x08new_name\x18\x04 \x01(\t\x1a\x32\n\x10SourceCodesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x8f\x01\n\x10RenameCodeResult\x12\x46\n\rchanged_codes\x18\x01 \x03(\x0b\x32/.com.kcl.api.RenameCodeResult.ChangedCodesEntry\x1a\x33\n\x11\x43hangedCodesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"t\n\x08TestArgs\x12/\n\texec_args\x18\x01 \x01(\x0b\x32\x1c.com.kcl.api.ExecProgramArgs\x12\x10\n\x08pkg_list\x18\x02 \x03(\t\x12\x12\n\nrun_regexp\x18\x03 \x01(\t\x12\x11\n\tfail_fast\x18\x04 \x01(\x08"5\n\nTestResult\x12\'\n\x04info\x18\x02 \x03(\x0b\x32\x19.com.kcl.api.TestCaseInfo"R\n\x0cTestCaseInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12\x10\n\x08\x64uration\x18\x03 \x01(\x04\x12\x13\n\x0blog_message\x18\x04 \x01(\t"?\n\x16UpdateDependenciesArgs\x12\x15\n\rmanifest_path\x18\x01 \x01(\t\x12\x0e\n\x06vendor\x18\x02 \x01(\x08"K\n\x18UpdateDependenciesResult\x12/\n\rexternal_pkgs\x18\x03 \x03(\x0b\x32\x18.com.kcl.api.ExternalPkg"\xf3\x04\n\x07KclType\x12\x0c\n\x04type\x18\x01 \x01(\t\x12)\n\x0bunion_types\x18\x02 \x03(\x0b\x32\x14.com.kcl.api.KclType\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\t\x12\x13\n\x0bschema_name\x18\x04 \x01(\t\x12\x12\n\nschema_doc\x18\x05 \x01(\t\x12\x38\n\nproperties\x18\x06 \x03(\x0b\x32$.com.kcl.api.KclType.PropertiesEntry\x12\x10\n\x08required\x18\x07 \x03(\t\x12!\n\x03key\x18\x08 \x01(\x0b\x32\x14.com.kcl.api.KclType\x12"\n\x04item\x18\t \x01(\x0b\x32\x14.com.kcl.api.KclType\x12\x0c\n\x04line\x18\n \x01(\x05\x12*\n\ndecorators\x18\x0b \x03(\x0b\x32\x16.com.kcl.api.Decorator\x12\x10\n\x08\x66ilename\x18\x0c \x01(\t\x12\x10\n\x08pkg_path\x18\r \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x0e \x01(\t\x12\x34\n\x08\x65xamples\x18\x0f \x03(\x0b\x32".com.kcl.api.KclType.ExamplesEntry\x12)\n\x0b\x62\x61se_schema\x18\x10 \x01(\x0b\x32\x14.com.kcl.api.KclType\x1aG\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.com.kcl.api.KclType:\x02\x38\x01\x1a\x45\n\rExamplesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.com.kcl.api.Example:\x02\x38\x01"\x95\x01\n\tDecorator\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\targuments\x18\x02 \x03(\t\x12\x36\n\x08keywords\x18\x03 \x03(\x0b\x32$.com.kcl.api.Decorator.KeywordsEntry\x1a/\n\rKeywordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01">\n\x07\x45xample\x12\x0f\n\x07summary\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t2\x92\x01\n\x0e\x42uiltinService\x12\x36\n\x04Ping\x12\x15.com.kcl.api.PingArgs\x1a\x17.com.kcl.api.PingResult\x12H\n\nListMethod\x12\x1b.com.kcl.api.ListMethodArgs\x1a\x1d.com.kcl.api.ListMethodResult2\xb0\r\n\nKclService\x12\x36\n\x04Ping\x12\x15.com.kcl.api.PingArgs\x1a\x17.com.kcl.api.PingResult\x12H\n\nGetVersion\x12\x1b.com.kcl.api.GetVersionArgs\x1a\x1d.com.kcl.api.GetVersionResult\x12N\n\x0cParseProgram\x12\x1d.com.kcl.api.ParseProgramArgs\x1a\x1f.com.kcl.api.ParseProgramResult\x12\x45\n\tParseFile\x12\x1a.com.kcl.api.ParseFileArgs\x1a\x1c.com.kcl.api.ParseFileResult\x12K\n\x0bLoadPackage\x12\x1c.com.kcl.api.LoadPackageArgs\x1a\x1e.com.kcl.api.LoadPackageResult\x12L\n\x0bListOptions\x12\x1d.com.kcl.api.ParseProgramArgs\x1a\x1e.com.kcl.api.ListOptionsResult\x12Q\n\rListVariables\x12\x1e.com.kcl.api.ListVariablesArgs\x1a .com.kcl.api.ListVariablesResult\x12K\n\x0b\x45xecProgram\x12\x1c.com.kcl.api.ExecProgramArgs\x1a\x1e.com.kcl.api.ExecProgramResult\x12N\n\x0c\x42uildProgram\x12\x1d.com.kcl.api.BuildProgramArgs\x1a\x1f.com.kcl.api.BuildProgramResult\x12M\n\x0c\x45xecArtifact\x12\x1d.com.kcl.api.ExecArtifactArgs\x1a\x1e.com.kcl.api.ExecProgramResult\x12N\n\x0cOverrideFile\x12\x1d.com.kcl.api.OverrideFileArgs\x1a\x1f.com.kcl.api.OverrideFileResult\x12\x66\n\x14GetSchemaTypeMapping\x12%.com.kcl.api.GetSchemaTypeMappingArgs\x1a\'.com.kcl.api.GetSchemaTypeMappingResult\x12H\n\nFormatCode\x12\x1b.com.kcl.api.FormatCodeArgs\x1a\x1d.com.kcl.api.FormatCodeResult\x12H\n\nFormatPath\x12\x1b.com.kcl.api.FormatPathArgs\x1a\x1d.com.kcl.api.FormatPathResult\x12\x42\n\x08LintPath\x12\x19.com.kcl.api.LintPathArgs\x1a\x1b.com.kcl.api.LintPathResult\x12N\n\x0cValidateCode\x12\x1d.com.kcl.api.ValidateCodeArgs\x1a\x1f.com.kcl.api.ValidateCodeResult\x12N\n\x0cListDepFiles\x12\x1d.com.kcl.api.ListDepFilesArgs\x1a\x1f.com.kcl.api.ListDepFilesResult\x12]\n\x11LoadSettingsFiles\x12".com.kcl.api.LoadSettingsFilesArgs\x1a$.com.kcl.api.LoadSettingsFilesResult\x12<\n\x06Rename\x12\x17.com.kcl.api.RenameArgs\x1a\x19.com.kcl.api.RenameResult\x12H\n\nRenameCode\x12\x1b.com.kcl.api.RenameCodeArgs\x1a\x1d.com.kcl.api.RenameCodeResult\x12\x36\n\x04Test\x12\x15.com.kcl.api.TestArgs\x1a\x17.com.kcl.api.TestResult\x12`\n\x12UpdateDependencies\x12#.com.kcl.api.UpdateDependenciesArgs\x1a%.com.kcl.api.UpdateDependenciesResultB\x14Z\x05.;api\xaa\x02\nKclLib.APIb\x06proto3'
+)
 
 _globals = globals()
 _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
-_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'spec_pb2', _globals)
+_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "spec_pb2", _globals)
 if not _descriptor._USE_C_DESCRIPTORS:
-  _globals['DESCRIPTOR']._loaded_options = None
-  _globals['DESCRIPTOR']._serialized_options = b'Z\005.;api\252\002\nKclLib.API'
-  _globals['_LOADPACKAGE_RESULT_SCOPESENTRY']._loaded_options = None
-  _globals['_LOADPACKAGE_RESULT_SCOPESENTRY']._serialized_options = b'8\001'
-  _globals['_LOADPACKAGE_RESULT_SYMBOLSENTRY']._loaded_options = None
-  _globals['_LOADPACKAGE_RESULT_SYMBOLSENTRY']._serialized_options = b'8\001'
-  _globals['_LOADPACKAGE_RESULT_NODESYMBOLMAPENTRY']._loaded_options = None
-  _globals['_LOADPACKAGE_RESULT_NODESYMBOLMAPENTRY']._serialized_options = b'8\001'
-  _globals['_LOADPACKAGE_RESULT_SYMBOLNODEMAPENTRY']._loaded_options = None
-  _globals['_LOADPACKAGE_RESULT_SYMBOLNODEMAPENTRY']._serialized_options = b'8\001'
-  _globals['_LOADPACKAGE_RESULT_FULLYQUALIFIEDNAMEMAPENTRY']._loaded_options = None
-  _globals['_LOADPACKAGE_RESULT_FULLYQUALIFIEDNAMEMAPENTRY']._serialized_options = b'8\001'
-  _globals['_LOADPACKAGE_RESULT_PKGSCOPEMAPENTRY']._loaded_options = None
-  _globals['_LOADPACKAGE_RESULT_PKGSCOPEMAPENTRY']._serialized_options = b'8\001'
-  _globals['_LISTVARIABLES_RESULT_VARIABLESENTRY']._loaded_options = None
-  _globals['_LISTVARIABLES_RESULT_VARIABLESENTRY']._serialized_options = b'8\001'
-  _globals['_GETSCHEMATYPEMAPPING_RESULT_SCHEMATYPEMAPPINGENTRY']._loaded_options = None
-  _globals['_GETSCHEMATYPEMAPPING_RESULT_SCHEMATYPEMAPPINGENTRY']._serialized_options = b'8\001'
-  _globals['_RENAMECODE_ARGS_SOURCECODESENTRY']._loaded_options = None
-  _globals['_RENAMECODE_ARGS_SOURCECODESENTRY']._serialized_options = b'8\001'
-  _globals['_RENAMECODE_RESULT_CHANGEDCODESENTRY']._loaded_options = None
-  _globals['_RENAMECODE_RESULT_CHANGEDCODESENTRY']._serialized_options = b'8\001'
-  _globals['_KCLTYPE_PROPERTIESENTRY']._loaded_options = None
-  _globals['_KCLTYPE_PROPERTIESENTRY']._serialized_options = b'8\001'
-  _globals['_KCLTYPE_EXAMPLESENTRY']._loaded_options = None
-  _globals['_KCLTYPE_EXAMPLESENTRY']._serialized_options = b'8\001'
-  _globals['_DECORATOR_KEYWORDSENTRY']._loaded_options = None
-  _globals['_DECORATOR_KEYWORDSENTRY']._serialized_options = b'8\001'
-  _globals['_EXTERNALPKG']._serialized_start=27
-  _globals['_EXTERNALPKG']._serialized_end=76
-  _globals['_ARGUMENT']._serialized_start=78
-  _globals['_ARGUMENT']._serialized_end=117
-  _globals['_ERROR']._serialized_start=119
-  _globals['_ERROR']._serialized_end=195
-  _globals['_MESSAGE']._serialized_start=197
-  _globals['_MESSAGE']._serialized_end=255
-  _globals['_PING_ARGS']._serialized_start=257
-  _globals['_PING_ARGS']._serialized_end=283
-  _globals['_PING_RESULT']._serialized_start=285
-  _globals['_PING_RESULT']._serialized_end=313
-  _globals['_GETVERSION_ARGS']._serialized_start=315
-  _globals['_GETVERSION_ARGS']._serialized_end=332
-  _globals['_GETVERSION_RESULT']._serialized_start=334
-  _globals['_GETVERSION_RESULT']._serialized_end=427
-  _globals['_LISTMETHOD_ARGS']._serialized_start=429
-  _globals['_LISTMETHOD_ARGS']._serialized_end=446
-  _globals['_LISTMETHOD_RESULT']._serialized_start=448
-  _globals['_LISTMETHOD_RESULT']._serialized_end=493
-  _globals['_PARSEFILE_ARGS']._serialized_start=495
-  _globals['_PARSEFILE_ARGS']._serialized_end=590
-  _globals['_PARSEFILE_RESULT']._serialized_start=592
-  _globals['_PARSEFILE_RESULT']._serialized_end=678
-  _globals['_PARSEPROGRAM_ARGS']._serialized_start=680
-  _globals['_PARSEPROGRAM_ARGS']._serialized_end=780
-  _globals['_PARSEPROGRAM_RESULT']._serialized_start=782
-  _globals['_PARSEPROGRAM_RESULT']._serialized_end=872
-  _globals['_LOADPACKAGE_ARGS']._serialized_start=875
-  _globals['_LOADPACKAGE_ARGS']._serialized_end=1012
-  _globals['_LOADPACKAGE_RESULT']._serialized_start=1015
-  _globals['_LOADPACKAGE_RESULT']._serialized_end=2030
-  _globals['_LOADPACKAGE_RESULT_SCOPESENTRY']._serialized_start=1597
-  _globals['_LOADPACKAGE_RESULT_SCOPESENTRY']._serialized_end=1662
-  _globals['_LOADPACKAGE_RESULT_SYMBOLSENTRY']._serialized_start=1664
-  _globals['_LOADPACKAGE_RESULT_SYMBOLSENTRY']._serialized_end=1731
-  _globals['_LOADPACKAGE_RESULT_NODESYMBOLMAPENTRY']._serialized_start=1733
-  _globals['_LOADPACKAGE_RESULT_NODESYMBOLMAPENTRY']._serialized_end=1811
-  _globals['_LOADPACKAGE_RESULT_SYMBOLNODEMAPENTRY']._serialized_start=1813
-  _globals['_LOADPACKAGE_RESULT_SYMBOLNODEMAPENTRY']._serialized_end=1865
-  _globals['_LOADPACKAGE_RESULT_FULLYQUALIFIEDNAMEMAPENTRY']._serialized_start=1867
-  _globals['_LOADPACKAGE_RESULT_FULLYQUALIFIEDNAMEMAPENTRY']._serialized_end=1953
-  _globals['_LOADPACKAGE_RESULT_PKGSCOPEMAPENTRY']._serialized_start=1955
-  _globals['_LOADPACKAGE_RESULT_PKGSCOPEMAPENTRY']._serialized_end=2030
-  _globals['_LISTOPTIONS_RESULT']._serialized_start=2032
-  _globals['_LISTOPTIONS_RESULT']._serialized_end=2094
-  _globals['_OPTIONHELP']._serialized_start=2096
-  _globals['_OPTIONHELP']._serialized_end=2191
-  _globals['_SYMBOL']._serialized_start=2194
-  _globals['_SYMBOL']._serialized_end=2390
-  _globals['_SCOPE']._serialized_start=2393
-  _globals['_SCOPE']._serialized_end=2579
-  _globals['_SYMBOLINDEX']._serialized_start=2581
-  _globals['_SYMBOLINDEX']._serialized_end=2630
-  _globals['_SCOPEINDEX']._serialized_start=2632
-  _globals['_SCOPEINDEX']._serialized_end=2680
-  _globals['_EXECPROGRAM_ARGS']._serialized_start=2683
-  _globals['_EXECPROGRAM_ARGS']._serialized_end=3147
-  _globals['_EXECPROGRAM_RESULT']._serialized_start=3149
-  _globals['_EXECPROGRAM_RESULT']._serialized_end=3253
-  _globals['_BUILDPROGRAM_ARGS']._serialized_start=3255
-  _globals['_BUILDPROGRAM_ARGS']._serialized_end=3340
-  _globals['_BUILDPROGRAM_RESULT']._serialized_start=3342
-  _globals['_BUILDPROGRAM_RESULT']._serialized_end=3377
-  _globals['_EXECARTIFACT_ARGS']._serialized_start=3379
-  _globals['_EXECARTIFACT_ARGS']._serialized_end=3462
-  _globals['_FORMATCODE_ARGS']._serialized_start=3464
-  _globals['_FORMATCODE_ARGS']._serialized_end=3497
-  _globals['_FORMATCODE_RESULT']._serialized_start=3499
-  _globals['_FORMATCODE_RESULT']._serialized_end=3537
-  _globals['_FORMATPATH_ARGS']._serialized_start=3539
-  _globals['_FORMATPATH_ARGS']._serialized_end=3570
-  _globals['_FORMATPATH_RESULT']._serialized_start=3572
-  _globals['_FORMATPATH_RESULT']._serialized_end=3614
-  _globals['_LINTPATH_ARGS']._serialized_start=3616
-  _globals['_LINTPATH_ARGS']._serialized_end=3646
-  _globals['_LINTPATH_RESULT']._serialized_start=3648
-  _globals['_LINTPATH_RESULT']._serialized_end=3682
-  _globals['_OVERRIDEFILE_ARGS']._serialized_start=3684
-  _globals['_OVERRIDEFILE_ARGS']._serialized_end=3754
-  _globals['_OVERRIDEFILE_RESULT']._serialized_start=3756
-  _globals['_OVERRIDEFILE_RESULT']._serialized_end=3835
-  _globals['_LISTVARIABLES_OPTIONS']._serialized_start=3837
-  _globals['_LISTVARIABLES_OPTIONS']._serialized_end=3883
-  _globals['_VARIABLELIST']._serialized_start=3885
-  _globals['_VARIABLELIST']._serialized_end=3941
-  _globals['_LISTVARIABLES_ARGS']._serialized_start=3943
-  _globals['_LISTVARIABLES_ARGS']._serialized_end=4046
-  _globals['_LISTVARIABLES_RESULT']._serialized_start=4049
-  _globals['_LISTVARIABLES_RESULT']._serialized_end=4286
-  _globals['_LISTVARIABLES_RESULT_VARIABLESENTRY']._serialized_start=4211
-  _globals['_LISTVARIABLES_RESULT_VARIABLESENTRY']._serialized_end=4286
-  _globals['_VARIABLE']._serialized_start=4289
-  _globals['_VARIABLE']._serialized_end=4437
-  _globals['_MAPENTRY']._serialized_start=4439
-  _globals['_MAPENTRY']._serialized_end=4500
-  _globals['_GETSCHEMATYPEMAPPING_ARGS']._serialized_start=4502
-  _globals['_GETSCHEMATYPEMAPPING_ARGS']._serialized_end=4600
-  _globals['_GETSCHEMATYPEMAPPING_RESULT']._serialized_start=4603
-  _globals['_GETSCHEMATYPEMAPPING_RESULT']._serialized_end=4806
-  _globals['_GETSCHEMATYPEMAPPING_RESULT_SCHEMATYPEMAPPINGENTRY']._serialized_start=4728
-  _globals['_GETSCHEMATYPEMAPPING_RESULT_SCHEMATYPEMAPPINGENTRY']._serialized_end=4806
-  _globals['_VALIDATECODE_ARGS']._serialized_start=4809
-  _globals['_VALIDATECODE_ARGS']._serialized_end=4993
-  _globals['_VALIDATECODE_RESULT']._serialized_start=4995
-  _globals['_VALIDATECODE_RESULT']._serialized_end=5054
-  _globals['_POSITION']._serialized_start=5056
-  _globals['_POSITION']._serialized_end=5114
-  _globals['_LISTDEPFILES_ARGS']._serialized_start=5116
-  _globals['_LISTDEPFILES_ARGS']._serialized_end=5221
-  _globals['_LISTDEPFILES_RESULT']._serialized_start=5223
-  _globals['_LISTDEPFILES_RESULT']._serialized_end=5293
-  _globals['_LOADSETTINGSFILES_ARGS']._serialized_start=5295
-  _globals['_LOADSETTINGSFILES_ARGS']._serialized_end=5352
-  _globals['_LOADSETTINGSFILES_RESULT']._serialized_start=5354
-  _globals['_LOADSETTINGSFILES_RESULT']._serialized_end=5477
-  _globals['_CLICONFIG']._serialized_start=5480
-  _globals['_CLICONFIG']._serialized_end=5739
-  _globals['_KEYVALUEPAIR']._serialized_start=5741
-  _globals['_KEYVALUEPAIR']._serialized_end=5783
-  _globals['_RENAME_ARGS']._serialized_start=5785
-  _globals['_RENAME_ARGS']._serialized_end=5879
-  _globals['_RENAME_RESULT']._serialized_start=5881
-  _globals['_RENAME_RESULT']._serialized_end=5919
-  _globals['_RENAMECODE_ARGS']._serialized_start=5922
-  _globals['_RENAMECODE_ARGS']._serialized_end=6121
-  _globals['_RENAMECODE_ARGS_SOURCECODESENTRY']._serialized_start=6071
-  _globals['_RENAMECODE_ARGS_SOURCECODESENTRY']._serialized_end=6121
-  _globals['_RENAMECODE_RESULT']._serialized_start=6124
-  _globals['_RENAMECODE_RESULT']._serialized_end=6269
-  _globals['_RENAMECODE_RESULT_CHANGEDCODESENTRY']._serialized_start=6218
-  _globals['_RENAMECODE_RESULT_CHANGEDCODESENTRY']._serialized_end=6269
-  _globals['_TEST_ARGS']._serialized_start=6271
-  _globals['_TEST_ARGS']._serialized_end=6389
-  _globals['_TEST_RESULT']._serialized_start=6391
-  _globals['_TEST_RESULT']._serialized_end=6445
-  _globals['_TESTCASEINFO']._serialized_start=6447
-  _globals['_TESTCASEINFO']._serialized_end=6529
-  _globals['_UPDATEDEPENDENCIES_ARGS']._serialized_start=6531
-  _globals['_UPDATEDEPENDENCIES_ARGS']._serialized_end=6595
-  _globals['_UPDATEDEPENDENCIES_RESULT']._serialized_start=6597
-  _globals['_UPDATEDEPENDENCIES_RESULT']._serialized_end=6673
-  _globals['_KCLTYPE']._serialized_start=6676
-  _globals['_KCLTYPE']._serialized_end=7303
-  _globals['_KCLTYPE_PROPERTIESENTRY']._serialized_start=7161
-  _globals['_KCLTYPE_PROPERTIESENTRY']._serialized_end=7232
-  _globals['_KCLTYPE_EXAMPLESENTRY']._serialized_start=7234
-  _globals['_KCLTYPE_EXAMPLESENTRY']._serialized_end=7303
-  _globals['_DECORATOR']._serialized_start=7306
-  _globals['_DECORATOR']._serialized_end=7455
-  _globals['_DECORATOR_KEYWORDSENTRY']._serialized_start=7408
-  _globals['_DECORATOR_KEYWORDSENTRY']._serialized_end=7455
-  _globals['_EXAMPLE']._serialized_start=7457
-  _globals['_EXAMPLE']._serialized_end=7519
-  _globals['_BUILTINSERVICE']._serialized_start=7522
-  _globals['_BUILTINSERVICE']._serialized_end=7672
-  _globals['_KCLVMSERVICE']._serialized_start=7675
-  _globals['_KCLVMSERVICE']._serialized_end=9433
+    _globals["DESCRIPTOR"]._loaded_options = None
+    _globals["DESCRIPTOR"]._serialized_options = b"Z\005.;api\252\002\nKclLib.API"
+    _globals["_LOADPACKAGERESULT_SCOPESENTRY"]._loaded_options = None
+    _globals["_LOADPACKAGERESULT_SCOPESENTRY"]._serialized_options = b"8\001"
+    _globals["_LOADPACKAGERESULT_SYMBOLSENTRY"]._loaded_options = None
+    _globals["_LOADPACKAGERESULT_SYMBOLSENTRY"]._serialized_options = b"8\001"
+    _globals["_LOADPACKAGERESULT_NODESYMBOLMAPENTRY"]._loaded_options = None
+    _globals["_LOADPACKAGERESULT_NODESYMBOLMAPENTRY"]._serialized_options = b"8\001"
+    _globals["_LOADPACKAGERESULT_SYMBOLNODEMAPENTRY"]._loaded_options = None
+    _globals["_LOADPACKAGERESULT_SYMBOLNODEMAPENTRY"]._serialized_options = b"8\001"
+    _globals["_LOADPACKAGERESULT_FULLYQUALIFIEDNAMEMAPENTRY"]._loaded_options = None
+    _globals["_LOADPACKAGERESULT_FULLYQUALIFIEDNAMEMAPENTRY"]._serialized_options = (
+        b"8\001"
+    )
+    _globals["_LOADPACKAGERESULT_PKGSCOPEMAPENTRY"]._loaded_options = None
+    _globals["_LOADPACKAGERESULT_PKGSCOPEMAPENTRY"]._serialized_options = b"8\001"
+    _globals["_LISTVARIABLESRESULT_VARIABLESENTRY"]._loaded_options = None
+    _globals["_LISTVARIABLESRESULT_VARIABLESENTRY"]._serialized_options = b"8\001"
+    _globals["_GETSCHEMATYPEMAPPINGRESULT_SCHEMATYPEMAPPINGENTRY"]._loaded_options = (
+        None
+    )
+    _globals[
+        "_GETSCHEMATYPEMAPPINGRESULT_SCHEMATYPEMAPPINGENTRY"
+    ]._serialized_options = b"8\001"
+    _globals[
+        "_GETSCHEMATYPEMAPPINGUNDERPATHRESULT_SCHEMATYPEMAPPINGENTRY"
+    ]._loaded_options = None
+    _globals[
+        "_GETSCHEMATYPEMAPPINGUNDERPATHRESULT_SCHEMATYPEMAPPINGENTRY"
+    ]._serialized_options = b"8\001"
+    _globals["_RENAMECODEARGS_SOURCECODESENTRY"]._loaded_options = None
+    _globals["_RENAMECODEARGS_SOURCECODESENTRY"]._serialized_options = b"8\001"
+    _globals["_RENAMECODERESULT_CHANGEDCODESENTRY"]._loaded_options = None
+    _globals["_RENAMECODERESULT_CHANGEDCODESENTRY"]._serialized_options = b"8\001"
+    _globals["_KCLTYPE_PROPERTIESENTRY"]._loaded_options = None
+    _globals["_KCLTYPE_PROPERTIESENTRY"]._serialized_options = b"8\001"
+    _globals["_KCLTYPE_EXAMPLESENTRY"]._loaded_options = None
+    _globals["_KCLTYPE_EXAMPLESENTRY"]._serialized_options = b"8\001"
+    _globals["_DECORATOR_KEYWORDSENTRY"]._loaded_options = None
+    _globals["_DECORATOR_KEYWORDSENTRY"]._serialized_options = b"8\001"
+    _globals["_EXTERNALPKG"]._serialized_start = 27
+    _globals["_EXTERNALPKG"]._serialized_end = 76
+    _globals["_ARGUMENT"]._serialized_start = 78
+    _globals["_ARGUMENT"]._serialized_end = 117
+    _globals["_ERROR"]._serialized_start = 119
+    _globals["_ERROR"]._serialized_end = 195
+    _globals["_MESSAGE"]._serialized_start = 197
+    _globals["_MESSAGE"]._serialized_end = 255
+    _globals["_PINGARGS"]._serialized_start = 257
+    _globals["_PINGARGS"]._serialized_end = 282
+    _globals["_PINGRESULT"]._serialized_start = 284
+    _globals["_PINGRESULT"]._serialized_end = 311
+    _globals["_GETVERSIONARGS"]._serialized_start = 313
+    _globals["_GETVERSIONARGS"]._serialized_end = 329
+    _globals["_GETVERSIONRESULT"]._serialized_start = 331
+    _globals["_GETVERSIONRESULT"]._serialized_end = 423
+    _globals["_LISTMETHODARGS"]._serialized_start = 425
+    _globals["_LISTMETHODARGS"]._serialized_end = 441
+    _globals["_LISTMETHODRESULT"]._serialized_start = 443
+    _globals["_LISTMETHODRESULT"]._serialized_end = 487
+    _globals["_PARSEFILEARGS"]._serialized_start = 489
+    _globals["_PARSEFILEARGS"]._serialized_end = 583
+    _globals["_PARSEFILERESULT"]._serialized_start = 585
+    _globals["_PARSEFILERESULT"]._serialized_end = 670
+    _globals["_PARSEPROGRAMARGS"]._serialized_start = 672
+    _globals["_PARSEPROGRAMARGS"]._serialized_end = 771
+    _globals["_PARSEPROGRAMRESULT"]._serialized_start = 773
+    _globals["_PARSEPROGRAMRESULT"]._serialized_end = 862
+    _globals["_LOADPACKAGEARGS"]._serialized_start = 865
+    _globals["_LOADPACKAGEARGS"]._serialized_end = 1000
+    _globals["_LOADPACKAGERESULT"]._serialized_start = 1003
+    _globals["_LOADPACKAGERESULT"]._serialized_end = 2011
+    _globals["_LOADPACKAGERESULT_SCOPESENTRY"]._serialized_start = 1578
+    _globals["_LOADPACKAGERESULT_SCOPESENTRY"]._serialized_end = 1643
+    _globals["_LOADPACKAGERESULT_SYMBOLSENTRY"]._serialized_start = 1645
+    _globals["_LOADPACKAGERESULT_SYMBOLSENTRY"]._serialized_end = 1712
+    _globals["_LOADPACKAGERESULT_NODESYMBOLMAPENTRY"]._serialized_start = 1714
+    _globals["_LOADPACKAGERESULT_NODESYMBOLMAPENTRY"]._serialized_end = 1792
+    _globals["_LOADPACKAGERESULT_SYMBOLNODEMAPENTRY"]._serialized_start = 1794
+    _globals["_LOADPACKAGERESULT_SYMBOLNODEMAPENTRY"]._serialized_end = 1846
+    _globals["_LOADPACKAGERESULT_FULLYQUALIFIEDNAMEMAPENTRY"]._serialized_start = 1848
+    _globals["_LOADPACKAGERESULT_FULLYQUALIFIEDNAMEMAPENTRY"]._serialized_end = 1934
+    _globals["_LOADPACKAGERESULT_PKGSCOPEMAPENTRY"]._serialized_start = 1936
+    _globals["_LOADPACKAGERESULT_PKGSCOPEMAPENTRY"]._serialized_end = 2011
+    _globals["_LISTOPTIONSRESULT"]._serialized_start = 2013
+    _globals["_LISTOPTIONSRESULT"]._serialized_end = 2074
+    _globals["_OPTIONHELP"]._serialized_start = 2076
+    _globals["_OPTIONHELP"]._serialized_end = 2171
+    _globals["_SYMBOL"]._serialized_start = 2174
+    _globals["_SYMBOL"]._serialized_end = 2370
+    _globals["_SCOPE"]._serialized_start = 2373
+    _globals["_SCOPE"]._serialized_end = 2559
+    _globals["_SYMBOLINDEX"]._serialized_start = 2561
+    _globals["_SYMBOLINDEX"]._serialized_end = 2610
+    _globals["_SCOPEINDEX"]._serialized_start = 2612
+    _globals["_SCOPEINDEX"]._serialized_end = 2660
+    _globals["_EXECPROGRAMARGS"]._serialized_start = 2663
+    _globals["_EXECPROGRAMARGS"]._serialized_end = 3126
+    _globals["_EXECPROGRAMRESULT"]._serialized_start = 3128
+    _globals["_EXECPROGRAMRESULT"]._serialized_end = 3231
+    _globals["_BUILDPROGRAMARGS"]._serialized_start = 3233
+    _globals["_BUILDPROGRAMARGS"]._serialized_end = 3316
+    _globals["_BUILDPROGRAMRESULT"]._serialized_start = 3318
+    _globals["_BUILDPROGRAMRESULT"]._serialized_end = 3352
+    _globals["_EXECARTIFACTARGS"]._serialized_start = 3354
+    _globals["_EXECARTIFACTARGS"]._serialized_end = 3435
+    _globals["_FORMATCODEARGS"]._serialized_start = 3437
+    _globals["_FORMATCODEARGS"]._serialized_end = 3469
+    _globals["_FORMATCODERESULT"]._serialized_start = 3471
+    _globals["_FORMATCODERESULT"]._serialized_end = 3508
+    _globals["_FORMATPATHARGS"]._serialized_start = 3510
+    _globals["_FORMATPATHARGS"]._serialized_end = 3540
+    _globals["_FORMATPATHRESULT"]._serialized_start = 3542
+    _globals["_FORMATPATHRESULT"]._serialized_end = 3583
+    _globals["_LINTPATHARGS"]._serialized_start = 3585
+    _globals["_LINTPATHARGS"]._serialized_end = 3614
+    _globals["_LINTPATHRESULT"]._serialized_start = 3616
+    _globals["_LINTPATHRESULT"]._serialized_end = 3649
+    _globals["_OVERRIDEFILEARGS"]._serialized_start = 3651
+    _globals["_OVERRIDEFILEARGS"]._serialized_end = 3720
+    _globals["_OVERRIDEFILERESULT"]._serialized_start = 3722
+    _globals["_OVERRIDEFILERESULT"]._serialized_end = 3800
+    _globals["_LISTVARIABLESOPTIONS"]._serialized_start = 3802
+    _globals["_LISTVARIABLESOPTIONS"]._serialized_end = 3847
+    _globals["_VARIABLELIST"]._serialized_start = 3849
+    _globals["_VARIABLELIST"]._serialized_end = 3905
+    _globals["_LISTVARIABLESARGS"]._serialized_start = 3907
+    _globals["_LISTVARIABLESARGS"]._serialized_end = 4008
+    _globals["_LISTVARIABLESRESULT"]._serialized_start = 4011
+    _globals["_LISTVARIABLESRESULT"]._serialized_end = 4246
+    _globals["_LISTVARIABLESRESULT_VARIABLESENTRY"]._serialized_start = 4171
+    _globals["_LISTVARIABLESRESULT_VARIABLESENTRY"]._serialized_end = 4246
+    _globals["_VARIABLE"]._serialized_start = 4249
+    _globals["_VARIABLE"]._serialized_end = 4397
+    _globals["_MAPENTRY"]._serialized_start = 4399
+    _globals["_MAPENTRY"]._serialized_end = 4460
+    _globals["_GETSCHEMATYPEMAPPINGARGS"]._serialized_start = 4462
+    _globals["_GETSCHEMATYPEMAPPINGARGS"]._serialized_end = 4558
+    _globals["_GETSCHEMATYPEMAPPINGRESULT"]._serialized_start = 4561
+    _globals["_GETSCHEMATYPEMAPPINGRESULT"]._serialized_end = 4762
+    _globals["_GETSCHEMATYPEMAPPINGRESULT_SCHEMATYPEMAPPINGENTRY"]._serialized_start = (
+        4684
+    )
+    _globals["_GETSCHEMATYPEMAPPINGRESULT_SCHEMATYPEMAPPINGENTRY"]._serialized_end = (
+        4762
+    )
+    _globals["_GETSCHEMATYPEMAPPINGUNDERPATHRESULT"]._serialized_start = 4765
+    _globals["_GETSCHEMATYPEMAPPINGUNDERPATHRESULT"]._serialized_end = 4988
+    _globals[
+        "_GETSCHEMATYPEMAPPINGUNDERPATHRESULT_SCHEMATYPEMAPPINGENTRY"
+    ]._serialized_start = 4906
+    _globals[
+        "_GETSCHEMATYPEMAPPINGUNDERPATHRESULT_SCHEMATYPEMAPPINGENTRY"
+    ]._serialized_end = 4988
+    _globals["_SCHEMATYPES"]._serialized_start = 4990
+    _globals["_SCHEMATYPES"]._serialized_end = 5046
+    _globals["_VALIDATECODEARGS"]._serialized_start = 5049
+    _globals["_VALIDATECODEARGS"]._serialized_end = 5232
+    _globals["_VALIDATECODERESULT"]._serialized_start = 5234
+    _globals["_VALIDATECODERESULT"]._serialized_end = 5292
+    _globals["_POSITION"]._serialized_start = 5294
+    _globals["_POSITION"]._serialized_end = 5352
+    _globals["_LISTDEPFILESARGS"]._serialized_start = 5354
+    _globals["_LISTDEPFILESARGS"]._serialized_end = 5458
+    _globals["_LISTDEPFILESRESULT"]._serialized_start = 5460
+    _globals["_LISTDEPFILESRESULT"]._serialized_end = 5529
+    _globals["_LOADSETTINGSFILESARGS"]._serialized_start = 5531
+    _globals["_LOADSETTINGSFILESARGS"]._serialized_end = 5587
+    _globals["_LOADSETTINGSFILESRESULT"]._serialized_start = 5589
+    _globals["_LOADSETTINGSFILESRESULT"]._serialized_end = 5711
+    _globals["_CLICONFIG"]._serialized_start = 5714
+    _globals["_CLICONFIG"]._serialized_end = 5973
+    _globals["_KEYVALUEPAIR"]._serialized_start = 5975
+    _globals["_KEYVALUEPAIR"]._serialized_end = 6017
+    _globals["_RENAMEARGS"]._serialized_start = 6019
+    _globals["_RENAMEARGS"]._serialized_end = 6112
+    _globals["_RENAMERESULT"]._serialized_start = 6114
+    _globals["_RENAMERESULT"]._serialized_end = 6151
+    _globals["_RENAMECODEARGS"]._serialized_start = 6154
+    _globals["_RENAMECODEARGS"]._serialized_end = 6351
+    _globals["_RENAMECODEARGS_SOURCECODESENTRY"]._serialized_start = 6301
+    _globals["_RENAMECODEARGS_SOURCECODESENTRY"]._serialized_end = 6351
+    _globals["_RENAMECODERESULT"]._serialized_start = 6354
+    _globals["_RENAMECODERESULT"]._serialized_end = 6497
+    _globals["_RENAMECODERESULT_CHANGEDCODESENTRY"]._serialized_start = 6446
+    _globals["_RENAMECODERESULT_CHANGEDCODESENTRY"]._serialized_end = 6497
+    _globals["_TESTARGS"]._serialized_start = 6499
+    _globals["_TESTARGS"]._serialized_end = 6615
+    _globals["_TESTRESULT"]._serialized_start = 6617
+    _globals["_TESTRESULT"]._serialized_end = 6670
+    _globals["_TESTCASEINFO"]._serialized_start = 6672
+    _globals["_TESTCASEINFO"]._serialized_end = 6754
+    _globals["_UPDATEDEPENDENCIESARGS"]._serialized_start = 6756
+    _globals["_UPDATEDEPENDENCIESARGS"]._serialized_end = 6819
+    _globals["_UPDATEDEPENDENCIESRESULT"]._serialized_start = 6821
+    _globals["_UPDATEDEPENDENCIESRESULT"]._serialized_end = 6896
+    _globals["_KCLTYPE"]._serialized_start = 6899
+    _globals["_KCLTYPE"]._serialized_end = 7526
+    _globals["_KCLTYPE_PROPERTIESENTRY"]._serialized_start = 7384
+    _globals["_KCLTYPE_PROPERTIESENTRY"]._serialized_end = 7455
+    _globals["_KCLTYPE_EXAMPLESENTRY"]._serialized_start = 7457
+    _globals["_KCLTYPE_EXAMPLESENTRY"]._serialized_end = 7526
+    _globals["_DECORATOR"]._serialized_start = 7529
+    _globals["_DECORATOR"]._serialized_end = 7678
+    _globals["_DECORATOR_KEYWORDSENTRY"]._serialized_start = 7631
+    _globals["_DECORATOR_KEYWORDSENTRY"]._serialized_end = 7678
+    _globals["_EXAMPLE"]._serialized_start = 7680
+    _globals["_EXAMPLE"]._serialized_end = 7742
+    _globals["_BUILTINSERVICE"]._serialized_start = 7745
+    _globals["_BUILTINSERVICE"]._serialized_end = 7891
+    _globals["_KCLSERVICE"]._serialized_start = 7894
+    _globals["_KCLSERVICE"]._serialized_end = 9606
 # @@protoc_insertion_point(module_scope)
diff --git a/python/kcl_lib/api/spec_pb2.pyi b/python/kcl_lib/api/spec_pb2.pyi
index 6707673f..d4dbbcea 100644
--- a/python/kcl_lib/api/spec_pb2.pyi
+++ b/python/kcl_lib/api/spec_pb2.pyi
@@ -1,18 +1,13 @@
 from google.protobuf.internal import containers as _containers
 from google.protobuf import descriptor as _descriptor
 from google.protobuf import message as _message
-from typing import (
-    ClassVar as _ClassVar,
-    Iterable as _Iterable,
-    Mapping as _Mapping,
-    Optional as _Optional,
-    Union as _Union,
-)
+from collections.abc import Iterable as _Iterable, Mapping as _Mapping
+from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
 
 DESCRIPTOR: _descriptor.FileDescriptor
 
 class ExternalPkg(_message.Message):
-    __slots__ = ("pkg_name", "pkg_path")
+    __slots__ = ()
     PKG_NAME_FIELD_NUMBER: _ClassVar[int]
     PKG_PATH_FIELD_NUMBER: _ClassVar[int]
     pkg_name: str
@@ -22,7 +17,7 @@ class ExternalPkg(_message.Message):
     ) -> None: ...
 
 class Argument(_message.Message):
-    __slots__ = ("name", "value")
+    __slots__ = ()
     NAME_FIELD_NUMBER: _ClassVar[int]
     VALUE_FIELD_NUMBER: _ClassVar[int]
     name: str
@@ -32,7 +27,7 @@ class Argument(_message.Message):
     ) -> None: ...
 
 class Error(_message.Message):
-    __slots__ = ("level", "code", "messages")
+    __slots__ = ()
     LEVEL_FIELD_NUMBER: _ClassVar[int]
     CODE_FIELD_NUMBER: _ClassVar[int]
     MESSAGES_FIELD_NUMBER: _ClassVar[int]
@@ -47,7 +42,7 @@ class Error(_message.Message):
     ) -> None: ...
 
 class Message(_message.Message):
-    __slots__ = ("msg", "pos")
+    __slots__ = ()
     MSG_FIELD_NUMBER: _ClassVar[int]
     POS_FIELD_NUMBER: _ClassVar[int]
     msg: str
@@ -58,24 +53,24 @@ class Message(_message.Message):
         pos: _Optional[_Union[Position, _Mapping]] = ...,
     ) -> None: ...
 
-class Ping_Args(_message.Message):
-    __slots__ = ("value",)
+class PingArgs(_message.Message):
+    __slots__ = ()
     VALUE_FIELD_NUMBER: _ClassVar[int]
     value: str
     def __init__(self, value: _Optional[str] = ...) -> None: ...
 
-class Ping_Result(_message.Message):
-    __slots__ = ("value",)
+class PingResult(_message.Message):
+    __slots__ = ()
     VALUE_FIELD_NUMBER: _ClassVar[int]
     value: str
     def __init__(self, value: _Optional[str] = ...) -> None: ...
 
-class GetVersion_Args(_message.Message):
+class GetVersionArgs(_message.Message):
     __slots__ = ()
     def __init__(self) -> None: ...
 
-class GetVersion_Result(_message.Message):
-    __slots__ = ("version", "checksum", "git_sha", "version_info")
+class GetVersionResult(_message.Message):
+    __slots__ = ()
     VERSION_FIELD_NUMBER: _ClassVar[int]
     CHECKSUM_FIELD_NUMBER: _ClassVar[int]
     GIT_SHA_FIELD_NUMBER: _ClassVar[int]
@@ -92,18 +87,18 @@ class GetVersion_Result(_message.Message):
         version_info: _Optional[str] = ...,
     ) -> None: ...
 
-class ListMethod_Args(_message.Message):
+class ListMethodArgs(_message.Message):
     __slots__ = ()
     def __init__(self) -> None: ...
 
-class ListMethod_Result(_message.Message):
-    __slots__ = ("method_name_list",)
+class ListMethodResult(_message.Message):
+    __slots__ = ()
     METHOD_NAME_LIST_FIELD_NUMBER: _ClassVar[int]
     method_name_list: _containers.RepeatedScalarFieldContainer[str]
     def __init__(self, method_name_list: _Optional[_Iterable[str]] = ...) -> None: ...
 
-class ParseFile_Args(_message.Message):
-    __slots__ = ("path", "source", "external_pkgs")
+class ParseFileArgs(_message.Message):
+    __slots__ = ()
     PATH_FIELD_NUMBER: _ClassVar[int]
     SOURCE_FIELD_NUMBER: _ClassVar[int]
     EXTERNAL_PKGS_FIELD_NUMBER: _ClassVar[int]
@@ -117,8 +112,8 @@ class ParseFile_Args(_message.Message):
         external_pkgs: _Optional[_Iterable[_Union[ExternalPkg, _Mapping]]] = ...,
     ) -> None: ...
 
-class ParseFile_Result(_message.Message):
-    __slots__ = ("ast_json", "deps", "errors")
+class ParseFileResult(_message.Message):
+    __slots__ = ()
     AST_JSON_FIELD_NUMBER: _ClassVar[int]
     DEPS_FIELD_NUMBER: _ClassVar[int]
     ERRORS_FIELD_NUMBER: _ClassVar[int]
@@ -132,8 +127,8 @@ class ParseFile_Result(_message.Message):
         errors: _Optional[_Iterable[_Union[Error, _Mapping]]] = ...,
     ) -> None: ...
 
-class ParseProgram_Args(_message.Message):
-    __slots__ = ("paths", "sources", "external_pkgs")
+class ParseProgramArgs(_message.Message):
+    __slots__ = ()
     PATHS_FIELD_NUMBER: _ClassVar[int]
     SOURCES_FIELD_NUMBER: _ClassVar[int]
     EXTERNAL_PKGS_FIELD_NUMBER: _ClassVar[int]
@@ -147,8 +142,8 @@ class ParseProgram_Args(_message.Message):
         external_pkgs: _Optional[_Iterable[_Union[ExternalPkg, _Mapping]]] = ...,
     ) -> None: ...
 
-class ParseProgram_Result(_message.Message):
-    __slots__ = ("ast_json", "paths", "errors")
+class ParseProgramResult(_message.Message):
+    __slots__ = ()
     AST_JSON_FIELD_NUMBER: _ClassVar[int]
     PATHS_FIELD_NUMBER: _ClassVar[int]
     ERRORS_FIELD_NUMBER: _ClassVar[int]
@@ -162,40 +157,29 @@ class ParseProgram_Result(_message.Message):
         errors: _Optional[_Iterable[_Union[Error, _Mapping]]] = ...,
     ) -> None: ...
 
-class LoadPackage_Args(_message.Message):
-    __slots__ = ("parse_args", "resolve_ast", "load_builtin", "with_ast_index")
+class LoadPackageArgs(_message.Message):
+    __slots__ = ()
     PARSE_ARGS_FIELD_NUMBER: _ClassVar[int]
     RESOLVE_AST_FIELD_NUMBER: _ClassVar[int]
     LOAD_BUILTIN_FIELD_NUMBER: _ClassVar[int]
     WITH_AST_INDEX_FIELD_NUMBER: _ClassVar[int]
-    parse_args: ParseProgram_Args
+    parse_args: ParseProgramArgs
     resolve_ast: bool
     load_builtin: bool
     with_ast_index: bool
     def __init__(
         self,
-        parse_args: _Optional[_Union[ParseProgram_Args, _Mapping]] = ...,
-        resolve_ast: bool = ...,
-        load_builtin: bool = ...,
-        with_ast_index: bool = ...,
+        parse_args: _Optional[_Union[ParseProgramArgs, _Mapping]] = ...,
+        resolve_ast: _Optional[bool] = ...,
+        load_builtin: _Optional[bool] = ...,
+        with_ast_index: _Optional[bool] = ...,
     ) -> None: ...
 
-class LoadPackage_Result(_message.Message):
-    __slots__ = (
-        "program",
-        "paths",
-        "parse_errors",
-        "type_errors",
-        "scopes",
-        "symbols",
-        "node_symbol_map",
-        "symbol_node_map",
-        "fully_qualified_name_map",
-        "pkg_scope_map",
-    )
+class LoadPackageResult(_message.Message):
+    __slots__ = ()
 
     class ScopesEntry(_message.Message):
-        __slots__ = ("key", "value")
+        __slots__ = ()
         KEY_FIELD_NUMBER: _ClassVar[int]
         VALUE_FIELD_NUMBER: _ClassVar[int]
         key: str
@@ -207,7 +191,7 @@ class LoadPackage_Result(_message.Message):
         ) -> None: ...
 
     class SymbolsEntry(_message.Message):
-        __slots__ = ("key", "value")
+        __slots__ = ()
         KEY_FIELD_NUMBER: _ClassVar[int]
         VALUE_FIELD_NUMBER: _ClassVar[int]
         key: str
@@ -219,7 +203,7 @@ class LoadPackage_Result(_message.Message):
         ) -> None: ...
 
     class NodeSymbolMapEntry(_message.Message):
-        __slots__ = ("key", "value")
+        __slots__ = ()
         KEY_FIELD_NUMBER: _ClassVar[int]
         VALUE_FIELD_NUMBER: _ClassVar[int]
         key: str
@@ -231,7 +215,7 @@ class LoadPackage_Result(_message.Message):
         ) -> None: ...
 
     class SymbolNodeMapEntry(_message.Message):
-        __slots__ = ("key", "value")
+        __slots__ = ()
         KEY_FIELD_NUMBER: _ClassVar[int]
         VALUE_FIELD_NUMBER: _ClassVar[int]
         key: str
@@ -241,7 +225,7 @@ class LoadPackage_Result(_message.Message):
         ) -> None: ...
 
     class FullyQualifiedNameMapEntry(_message.Message):
-        __slots__ = ("key", "value")
+        __slots__ = ()
         KEY_FIELD_NUMBER: _ClassVar[int]
         VALUE_FIELD_NUMBER: _ClassVar[int]
         key: str
@@ -253,7 +237,7 @@ class LoadPackage_Result(_message.Message):
         ) -> None: ...
 
     class PkgScopeMapEntry(_message.Message):
-        __slots__ = ("key", "value")
+        __slots__ = ()
         KEY_FIELD_NUMBER: _ClassVar[int]
         VALUE_FIELD_NUMBER: _ClassVar[int]
         key: str
@@ -298,8 +282,8 @@ class LoadPackage_Result(_message.Message):
         pkg_scope_map: _Optional[_Mapping[str, ScopeIndex]] = ...,
     ) -> None: ...
 
-class ListOptions_Result(_message.Message):
-    __slots__ = ("options",)
+class ListOptionsResult(_message.Message):
+    __slots__ = ()
     OPTIONS_FIELD_NUMBER: _ClassVar[int]
     options: _containers.RepeatedCompositeFieldContainer[OptionHelp]
     def __init__(
@@ -307,7 +291,7 @@ class ListOptions_Result(_message.Message):
     ) -> None: ...
 
 class OptionHelp(_message.Message):
-    __slots__ = ("name", "type", "required", "default_value", "help")
+    __slots__ = ()
     NAME_FIELD_NUMBER: _ClassVar[int]
     TYPE_FIELD_NUMBER: _ClassVar[int]
     REQUIRED_FIELD_NUMBER: _ClassVar[int]
@@ -322,13 +306,13 @@ class OptionHelp(_message.Message):
         self,
         name: _Optional[str] = ...,
         type: _Optional[str] = ...,
-        required: bool = ...,
+        required: _Optional[bool] = ...,
         default_value: _Optional[str] = ...,
         help: _Optional[str] = ...,
     ) -> None: ...
 
 class Symbol(_message.Message):
-    __slots__ = ("ty", "name", "owner", "attrs", "is_global")
+    __slots__ = ()
     TY_FIELD_NUMBER: _ClassVar[int]
     NAME_FIELD_NUMBER: _ClassVar[int]
     OWNER_FIELD_NUMBER: _ClassVar[int]
@@ -346,12 +330,12 @@ class Symbol(_message.Message):
         name: _Optional[str] = ...,
         owner: _Optional[_Union[SymbolIndex, _Mapping]] = ...,
         attrs: _Optional[_Iterable[_Union[SymbolIndex, _Mapping]]] = ...,
-        is_global: bool = ...,
+        is_global: _Optional[bool] = ...,
         **kwargs
     ) -> None: ...
 
 class Scope(_message.Message):
-    __slots__ = ("kind", "parent", "owner", "children", "defs")
+    __slots__ = ()
     KIND_FIELD_NUMBER: _ClassVar[int]
     PARENT_FIELD_NUMBER: _ClassVar[int]
     OWNER_FIELD_NUMBER: _ClassVar[int]
@@ -372,7 +356,7 @@ class Scope(_message.Message):
     ) -> None: ...
 
 class SymbolIndex(_message.Message):
-    __slots__ = ("i", "g", "kind")
+    __slots__ = ()
     I_FIELD_NUMBER: _ClassVar[int]
     G_FIELD_NUMBER: _ClassVar[int]
     KIND_FIELD_NUMBER: _ClassVar[int]
@@ -387,7 +371,7 @@ class SymbolIndex(_message.Message):
     ) -> None: ...
 
 class ScopeIndex(_message.Message):
-    __slots__ = ("i", "g", "kind")
+    __slots__ = ()
     I_FIELD_NUMBER: _ClassVar[int]
     G_FIELD_NUMBER: _ClassVar[int]
     KIND_FIELD_NUMBER: _ClassVar[int]
@@ -401,27 +385,8 @@ class ScopeIndex(_message.Message):
         kind: _Optional[str] = ...,
     ) -> None: ...
 
-class ExecProgram_Args(_message.Message):
-    __slots__ = (
-        "work_dir",
-        "k_filename_list",
-        "k_code_list",
-        "args",
-        "overrides",
-        "disable_yaml_result",
-        "print_override_ast",
-        "strict_range_check",
-        "disable_none",
-        "verbose",
-        "debug",
-        "sort_keys",
-        "external_pkgs",
-        "include_schema_type_path",
-        "compile_only",
-        "show_hidden",
-        "path_selector",
-        "fast_eval",
-    )
+class ExecProgramArgs(_message.Message):
+    __slots__ = ()
     WORK_DIR_FIELD_NUMBER: _ClassVar[int]
     K_FILENAME_LIST_FIELD_NUMBER: _ClassVar[int]
     K_CODE_LIST_FIELD_NUMBER: _ClassVar[int]
@@ -465,23 +430,23 @@ class ExecProgram_Args(_message.Message):
         k_code_list: _Optional[_Iterable[str]] = ...,
         args: _Optional[_Iterable[_Union[Argument, _Mapping]]] = ...,
         overrides: _Optional[_Iterable[str]] = ...,
-        disable_yaml_result: bool = ...,
-        print_override_ast: bool = ...,
-        strict_range_check: bool = ...,
-        disable_none: bool = ...,
+        disable_yaml_result: _Optional[bool] = ...,
+        print_override_ast: _Optional[bool] = ...,
+        strict_range_check: _Optional[bool] = ...,
+        disable_none: _Optional[bool] = ...,
         verbose: _Optional[int] = ...,
         debug: _Optional[int] = ...,
-        sort_keys: bool = ...,
+        sort_keys: _Optional[bool] = ...,
         external_pkgs: _Optional[_Iterable[_Union[ExternalPkg, _Mapping]]] = ...,
-        include_schema_type_path: bool = ...,
-        compile_only: bool = ...,
-        show_hidden: bool = ...,
+        include_schema_type_path: _Optional[bool] = ...,
+        compile_only: _Optional[bool] = ...,
+        show_hidden: _Optional[bool] = ...,
         path_selector: _Optional[_Iterable[str]] = ...,
-        fast_eval: bool = ...,
+        fast_eval: _Optional[bool] = ...,
     ) -> None: ...
 
-class ExecProgram_Result(_message.Message):
-    __slots__ = ("json_result", "yaml_result", "log_message", "err_message")
+class ExecProgramResult(_message.Message):
+    __slots__ = ()
     JSON_RESULT_FIELD_NUMBER: _ClassVar[int]
     YAML_RESULT_FIELD_NUMBER: _ClassVar[int]
     LOG_MESSAGE_FIELD_NUMBER: _ClassVar[int]
@@ -498,74 +463,74 @@ class ExecProgram_Result(_message.Message):
         err_message: _Optional[str] = ...,
     ) -> None: ...
 
-class BuildProgram_Args(_message.Message):
-    __slots__ = ("exec_args", "output")
+class BuildProgramArgs(_message.Message):
+    __slots__ = ()
     EXEC_ARGS_FIELD_NUMBER: _ClassVar[int]
     OUTPUT_FIELD_NUMBER: _ClassVar[int]
-    exec_args: ExecProgram_Args
+    exec_args: ExecProgramArgs
     output: str
     def __init__(
         self,
-        exec_args: _Optional[_Union[ExecProgram_Args, _Mapping]] = ...,
+        exec_args: _Optional[_Union[ExecProgramArgs, _Mapping]] = ...,
         output: _Optional[str] = ...,
     ) -> None: ...
 
-class BuildProgram_Result(_message.Message):
-    __slots__ = ("path",)
+class BuildProgramResult(_message.Message):
+    __slots__ = ()
     PATH_FIELD_NUMBER: _ClassVar[int]
     path: str
     def __init__(self, path: _Optional[str] = ...) -> None: ...
 
-class ExecArtifact_Args(_message.Message):
-    __slots__ = ("path", "exec_args")
+class ExecArtifactArgs(_message.Message):
+    __slots__ = ()
     PATH_FIELD_NUMBER: _ClassVar[int]
     EXEC_ARGS_FIELD_NUMBER: _ClassVar[int]
     path: str
-    exec_args: ExecProgram_Args
+    exec_args: ExecProgramArgs
     def __init__(
         self,
         path: _Optional[str] = ...,
-        exec_args: _Optional[_Union[ExecProgram_Args, _Mapping]] = ...,
+        exec_args: _Optional[_Union[ExecProgramArgs, _Mapping]] = ...,
     ) -> None: ...
 
-class FormatCode_Args(_message.Message):
-    __slots__ = ("source",)
+class FormatCodeArgs(_message.Message):
+    __slots__ = ()
     SOURCE_FIELD_NUMBER: _ClassVar[int]
     source: str
     def __init__(self, source: _Optional[str] = ...) -> None: ...
 
-class FormatCode_Result(_message.Message):
-    __slots__ = ("formatted",)
+class FormatCodeResult(_message.Message):
+    __slots__ = ()
     FORMATTED_FIELD_NUMBER: _ClassVar[int]
     formatted: bytes
     def __init__(self, formatted: _Optional[bytes] = ...) -> None: ...
 
-class FormatPath_Args(_message.Message):
-    __slots__ = ("path",)
+class FormatPathArgs(_message.Message):
+    __slots__ = ()
     PATH_FIELD_NUMBER: _ClassVar[int]
     path: str
     def __init__(self, path: _Optional[str] = ...) -> None: ...
 
-class FormatPath_Result(_message.Message):
-    __slots__ = ("changed_paths",)
+class FormatPathResult(_message.Message):
+    __slots__ = ()
     CHANGED_PATHS_FIELD_NUMBER: _ClassVar[int]
     changed_paths: _containers.RepeatedScalarFieldContainer[str]
     def __init__(self, changed_paths: _Optional[_Iterable[str]] = ...) -> None: ...
 
-class LintPath_Args(_message.Message):
-    __slots__ = ("paths",)
+class LintPathArgs(_message.Message):
+    __slots__ = ()
     PATHS_FIELD_NUMBER: _ClassVar[int]
     paths: _containers.RepeatedScalarFieldContainer[str]
     def __init__(self, paths: _Optional[_Iterable[str]] = ...) -> None: ...
 
-class LintPath_Result(_message.Message):
-    __slots__ = ("results",)
+class LintPathResult(_message.Message):
+    __slots__ = ()
     RESULTS_FIELD_NUMBER: _ClassVar[int]
     results: _containers.RepeatedScalarFieldContainer[str]
     def __init__(self, results: _Optional[_Iterable[str]] = ...) -> None: ...
 
-class OverrideFile_Args(_message.Message):
-    __slots__ = ("file", "specs", "import_paths")
+class OverrideFileArgs(_message.Message):
+    __slots__ = ()
     FILE_FIELD_NUMBER: _ClassVar[int]
     SPECS_FIELD_NUMBER: _ClassVar[int]
     IMPORT_PATHS_FIELD_NUMBER: _ClassVar[int]
@@ -579,52 +544,52 @@ class OverrideFile_Args(_message.Message):
         import_paths: _Optional[_Iterable[str]] = ...,
     ) -> None: ...
 
-class OverrideFile_Result(_message.Message):
-    __slots__ = ("result", "parse_errors")
+class OverrideFileResult(_message.Message):
+    __slots__ = ()
     RESULT_FIELD_NUMBER: _ClassVar[int]
     PARSE_ERRORS_FIELD_NUMBER: _ClassVar[int]
     result: bool
     parse_errors: _containers.RepeatedCompositeFieldContainer[Error]
     def __init__(
         self,
-        result: bool = ...,
+        result: _Optional[bool] = ...,
         parse_errors: _Optional[_Iterable[_Union[Error, _Mapping]]] = ...,
     ) -> None: ...
 
-class ListVariables_Options(_message.Message):
-    __slots__ = ("merge_program",)
+class ListVariablesOptions(_message.Message):
+    __slots__ = ()
     MERGE_PROGRAM_FIELD_NUMBER: _ClassVar[int]
     merge_program: bool
-    def __init__(self, merge_program: bool = ...) -> None: ...
+    def __init__(self, merge_program: _Optional[bool] = ...) -> None: ...
 
 class VariableList(_message.Message):
-    __slots__ = ("variables",)
+    __slots__ = ()
     VARIABLES_FIELD_NUMBER: _ClassVar[int]
     variables: _containers.RepeatedCompositeFieldContainer[Variable]
     def __init__(
         self, variables: _Optional[_Iterable[_Union[Variable, _Mapping]]] = ...
     ) -> None: ...
 
-class ListVariables_Args(_message.Message):
-    __slots__ = ("files", "specs", "options")
+class ListVariablesArgs(_message.Message):
+    __slots__ = ()
     FILES_FIELD_NUMBER: _ClassVar[int]
     SPECS_FIELD_NUMBER: _ClassVar[int]
     OPTIONS_FIELD_NUMBER: _ClassVar[int]
     files: _containers.RepeatedScalarFieldContainer[str]
     specs: _containers.RepeatedScalarFieldContainer[str]
-    options: ListVariables_Options
+    options: ListVariablesOptions
     def __init__(
         self,
         files: _Optional[_Iterable[str]] = ...,
         specs: _Optional[_Iterable[str]] = ...,
-        options: _Optional[_Union[ListVariables_Options, _Mapping]] = ...,
+        options: _Optional[_Union[ListVariablesOptions, _Mapping]] = ...,
     ) -> None: ...
 
-class ListVariables_Result(_message.Message):
-    __slots__ = ("variables", "unsupported_codes", "parse_errors")
+class ListVariablesResult(_message.Message):
+    __slots__ = ()
 
     class VariablesEntry(_message.Message):
-        __slots__ = ("key", "value")
+        __slots__ = ()
         KEY_FIELD_NUMBER: _ClassVar[int]
         VALUE_FIELD_NUMBER: _ClassVar[int]
         key: str
@@ -649,7 +614,7 @@ class ListVariables_Result(_message.Message):
     ) -> None: ...
 
 class Variable(_message.Message):
-    __slots__ = ("value", "type_name", "op_sym", "list_items", "dict_entries")
+    __slots__ = ()
     VALUE_FIELD_NUMBER: _ClassVar[int]
     TYPE_NAME_FIELD_NUMBER: _ClassVar[int]
     OP_SYM_FIELD_NUMBER: _ClassVar[int]
@@ -670,7 +635,7 @@ class Variable(_message.Message):
     ) -> None: ...
 
 class MapEntry(_message.Message):
-    __slots__ = ("key", "value")
+    __slots__ = ()
     KEY_FIELD_NUMBER: _ClassVar[int]
     VALUE_FIELD_NUMBER: _ClassVar[int]
     key: str
@@ -681,23 +646,23 @@ class MapEntry(_message.Message):
         value: _Optional[_Union[Variable, _Mapping]] = ...,
     ) -> None: ...
 
-class GetSchemaTypeMapping_Args(_message.Message):
-    __slots__ = ("exec_args", "schema_name")
+class GetSchemaTypeMappingArgs(_message.Message):
+    __slots__ = ()
     EXEC_ARGS_FIELD_NUMBER: _ClassVar[int]
     SCHEMA_NAME_FIELD_NUMBER: _ClassVar[int]
-    exec_args: ExecProgram_Args
+    exec_args: ExecProgramArgs
     schema_name: str
     def __init__(
         self,
-        exec_args: _Optional[_Union[ExecProgram_Args, _Mapping]] = ...,
+        exec_args: _Optional[_Union[ExecProgramArgs, _Mapping]] = ...,
         schema_name: _Optional[str] = ...,
     ) -> None: ...
 
-class GetSchemaTypeMapping_Result(_message.Message):
-    __slots__ = ("schema_type_mapping",)
+class GetSchemaTypeMappingResult(_message.Message):
+    __slots__ = ()
 
     class SchemaTypeMappingEntry(_message.Message):
-        __slots__ = ("key", "value")
+        __slots__ = ()
         KEY_FIELD_NUMBER: _ClassVar[int]
         VALUE_FIELD_NUMBER: _ClassVar[int]
         key: str
@@ -714,16 +679,37 @@ class GetSchemaTypeMapping_Result(_message.Message):
         self, schema_type_mapping: _Optional[_Mapping[str, KclType]] = ...
     ) -> None: ...
 
-class ValidateCode_Args(_message.Message):
-    __slots__ = (
-        "datafile",
-        "data",
-        "file",
-        "code",
-        "schema",
-        "attribute_name",
-        "format",
-    )
+class GetSchemaTypeMappingUnderPathResult(_message.Message):
+    __slots__ = ()
+
+    class SchemaTypeMappingEntry(_message.Message):
+        __slots__ = ()
+        KEY_FIELD_NUMBER: _ClassVar[int]
+        VALUE_FIELD_NUMBER: _ClassVar[int]
+        key: str
+        value: SchemaTypes
+        def __init__(
+            self,
+            key: _Optional[str] = ...,
+            value: _Optional[_Union[SchemaTypes, _Mapping]] = ...,
+        ) -> None: ...
+
+    SCHEMA_TYPE_MAPPING_FIELD_NUMBER: _ClassVar[int]
+    schema_type_mapping: _containers.MessageMap[str, SchemaTypes]
+    def __init__(
+        self, schema_type_mapping: _Optional[_Mapping[str, SchemaTypes]] = ...
+    ) -> None: ...
+
+class SchemaTypes(_message.Message):
+    __slots__ = ()
+    SCHEMA_TYPE_FIELD_NUMBER: _ClassVar[int]
+    schema_type: _containers.RepeatedCompositeFieldContainer[KclType]
+    def __init__(
+        self, schema_type: _Optional[_Iterable[_Union[KclType, _Mapping]]] = ...
+    ) -> None: ...
+
+class ValidateCodeArgs(_message.Message):
+    __slots__ = ()
     DATAFILE_FIELD_NUMBER: _ClassVar[int]
     DATA_FIELD_NUMBER: _ClassVar[int]
     FILE_FIELD_NUMBER: _ClassVar[int]
@@ -731,6 +717,7 @@ class ValidateCode_Args(_message.Message):
     SCHEMA_FIELD_NUMBER: _ClassVar[int]
     ATTRIBUTE_NAME_FIELD_NUMBER: _ClassVar[int]
     FORMAT_FIELD_NUMBER: _ClassVar[int]
+    EXTERNAL_PKGS_FIELD_NUMBER: _ClassVar[int]
     datafile: str
     data: str
     file: str
@@ -738,6 +725,7 @@ class ValidateCode_Args(_message.Message):
     schema: str
     attribute_name: str
     format: str
+    external_pkgs: _containers.RepeatedCompositeFieldContainer[ExternalPkg]
     def __init__(
         self,
         datafile: _Optional[str] = ...,
@@ -747,20 +735,21 @@ class ValidateCode_Args(_message.Message):
         schema: _Optional[str] = ...,
         attribute_name: _Optional[str] = ...,
         format: _Optional[str] = ...,
+        external_pkgs: _Optional[_Iterable[_Union[ExternalPkg, _Mapping]]] = ...,
     ) -> None: ...
 
-class ValidateCode_Result(_message.Message):
-    __slots__ = ("success", "err_message")
+class ValidateCodeResult(_message.Message):
+    __slots__ = ()
     SUCCESS_FIELD_NUMBER: _ClassVar[int]
     ERR_MESSAGE_FIELD_NUMBER: _ClassVar[int]
     success: bool
     err_message: str
     def __init__(
-        self, success: bool = ..., err_message: _Optional[str] = ...
+        self, success: _Optional[bool] = ..., err_message: _Optional[str] = ...
     ) -> None: ...
 
 class Position(_message.Message):
-    __slots__ = ("line", "column", "filename")
+    __slots__ = ()
     LINE_FIELD_NUMBER: _ClassVar[int]
     COLUMN_FIELD_NUMBER: _ClassVar[int]
     FILENAME_FIELD_NUMBER: _ClassVar[int]
@@ -774,8 +763,8 @@ class Position(_message.Message):
         filename: _Optional[str] = ...,
     ) -> None: ...
 
-class ListDepFiles_Args(_message.Message):
-    __slots__ = ("work_dir", "use_abs_path", "include_all", "use_fast_parser")
+class ListDepFilesArgs(_message.Message):
+    __slots__ = ()
     WORK_DIR_FIELD_NUMBER: _ClassVar[int]
     USE_ABS_PATH_FIELD_NUMBER: _ClassVar[int]
     INCLUDE_ALL_FIELD_NUMBER: _ClassVar[int]
@@ -787,13 +776,13 @@ class ListDepFiles_Args(_message.Message):
     def __init__(
         self,
         work_dir: _Optional[str] = ...,
-        use_abs_path: bool = ...,
-        include_all: bool = ...,
-        use_fast_parser: bool = ...,
+        use_abs_path: _Optional[bool] = ...,
+        include_all: _Optional[bool] = ...,
+        use_fast_parser: _Optional[bool] = ...,
     ) -> None: ...
 
-class ListDepFiles_Result(_message.Message):
-    __slots__ = ("pkgroot", "pkgpath", "files")
+class ListDepFilesResult(_message.Message):
+    __slots__ = ()
     PKGROOT_FIELD_NUMBER: _ClassVar[int]
     PKGPATH_FIELD_NUMBER: _ClassVar[int]
     FILES_FIELD_NUMBER: _ClassVar[int]
@@ -807,8 +796,8 @@ class ListDepFiles_Result(_message.Message):
         files: _Optional[_Iterable[str]] = ...,
     ) -> None: ...
 
-class LoadSettingsFiles_Args(_message.Message):
-    __slots__ = ("work_dir", "files")
+class LoadSettingsFilesArgs(_message.Message):
+    __slots__ = ()
     WORK_DIR_FIELD_NUMBER: _ClassVar[int]
     FILES_FIELD_NUMBER: _ClassVar[int]
     work_dir: str
@@ -817,8 +806,8 @@ class LoadSettingsFiles_Args(_message.Message):
         self, work_dir: _Optional[str] = ..., files: _Optional[_Iterable[str]] = ...
     ) -> None: ...
 
-class LoadSettingsFiles_Result(_message.Message):
-    __slots__ = ("kcl_cli_configs", "kcl_options")
+class LoadSettingsFilesResult(_message.Message):
+    __slots__ = ()
     KCL_CLI_CONFIGS_FIELD_NUMBER: _ClassVar[int]
     KCL_OPTIONS_FIELD_NUMBER: _ClassVar[int]
     kcl_cli_configs: CliConfig
@@ -830,20 +819,7 @@ class LoadSettingsFiles_Result(_message.Message):
     ) -> None: ...
 
 class CliConfig(_message.Message):
-    __slots__ = (
-        "files",
-        "output",
-        "overrides",
-        "path_selector",
-        "strict_range_check",
-        "disable_none",
-        "verbose",
-        "debug",
-        "sort_keys",
-        "show_hidden",
-        "include_schema_type_path",
-        "fast_eval",
-    )
+    __slots__ = ()
     FILES_FIELD_NUMBER: _ClassVar[int]
     OUTPUT_FIELD_NUMBER: _ClassVar[int]
     OVERRIDES_FIELD_NUMBER: _ClassVar[int]
@@ -874,18 +850,18 @@ class CliConfig(_message.Message):
         output: _Optional[str] = ...,
         overrides: _Optional[_Iterable[str]] = ...,
         path_selector: _Optional[_Iterable[str]] = ...,
-        strict_range_check: bool = ...,
-        disable_none: bool = ...,
+        strict_range_check: _Optional[bool] = ...,
+        disable_none: _Optional[bool] = ...,
         verbose: _Optional[int] = ...,
-        debug: bool = ...,
-        sort_keys: bool = ...,
-        show_hidden: bool = ...,
-        include_schema_type_path: bool = ...,
-        fast_eval: bool = ...,
+        debug: _Optional[bool] = ...,
+        sort_keys: _Optional[bool] = ...,
+        show_hidden: _Optional[bool] = ...,
+        include_schema_type_path: _Optional[bool] = ...,
+        fast_eval: _Optional[bool] = ...,
     ) -> None: ...
 
 class KeyValuePair(_message.Message):
-    __slots__ = ("key", "value")
+    __slots__ = ()
     KEY_FIELD_NUMBER: _ClassVar[int]
     VALUE_FIELD_NUMBER: _ClassVar[int]
     key: str
@@ -894,8 +870,8 @@ class KeyValuePair(_message.Message):
         self, key: _Optional[str] = ..., value: _Optional[str] = ...
     ) -> None: ...
 
-class Rename_Args(_message.Message):
-    __slots__ = ("package_root", "symbol_path", "file_paths", "new_name")
+class RenameArgs(_message.Message):
+    __slots__ = ()
     PACKAGE_ROOT_FIELD_NUMBER: _ClassVar[int]
     SYMBOL_PATH_FIELD_NUMBER: _ClassVar[int]
     FILE_PATHS_FIELD_NUMBER: _ClassVar[int]
@@ -912,17 +888,17 @@ class Rename_Args(_message.Message):
         new_name: _Optional[str] = ...,
     ) -> None: ...
 
-class Rename_Result(_message.Message):
-    __slots__ = ("changed_files",)
+class RenameResult(_message.Message):
+    __slots__ = ()
     CHANGED_FILES_FIELD_NUMBER: _ClassVar[int]
     changed_files: _containers.RepeatedScalarFieldContainer[str]
     def __init__(self, changed_files: _Optional[_Iterable[str]] = ...) -> None: ...
 
-class RenameCode_Args(_message.Message):
-    __slots__ = ("package_root", "symbol_path", "source_codes", "new_name")
+class RenameCodeArgs(_message.Message):
+    __slots__ = ()
 
     class SourceCodesEntry(_message.Message):
-        __slots__ = ("key", "value")
+        __slots__ = ()
         KEY_FIELD_NUMBER: _ClassVar[int]
         VALUE_FIELD_NUMBER: _ClassVar[int]
         key: str
@@ -947,11 +923,11 @@ class RenameCode_Args(_message.Message):
         new_name: _Optional[str] = ...,
     ) -> None: ...
 
-class RenameCode_Result(_message.Message):
-    __slots__ = ("changed_codes",)
+class RenameCodeResult(_message.Message):
+    __slots__ = ()
 
     class ChangedCodesEntry(_message.Message):
-        __slots__ = ("key", "value")
+        __slots__ = ()
         KEY_FIELD_NUMBER: _ClassVar[int]
         VALUE_FIELD_NUMBER: _ClassVar[int]
         key: str
@@ -964,26 +940,26 @@ class RenameCode_Result(_message.Message):
     changed_codes: _containers.ScalarMap[str, str]
     def __init__(self, changed_codes: _Optional[_Mapping[str, str]] = ...) -> None: ...
 
-class Test_Args(_message.Message):
-    __slots__ = ("exec_args", "pkg_list", "run_regexp", "fail_fast")
+class TestArgs(_message.Message):
+    __slots__ = ()
     EXEC_ARGS_FIELD_NUMBER: _ClassVar[int]
     PKG_LIST_FIELD_NUMBER: _ClassVar[int]
     RUN_REGEXP_FIELD_NUMBER: _ClassVar[int]
     FAIL_FAST_FIELD_NUMBER: _ClassVar[int]
-    exec_args: ExecProgram_Args
+    exec_args: ExecProgramArgs
     pkg_list: _containers.RepeatedScalarFieldContainer[str]
     run_regexp: str
     fail_fast: bool
     def __init__(
         self,
-        exec_args: _Optional[_Union[ExecProgram_Args, _Mapping]] = ...,
+        exec_args: _Optional[_Union[ExecProgramArgs, _Mapping]] = ...,
         pkg_list: _Optional[_Iterable[str]] = ...,
         run_regexp: _Optional[str] = ...,
-        fail_fast: bool = ...,
+        fail_fast: _Optional[bool] = ...,
     ) -> None: ...
 
-class Test_Result(_message.Message):
-    __slots__ = ("info",)
+class TestResult(_message.Message):
+    __slots__ = ()
     INFO_FIELD_NUMBER: _ClassVar[int]
     info: _containers.RepeatedCompositeFieldContainer[TestCaseInfo]
     def __init__(
@@ -991,7 +967,7 @@ class Test_Result(_message.Message):
     ) -> None: ...
 
 class TestCaseInfo(_message.Message):
-    __slots__ = ("name", "error", "duration", "log_message")
+    __slots__ = ()
     NAME_FIELD_NUMBER: _ClassVar[int]
     ERROR_FIELD_NUMBER: _ClassVar[int]
     DURATION_FIELD_NUMBER: _ClassVar[int]
@@ -1008,18 +984,18 @@ class TestCaseInfo(_message.Message):
         log_message: _Optional[str] = ...,
     ) -> None: ...
 
-class UpdateDependencies_Args(_message.Message):
-    __slots__ = ("manifest_path", "vendor")
+class UpdateDependenciesArgs(_message.Message):
+    __slots__ = ()
     MANIFEST_PATH_FIELD_NUMBER: _ClassVar[int]
     VENDOR_FIELD_NUMBER: _ClassVar[int]
     manifest_path: str
     vendor: bool
     def __init__(
-        self, manifest_path: _Optional[str] = ..., vendor: bool = ...
+        self, manifest_path: _Optional[str] = ..., vendor: _Optional[bool] = ...
     ) -> None: ...
 
-class UpdateDependencies_Result(_message.Message):
-    __slots__ = ("external_pkgs",)
+class UpdateDependenciesResult(_message.Message):
+    __slots__ = ()
     EXTERNAL_PKGS_FIELD_NUMBER: _ClassVar[int]
     external_pkgs: _containers.RepeatedCompositeFieldContainer[ExternalPkg]
     def __init__(
@@ -1027,27 +1003,10 @@ class UpdateDependencies_Result(_message.Message):
     ) -> None: ...
 
 class KclType(_message.Message):
-    __slots__ = (
-        "type",
-        "union_types",
-        "default",
-        "schema_name",
-        "schema_doc",
-        "properties",
-        "required",
-        "key",
-        "item",
-        "line",
-        "decorators",
-        "filename",
-        "pkg_path",
-        "description",
-        "examples",
-        "base_schema",
-    )
+    __slots__ = ()
 
     class PropertiesEntry(_message.Message):
-        __slots__ = ("key", "value")
+        __slots__ = ()
         KEY_FIELD_NUMBER: _ClassVar[int]
         VALUE_FIELD_NUMBER: _ClassVar[int]
         key: str
@@ -1059,7 +1018,7 @@ class KclType(_message.Message):
         ) -> None: ...
 
     class ExamplesEntry(_message.Message):
-        __slots__ = ("key", "value")
+        __slots__ = ()
         KEY_FIELD_NUMBER: _ClassVar[int]
         VALUE_FIELD_NUMBER: _ClassVar[int]
         key: str
@@ -1123,10 +1082,10 @@ class KclType(_message.Message):
     ) -> None: ...
 
 class Decorator(_message.Message):
-    __slots__ = ("name", "arguments", "keywords")
+    __slots__ = ()
 
     class KeywordsEntry(_message.Message):
-        __slots__ = ("key", "value")
+        __slots__ = ()
         KEY_FIELD_NUMBER: _ClassVar[int]
         VALUE_FIELD_NUMBER: _ClassVar[int]
         key: str
@@ -1149,7 +1108,7 @@ class Decorator(_message.Message):
     ) -> None: ...
 
 class Example(_message.Message):
-    __slots__ = ("summary", "description", "value")
+    __slots__ = ()
     SUMMARY_FIELD_NUMBER: _ClassVar[int]
     DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
     VALUE_FIELD_NUMBER: _ClassVar[int]
diff --git a/python/pyproject.toml b/python/pyproject.toml
index 6b54d5c7..c9f2abfb 100644
--- a/python/pyproject.toml
+++ b/python/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "maturin"
 
 [project]
 name = "kcl_lib"
-version = "0.11.2"
+version = "0.12.0"
 requires-python = ">=3.7"
 classifiers = [
     "Programming Language :: Rust",
diff --git a/python/src/lib.rs b/python/src/lib.rs
index 68454a29..d44b06ec 100644
--- a/python/src/lib.rs
+++ b/python/src/lib.rs
@@ -4,7 +4,7 @@ use pyo3::prelude::*;
 /// Call KCL API with the API name and argument protobuf bytes.
 #[pyfunction]
 fn call<'a>(name: &'a [u8], args: &'a [u8]) -> PyResult> {
-    kclvm_api::call(name, args).map_err(|e| PyErr::new::(e.to_string()))
+    kcl_api::call(name, args).map_err(|e| PyErr::new::(e.to_string()))
 }
 
 /// Call KCL API with the API name and plugin agent address and
@@ -15,7 +15,7 @@ fn call_with_plugin_agent<'a>(
     args: &'a [u8],
     plugin_agent: u64,
 ) -> PyResult> {
-    kclvm_api::call_with_plugin_agent(name, args, plugin_agent)
+    kcl_api::call_with_plugin_agent(name, args, plugin_agent)
         .map_err(|e| PyErr::new::(e.to_string()))
 }
 
diff --git a/python/tests/api_test.py b/python/tests/api_test.py
index de514f6d..c7a148b4 100644
--- a/python/tests/api_test.py
+++ b/python/tests/api_test.py
@@ -6,7 +6,7 @@ def test_exec_api():
     import kcl_lib.api as api
 
     # Call the `exec_program` method with appropriate arguments
-    args = api.ExecProgram_Args(k_filename_list=[TEST_FILE])
+    args = api.ExecProgramArgs(k_filename_list=[TEST_FILE])
     # Usage
     api = api.API()
     result = api.exec_program(args)
@@ -19,7 +19,7 @@ def test_exec_api_failed():
 
     try:
         # Call the `exec_program` method with appropriate arguments
-        args = api.ExecProgram_Args(k_filename_list=["file_not_found"])
+        args = api.ExecProgramArgs(k_filename_list=["file_not_found"])
         # Usage
         api = api.API()
         result = api.exec_program(args)
@@ -32,7 +32,7 @@ def test_parse_program_api():
     """Parse KCL program with entry files and return the AST JSON string."""
     import kcl_lib.api as api
 
-    args = api.ParseProgram_Args(paths=[TEST_FILE])
+    args = api.ParseProgramArgs(paths=[TEST_FILE])
     api = api.API()
     result = api.parse_program(args)
     assert len(result.paths) == 1
@@ -43,7 +43,7 @@ def test_parse_file_api():
     """Parse KCL single file to Module AST JSON string with import dependencies and parse errors."""
     import kcl_lib.api as api
 
-    args = api.ParseFile_Args(path=TEST_FILE)
+    args = api.ParseFileArgs(path=TEST_FILE)
     api = api.API()
     result = api.parse_file(args)
     assert len(result.deps) == 0
@@ -57,8 +57,8 @@ def test_load_package_api():
     import kcl_lib.api as api
 
     # Call the `load_package` method with appropriate arguments
-    args = api.LoadPackage_Args(
-        parse_args=api.ParseProgram_Args(paths=[TEST_FILE]), resolve_ast=True
+    args = api.LoadPackageArgs(
+        parse_args=api.ParseProgramArgs(paths=[TEST_FILE]), resolve_ast=True
     )
     # Usage
     api = api.API()
@@ -72,7 +72,7 @@ def test_list_variables_api():
     import kcl_lib.api as api
 
     # Call the `list_variable` method with appropriate arguments
-    args = api.ListVariables_Args(files=[TEST_FILE])
+    args = api.ListVariablesArgs(files=[TEST_FILE])
     # Usage
     api = api.API()
     result = api.list_variables(args)
@@ -85,7 +85,7 @@ def test_list_options_api():
     """list_options provides users with the ability to parse KCL program and get all option information."""
     import kcl_lib.api as api
 
-    args = api.ParseProgram_Args(paths=["./tests/test_data/option/main.k"])
+    args = api.ParseProgramArgs(paths=["./tests/test_data/option/main.k"])
     api = api.API()
     result = api.list_options(args)
     assert len(result.options) == 3
@@ -98,9 +98,9 @@ def test_get_schema_type_api():
     """Get schema type mapping defined in the program."""
     import kcl_lib.api as api
 
-    exec_args = api.ExecProgram_Args(k_filename_list=[TEST_FILE])
+    exec_args = api.ExecProgramArgs(k_filename_list=[TEST_FILE])
     # Call the `get_schema_type_mapping` method with appropriate arguments
-    args = api.GetSchemaTypeMapping_Args(exec_args=exec_args)
+    args = api.GetSchemaTypeMappingArgs(exec_args=exec_args)
     # Usage
     api = api.API()
     result = api.get_schema_type_mapping(args)
@@ -119,7 +119,7 @@ def test_override_file_api():
 
     pathlib.Path(test_file).write_text(pathlib.Path(bak_file).read_text())
 
-    args = api.OverrideFile_Args(
+    args = api.OverrideFileArgs(
         file=test_file,
         specs=["b.a=2"],
     )
@@ -152,7 +152,7 @@ def test_format_code_api():
         0 <   age <   120
 """
 
-    args = api.FormatCode_Args(source=source_code)
+    args = api.FormatCodeArgs(source=source_code)
 
     api_instance = api.API()
     result = api_instance.format_code(args)
@@ -177,7 +177,7 @@ def test_format_path_api():
 
     TEST_PATH = "./tests/test_data/format_path/test.k"
 
-    args = api.FormatPath_Args(path=TEST_PATH)
+    args = api.FormatPathArgs(path=TEST_PATH)
 
     api_instance = api.API()
     result = api_instance.format_path(args)
@@ -191,7 +191,7 @@ def test_lint_path_api():
 
     TEST_PATH = "./tests/test_data/lint_path/test-lint.k"
 
-    args = api.LintPath_Args(paths=[TEST_PATH])
+    args = api.LintPathArgs(paths=[TEST_PATH])
 
     api_instance = api.API()
     result = api_instance.lint_path(args)
@@ -213,7 +213,7 @@ def test_validate_code_api():
 """
     data = '{"name": "Alice", "age": 10}'
 
-    args = api.ValidateCode_Args(code=code, data=data, format="json")
+    args = api.ValidateCodeArgs(code=code, data=data, format="json")
 
     api_instance = api.API()
     result = api_instance.validate_code(args)
@@ -233,7 +233,7 @@ def test_rename_api():
         pathlib.Path("./tests/test_data/rename/main.bak").read_text()
     )
 
-    args = api.Rename_Args(
+    args = api.RenameArgs(
         package_root="./tests/test_data/rename",
         symbol_path="a",
         file_paths=["./tests/test_data/rename/main.k"],
@@ -252,7 +252,7 @@ def test_rename_code_api():
     """
     import kcl_lib.api as api
 
-    args = api.RenameCode_Args(
+    args = api.RenameCodeArgs(
         package_root="/mock/path",
         symbol_path="a",
         source_codes={"/mock/path/main.k": "a = 1\nb = a"},
@@ -269,7 +269,7 @@ def test_testing_api():
     """Test KCL packages with test arguments."""
     import kcl_lib.api as api
 
-    args = api.Test_Args(
+    args = api.TestArgs(
         pkg_list=["./tests/test_data/testing/..."],
     )
 
@@ -283,7 +283,7 @@ def test_load_settings_files_api():
     """Load the setting file config defined in `kcl.yaml`"""
     import kcl_lib.api as api
 
-    args = api.LoadSettingsFiles_Args(
+    args = api.LoadSettingsFilesArgs(
         work_dir="./tests/test_data", files=["./tests/test_data/settings/kcl.yaml"]
     )
 
@@ -303,7 +303,7 @@ def test_update_dependencies_api():
     """
     import kcl_lib.api as api
 
-    args = api.UpdateDependencies_Args(
+    args = api.UpdateDependenciesArgs(
         manifest_path="./tests/test_data/update_dependencies"
     )
 
@@ -319,13 +319,13 @@ def test_update_dependencies_api():
 def test_exec_api_with_external_dependencies():
     import kcl_lib.api as api
 
-    args = api.UpdateDependencies_Args(
+    args = api.UpdateDependenciesArgs(
         manifest_path="./tests/test_data/update_dependencies"
     )
 
     api_instance = api.API()
     result = api_instance.update_dependencies(args)
-    exec_args = api.ExecProgram_Args(
+    exec_args = api.ExecProgramArgs(
         k_filename_list=["./tests/test_data/update_dependencies/main.k"],
         external_pkgs=result.external_pkgs,
     )
diff --git a/python/tests/plugin_test.py b/python/tests/plugin_test.py
index 8b5ec82e..6e14299e 100644
--- a/python/tests/plugin_test.py
+++ b/python/tests/plugin_test.py
@@ -6,7 +6,7 @@
 
 def test_exec_api():
     plugin.register_plugin("my_plugin", {"add": lambda x, y: x + y})
-    result = api.API().exec_program(api.ExecProgram_Args(k_filename_list=[TEST_FILE]))
+    result = api.API().exec_program(api.ExecProgramArgs(k_filename_list=[TEST_FILE]))
     assert result.yaml_result == "result: 2"
 
 
@@ -17,5 +17,5 @@ def func(x, y):
         raise ValueError(error_msg)
 
     plugin.register_plugin("my_plugin", {"add": func})
-    result = api.API().exec_program(api.ExecProgram_Args(k_filename_list=[TEST_FILE]))
+    result = api.API().exec_program(api.ExecProgramArgs(k_filename_list=[TEST_FILE]))
     assert error_msg in result.err_message
diff --git a/spec/Makefile b/spec/Makefile
index 4a9189dd..6f7cf5af 100644
--- a/spec/Makefile
+++ b/spec/Makefile
@@ -5,5 +5,5 @@ run:
 	protoc spec.proto --python_out ../python/kcl_lib/api
 	protoc spec.proto --go_out ../go/api
 	protoc spec.proto --csharp_out ../dotnet/KclLib/api
-	// brew install swift-protobuf
+	# brew install swift-protobuf
 	protoc spec.proto --swift_out=Visibility=Public:../swift/Sources/KclLib
diff --git a/spec/spec.proto b/spec/spec.proto
index 04ad32c8..02539aea 100644
--- a/spec/spec.proto
+++ b/spec/spec.proto
@@ -56,14 +56,14 @@ message Message {
 // Service for built-in functionality.
 service BuiltinService {
 	// Sends a ping request.
-	rpc Ping(Ping_Args) returns (Ping_Result);
+	rpc Ping(PingArgs) returns (PingResult);
 	// Lists available methods.
-	rpc ListMethod(ListMethod_Args) returns (ListMethod_Result);
+	rpc ListMethod(ListMethodArgs) returns (ListMethodResult);
 }
 
 // Service for KCL VM interactions.
-service KclvmService {
-	/// Ping KclvmService, return the same value as the parameter
+service KclService {
+	/// Ping KclService, return the same value as the parameter
 	///
 	/// # Examples
 	///
@@ -87,9 +87,9 @@ service KclvmService {
 	///     "id": 1
 	/// }
 	/// ```
-	rpc Ping(Ping_Args) returns (Ping_Result);
+	rpc Ping(PingArgs) returns (PingResult);
 
-	/// GetVersion KclvmService, return the kclvm service version information
+	/// GetVersion KclService, return the kcl service version information
 	///
 	/// # Examples
 	///
@@ -106,15 +106,15 @@ service KclvmService {
 	/// {
 	///     "jsonrpc": "2.0",
 	///     "result": {
-	///         "version": "0.11.1",
+	///         "version": "0.9.1",
 	///         "checksum": "c020ab3eb4b9179219d6837a57f5d323",
 	///         "git_sha": "1a9a72942fffc9f62cb8f1ae4e1d5ca32aa1f399",
-	///         "version_info": "Version: 0.10.8-c020ab3eb4b9179219d6837a57f5d323\nPlatform: aarch64-apple-darwin\nGitCommit: 1a9a72942fffc9f62cb8f1ae4e1d5ca32aa1f399"
+	///         "version_info": "Version: 0.9.1-c020ab3eb4b9179219d6837a57f5d323\nPlatform: aarch64-apple-darwin\nGitCommit: 1a9a72942fffc9f62cb8f1ae4e1d5ca32aa1f399"
 	///     },
 	///     "id": 1
 	/// }
 	/// ```
-	rpc GetVersion(GetVersion_Args) returns (GetVersion_Result);
+	rpc GetVersion(GetVersionArgs) returns (GetVersionResult);
 
 	/// Parse KCL program with entry files.
 	///
@@ -142,7 +142,7 @@ service KclvmService {
 	///     "id": 1
 	/// }
 	/// ```
-	rpc ParseProgram(ParseProgram_Args) returns (ParseProgram_Result);
+	rpc ParseProgram(ParseProgramArgs) returns (ParseProgramResult);
 
 	/// Parse KCL single file to Module AST JSON string with import dependencies
 	/// and parse errors.
@@ -171,7 +171,7 @@ service KclvmService {
 	///     "id": 1
 	/// }
 	/// ```
-	rpc ParseFile(ParseFile_Args) returns (ParseFile_Result);
+	rpc ParseFile(ParseFileArgs) returns (ParseFileResult);
 
 	/// load_package provides users with the ability to parse kcl program and semantic model
 	/// information including symbols, types, definitions, etc.
@@ -210,7 +210,7 @@ service KclvmService {
 	///     "id": 1
 	/// }
 	/// ```
-	rpc LoadPackage(LoadPackage_Args) returns (LoadPackage_Result);
+	rpc LoadPackage(LoadPackageArgs) returns (LoadPackageResult);
 
 	/// list_options provides users with the ability to parse kcl program and get all option information.
 	///
@@ -240,7 +240,7 @@ service KclvmService {
 	///     "id": 1
 	/// }
 	/// ```
-	rpc ListOptions(ParseProgram_Args) returns (ListOptions_Result);
+	rpc ListOptions(ParseProgramArgs) returns (ListOptionsResult);
 
 	/// list_variables provides users with the ability to parse kcl program and get all variables by specs.
 	///
@@ -275,7 +275,7 @@ service KclvmService {
 	///     "id": 1
 	/// }
 	/// ```
-	rpc ListVariables(ListVariables_Args) returns (ListVariables_Result);
+	rpc ListVariables(ListVariablesArgs) returns (ListVariablesResult);
 
 	/// Execute KCL file with args. **Note that it is not thread safe.**
 	///
@@ -368,7 +368,7 @@ service KclvmService {
 	///     "id": 4
 	/// }
 	/// ```
-	rpc ExecProgram(ExecProgram_Args) returns (ExecProgram_Result);
+	rpc ExecProgram(ExecProgramArgs) returns (ExecProgramResult);
 
 	/// Build the KCL program to an artifact.
 	///
@@ -398,7 +398,7 @@ service KclvmService {
 	///     "id": 1
 	/// }
 	/// ```
-	rpc BuildProgram(BuildProgram_Args) returns (BuildProgram_Result);
+	rpc BuildProgram(BuildProgramArgs) returns (BuildProgramResult);
 
 	/// Execute the KCL artifact with args. **Note that it is not thread safe.**
 	///
@@ -431,7 +431,7 @@ service KclvmService {
 	///     "id": 1
 	/// }
 	/// ```
-	rpc ExecArtifact(ExecArtifact_Args) returns (ExecProgram_Result);
+	rpc ExecArtifact(ExecArtifactArgs) returns (ExecProgramResult);
 
 	/// Override KCL file with args.
 	///
@@ -459,7 +459,7 @@ service KclvmService {
 	///     "id": 1
 	/// }
 	/// ```
-	rpc OverrideFile(OverrideFile_Args) returns (OverrideFile_Result);
+	rpc OverrideFile(OverrideFileArgs) returns (OverrideFileResult);
 
 	/// Get schema type mapping.
 	///
@@ -506,7 +506,7 @@ service KclvmService {
 	///     "id": 1
 	/// }
 	/// ```
-	rpc GetSchemaTypeMapping(GetSchemaTypeMapping_Args) returns (GetSchemaTypeMapping_Result);
+	rpc GetSchemaTypeMapping(GetSchemaTypeMappingArgs) returns (GetSchemaTypeMappingResult);
 
 	/// Format code source.
 	///
@@ -532,7 +532,7 @@ service KclvmService {
 	///     "id": 1
 	/// }
 	/// ```
-	rpc FormatCode(FormatCode_Args) returns (FormatCode_Result);
+	rpc FormatCode(FormatCodeArgs) returns (FormatCodeResult);
 
 	/// Format KCL file or directory path contains KCL files and returns the changed file paths.
 	///
@@ -558,7 +558,7 @@ service KclvmService {
 	///     "id": 1
 	/// }
 	/// ```
-	rpc FormatPath(FormatPath_Args) returns (FormatPath_Result);
+	rpc FormatPath(FormatPathArgs) returns (FormatPathResult);
 
 	/// Lint files and return error messages including errors and warnings.
 	///
@@ -584,7 +584,7 @@ service KclvmService {
 	///     "id": 1
 	/// }
 	/// ```
-	rpc LintPath(LintPath_Args) returns (LintPath_Result);
+	rpc LintPath(LintPathArgs) returns (LintPathResult);
 
 	/// Validate code using schema and data strings.
 	///
@@ -614,9 +614,9 @@ service KclvmService {
 	///     "id": 1
 	/// }
 	/// ```
-	rpc ValidateCode(ValidateCode_Args) returns (ValidateCode_Result);
+	rpc ValidateCode(ValidateCodeArgs) returns (ValidateCodeResult);
 
-	rpc ListDepFiles(ListDepFiles_Args) returns (ListDepFiles_Result);
+	rpc ListDepFiles(ListDepFilesArgs) returns (ListDepFilesResult);
 	/// Build setting file config from args.
 	///
 	/// # Examples
@@ -656,7 +656,7 @@ service KclvmService {
 	///     "id": 1
 	/// }
 	/// ```
-	rpc LoadSettingsFiles(LoadSettingsFiles_Args) returns (LoadSettingsFiles_Result);
+	rpc LoadSettingsFiles(LoadSettingsFilesArgs) returns (LoadSettingsFilesResult);
 
 	/// Rename all the occurrences of the target symbol in the files. This API will rewrite files if they contain symbols to be renamed.
 	/// Return the file paths that got changed.
@@ -686,7 +686,7 @@ service KclvmService {
 	///     "id": 1
 	/// }
 	/// ```
-	rpc Rename(Rename_Args) returns (Rename_Result);
+	rpc Rename(RenameArgs) returns (RenameResult);
 
 	/// Rename all the occurrences of the target symbol and return the modified code if any code has been changed. This API won't rewrite files but return the changed code.
 	///
@@ -719,7 +719,7 @@ service KclvmService {
 	///     "id": 1
 	/// }
 	/// ```
-	rpc RenameCode(RenameCode_Args) returns (RenameCode_Result);
+	rpc RenameCode(RenameCodeArgs) returns (RenameCodeResult);
 
 	/// Test KCL packages with test arguments.
 	///
@@ -752,7 +752,7 @@ service KclvmService {
 	///     "id": 1
 	/// }
 	/// ```
-	rpc Test(Test_Args) returns (Test_Result);
+	rpc Test(TestArgs) returns (TestResult);
 
 	/// Download and update dependencies defined in the kcl.mod file.
 	///
@@ -802,28 +802,28 @@ service KclvmService {
 	///     "id": 2
 	/// }
 	/// ```
-	rpc UpdateDependencies(UpdateDependencies_Args) returns (UpdateDependencies_Result);
+	rpc UpdateDependencies(UpdateDependenciesArgs) returns (UpdateDependenciesResult);
 }
 
 // Message for ping request arguments.
-message Ping_Args {
+message PingArgs {
 	// Value to be sent in the ping request.
 	string value = 1;
 }
 
 // Message for ping response.
-message Ping_Result {
+message PingResult {
 	// Value received in the ping response.
 	string value = 1;
 }
 
 // Message for version request arguments. Empty message.
-message GetVersion_Args {
+message GetVersionArgs {
 	// empty
 }
 
 // Message for version response.
-message GetVersion_Result {
+message GetVersionResult {
 	// KCL version.
 	string version = 1;
 	// Checksum of the KCL version.
@@ -835,18 +835,18 @@ message GetVersion_Result {
 }
 
 // Message for list method request arguments. Empty message.
-message ListMethod_Args {
+message ListMethodArgs {
 	// empty
 }
 
 // Message for list method response.
-message ListMethod_Result {
+message ListMethodResult {
 	// List of available method names.
 	repeated string method_name_list = 1;
 }
 
 // Message for parse file request arguments.
-message ParseFile_Args {
+message ParseFileArgs {
 	// Path of the file to be parsed.
 	string path = 1;
 	// Source code to be parsed.
@@ -856,7 +856,7 @@ message ParseFile_Args {
 }
 
 // Message for parse file response.
-message ParseFile_Result {
+message ParseFileResult {
 	// Abstract Syntax Tree (AST) in JSON format.
 	string ast_json = 1;
 	// File dependency paths.
@@ -866,7 +866,7 @@ message ParseFile_Result {
 }
 
 // Message for parse program request arguments.
-message ParseProgram_Args {
+message ParseProgramArgs {
 	// Paths of the program files to be parsed.
 	repeated string paths = 1;
 	// Source codes to be parsed.
@@ -876,7 +876,7 @@ message ParseProgram_Args {
 }
 
 // Message for parse program response.
-message ParseProgram_Result {
+message ParseProgramResult {
 	// Abstract Syntax Tree (AST) in JSON format.
 	string ast_json = 1;
 	// Returns the files in the order they should be compiled.
@@ -886,9 +886,9 @@ message ParseProgram_Result {
 }
 
 // Message for load package request arguments.
-message LoadPackage_Args {
+message LoadPackageArgs {
 	// Arguments for parsing the program.
-	ParseProgram_Args parse_args = 1;
+	ParseProgramArgs parse_args = 1;
 	// Flag indicating whether to resolve AST.
 	bool resolve_ast = 2;
 	// Flag indicating whether to load built-in modules.
@@ -898,7 +898,7 @@ message LoadPackage_Args {
 }
 
 // Message for load package response.
-message LoadPackage_Result {
+message LoadPackageResult {
 	// Program Abstract Syntax Tree (AST) in JSON format.
 	string program = 1;
 	// Returns the files in the order they should be compiled.
@@ -922,7 +922,7 @@ message LoadPackage_Result {
 }
 
 // Message for list options response.
-message ListOptions_Result {
+message ListOptionsResult {
 	// List of available options.
 	repeated OptionHelp options = 2;
 }
@@ -992,7 +992,7 @@ message ScopeIndex {
 }
 
 // Message for execute program request arguments.
-message ExecProgram_Args {
+message ExecProgramArgs {
 	// Working directory.
 	string work_dir = 1;
 	// List of KCL filenames.
@@ -1032,7 +1032,7 @@ message ExecProgram_Args {
 }
 
 // Message for execute program response.
-message ExecProgram_Result {
+message ExecProgramResult {
 	// Result in JSON format.
 	string json_result = 1;
 	// Result in YAML format.
@@ -1044,65 +1044,65 @@ message ExecProgram_Result {
 }
 
 // Message for build program request arguments.
-message BuildProgram_Args {
+message BuildProgramArgs {
 	// Arguments for executing the program.
-	ExecProgram_Args exec_args = 1;
+	ExecProgramArgs exec_args = 1;
 	// Output path.
 	string output = 2;
 }
 
 // Message for build program response.
-message BuildProgram_Result {
+message BuildProgramResult {
 	// Path of the built program.
 	string path = 1;
 }
 
 // Message for execute artifact request arguments.
-message ExecArtifact_Args {
+message ExecArtifactArgs {
 	// Path of the artifact.
 	string path = 1;
 	// Arguments for executing the program.
-	ExecProgram_Args exec_args = 2;
+	ExecProgramArgs exec_args = 2;
 }
 
 // Message for format code request arguments.
-message FormatCode_Args {
+message FormatCodeArgs {
 	// Source code to be formatted.
 	string source = 1;
 }
 
 // Message for format code response.
-message FormatCode_Result {
+message FormatCodeResult {
 	// Formatted code as bytes.
 	bytes formatted = 1;
 }
 
 // Message for format file path request arguments.
-message FormatPath_Args {
+message FormatPathArgs {
 	// Path of the file to format.
 	string path = 1;
 }
 
 // Message for format file path response.
-message FormatPath_Result {
+message FormatPathResult {
 	// List of changed file paths.
 	repeated string changed_paths = 1;
 }
 
 // Message for lint file path request arguments.
-message LintPath_Args {
+message LintPathArgs {
 	// Paths of the files to lint.
 	repeated string paths = 1;
 }
 
 // Message for lint file path response.
-message LintPath_Result {
+message LintPathResult {
 	// List of lint results.
 	repeated string results = 1;
 }
 
 // Message for override file request arguments.
-message OverrideFile_Args {
+message OverrideFileArgs {
 	// Path of the file to override.
 	string file = 1;
 	// List of override specifications.
@@ -1112,7 +1112,7 @@ message OverrideFile_Args {
 }
 
 // Message for override file response.
-message OverrideFile_Result {
+message OverrideFileResult {
 	// Result of the override operation.
 	bool result = 1;
 	// List of parse errors encountered.
@@ -1120,7 +1120,7 @@ message OverrideFile_Result {
 }
 
 // Message for list variables options.
-message ListVariables_Options {
+message ListVariablesOptions {
 	// Flag to merge program configuration.
 	bool merge_program = 1;
 }
@@ -1132,17 +1132,17 @@ message VariableList {
 }
 
 // Message for list variables request arguments.
-message ListVariables_Args {
+message ListVariablesArgs {
 	// Files to be processed.
 	repeated string files = 1;
 	// Specifications for variables.
 	repeated string specs = 2;
 	// Options for listing variables.
-	ListVariables_Options options = 3;
+	ListVariablesOptions options = 3;
 }
 
 // Message for list variables response.
-message ListVariables_Result {
+message ListVariablesResult {
 	// Map of variable lists by file.
 	map variables = 1;
 	// List of unsupported codes.
@@ -1174,21 +1174,32 @@ message MapEntry {
 }
 
 // Message for get schema type mapping request arguments.
-message GetSchemaTypeMapping_Args {
+message GetSchemaTypeMappingArgs {
 	// Arguments for executing the program.
-	ExecProgram_Args exec_args = 1;
+	ExecProgramArgs exec_args = 1;
 	// Name of the schema.
 	string schema_name = 2;
 }
 
 // Message for get schema type mapping response.
-message GetSchemaTypeMapping_Result {
+message GetSchemaTypeMappingResult {
 	// Map of schema type mappings.
 	map schema_type_mapping = 1;
 }
 
+// Message for get schema type mapping response.
+message GetSchemaTypeMappingUnderPathResult {
+	// Map of pkg and schema types mappings.
+	map schema_type_mapping = 1;
+}
+
+message SchemaTypes {
+	// List of schema type mappings.
+	repeated KclType schema_type = 1;
+}
+
 // Message for validate code request arguments.
-message ValidateCode_Args {
+message ValidateCodeArgs {
 	// Path to the data file.
 	string datafile = 1;
 	// Data content.
@@ -1208,7 +1219,7 @@ message ValidateCode_Args {
 }
 
 // Message for validate code response.
-message ValidateCode_Result {
+message ValidateCodeResult {
 	// Flag indicating if validation was successful.
 	bool success = 1;
 	// Error message from validation.
@@ -1226,7 +1237,7 @@ message Position {
 }
 
 // Message for list dependency files request arguments.
-message ListDepFiles_Args {
+message ListDepFilesArgs {
 	// Working directory.
 	string work_dir = 1;
 	// Flag to use absolute paths.
@@ -1238,7 +1249,7 @@ message ListDepFiles_Args {
 }
 
 // Message for list dependency files response.
-message ListDepFiles_Result {
+message ListDepFilesResult {
 	// Root package path.
 	string pkgroot = 1;
 	// Package path.
@@ -1253,7 +1264,7 @@ message ListDepFiles_Result {
 // ---------------------------------------------------------------------------------
 
 // Message for load settings files request arguments.
-message LoadSettingsFiles_Args {
+message LoadSettingsFilesArgs {
 	// Working directory.
 	string work_dir = 1;
 	// Setting files to load.
@@ -1261,7 +1272,7 @@ message LoadSettingsFiles_Args {
 }
 
 // Message for load settings files response.
-message LoadSettingsFiles_Result {
+message LoadSettingsFilesResult {
 	// KCL CLI configuration.
 	CliConfig kcl_cli_configs = 1;
 	// List of KCL options as key-value pairs.
@@ -1311,7 +1322,7 @@ message KeyValuePair {
 // ---------------------------------------------------------------------------------
 
 // Message for rename request arguments.
-message Rename_Args {
+message RenameArgs {
 	// File path to the package root.
 	string package_root = 1;
 	// Path to the target symbol to be renamed.
@@ -1323,7 +1334,7 @@ message Rename_Args {
 }
 
 // Message for rename response.
-message Rename_Result {
+message RenameResult {
 	// List of file paths that got changed.
 	repeated string changed_files = 1;
 }
@@ -1335,7 +1346,7 @@ message Rename_Result {
 // ---------------------------------------------------------------------------------
 
 // Message for rename code request arguments.
-message RenameCode_Args {
+message RenameCodeArgs {
 	// File path to the package root.
 	string package_root = 1;
 	// Path to the target symbol to be renamed.
@@ -1347,7 +1358,7 @@ message RenameCode_Args {
 }
 
 // Message for rename code response.
-message RenameCode_Result {
+message RenameCodeResult {
 	// Map of changed code with filename as key and modified code as value.
 	map changed_codes = 1;
 }
@@ -1358,9 +1369,9 @@ message RenameCode_Result {
 // ---------------------------------------------------------------------------------
 
 // Message for test request arguments.
-message Test_Args {
+message TestArgs {
 	// Execution program arguments.
-	ExecProgram_Args exec_args = 1;
+	ExecProgramArgs exec_args = 1;
 	// List of KCL package paths to be tested.
 	repeated string pkg_list = 2;
 	// Regular expression for filtering tests to run.
@@ -1370,7 +1381,7 @@ message Test_Args {
 }
 
 // Message for test response.
-message Test_Result {
+message TestResult {
 	// List of test case information.
 	repeated TestCaseInfo info = 2;
 }
@@ -1393,7 +1404,7 @@ message TestCaseInfo {
 // ---------------------------------------------------------------------------------
 
 // Message for update dependencies request arguments.
-message UpdateDependencies_Args {
+message UpdateDependenciesArgs {
 	// Path to the manifest file.
 	string manifest_path = 1;
 	// Flag to vendor dependencies locally.
@@ -1401,7 +1412,7 @@ message UpdateDependencies_Args {
 }
 
 // Message for update dependencies response.
-message UpdateDependencies_Result {
+message UpdateDependenciesResult {
 	// List of external packages updated.
 	repeated ExternalPkg external_pkgs = 3;
 }
diff --git a/src/lib.rs b/src/lib.rs
index 1bb5a35d..d5b92fb7 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -26,12 +26,12 @@
 //! }
 //! ```
 
-pub use kclvm_api::gpyrpc::*;
-use kclvm_api::service::service_impl::KclvmServiceImpl;
+pub use kcl_api::gpyrpc::*;
+use kcl_api::service::service_impl::KclServiceImpl;
 
 use anyhow::Result;
 
-pub type API = KclvmServiceImpl;
+pub type API = KclServiceImpl;
 
 #[cfg(test)]
 mod tests;
@@ -48,5 +48,5 @@ pub fn call_with_plugin_agent<'a>(
     args: &'a [u8],
     plugin_agent: u64,
 ) -> Result> {
-    kclvm_api::call_with_plugin_agent(name, args, plugin_agent)
+    kcl_api::call_with_plugin_agent(name, args, plugin_agent)
 }
diff --git a/src/tests.rs b/src/tests.rs
index f16757f3..f4b11a30 100644
--- a/src/tests.rs
+++ b/src/tests.rs
@@ -1,9 +1,9 @@
 use anyhow::{anyhow, Result};
-use kclvm_evaluator::Evaluator;
-use kclvm_loader::{load_packages, LoadPackageOptions};
-use kclvm_parser::LoadProgramOptions;
-use kclvm_primitives::IndexMap;
-use kclvm_runtime::{Context, PluginFunction, ValueRef};
+use kcl_evaluator::Evaluator;
+use kcl_loader::{load_packages, LoadPackageOptions};
+use kcl_parser::LoadProgramOptions;
+use kcl_primitives::IndexMap;
+use kcl_runtime::{Context, PluginFunction, ValueRef};
 use std::{cell::RefCell, rc::Rc, sync::Arc};
 
 fn my_plugin_sum(_: &Context, args: &ValueRef, _: &ValueRef) -> Result {
diff --git a/swift/Cargo.lock b/swift/Cargo.lock
index a97f468b..090b8fda 100644
--- a/swift/Cargo.lock
+++ b/swift/Cargo.lock
@@ -4,35 +4,24 @@ version = 4
 
 [[package]]
 name = "addr2line"
-version = "0.24.2"
+version = "0.25.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1"
+checksum = "1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b"
 dependencies = [
  "gimli",
 ]
 
 [[package]]
 name = "adler2"
-version = "2.0.0"
+version = "2.0.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
-
-[[package]]
-name = "ahash"
-version = "0.7.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9"
-dependencies = [
- "getrandom",
- "once_cell",
- "version_check",
-]
+checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
 
 [[package]]
 name = "aho-corasick"
-version = "1.1.3"
+version = "1.1.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
+checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
 dependencies = [
  "memchr",
 ]
@@ -46,12 +35,6 @@ dependencies = [
  "log",
 ]
 
-[[package]]
-name = "android-tzdata"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"
-
 [[package]]
 name = "android_system_properties"
 version = "0.1.5"
@@ -73,9 +56,9 @@ dependencies = [
 
 [[package]]
 name = "anstream"
-version = "0.6.18"
+version = "0.6.21"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b"
+checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a"
 dependencies = [
  "anstyle",
  "anstyle-parse",
@@ -88,43 +71,44 @@ dependencies = [
 
 [[package]]
 name = "anstyle"
-version = "1.0.10"
+version = "1.0.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9"
+checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78"
 
 [[package]]
 name = "anstyle-parse"
-version = "0.2.6"
+version = "0.2.7"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9"
+checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2"
 dependencies = [
  "utf8parse",
 ]
 
 [[package]]
 name = "anstyle-query"
-version = "1.1.2"
+version = "1.1.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c"
+checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
 dependencies = [
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
 name = "anstyle-wincon"
-version = "3.0.6"
+version = "3.0.11"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2109dbce0e72be3ec00bed26e6a7479ca384ad226efdd66db8fa2e3a38c83125"
+checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
 dependencies = [
  "anstyle",
- "windows-sys 0.59.0",
+ "once_cell_polyfill",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
 name = "anyhow"
-version = "1.0.94"
+version = "1.0.100"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c1fd03a028ef38ba2276dce7e33fcd6369c158a1bca17946c4b1b701891c1ff7"
+checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61"
 dependencies = [
  "backtrace",
 ]
@@ -160,9 +144,15 @@ checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
+[[package]]
+name = "atomic-waker"
+version = "1.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
+
 [[package]]
 name = "atty"
 version = "0.2.14"
@@ -176,31 +166,25 @@ dependencies = [
 
 [[package]]
 name = "autocfg"
-version = "1.4.0"
+version = "1.5.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
+checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
 
 [[package]]
 name = "backtrace"
-version = "0.3.74"
+version = "0.3.76"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a"
+checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6"
 dependencies = [
  "addr2line",
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "libc",
  "miniz_oxide",
  "object",
  "rustc-demangle",
- "windows-targets 0.52.6",
+ "windows-link 0.2.1",
 ]
 
-[[package]]
-name = "base-x"
-version = "0.2.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4cbbc9d0964165b47557570cce6c952866c2678457aca742aafc9fb771d30270"
-
 [[package]]
 name = "base32"
 version = "0.4.0"
@@ -242,9 +226,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
 
 [[package]]
 name = "bitflags"
-version = "2.6.0"
+version = "2.10.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
+checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3"
 
 [[package]]
 name = "bitmaps"
@@ -257,14 +241,14 @@ dependencies = [
 
 [[package]]
 name = "blake3"
-version = "1.5.5"
+version = "1.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8ee0c1824c4dea5b5f81736aff91bae041d2c07ee1192bec91054e10e3e601e"
+checksum = "3888aaa89e4b2a40fca9848e400f6a658a5a3978de7be858e209cafa8be9a4a0"
 dependencies = [
  "arrayref",
  "arrayvec",
  "cc",
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "constant_time_eq",
 ]
 
@@ -320,9 +304,9 @@ dependencies = [
 
 [[package]]
 name = "bumpalo"
-version = "3.16.0"
+version = "3.19.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
+checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43"
 
 [[package]]
 name = "byte-tools"
@@ -338,9 +322,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
 
 [[package]]
 name = "bytes"
-version = "1.9.0"
+version = "1.11.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b"
+checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3"
 
 [[package]]
 name = "cbindgen"
@@ -363,10 +347,11 @@ dependencies = [
 
 [[package]]
 name = "cc"
-version = "1.2.4"
+version = "1.2.47"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9157bbaa6b165880c27a4293a474c91cdcf265cc68cc829bf10be0964a391caf"
+checksum = "cd405d82c84ff7f35739f175f67d8b9fb7687a0e84ccdc78bd3568839827cf07"
 dependencies = [
+ "find-msvc-tools",
  "shlex",
 ]
 
@@ -378,9 +363,9 @@ checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
 
 [[package]]
 name = "cfg-if"
-version = "1.0.0"
+version = "1.0.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
 
 [[package]]
 name = "cfg_aliases"
@@ -390,17 +375,16 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
 
 [[package]]
 name = "chrono"
-version = "0.4.39"
+version = "0.4.42"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e36cc9d416881d2e24f9a963be5fb1cd90966419ac844274161d10488b3e825"
+checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2"
 dependencies = [
- "android-tzdata",
  "iana-time-zone",
  "js-sys",
  "num-traits",
  "serde",
  "wasm-bindgen",
- "windows-targets 0.52.6",
+ "windows-link 0.2.1",
 ]
 
 [[package]]
@@ -426,22 +410,22 @@ dependencies = [
 
 [[package]]
 name = "clap"
-version = "4.5.23"
+version = "4.5.53"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3135e7ec2ef7b10c6ed8950f0f792ed96ee093fa088608f1c76e569722700c84"
+checksum = "c9e340e012a1bf4935f5282ed1436d1489548e8f72308207ea5df0e23d2d03f8"
 dependencies = [
  "clap_builder",
 ]
 
 [[package]]
 name = "clap_builder"
-version = "4.5.23"
+version = "4.5.53"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30582fc632330df2bd26877bde0c1f4470d57c582bbc070376afcd04d8cb4838"
+checksum = "d76b5d13eaa18c901fd2f7fca939fefe3a0727a953561fefdf3b2922b8569d00"
 dependencies = [
  "anstream",
  "anstyle",
- "clap_lex 0.7.4",
+ "clap_lex 0.7.6",
  "strsim 0.11.1",
 ]
 
@@ -456,15 +440,15 @@ dependencies = [
 
 [[package]]
 name = "clap_lex"
-version = "0.7.4"
+version = "0.7.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6"
+checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d"
 
 [[package]]
 name = "colorchoice"
-version = "1.0.3"
+version = "1.0.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990"
+checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75"
 
 [[package]]
 name = "compiler_base_error"
@@ -510,12 +494,6 @@ dependencies = [
  "rustc_span",
 ]
 
-[[package]]
-name = "const_fn"
-version = "0.4.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "373e9fafaa20882876db20562275ff58d50e0caa2590077fe7ce7bef90211d0d"
-
 [[package]]
 name = "constant_time_eq"
 version = "0.3.1"
@@ -530,27 +508,27 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
 
 [[package]]
 name = "cpufeatures"
-version = "0.2.16"
+version = "0.2.17"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16b80225097f2e5ae4e7179dd2266824648f3e2f49d9134d584b76389d31c4c3"
+checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
 dependencies = [
  "libc",
 ]
 
 [[package]]
 name = "crc32fast"
-version = "1.4.2"
+version = "1.5.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
+checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
 ]
 
 [[package]]
 name = "crossbeam-channel"
-version = "0.5.14"
+version = "0.5.15"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "06ba6d68e24814cb8de6bb986db8222d3a027d15872cabc0d18817bc3c0e4471"
+checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2"
 dependencies = [
  "crossbeam-utils",
 ]
@@ -582,9 +560,9 @@ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
 
 [[package]]
 name = "crypto-common"
-version = "0.1.6"
+version = "0.1.7"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
+checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
 dependencies = [
  "generic-array 0.14.7",
  "typenum",
@@ -592,9 +570,9 @@ dependencies = [
 
 [[package]]
 name = "darling"
-version = "0.20.10"
+version = "0.20.11"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989"
+checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee"
 dependencies = [
  "darling_core",
  "darling_macro",
@@ -602,27 +580,27 @@ dependencies = [
 
 [[package]]
 name = "darling_core"
-version = "0.20.10"
+version = "0.20.11"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95133861a8032aaea082871032f5815eb9e98cef03fa916ab4500513994df9e5"
+checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e"
 dependencies = [
  "fnv",
  "ident_case",
  "proc-macro2",
  "quote",
  "strsim 0.11.1",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "darling_macro"
-version = "0.20.10"
+version = "0.20.11"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806"
+checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead"
 dependencies = [
  "darling_core",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
@@ -631,18 +609,18 @@ version = "5.5.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "hashbrown 0.14.5",
  "lock_api",
  "once_cell",
- "parking_lot_core 0.9.10",
+ "parking_lot_core 0.9.12",
 ]
 
 [[package]]
 name = "deranged"
-version = "0.3.11"
+version = "0.5.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4"
+checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587"
 dependencies = [
  "powerfmt",
 ]
@@ -665,7 +643,7 @@ dependencies = [
  "darling",
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
@@ -675,7 +653,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "ab63b0e2bf4d5928aff72e83a7dace85d7bba5fe12dcc3c5a572d78caffd3f3c"
 dependencies = [
  "derive_builder_core",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
@@ -734,12 +712,6 @@ dependencies = [
  "windows-sys 0.48.0",
 ]
 
-[[package]]
-name = "discard"
-version = "1.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0"
-
 [[package]]
 name = "displaydoc"
 version = "0.2.5"
@@ -748,26 +720,26 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "dns-lookup"
-version = "2.0.4"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5766087c2235fec47fafa4cfecc81e494ee679d0fd4a59887ea0919bfb0e4fc"
+checksum = "cf5597a4b7fe5275fc9dcf88ce26326bc8e4cb87d0130f33752d4c5f717793cf"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "libc",
  "socket2",
- "windows-sys 0.48.0",
+ "windows-sys 0.60.2",
 ]
 
 [[package]]
 name = "either"
-version = "1.13.0"
+version = "1.15.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
+checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
 
 [[package]]
 name = "ena"
@@ -779,69 +751,14 @@ dependencies = [
 ]
 
 [[package]]
-name = "encoding"
-version = "0.2.33"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6b0d943856b990d12d3b55b359144ff341533e516d94098b1d3fc1ac666d36ec"
-dependencies = [
- "encoding-index-japanese",
- "encoding-index-korean",
- "encoding-index-simpchinese",
- "encoding-index-singlebyte",
- "encoding-index-tradchinese",
-]
-
-[[package]]
-name = "encoding-index-japanese"
-version = "1.20141219.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "04e8b2ff42e9a05335dbf8b5c6f7567e5591d0d916ccef4e0b1710d32a0d0c91"
-dependencies = [
- "encoding_index_tests",
-]
-
-[[package]]
-name = "encoding-index-korean"
-version = "1.20141219.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4dc33fb8e6bcba213fe2f14275f0963fd16f0a02c878e3095ecfdf5bee529d81"
-dependencies = [
- "encoding_index_tests",
-]
-
-[[package]]
-name = "encoding-index-simpchinese"
-version = "1.20141219.5"
+name = "encoding_rs"
+version = "0.8.35"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d87a7194909b9118fc707194baa434a4e3b0fb6a5a757c73c3adb07aa25031f7"
+checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3"
 dependencies = [
- "encoding_index_tests",
+ "cfg-if 1.0.4",
 ]
 
-[[package]]
-name = "encoding-index-singlebyte"
-version = "1.20141219.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3351d5acffb224af9ca265f435b859c7c01537c0849754d3db3fdf2bfe2ae84a"
-dependencies = [
- "encoding_index_tests",
-]
-
-[[package]]
-name = "encoding-index-tradchinese"
-version = "1.20141219.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fd0e20d5688ce3cab59eb3ef3a2083a5c77bf496cb798dc6fcdb75f323890c18"
-dependencies = [
- "encoding_index_tests",
-]
-
-[[package]]
-name = "encoding_index_tests"
-version = "0.1.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a246d82be1c9d791c5dfde9a2bd045fc3cbba3fa2b11ad558f27d01712f00569"
-
 [[package]]
 name = "enquote"
 version = "1.1.0"
@@ -853,9 +770,9 @@ dependencies = [
 
 [[package]]
 name = "env_filter"
-version = "0.1.2"
+version = "0.1.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4f2c92ceda6ceec50f43169f9ee8424fe2db276791afde7b2cd8bc084cb376ab"
+checksum = "1bf3c259d255ca70051b30e2e95b5446cdb8949ac4cd22c0d7fd634d89f568e2"
 dependencies = [
  "log",
  "regex",
@@ -863,41 +780,42 @@ dependencies = [
 
 [[package]]
 name = "env_logger"
-version = "0.11.5"
+version = "0.11.8"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e13fa619b91fb2381732789fc5de83b45675e882f66623b7d8cb4f643017018d"
+checksum = "13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f"
 dependencies = [
  "anstream",
  "anstyle",
  "env_filter",
- "humantime",
+ "jiff",
  "log",
 ]
 
 [[package]]
 name = "equivalent"
-version = "1.0.1"
+version = "1.0.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
+checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
 
 [[package]]
 name = "erased-serde"
-version = "0.4.5"
+version = "0.4.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "24e2389d65ab4fab27dc2a5de7b191e1f6617d1f1c8855c0dc569c94a4cbb18d"
+checksum = "89e8918065695684b2b0702da20382d5ae6065cf3327bc2d6436bd49a71ce9f3"
 dependencies = [
  "serde",
+ "serde_core",
  "typeid",
 ]
 
 [[package]]
 name = "errno"
-version = "0.3.10"
+version = "0.3.14"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d"
+checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
 dependencies = [
  "libc",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
@@ -918,27 +836,39 @@ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
 
 [[package]]
 name = "filetime"
-version = "0.2.25"
+version = "0.2.26"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586"
+checksum = "bc0505cd1b6fa6580283f6bdf70a73fcf4aba1184038c90902b92b3dd0df63ed"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "libc",
  "libredox",
- "windows-sys 0.59.0",
+ "windows-sys 0.60.2",
 ]
 
+[[package]]
+name = "find-msvc-tools"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844"
+
 [[package]]
 name = "fixedbitset"
 version = "0.4.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
 
+[[package]]
+name = "fixedbitset"
+version = "0.5.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99"
+
 [[package]]
 name = "flate2"
-version = "1.0.35"
+version = "1.1.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c"
+checksum = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb"
 dependencies = [
  "crc32fast",
  "miniz_oxide",
@@ -972,9 +902,9 @@ dependencies = [
 
 [[package]]
 name = "fluent-langneg"
-version = "0.13.0"
+version = "0.13.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2c4ad0989667548f06ccd0e306ed56b61bd4d35458d54df5ec7587c0e8ed5e94"
+checksum = "7eebbe59450baee8282d71676f3bfed5689aeab00b27545e83e5f14b1195e8b0"
 dependencies = [
  "unic-langid",
 ]
@@ -996,9 +926,9 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
 
 [[package]]
 name = "form_urlencoded"
-version = "1.2.1"
+version = "1.2.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
+checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf"
 dependencies = [
  "percent-encoding",
 ]
@@ -1084,7 +1014,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
@@ -1123,7 +1053,7 @@ version = "0.2.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "877e94aff08e743b651baaea359664321055749b398adff8740a7399af7796e7"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
 ]
 
 [[package]]
@@ -1147,28 +1077,42 @@ dependencies = [
 
 [[package]]
 name = "getrandom"
-version = "0.2.15"
+version = "0.2.16"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
+checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "js-sys",
  "libc",
  "wasi",
  "wasm-bindgen",
 ]
 
+[[package]]
+name = "getrandom"
+version = "0.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
+dependencies = [
+ "cfg-if 1.0.4",
+ "js-sys",
+ "libc",
+ "r-efi",
+ "wasip2",
+ "wasm-bindgen",
+]
+
 [[package]]
 name = "gimli"
-version = "0.31.1"
+version = "0.32.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f"
+checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7"
 
 [[package]]
 name = "glob"
-version = "0.3.1"
+version = "0.3.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
+checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
 
 [[package]]
 name = "handlebars"
@@ -1198,9 +1142,9 @@ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
 
 [[package]]
 name = "hashbrown"
-version = "0.15.2"
+version = "0.16.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
+checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
 
 [[package]]
 name = "heck"
@@ -1217,6 +1161,12 @@ version = "0.4.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
 
+[[package]]
+name = "heck"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
+
 [[package]]
 name = "hermit-abi"
 version = "0.1.19"
@@ -1228,9 +1178,9 @@ dependencies = [
 
 [[package]]
 name = "hermit-abi"
-version = "0.3.9"
+version = "0.5.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
+checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c"
 
 [[package]]
 name = "hmac"
@@ -1241,31 +1191,22 @@ dependencies = [
  "digest 0.10.7",
 ]
 
-[[package]]
-name = "home"
-version = "0.5.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5"
-dependencies = [
- "windows-sys 0.52.0",
-]
-
 [[package]]
 name = "hostname"
-version = "0.4.0"
+version = "0.4.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f9c7c7c8ac16c798734b8a24560c1362120597c40d5e1459f09498f8f6c8f2ba"
+checksum = "a56f203cd1c76362b69e3863fd987520ac36cf70a8c92627449b2f64a8cf7d65"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "libc",
- "windows",
+ "windows-link 0.1.3",
 ]
 
 [[package]]
 name = "http"
-version = "1.2.0"
+version = "1.3.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea"
+checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565"
 dependencies = [
  "bytes",
  "fnv",
@@ -1293,12 +1234,12 @@ dependencies = [
 
 [[package]]
 name = "http-body-util"
-version = "0.1.2"
+version = "0.1.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f"
+checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a"
 dependencies = [
  "bytes",
- "futures-util",
+ "futures-core",
  "http",
  "http-body",
  "pin-project-lite",
@@ -1306,30 +1247,26 @@ dependencies = [
 
 [[package]]
 name = "httparse"
-version = "1.9.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946"
-
-[[package]]
-name = "humantime"
-version = "2.1.0"
+version = "1.10.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
+checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
 
 [[package]]
 name = "hyper"
-version = "1.5.2"
+version = "1.8.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "256fb8d4bd6413123cc9d91832d78325c48ff41677595be797d90f42969beae0"
+checksum = "2ab2d4f250c3d7b1c9fcdff1cece94ea4e2dfbec68614f7b87cb205f24ca9d11"
 dependencies = [
+ "atomic-waker",
  "bytes",
  "futures-channel",
- "futures-util",
+ "futures-core",
  "http",
  "http-body",
  "httparse",
  "itoa",
  "pin-project-lite",
+ "pin-utils",
  "smallvec",
  "tokio",
  "want",
@@ -1337,11 +1274,10 @@ dependencies = [
 
 [[package]]
 name = "hyper-rustls"
-version = "0.27.4"
+version = "0.27.7"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6884a48c6826ec44f524c7456b163cebe9e55a18d7b5e307cb4f100371cc767"
+checksum = "e3c93eb611681b207e1fe55d5a71ecf91572ec8a6705cdb6857f7d8d5242cf58"
 dependencies = [
- "futures-util",
  "http",
  "hyper",
  "hyper-util",
@@ -1355,16 +1291,21 @@ dependencies = [
 
 [[package]]
 name = "hyper-util"
-version = "0.1.10"
+version = "0.1.18"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4"
+checksum = "52e9a2a24dc5c6821e71a7030e1e14b7b632acac55c40e9d2e082c621261bb56"
 dependencies = [
+ "base64 0.22.1",
  "bytes",
  "futures-channel",
+ "futures-core",
  "futures-util",
  "http",
  "http-body",
  "hyper",
+ "ipnet",
+ "libc",
+ "percent-encoding",
  "pin-project-lite",
  "socket2",
  "tokio",
@@ -1374,14 +1315,15 @@ dependencies = [
 
 [[package]]
 name = "iana-time-zone"
-version = "0.1.61"
+version = "0.1.64"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220"
+checksum = "33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb"
 dependencies = [
  "android_system_properties",
  "core-foundation-sys",
  "iana-time-zone-haiku",
  "js-sys",
+ "log",
  "wasm-bindgen",
  "windows-core",
 ]
@@ -1397,21 +1339,22 @@ dependencies = [
 
 [[package]]
 name = "icu_collections"
-version = "1.5.0"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526"
+checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43"
 dependencies = [
  "displaydoc",
+ "potential_utf",
  "yoke",
  "zerofrom",
  "zerovec",
 ]
 
 [[package]]
-name = "icu_locid"
-version = "1.5.0"
+name = "icu_locale_core"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637"
+checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6"
 dependencies = [
  "displaydoc",
  "litemap",
@@ -1420,99 +1363,61 @@ dependencies = [
  "zerovec",
 ]
 
-[[package]]
-name = "icu_locid_transform"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e"
-dependencies = [
- "displaydoc",
- "icu_locid",
- "icu_locid_transform_data",
- "icu_provider",
- "tinystr",
- "zerovec",
-]
-
-[[package]]
-name = "icu_locid_transform_data"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e"
-
 [[package]]
 name = "icu_normalizer"
-version = "1.5.0"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f"
+checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599"
 dependencies = [
- "displaydoc",
  "icu_collections",
  "icu_normalizer_data",
  "icu_properties",
  "icu_provider",
  "smallvec",
- "utf16_iter",
- "utf8_iter",
- "write16",
  "zerovec",
 ]
 
 [[package]]
 name = "icu_normalizer_data"
-version = "1.5.0"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516"
+checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a"
 
 [[package]]
 name = "icu_properties"
-version = "1.5.1"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5"
+checksum = "e93fcd3157766c0c8da2f8cff6ce651a31f0810eaa1c51ec363ef790bbb5fb99"
 dependencies = [
- "displaydoc",
  "icu_collections",
- "icu_locid_transform",
+ "icu_locale_core",
  "icu_properties_data",
  "icu_provider",
- "tinystr",
+ "zerotrie",
  "zerovec",
 ]
 
 [[package]]
 name = "icu_properties_data"
-version = "1.5.0"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569"
+checksum = "02845b3647bb045f1100ecd6480ff52f34c35f82d9880e029d329c21d1054899"
 
 [[package]]
 name = "icu_provider"
-version = "1.5.0"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9"
+checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614"
 dependencies = [
  "displaydoc",
- "icu_locid",
- "icu_provider_macros",
- "stable_deref_trait",
- "tinystr",
+ "icu_locale_core",
  "writeable",
  "yoke",
  "zerofrom",
+ "zerotrie",
  "zerovec",
 ]
 
-[[package]]
-name = "icu_provider_macros"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.90",
-]
-
 [[package]]
 name = "ident_case"
 version = "1.0.1"
@@ -1521,9 +1426,9 @@ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
 
 [[package]]
 name = "idna"
-version = "1.0.3"
+version = "1.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e"
+checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de"
 dependencies = [
  "idna_adapter",
  "smallvec",
@@ -1532,9 +1437,9 @@ dependencies = [
 
 [[package]]
 name = "idna_adapter"
-version = "1.2.0"
+version = "1.2.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71"
+checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344"
 dependencies = [
  "icu_normalizer",
  "icu_properties",
@@ -1547,7 +1452,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "af1955a75fa080c677d3972822ec4bad316169ab1cfc6c257a942c2265dbe5fe"
 dependencies = [
  "bitmaps",
- "rand_core",
+ "rand_core 0.6.4",
  "rand_xoshiro",
  "sized-chunks",
  "typenum",
@@ -1562,17 +1467,17 @@ checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
 dependencies = [
  "autocfg",
  "hashbrown 0.12.3",
- "rustc-rayon 0.5.0",
+ "rustc-rayon 0.5.1",
 ]
 
 [[package]]
 name = "indexmap"
-version = "2.7.0"
+version = "2.12.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f"
+checksum = "0ad4bb2b565bca0645f4d68c5c9af97fba094e9791da685bf83cb5f3ce74acf2"
 dependencies = [
  "equivalent",
- "hashbrown 0.15.2",
+ "hashbrown 0.16.1",
 ]
 
 [[package]]
@@ -1612,14 +1517,14 @@ version = "0.1.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
 ]
 
 [[package]]
 name = "intl-memoizer"
-version = "0.5.2"
+version = "0.5.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fe22e020fce238ae18a6d5d8c502ee76a52a6e880d99477657e6acc30ec57bda"
+checksum = "310da2e345f5eb861e7a07ee182262e94975051db9e4223e909ba90f392f163f"
 dependencies = [
  "type-map",
  "unic-langid",
@@ -1636,21 +1541,34 @@ dependencies = [
 
 [[package]]
 name = "inventory"
-version = "0.3.15"
+version = "0.3.21"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f958d3d68f4167080a18141e10381e7634563984a537f2a49a30fd8e53ac5767"
+checksum = "bc61209c082fbeb19919bee74b176221b27223e27b65d781eb91af24eb1fb46e"
+dependencies = [
+ "rustversion",
+]
 
 [[package]]
 name = "ipnet"
-version = "2.10.1"
+version = "2.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130"
+
+[[package]]
+name = "iri-string"
+version = "0.7.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708"
+checksum = "4f867b9d1d896b67beb18518eda36fdb77a32ea590de864f1325b294a6d14397"
+dependencies = [
+ "memchr",
+ "serde",
+]
 
 [[package]]
 name = "is_terminal_polyfill"
-version = "1.70.1"
+version = "1.70.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
+checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
 
 [[package]]
 name = "itertools"
@@ -1661,18 +1579,52 @@ dependencies = [
  "either",
 ]
 
+[[package]]
+name = "itertools"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285"
+dependencies = [
+ "either",
+]
+
 [[package]]
 name = "itoa"
-version = "1.0.14"
+version = "1.0.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
+
+[[package]]
+name = "jiff"
+version = "0.2.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "49cce2b81f2098e7e3efc35bc2e0a6b7abec9d34128283d7a26fa8f32a6dbb35"
+dependencies = [
+ "jiff-static",
+ "log",
+ "portable-atomic",
+ "portable-atomic-util",
+ "serde_core",
+]
+
+[[package]]
+name = "jiff-static"
+version = "0.2.16"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674"
+checksum = "980af8b43c3ad5d8d349ace167ec8170839f753a42d233ba19e08afe1850fa69"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.111",
+]
 
 [[package]]
 name = "jobserver"
-version = "0.1.32"
+version = "0.1.34"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0"
+checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33"
 dependencies = [
+ "getrandom 0.3.4",
  "libc",
 ]
 
@@ -1684,9 +1636,9 @@ checksum = "8b23360e99b8717f20aaa4598f5a6541efbe30630039fbc7706cf954a87947ae"
 
 [[package]]
 name = "js-sys"
-version = "0.3.76"
+version = "0.3.82"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6717b6b5b077764fb5966237269cb3c64edddde4b14ce42647430a78ced9e7b7"
+checksum = "b011eec8cc36da2aab2d5cff675ec18454fad408585853910a202391cf9f8e65"
 dependencies = [
  "once_cell",
  "wasm-bindgen",
@@ -1742,112 +1694,58 @@ dependencies = [
  "hmac",
  "serde",
  "serde_json",
- "sha2 0.10.8",
+ "sha2 0.10.9",
 ]
 
 [[package]]
-name = "kcl-language-server"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-api"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
- "chrono",
- "clap 4.5.23",
- "compiler_base_session",
- "crossbeam-channel",
- "dashmap",
- "env_logger",
- "im-rc",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-config",
- "kclvm-driver",
- "kclvm-error",
- "kclvm-parser",
- "kclvm-query",
- "kclvm-sema",
- "kclvm-span",
- "kclvm-tools",
- "kclvm-utils",
- "kclvm-version",
- "log",
- "lsp-server",
- "lsp-types",
+ "futures",
+ "jsonrpc-stdio-server",
+ "kcl-ast",
+ "kcl-ast-pretty",
+ "kcl-config",
+ "kcl-driver",
+ "kcl-error",
+ "kcl-language-server",
+ "kcl-loader",
+ "kcl-parser",
+ "kcl-primitives",
+ "kcl-query",
+ "kcl-runner",
+ "kcl-runtime",
+ "kcl-sema",
+ "kcl-tools",
+ "kcl-utils",
+ "kcl-version",
  "maplit",
- "notify 7.0.0",
- "parking_lot 0.12.3",
- "proc_macro_crate",
- "ra_ap_vfs",
- "ra_ap_vfs-notify",
- "ropey",
- "rustc-hash 1.1.0",
- "rustc_lexer",
- "salsa",
+ "once_cell",
+ "prost",
+ "prost-build",
+ "prost-types",
+ "prost-wkt",
+ "prost-wkt-build",
+ "protoc-bin-vendored",
  "serde",
  "serde_json",
- "threadpool",
+ "serde_yaml_ng",
+ "tempfile",
  "tokio",
- "tokio-test",
 ]
 
 [[package]]
-name = "kcl-lib-c"
-version = "0.11.2"
-dependencies = [
- "cbindgen",
- "kclvm-api",
-]
-
-[[package]]
-name = "kclvm-api"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
-dependencies = [
- "anyhow",
- "futures",
- "indexmap 1.9.3",
- "jsonrpc-stdio-server",
- "kcl-language-server",
- "kclvm-ast",
- "kclvm-ast-pretty",
- "kclvm-config",
- "kclvm-driver",
- "kclvm-error",
- "kclvm-loader",
- "kclvm-parser",
- "kclvm-query",
- "kclvm-runner",
- "kclvm-runtime",
- "kclvm-sema",
- "kclvm-tools",
- "kclvm-utils",
- "kclvm-version",
- "maplit",
- "once_cell",
- "prost",
- "prost-build",
- "prost-types",
- "prost-wkt",
- "prost-wkt-build",
- "prost-wkt-types",
- "protoc-bin-vendored",
- "serde",
- "serde_json",
- "serde_yaml",
- "tempfile",
- "tokio",
-]
-
-[[package]]
-name = "kclvm-ast"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-ast"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "compiler_base_span",
- "kclvm-error",
- "kclvm-span",
- "kclvm-utils",
+ "kcl-error",
+ "kcl-span",
+ "kcl-utils",
  "serde",
  "serde_json",
  "thread_local",
@@ -1855,80 +1753,58 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-ast-pretty"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-ast-pretty"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "compiler_base_macros",
  "compiler_base_session",
  "fancy-regex",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-error",
+ "kcl-ast",
+ "kcl-error",
+ "kcl-primitives",
  "pretty_assertions",
 ]
 
 [[package]]
-name = "kclvm-compiler"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
-dependencies = [
- "ahash",
- "bit-set",
- "bitflags 1.3.2",
- "fancy-regex",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-error",
- "kclvm-runtime",
- "kclvm-sema",
- "once_cell",
- "phf",
- "time 0.2.27",
- "unicode_names2",
-]
-
-[[package]]
-name = "kclvm-config"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-config"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
- "ahash",
  "anyhow",
  "chrono",
  "dirs",
  "glob",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-utils",
- "kclvm-version",
+ "kcl-ast",
+ "kcl-utils",
+ "kcl-version",
  "md-5 0.8.0",
  "pathdiff",
  "regex",
  "ron",
  "serde",
  "serde_json",
- "serde_yaml",
+ "serde_yaml_ng",
  "toml",
  "url",
 ]
 
 [[package]]
-name = "kclvm-driver"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-driver"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "flate2",
- "indexmap 2.7.0",
- "kclvm-ast",
- "kclvm-config",
- "kclvm-parser",
- "kclvm-runtime",
- "kclvm-utils",
- "oci-distribution",
+ "kcl-ast",
+ "kcl-config",
+ "kcl-parser",
+ "kcl-primitives",
+ "kcl-runtime",
+ "kcl-utils",
+ "oci-client",
  "once_cell",
- "parking_lot 0.12.3",
+ "parking_lot 0.12.5",
  "serde",
  "serde_json",
  "tar",
@@ -1937,9 +1813,9 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-error"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-error"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "annotate-snippets",
  "anyhow",
@@ -1947,63 +1823,116 @@ dependencies = [
  "compiler_base_macros",
  "compiler_base_session",
  "compiler_base_span",
- "indexmap 1.9.3",
- "kclvm-runtime",
- "kclvm-span",
- "kclvm-utils",
+ "kcl-primitives",
+ "kcl-runtime",
+ "kcl-span",
+ "kcl-utils",
  "serde",
  "serde_json",
  "termize",
- "thiserror 1.0.69",
+ "thiserror 2.0.17",
  "tracing",
 ]
 
 [[package]]
-name = "kclvm-evaluator"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-evaluator"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "generational-arena",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-error",
- "kclvm-runtime",
- "kclvm-sema",
+ "kcl-ast",
+ "kcl-error",
+ "kcl-primitives",
+ "kcl-runtime",
+ "kcl-sema",
  "scopeguard",
 ]
 
 [[package]]
-name = "kclvm-lexer"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-language-server"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
+dependencies = [
+ "anyhow",
+ "chrono",
+ "clap 4.5.53",
+ "compiler_base_session",
+ "crossbeam-channel",
+ "dashmap",
+ "env_logger",
+ "im-rc",
+ "kcl-ast",
+ "kcl-config",
+ "kcl-driver",
+ "kcl-error",
+ "kcl-parser",
+ "kcl-primitives",
+ "kcl-query",
+ "kcl-sema",
+ "kcl-span",
+ "kcl-tools",
+ "kcl-utils",
+ "kcl-version",
+ "log",
+ "lsp-server",
+ "lsp-types",
+ "maplit",
+ "notify 7.0.0",
+ "parking_lot 0.12.5",
+ "proc_macro_crate",
+ "ra_ap_vfs",
+ "ra_ap_vfs-notify",
+ "ropey",
+ "rustc-hash 1.1.0",
+ "rustc_lexer",
+ "salsa",
+ "serde",
+ "serde_json",
+ "threadpool",
+ "tokio",
+ "tokio-test",
+]
+
+[[package]]
+name = "kcl-lexer"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
- "kclvm-error",
+ "kcl-error",
  "rustc_lexer",
  "unic-emoji-char",
 ]
 
 [[package]]
-name = "kclvm-loader"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-lib-c"
+version = "0.12.0"
+dependencies = [
+ "cbindgen",
+ "kcl-api",
+]
+
+[[package]]
+name = "kcl-loader"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-ast-pretty",
- "kclvm-error",
- "kclvm-parser",
- "kclvm-query",
- "kclvm-sema",
- "kclvm-utils",
+ "kcl-ast",
+ "kcl-ast-pretty",
+ "kcl-error",
+ "kcl-parser",
+ "kcl-primitives",
+ "kcl-query",
+ "kcl-sema",
+ "kcl-utils",
  "maplit",
 ]
 
 [[package]]
-name = "kclvm-macros"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-macros"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -2012,9 +1941,9 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-parser"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-parser"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "bstr",
@@ -2025,17 +1954,17 @@ dependencies = [
  "either",
  "enquote",
  "glob",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-config",
- "kclvm-error",
- "kclvm-lexer",
- "kclvm-sema",
- "kclvm-span",
- "kclvm-utils",
+ "kcl-ast",
+ "kcl-config",
+ "kcl-error",
+ "kcl-lexer",
+ "kcl-primitives",
+ "kcl-sema",
+ "kcl-span",
+ "kcl-utils",
  "num-bigint",
- "parking_lot 0.12.3",
- "petgraph",
+ "parking_lot 0.12.5",
+ "petgraph 0.6.5",
  "regex",
  "rustc_lexer",
  "serde",
@@ -2046,30 +1975,39 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-query"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-primitives"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
+dependencies = [
+ "indexmap 2.12.1",
+ "rustc-hash 2.1.1",
+]
+
+[[package]]
+name = "kcl-query"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "compiler_base_macros",
  "compiler_base_session",
  "fancy-regex",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-ast-pretty",
- "kclvm-error",
- "kclvm-parser",
- "kclvm-sema",
- "kclvm-utils",
+ "kcl-ast",
+ "kcl-ast-pretty",
+ "kcl-error",
+ "kcl-parser",
+ "kcl-primitives",
+ "kcl-sema",
+ "kcl-utils",
  "maplit",
  "serde",
  "serde_json",
 ]
 
 [[package]]
-name = "kclvm-runner"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-runner"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "cc",
@@ -2077,19 +2015,18 @@ dependencies = [
  "compiler_base_macros",
  "compiler_base_session",
  "glob",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-compiler",
- "kclvm-config",
- "kclvm-driver",
- "kclvm-error",
- "kclvm-evaluator",
- "kclvm-parser",
- "kclvm-query",
- "kclvm-runtime",
- "kclvm-sema",
- "kclvm-utils",
- "kclvm-version",
+ "kcl-ast",
+ "kcl-config",
+ "kcl-driver",
+ "kcl-error",
+ "kcl-evaluator",
+ "kcl-parser",
+ "kcl-primitives",
+ "kcl-query",
+ "kcl-runtime",
+ "kcl-sema",
+ "kcl-utils",
+ "kcl-version",
  "libc",
  "libloading",
  "once_cell",
@@ -2102,11 +2039,10 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-runtime"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-runtime"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
- "ahash",
  "anyhow",
  "base32",
  "base64 0.13.1",
@@ -2115,15 +2051,15 @@ dependencies = [
  "chrono",
  "cidr",
  "dns-lookup",
- "encoding",
+ "encoding_rs",
  "fancy-regex",
  "generational-arena",
  "glob",
  "handlebars",
  "hostname",
- "indexmap 1.9.3",
- "itertools",
- "kclvm_runtime_internal_macros",
+ "itertools 0.10.5",
+ "kcl-primitives",
+ "kcl_runtime_internal_macros",
  "lazy_static",
  "libc",
  "md5",
@@ -2132,7 +2068,7 @@ dependencies = [
  "regex",
  "serde",
  "serde_json",
- "serde_yaml",
+ "serde_yaml_ng",
  "sha1",
  "sha2 0.9.9",
  "unic-ucd-bidi",
@@ -2143,11 +2079,10 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-sema"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-sema"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
- "ahash",
  "anyhow",
  "bit-set",
  "bitflags 1.3.2",
@@ -2157,17 +2092,17 @@ dependencies = [
  "compiler_base_span",
  "fancy-regex",
  "generational-arena",
- "indexmap 1.9.3",
- "kclvm-ast",
- "kclvm-ast-pretty",
- "kclvm-error",
- "kclvm-runtime",
- "kclvm-span",
- "kclvm-utils",
+ "kcl-ast",
+ "kcl-ast-pretty",
+ "kcl-error",
+ "kcl-primitives",
+ "kcl-runtime",
+ "kcl-span",
+ "kcl-utils",
  "lazy_static",
  "once_cell",
- "parking_lot 0.12.3",
- "petgraph",
+ "parking_lot 0.12.5",
+ "petgraph 0.6.5",
  "phf",
  "regex",
  "serde",
@@ -2177,51 +2112,51 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-span"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-span"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "compiler_base_span",
- "kclvm-macros",
+ "kcl-macros",
  "parking_lot 0.11.2",
  "scoped-tls",
 ]
 
 [[package]]
-name = "kclvm-tools"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-tools"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "compiler_base_session",
  "compiler_base_span",
  "fancy-regex",
- "indexmap 1.9.3",
  "json-spanned-value",
- "kclvm-ast",
- "kclvm-ast-pretty",
- "kclvm-config",
- "kclvm-driver",
- "kclvm-error",
- "kclvm-parser",
- "kclvm-query",
- "kclvm-runner",
- "kclvm-runtime",
- "kclvm-sema",
- "kclvm-utils",
+ "kcl-ast",
+ "kcl-ast-pretty",
+ "kcl-config",
+ "kcl-driver",
+ "kcl-error",
+ "kcl-parser",
+ "kcl-primitives",
+ "kcl-query",
+ "kcl-runner",
+ "kcl-runtime",
+ "kcl-sema",
+ "kcl-utils",
  "located_yaml",
  "once_cell",
  "regex",
  "rustc_lexer",
  "serde_json",
- "serde_yaml",
+ "serde_yaml_ng",
  "walkdir",
 ]
 
 [[package]]
-name = "kclvm-utils"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-utils"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "anyhow",
  "fslock",
@@ -2229,17 +2164,17 @@ dependencies = [
 ]
 
 [[package]]
-name = "kclvm-version"
-version = "0.11.2"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl-version"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "vergen-gitcl",
 ]
 
 [[package]]
-name = "kclvm_runtime_internal_macros"
-version = "0.5.0"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "kcl_runtime_internal_macros"
+version = "0.12.0"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -2248,9 +2183,9 @@ dependencies = [
 
 [[package]]
 name = "kqueue"
-version = "1.0.8"
+version = "1.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7447f1ca1b7b563588a205fe93dea8df60fd981423a768bc1c0ded35ed147d0c"
+checksum = "eac30106d7dce88daf4a3fcb4879ea939476d5074a9b7ddd0fb97fa4bed5596a"
 dependencies = [
  "kqueue-sys",
  "libc",
@@ -2274,9 +2209,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
 
 [[package]]
 name = "libc"
-version = "0.2.169"
+version = "0.2.177"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
+checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976"
 
 [[package]]
 name = "libloading"
@@ -2284,19 +2219,19 @@ version = "0.7.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "winapi",
 ]
 
 [[package]]
 name = "libredox"
-version = "0.1.3"
+version = "0.1.10"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d"
+checksum = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb"
 dependencies = [
- "bitflags 2.6.0",
+ "bitflags 2.10.0",
  "libc",
- "redox_syscall 0.5.8",
+ "redox_syscall 0.5.18",
 ]
 
 [[package]]
@@ -2310,15 +2245,15 @@ dependencies = [
 
 [[package]]
 name = "linux-raw-sys"
-version = "0.4.14"
+version = "0.11.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
+checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039"
 
 [[package]]
 name = "litemap"
-version = "0.7.4"
+version = "0.8.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104"
+checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77"
 
 [[package]]
 name = "located_yaml"
@@ -2333,29 +2268,35 @@ dependencies = [
 
 [[package]]
 name = "lock_api"
-version = "0.4.12"
+version = "0.4.14"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
+checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
 dependencies = [
- "autocfg",
  "scopeguard",
 ]
 
 [[package]]
 name = "log"
-version = "0.4.22"
+version = "0.4.28"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432"
+
+[[package]]
+name = "lru-slab"
+version = "0.1.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
+checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154"
 
 [[package]]
 name = "lsp-server"
-version = "0.7.7"
+version = "0.7.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "550446e84739dcaf6d48a4a093973850669e13e8a34d8f8d64851041be267cd9"
+checksum = "7d6ada348dbc2703cbe7637b2dda05cff84d3da2819c24abcb305dd613e0ba2e"
 dependencies = [
  "crossbeam-channel",
  "log",
  "serde",
+ "serde_derive",
  "serde_json",
 ]
 
@@ -2401,7 +2342,7 @@ version = "0.10.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "digest 0.10.7",
 ]
 
@@ -2413,9 +2354,9 @@ checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771"
 
 [[package]]
 name = "memchr"
-version = "2.7.4"
+version = "2.7.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
+checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
 
 [[package]]
 name = "memmap2"
@@ -2426,19 +2367,14 @@ dependencies = [
  "libc",
 ]
 
-[[package]]
-name = "mime"
-version = "0.3.17"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
-
 [[package]]
 name = "miniz_oxide"
-version = "0.8.2"
+version = "0.8.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ffbe83022cedc1d264172192511ae958937694cd57ce297164951b8b3568394"
+checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
 dependencies = [
  "adler2",
+ "simd-adler32",
 ]
 
 [[package]]
@@ -2455,14 +2391,14 @@ dependencies = [
 
 [[package]]
 name = "mio"
-version = "1.0.3"
+version = "1.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd"
+checksum = "69d83b0086dc8ecf3ce9ae2874b2d1290252e2a30720bea58a5c6639b0092873"
 dependencies = [
  "libc",
  "log",
  "wasi",
- "windows-sys 0.52.0",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
@@ -2476,9 +2412,9 @@ dependencies = [
 
 [[package]]
 name = "multimap"
-version = "0.8.3"
+version = "0.10.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a"
+checksum = "1d87ecb2933e8aeadb3e3a02b828fed80a7528047e68b4f424523a0981a3a084"
 
 [[package]]
 name = "notify"
@@ -2504,14 +2440,14 @@ version = "7.0.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "c533b4c39709f9ba5005d8002048266593c1cfaf3c5f0739d5b8ab0c6c504009"
 dependencies = [
- "bitflags 2.6.0",
+ "bitflags 2.10.0",
  "filetime",
  "fsevent-sys",
  "inotify 0.10.2",
  "kqueue",
  "libc",
  "log",
- "mio 1.0.3",
+ "mio 1.1.0",
  "notify-types",
  "walkdir",
  "windows-sys 0.52.0",
@@ -2562,11 +2498,11 @@ dependencies = [
 
 [[package]]
 name = "num_cpus"
-version = "1.16.0"
+version = "1.17.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43"
+checksum = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b"
 dependencies = [
- "hermit-abi 0.3.9",
+ "hermit-abi 0.5.2",
  "libc",
 ]
 
@@ -2581,18 +2517,18 @@ dependencies = [
 
 [[package]]
 name = "object"
-version = "0.36.5"
+version = "0.37.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aedf0a2d09c573ed1d8d85b30c119153926a2b36dce0ab28322c09a117a4683e"
+checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe"
 dependencies = [
  "memchr",
 ]
 
 [[package]]
-name = "oci-distribution"
+name = "oci-client"
 version = "0.11.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b95a2c51531af0cb93761f66094044ca6ea879320bccd35ab747ff3fcab3f422"
+checksum = "560faeb9396a5bae11b141bed3cec8bf9242e5bfec17d0f48feeeab0f879ca35"
 dependencies = [
  "bytes",
  "chrono",
@@ -2606,7 +2542,7 @@ dependencies = [
  "reqwest",
  "serde",
  "serde_json",
- "sha2 0.10.8",
+ "sha2 0.10.9",
  "thiserror 1.0.69",
  "tokio",
  "tracing",
@@ -2626,15 +2562,21 @@ dependencies = [
 
 [[package]]
 name = "once_cell"
-version = "1.20.2"
+version = "1.21.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
+
+[[package]]
+name = "once_cell_polyfill"
+version = "1.70.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
+checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
 
 [[package]]
 name = "oorandom"
-version = "11.1.4"
+version = "11.1.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9"
+checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e"
 
 [[package]]
 name = "opaque-debug"
@@ -2673,12 +2615,12 @@ dependencies = [
 
 [[package]]
 name = "parking_lot"
-version = "0.12.3"
+version = "0.12.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27"
+checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
 dependencies = [
  "lock_api",
- "parking_lot_core 0.9.10",
+ "parking_lot_core 0.9.12",
 ]
 
 [[package]]
@@ -2687,7 +2629,7 @@ version = "0.8.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "instant",
  "libc",
  "redox_syscall 0.2.16",
@@ -2697,15 +2639,15 @@ dependencies = [
 
 [[package]]
 name = "parking_lot_core"
-version = "0.9.10"
+version = "0.9.12"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
+checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "libc",
- "redox_syscall 0.5.8",
+ "redox_syscall 0.5.18",
  "smallvec",
- "windows-targets 0.52.6",
+ "windows-link 0.2.1",
 ]
 
 [[package]]
@@ -2716,26 +2658,25 @@ checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3"
 
 [[package]]
 name = "percent-encoding"
-version = "2.3.1"
+version = "2.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
+checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
 
 [[package]]
 name = "pest"
-version = "2.7.15"
+version = "2.8.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b7cafe60d6cf8e62e1b9b2ea516a089c008945bb5a275416789e7db0bc199dc"
+checksum = "cbcfd20a6d4eeba40179f05735784ad32bdaef05ce8e8af05f180d45bb3e7e22"
 dependencies = [
  "memchr",
- "thiserror 2.0.8",
  "ucd-trie",
 ]
 
 [[package]]
 name = "pest_derive"
-version = "2.7.15"
+version = "2.8.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "816518421cfc6887a0d62bf441b6ffb4536fcc926395a69e1a85852d4363f57e"
+checksum = "51f72981ade67b1ca6adc26ec221be9f463f2b5839c7508998daa17c23d94d7f"
 dependencies = [
  "pest",
  "pest_generator",
@@ -2743,26 +2684,25 @@ dependencies = [
 
 [[package]]
 name = "pest_generator"
-version = "2.7.15"
+version = "2.8.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7d1396fd3a870fc7838768d171b4616d5c91f6cc25e377b673d714567d99377b"
+checksum = "dee9efd8cdb50d719a80088b76f81aec7c41ed6d522ee750178f83883d271625"
 dependencies = [
  "pest",
  "pest_meta",
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "pest_meta"
-version = "2.7.15"
+version = "2.8.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1e58089ea25d717bfd31fb534e4f3afcc2cc569c70de3e239778991ea3b7dea"
+checksum = "bf1d70880e76bdc13ba52eafa6239ce793d85c8e43896507e43dd8984ff05b82"
 dependencies = [
- "once_cell",
  "pest",
- "sha2 0.10.8",
+ "sha2 0.10.9",
 ]
 
 [[package]]
@@ -2771,8 +2711,18 @@ version = "0.6.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db"
 dependencies = [
- "fixedbitset",
- "indexmap 2.7.0",
+ "fixedbitset 0.4.2",
+ "indexmap 2.12.1",
+]
+
+[[package]]
+name = "petgraph"
+version = "0.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3672b37090dbd86368a4145bc067582552b29c27377cad4e0a306c97f9bd7772"
+dependencies = [
+ "fixedbitset 0.5.7",
+ "indexmap 2.12.1",
 ]
 
 [[package]]
@@ -2793,7 +2743,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "d43f3220d96e0080cc9ea234978ccd80d904eafb17be31bb0f76daaea6493082"
 dependencies = [
  "phf_shared",
- "rand",
+ "rand 0.8.5",
 ]
 
 [[package]]
@@ -2821,9 +2771,9 @@ dependencies = [
 
 [[package]]
 name = "pin-project-lite"
-version = "0.2.15"
+version = "0.2.16"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff"
+checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
 
 [[package]]
 name = "pin-utils"
@@ -2831,6 +2781,30 @@ version = "0.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
 
+[[package]]
+name = "portable-atomic"
+version = "1.11.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483"
+
+[[package]]
+name = "portable-atomic-util"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507"
+dependencies = [
+ "portable-atomic",
+]
+
+[[package]]
+name = "potential_utf"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77"
+dependencies = [
+ "zerovec",
+]
+
 [[package]]
 name = "powerfmt"
 version = "0.2.0"
@@ -2839,9 +2813,9 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
 
 [[package]]
 name = "ppv-lite86"
-version = "0.2.20"
+version = "0.2.21"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04"
+checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
 dependencies = [
  "zerocopy",
 ]
@@ -2858,12 +2832,12 @@ dependencies = [
 
 [[package]]
 name = "prettyplease"
-version = "0.1.25"
+version = "0.2.37"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86"
+checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b"
 dependencies = [
  "proc-macro2",
- "syn 1.0.109",
+ "syn 2.0.111",
 ]
 
 [[package]]
@@ -2874,9 +2848,9 @@ checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068"
 
 [[package]]
 name = "proc-macro2"
-version = "1.0.92"
+version = "1.0.103"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0"
+checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8"
 dependencies = [
  "unicode-ident",
 ]
@@ -2884,18 +2858,18 @@ dependencies = [
 [[package]]
 name = "proc_macro_crate"
 version = "0.1.0"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+source = "git+https://github.com/kcl-lang/kcl#cf6bae809696df2efb8ed081a02fcc46a9fd7ab8"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "prost"
-version = "0.11.9"
+version = "0.14.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd"
+checksum = "7231bd9b3d3d33c86b58adbac74b5ec0ad9f496b19d22801d773636feaa95f3d"
 dependencies = [
  "bytes",
  "prost-derive",
@@ -2903,52 +2877,51 @@ dependencies = [
 
 [[package]]
 name = "prost-build"
-version = "0.11.9"
+version = "0.14.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270"
+checksum = "ac6c3320f9abac597dcbc668774ef006702672474aad53c6d596b62e487b40b1"
 dependencies = [
- "bytes",
- "heck 0.4.1",
- "itertools",
- "lazy_static",
+ "heck 0.5.0",
+ "itertools 0.14.0",
  "log",
  "multimap",
- "petgraph",
+ "once_cell",
+ "petgraph 0.7.1",
  "prettyplease",
  "prost",
  "prost-types",
  "regex",
- "syn 1.0.109",
+ "syn 2.0.111",
  "tempfile",
- "which",
 ]
 
 [[package]]
 name = "prost-derive"
-version = "0.11.9"
+version = "0.14.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4"
+checksum = "9120690fafc389a67ba3803df527d0ec9cbbc9cc45e4cc20b332996dfb672425"
 dependencies = [
  "anyhow",
- "itertools",
+ "itertools 0.14.0",
  "proc-macro2",
  "quote",
- "syn 1.0.109",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "prost-types"
-version = "0.11.9"
+version = "0.14.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13"
+checksum = "b9b4db3d6da204ed77bb26ba83b6122a73aeb2e87e25fbf7ad2e84c4ccbf8f72"
 dependencies = [
  "prost",
 ]
 
 [[package]]
 name = "prost-wkt"
-version = "0.4.1"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "655944d0ce015e71b3ec21279437e6a09e58433e50c7b0677901f3d5235e74f5"
 dependencies = [
  "chrono",
  "inventory",
@@ -2961,41 +2934,26 @@ dependencies = [
 
 [[package]]
 name = "prost-wkt-build"
-version = "0.4.1"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f869f1443fee474b785e935d92e1007f57443e485f51668ed41943fc01a321a2"
 dependencies = [
- "heck 0.4.1",
+ "heck 0.5.0",
  "prost",
  "prost-build",
  "prost-types",
  "quote",
 ]
 
-[[package]]
-name = "prost-wkt-types"
-version = "0.4.1"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
-dependencies = [
- "chrono",
- "prost",
- "prost-build",
- "prost-types",
- "prost-wkt",
- "prost-wkt-build",
- "protoc-bin-vendored",
- "regex",
- "serde",
- "serde_derive",
- "serde_json",
-]
-
 [[package]]
 name = "protoc-bin-vendored"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d1c381df33c98266b5f08186583660090a4ffa0889e76c7e9a5e175f645a67fa"
 dependencies = [
  "protoc-bin-vendored-linux-aarch_64",
  "protoc-bin-vendored-linux-ppcle_64",
+ "protoc-bin-vendored-linux-s390_64",
  "protoc-bin-vendored-linux-x86_32",
  "protoc-bin-vendored-linux-x86_64",
  "protoc-bin-vendored-macos-aarch_64",
@@ -3006,71 +2964,87 @@ dependencies = [
 [[package]]
 name = "protoc-bin-vendored-linux-aarch_64"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c350df4d49b5b9e3ca79f7e646fde2377b199e13cfa87320308397e1f37e1a4c"
 
 [[package]]
 name = "protoc-bin-vendored-linux-ppcle_64"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a55a63e6c7244f19b5c6393f025017eb5d793fd5467823a099740a7a4222440c"
+
+[[package]]
+name = "protoc-bin-vendored-linux-s390_64"
+version = "3.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1dba5565db4288e935d5330a07c264a4ee8e4a5b4a4e6f4e83fad824cc32f3b0"
 
 [[package]]
 name = "protoc-bin-vendored-linux-x86_32"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8854774b24ee28b7868cd71dccaae8e02a2365e67a4a87a6cd11ee6cdbdf9cf5"
 
 [[package]]
 name = "protoc-bin-vendored-linux-x86_64"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b38b07546580df720fa464ce124c4b03630a6fb83e05c336fea2a241df7e5d78"
 
 [[package]]
 name = "protoc-bin-vendored-macos-aarch_64"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "89278a9926ce312e51f1d999fee8825d324d603213344a9a706daa009f1d8092"
 
 [[package]]
 name = "protoc-bin-vendored-macos-x86_64"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "81745feda7ccfb9471d7a4de888f0652e806d5795b61480605d4943176299756"
 
 [[package]]
 name = "protoc-bin-vendored-win32"
 version = "3.2.0"
-source = "git+https://github.com/kcl-lang/rust-protoc-bin-vendored#53c1f87ffc3027642ea6b822025b1dc699a3135b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "95067976aca6421a523e491fce939a3e65249bac4b977adee0ee9771568e8aa3"
 
 [[package]]
 name = "quinn"
-version = "0.11.6"
+version = "0.11.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62e96808277ec6f97351a2380e6c25114bc9e67037775464979f3037c92d05ef"
+checksum = "b9e20a958963c291dc322d98411f541009df2ced7b5a4f2bd52337638cfccf20"
 dependencies = [
  "bytes",
+ "cfg_aliases",
  "pin-project-lite",
  "quinn-proto",
  "quinn-udp",
- "rustc-hash 2.1.0",
+ "rustc-hash 2.1.1",
  "rustls",
  "socket2",
- "thiserror 2.0.8",
+ "thiserror 2.0.17",
  "tokio",
  "tracing",
+ "web-time",
 ]
 
 [[package]]
 name = "quinn-proto"
-version = "0.11.9"
+version = "0.11.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a2fe5ef3495d7d2e377ff17b1a8ce2ee2ec2a18cde8b6ad6619d65d0701c135d"
+checksum = "f1906b49b0c3bc04b5fe5d86a77925ae6524a19b816ae38ce1e426255f1d8a31"
 dependencies = [
  "bytes",
- "getrandom",
- "rand",
+ "getrandom 0.3.4",
+ "lru-slab",
+ "rand 0.9.2",
  "ring",
- "rustc-hash 2.1.0",
+ "rustc-hash 2.1.1",
  "rustls",
  "rustls-pki-types",
  "slab",
- "thiserror 2.0.8",
+ "thiserror 2.0.17",
  "tinyvec",
  "tracing",
  "web-time",
@@ -3078,27 +3052,33 @@ dependencies = [
 
 [[package]]
 name = "quinn-udp"
-version = "0.5.9"
+version = "0.5.14"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c40286217b4ba3a71d644d752e6a0b71f13f1b6a2c5311acfcbe0c2418ed904"
+checksum = "addec6a0dcad8a8d96a771f815f0eaf55f9d1805756410b39f5fa81332574cbd"
 dependencies = [
  "cfg_aliases",
  "libc",
  "once_cell",
  "socket2",
  "tracing",
- "windows-sys 0.59.0",
+ "windows-sys 0.60.2",
 ]
 
 [[package]]
 name = "quote"
-version = "1.0.37"
+version = "1.0.42"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
+checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f"
 dependencies = [
  "proc-macro2",
 ]
 
+[[package]]
+name = "r-efi"
+version = "5.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
+
 [[package]]
 name = "ra_ap_paths"
 version = "0.0.149"
@@ -3152,8 +3132,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
 dependencies = [
  "libc",
- "rand_chacha",
- "rand_core",
+ "rand_chacha 0.3.1",
+ "rand_core 0.6.4",
+]
+
+[[package]]
+name = "rand"
+version = "0.9.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
+dependencies = [
+ "rand_chacha 0.9.0",
+ "rand_core 0.9.3",
 ]
 
 [[package]]
@@ -3163,7 +3153,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
 dependencies = [
  "ppv-lite86",
- "rand_core",
+ "rand_core 0.6.4",
+]
+
+[[package]]
+name = "rand_chacha"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
+dependencies = [
+ "ppv-lite86",
+ "rand_core 0.9.3",
 ]
 
 [[package]]
@@ -3172,7 +3172,16 @@ version = "0.6.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
 dependencies = [
- "getrandom",
+ "getrandom 0.2.16",
+]
+
+[[package]]
+name = "rand_core"
+version = "0.9.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38"
+dependencies = [
+ "getrandom 0.3.4",
 ]
 
 [[package]]
@@ -3181,7 +3190,7 @@ version = "0.6.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa"
 dependencies = [
- "rand_core",
+ "rand_core 0.6.4",
 ]
 
 [[package]]
@@ -3195,11 +3204,11 @@ dependencies = [
 
 [[package]]
 name = "redox_syscall"
-version = "0.5.8"
+version = "0.5.18"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834"
+checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
 dependencies = [
- "bitflags 2.6.0",
+ "bitflags 2.10.0",
 ]
 
 [[package]]
@@ -3208,20 +3217,20 @@ version = "0.4.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43"
 dependencies = [
- "getrandom",
+ "getrandom 0.2.16",
  "libredox",
  "thiserror 1.0.69",
 ]
 
 [[package]]
 name = "regex"
-version = "1.11.1"
+version = "1.12.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
+checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4"
 dependencies = [
  "aho-corasick",
  "memchr",
- "regex-automata 0.4.9",
+ "regex-automata 0.4.13",
  "regex-syntax",
 ]
 
@@ -3233,9 +3242,9 @@ checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
 
 [[package]]
 name = "regex-automata"
-version = "0.4.9"
+version = "0.4.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
+checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c"
 dependencies = [
  "aho-corasick",
  "memchr",
@@ -3244,15 +3253,15 @@ dependencies = [
 
 [[package]]
 name = "regex-syntax"
-version = "0.8.5"
+version = "0.8.8"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
+checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58"
 
 [[package]]
 name = "reqwest"
-version = "0.12.9"
+version = "0.12.24"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a77c62af46e79de0a562e1a9849205ffcb7fc1238876e9bd743357570e04046f"
+checksum = "9d0946410b9f7b082a427e4ef5c8ff541a88b357bc6c637c40db3a68ac70a36f"
 dependencies = [
  "base64 0.22.1",
  "bytes",
@@ -3264,16 +3273,12 @@ dependencies = [
  "hyper",
  "hyper-rustls",
  "hyper-util",
- "ipnet",
  "js-sys",
  "log",
- "mime",
- "once_cell",
  "percent-encoding",
  "pin-project-lite",
  "quinn",
  "rustls",
- "rustls-pemfile",
  "rustls-pki-types",
  "serde",
  "serde_json",
@@ -3281,7 +3286,9 @@ dependencies = [
  "sync_wrapper",
  "tokio",
  "tokio-rustls",
- "tokio-util 0.7.13",
+ "tokio-util 0.7.17",
+ "tower",
+ "tower-http",
  "tower-service",
  "url",
  "wasm-bindgen",
@@ -3289,20 +3296,18 @@ dependencies = [
  "wasm-streams",
  "web-sys",
  "webpki-roots",
- "windows-registry",
 ]
 
 [[package]]
 name = "ring"
-version = "0.17.8"
+version = "0.17.14"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d"
+checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7"
 dependencies = [
  "cc",
- "cfg-if 1.0.0",
- "getrandom",
+ "cfg-if 1.0.4",
+ "getrandom 0.2.16",
  "libc",
- "spin",
  "untrusted",
  "windows-sys 0.52.0",
 ]
@@ -3330,9 +3335,9 @@ dependencies = [
 
 [[package]]
 name = "rustc-demangle"
-version = "0.1.24"
+version = "0.1.26"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f"
+checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace"
 
 [[package]]
 name = "rustc-hash"
@@ -3342,9 +3347,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
 
 [[package]]
 name = "rustc-hash"
-version = "2.1.0"
+version = "2.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497"
+checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
 
 [[package]]
 name = "rustc-rayon"
@@ -3359,12 +3364,12 @@ dependencies = [
 
 [[package]]
 name = "rustc-rayon"
-version = "0.5.0"
+version = "0.5.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb81aadc8837ca6ecebe0fe1353f15df83b3b3cc2cf7a8afd571bc22aa121710"
+checksum = "2cd9fb077db982d7ceb42a90471e5a69a990b58f71e06f0d8340bb2cf35eb751"
 dependencies = [
  "either",
- "rustc-rayon-core 0.5.0",
+ "rustc-rayon-core 0.5.1",
 ]
 
 [[package]]
@@ -3381,14 +3386,12 @@ dependencies = [
 
 [[package]]
 name = "rustc-rayon-core"
-version = "0.5.0"
+version = "0.5.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67668daaf00e359c126f6dcb40d652d89b458a008c8afa727a42a2d20fca0b7f"
+checksum = "2f42932dcd3bcbe484b38a3ccf79b7906fac41c02d408b5b1bac26da3416efdb"
 dependencies = [
- "crossbeam-channel",
  "crossbeam-deque",
  "crossbeam-utils",
- "num_cpus",
 ]
 
 [[package]]
@@ -3405,7 +3408,7 @@ dependencies = [
  "jobserver",
  "libc",
  "memmap2",
- "parking_lot 0.12.3",
+ "parking_lot 0.12.5",
  "rustc-hash 1.1.0",
  "rustc-rayon 0.3.2",
  "rustc-rayon-core 0.3.2",
@@ -3445,47 +3448,38 @@ dependencies = [
  "rustc_data_structures",
  "scoped-tls",
  "sha-1",
- "sha2 0.10.8",
+ "sha2 0.10.9",
  "tracing",
  "unicode-width",
 ]
 
-[[package]]
-name = "rustc_version"
-version = "0.2.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
-dependencies = [
- "semver 0.9.0",
-]
-
 [[package]]
 name = "rustc_version"
 version = "0.4.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
 dependencies = [
- "semver 1.0.24",
+ "semver",
 ]
 
 [[package]]
 name = "rustix"
-version = "0.38.42"
+version = "1.1.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f93dc38ecbab2eb790ff964bb77fa94faf256fd3e73285fd7ba0903b76bedb85"
+checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e"
 dependencies = [
- "bitflags 2.6.0",
+ "bitflags 2.10.0",
  "errno",
  "libc",
  "linux-raw-sys",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
 name = "rustls"
-version = "0.23.20"
+version = "0.23.35"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5065c3f250cbd332cd894be57c40fa52387247659b14a2d6041d121547903b1b"
+checksum = "533f54bc6a7d4f647e46ad909549eda97bf5afc1585190ef692b4286b198bd8f"
 dependencies = [
  "once_cell",
  "ring",
@@ -3495,29 +3489,21 @@ dependencies = [
  "zeroize",
 ]
 
-[[package]]
-name = "rustls-pemfile"
-version = "2.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50"
-dependencies = [
- "rustls-pki-types",
-]
-
 [[package]]
 name = "rustls-pki-types"
-version = "1.10.1"
+version = "1.13.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2bf47e6ff922db3825eb750c4e2ff784c6ff8fb9e13046ef6a1d1c5401b0b37"
+checksum = "94182ad936a0c91c324cd46c6511b9510ed16af436d7b5bab34beab0afd55f7a"
 dependencies = [
  "web-time",
+ "zeroize",
 ]
 
 [[package]]
 name = "rustls-webpki"
-version = "0.102.8"
+version = "0.103.8"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9"
+checksum = "2ffdfa2f5286e2247234e03f680868ac2815974dc39e00ea15adc445d0aafe52"
 dependencies = [
  "ring",
  "rustls-pki-types",
@@ -3526,15 +3512,15 @@ dependencies = [
 
 [[package]]
 name = "rustversion"
-version = "1.0.18"
+version = "1.0.22"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248"
+checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
 
 [[package]]
 name = "ryu"
-version = "1.0.18"
+version = "1.0.20"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
+checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
 
 [[package]]
 name = "salsa"
@@ -3592,76 +3578,73 @@ version = "0.10.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "e14e4d63b804dc0c7ec4a1e52bcb63f02c7ac94476755aa579edac21e01f915d"
 dependencies = [
- "self_cell 1.1.0",
+ "self_cell 1.2.1",
 ]
 
 [[package]]
 name = "self_cell"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c2fdfc24bc566f839a2da4c4295b82db7d25a24253867d5c64355abb5799bdbe"
-
-[[package]]
-name = "semver"
-version = "0.9.0"
+version = "1.2.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
-dependencies = [
- "semver-parser",
-]
+checksum = "16c2f82143577edb4921b71ede051dac62ca3c16084e918bf7b40c96ae10eb33"
 
 [[package]]
 name = "semver"
-version = "1.0.24"
+version = "1.0.27"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3cb6eb87a131f756572d7fb904f6e7b68633f09cca868c5df1c4b8d1a694bbba"
+checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2"
 
 [[package]]
-name = "semver-parser"
-version = "0.7.0"
+name = "serde"
+version = "1.0.228"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
+checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
+dependencies = [
+ "serde_core",
+ "serde_derive",
+]
 
 [[package]]
-name = "serde"
-version = "1.0.216"
+name = "serde_core"
+version = "1.0.228"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b9781016e935a97e8beecf0c933758c97a5520d32930e460142b4cd80c6338e"
+checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
 dependencies = [
  "serde_derive",
 ]
 
 [[package]]
 name = "serde_derive"
-version = "1.0.216"
+version = "1.0.228"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "46f859dbbf73865c6627ed570e78961cd3ac92407a2d117204c49232485da55e"
+checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "serde_json"
-version = "1.0.115"
+version = "1.0.145"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "12dc5c46daa8e9fdf4f5e71b6cf9a53f2487da0e86e55808e2d35539666497dd"
+checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c"
 dependencies = [
  "itoa",
+ "memchr",
  "ryu",
  "serde",
+ "serde_core",
 ]
 
 [[package]]
 name = "serde_repr"
-version = "0.1.19"
+version = "0.1.20"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9"
+checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
@@ -3677,11 +3660,12 @@ dependencies = [
 ]
 
 [[package]]
-name = "serde_yaml"
-version = "0.9.34+deprecated"
-source = "git+https://github.com/kcl-lang/kcl#d9f133a801864d177e54dc62290275d1fb80e7a4"
+name = "serde_yaml_ng"
+version = "0.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7b4db627b98b36d4203a7b458cf3573730f2bb591b28871d916dfa9efabfd41f"
 dependencies = [
- "indexmap 2.7.0",
+ "indexmap 2.12.1",
  "itoa",
  "ryu",
  "serde",
@@ -3694,7 +3678,7 @@ version = "0.10.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "cpufeatures",
  "digest 0.10.7",
 ]
@@ -3721,7 +3705,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800"
 dependencies = [
  "block-buffer 0.9.0",
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "cpufeatures",
  "digest 0.9.0",
  "opaque-debug 0.3.1",
@@ -3729,11 +3713,11 @@ dependencies = [
 
 [[package]]
 name = "sha2"
-version = "0.10.8"
+version = "0.10.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8"
+checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "cpufeatures",
  "digest 0.10.7",
 ]
@@ -3746,13 +3730,19 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
 
 [[package]]
 name = "signal-hook-registry"
-version = "1.4.2"
+version = "1.4.7"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1"
+checksum = "7664a098b8e616bdfcc2dc0e9ac44eb231eedf41db4e9fe95d8d32ec728dedad"
 dependencies = [
  "libc",
 ]
 
+[[package]]
+name = "simd-adler32"
+version = "0.3.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
+
 [[package]]
 name = "siphasher"
 version = "0.3.11"
@@ -3771,98 +3761,31 @@ dependencies = [
 
 [[package]]
 name = "slab"
-version = "0.4.9"
+version = "0.4.11"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67"
-dependencies = [
- "autocfg",
-]
+checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589"
 
 [[package]]
 name = "smallvec"
-version = "1.13.2"
+version = "1.15.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
+checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
 
 [[package]]
 name = "socket2"
-version = "0.5.8"
+version = "0.6.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8"
+checksum = "17129e116933cf371d018bb80ae557e889637989d8638274fb25622827b03881"
 dependencies = [
  "libc",
- "windows-sys 0.52.0",
+ "windows-sys 0.60.2",
 ]
 
-[[package]]
-name = "spin"
-version = "0.9.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
-
 [[package]]
 name = "stable_deref_trait"
-version = "1.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
-
-[[package]]
-name = "standback"
-version = "0.2.17"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e113fb6f3de07a243d434a56ec6f186dfd51cb08448239fe7bcae73f87ff28ff"
-dependencies = [
- "version_check",
-]
-
-[[package]]
-name = "stdweb"
-version = "0.4.20"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d022496b16281348b52d0e30ae99e01a73d737b2f45d38fed4edf79f9325a1d5"
-dependencies = [
- "discard",
- "rustc_version 0.2.3",
- "stdweb-derive",
- "stdweb-internal-macros",
- "stdweb-internal-runtime",
- "wasm-bindgen",
-]
-
-[[package]]
-name = "stdweb-derive"
-version = "0.5.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c87a60a40fccc84bef0652345bbbbbe20a605bf5d0ce81719fc476f5c03b50ef"
-dependencies = [
- "proc-macro2",
- "quote",
- "serde",
- "serde_derive",
- "syn 1.0.109",
-]
-
-[[package]]
-name = "stdweb-internal-macros"
-version = "0.2.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "58fa5ff6ad0d98d1ffa8cb115892b6e69d67799f6763e162a1c9db421dc22e11"
-dependencies = [
- "base-x",
- "proc-macro2",
- "quote",
- "serde",
- "serde_derive",
- "serde_json",
- "sha1",
- "syn 1.0.109",
-]
-
-[[package]]
-name = "stdweb-internal-runtime"
-version = "0.1.5"
+version = "1.2.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "213701ba3370744dcd1a12960caa4843b3d68b4d1c0a5d575e0d65b2ee9d16c0"
+checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
 
 [[package]]
 name = "str_indices"
@@ -3910,9 +3833,9 @@ dependencies = [
 
 [[package]]
 name = "syn"
-version = "2.0.90"
+version = "2.0.111"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31"
+checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -3942,20 +3865,20 @@ dependencies = [
 
 [[package]]
 name = "synstructure"
-version = "0.13.1"
+version = "0.13.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
+checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "tar"
-version = "0.4.43"
+version = "0.4.44"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c65998313f8e17d0d553d28f91a0df93e4dbbbf770279c7bc21ca0f09ea1a1f6"
+checksum = "1d863878d212c87a19c1a610eb53bb01fe12951c0501cf5a0d65f724914a667a"
 dependencies = [
  "filetime",
  "libc",
@@ -3964,15 +3887,15 @@ dependencies = [
 
 [[package]]
 name = "tempfile"
-version = "3.14.0"
+version = "3.23.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c"
+checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16"
 dependencies = [
- "cfg-if 1.0.0",
  "fastrand",
+ "getrandom 0.3.4",
  "once_cell",
  "rustix",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
@@ -3996,9 +3919,9 @@ dependencies = [
 
 [[package]]
 name = "textwrap"
-version = "0.16.1"
+version = "0.16.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9"
+checksum = "c13547615a44dc9c452a8a534638acdf07120d4b6847c8178705da06306a3057"
 
 [[package]]
 name = "thiserror"
@@ -4011,11 +3934,11 @@ dependencies = [
 
 [[package]]
 name = "thiserror"
-version = "2.0.8"
+version = "2.0.17"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08f5383f3e0071702bf93ab5ee99b52d26936be9dedd9413067cbdcddcb6141a"
+checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8"
 dependencies = [
- "thiserror-impl 2.0.8",
+ "thiserror-impl 2.0.17",
 ]
 
 [[package]]
@@ -4026,28 +3949,27 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "thiserror-impl"
-version = "2.0.8"
+version = "2.0.17"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f2f357fcec90b3caef6623a099691be676d033b40a058ac95d2a6ade6fa0c943"
+checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "thread_local"
-version = "1.1.8"
+version = "1.1.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c"
+checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185"
 dependencies = [
- "cfg-if 1.0.0",
- "once_cell",
+ "cfg-if 1.0.4",
 ]
 
 [[package]]
@@ -4061,24 +3983,9 @@ dependencies = [
 
 [[package]]
 name = "time"
-version = "0.2.27"
+version = "0.3.44"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4752a97f8eebd6854ff91f1c1824cd6160626ac4bd44287f7f4ea2035a02a242"
-dependencies = [
- "const_fn",
- "libc",
- "standback",
- "stdweb",
- "time-macros 0.1.1",
- "version_check",
- "winapi",
-]
-
-[[package]]
-name = "time"
-version = "0.3.37"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21"
+checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d"
 dependencies = [
  "deranged",
  "itoa",
@@ -4088,63 +3995,41 @@ dependencies = [
  "powerfmt",
  "serde",
  "time-core",
- "time-macros 0.2.19",
+ "time-macros",
 ]
 
 [[package]]
 name = "time-core"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
-
-[[package]]
-name = "time-macros"
-version = "0.1.1"
+version = "0.1.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "957e9c6e26f12cb6d0dd7fc776bb67a706312e7299aed74c8dd5b17ebb27e2f1"
-dependencies = [
- "proc-macro-hack",
- "time-macros-impl",
-]
+checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b"
 
 [[package]]
 name = "time-macros"
-version = "0.2.19"
+version = "0.2.24"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2834e6017e3e5e4b9834939793b282bc03b37a3336245fa820e35e233e2a85de"
+checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3"
 dependencies = [
  "num-conv",
  "time-core",
 ]
 
-[[package]]
-name = "time-macros-impl"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fd3c141a1b43194f3f56a1411225df8646c55781d5f26db825b3d98507eb482f"
-dependencies = [
- "proc-macro-hack",
- "proc-macro2",
- "quote",
- "standback",
- "syn 1.0.109",
-]
-
 [[package]]
 name = "tinystr"
-version = "0.7.6"
+version = "0.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f"
+checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869"
 dependencies = [
  "displaydoc",
+ "serde_core",
  "zerovec",
 ]
 
 [[package]]
 name = "tinyvec"
-version = "1.8.0"
+version = "1.10.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938"
+checksum = "bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa"
 dependencies = [
  "tinyvec_macros",
 ]
@@ -4157,38 +4042,37 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
 
 [[package]]
 name = "tokio"
-version = "1.42.0"
+version = "1.48.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5cec9b21b0450273377fc97bd4c33a8acffc8c996c987a7c5b319a0083707551"
+checksum = "ff360e02eab121e0bc37a2d3b4d4dc622e6eda3a8e5253d5435ecf5bd4c68408"
 dependencies = [
- "backtrace",
  "bytes",
  "libc",
- "mio 1.0.3",
- "parking_lot 0.12.3",
+ "mio 1.1.0",
+ "parking_lot 0.12.5",
  "pin-project-lite",
  "signal-hook-registry",
  "socket2",
  "tokio-macros",
- "windows-sys 0.52.0",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
 name = "tokio-macros"
-version = "2.4.0"
+version = "2.6.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752"
+checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "tokio-rustls"
-version = "0.26.1"
+version = "0.26.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f6d0975eaace0cf0fcadee4e4aaa5da15b5c079146f2cffb67c113be122bf37"
+checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61"
 dependencies = [
  "rustls",
  "tokio",
@@ -4234,9 +4118,9 @@ dependencies = [
 
 [[package]]
 name = "tokio-util"
-version = "0.7.13"
+version = "0.7.17"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7fcaa8d55a2bdd6b83ace262b016eca0d79ee02818c5c1bcdf0305114081078"
+checksum = "2efa149fe76073d6e8fd97ef4f4eca7b67f599660115591483572e406e165594"
 dependencies = [
  "bytes",
  "futures-core",
@@ -4254,6 +4138,45 @@ dependencies = [
  "serde",
 ]
 
+[[package]]
+name = "tower"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9"
+dependencies = [
+ "futures-core",
+ "futures-util",
+ "pin-project-lite",
+ "sync_wrapper",
+ "tokio",
+ "tower-layer",
+ "tower-service",
+]
+
+[[package]]
+name = "tower-http"
+version = "0.6.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "adc82fd73de2a9722ac5da747f12383d2bfdb93591ee6c58486e0097890f05f2"
+dependencies = [
+ "bitflags 2.10.0",
+ "bytes",
+ "futures-util",
+ "http",
+ "http-body",
+ "iri-string",
+ "pin-project-lite",
+ "tower",
+ "tower-layer",
+ "tower-service",
+]
+
+[[package]]
+name = "tower-layer"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e"
+
 [[package]]
 name = "tower-service"
 version = "0.3.3"
@@ -4274,20 +4197,20 @@ dependencies = [
 
 [[package]]
 name = "tracing-attributes"
-version = "0.1.28"
+version = "0.1.30"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d"
+checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "tracing-core"
-version = "0.1.33"
+version = "0.1.34"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c"
+checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678"
 dependencies = [
  "once_cell",
 ]
@@ -4300,30 +4223,30 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
 
 [[package]]
 name = "type-map"
-version = "0.5.0"
+version = "0.5.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "deb68604048ff8fa93347f02441e4487594adc20bb8a084f9e564d2b827a0a9f"
+checksum = "cb30dbbd9036155e74adad6812e9898d03ec374946234fbcebd5dfc7b9187b90"
 dependencies = [
- "rustc-hash 1.1.0",
+ "rustc-hash 2.1.1",
 ]
 
 [[package]]
 name = "typeid"
-version = "1.0.2"
+version = "1.0.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e13db2e0ccd5e14a544e8a246ba2312cd25223f616442d7f2cb0e3db614236e"
+checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c"
 
 [[package]]
 name = "typenum"
-version = "1.17.0"
+version = "1.19.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
+checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb"
 
 [[package]]
 name = "typetag"
-version = "0.2.18"
+version = "0.2.21"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "52ba3b6e86ffe0054b2c44f2d86407388b933b16cb0a70eea3929420db1d9bbe"
+checksum = "be2212c8a9b9bcfca32024de14998494cf9a5dfa59ea1b829de98bac374b86bf"
 dependencies = [
  "erased-serde",
  "inventory",
@@ -4334,13 +4257,13 @@ dependencies = [
 
 [[package]]
 name = "typetag-impl"
-version = "0.2.18"
+version = "0.2.21"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "70b20a22c42c8f1cd23ce5e34f165d4d37038f5b663ad20fb6adbdf029172483"
+checksum = "27a7a9b72ba121f6f1f6c3632b85604cac41aedb5ddc70accbebb6cac83de846"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
@@ -4383,9 +4306,9 @@ dependencies = [
 
 [[package]]
 name = "unic-langid"
-version = "0.9.5"
+version = "0.9.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23dd9d1e72a73b25e07123a80776aae3e7b0ec461ef94f9151eed6ec88005a44"
+checksum = "a28ba52c9b05311f4f6e62d5d9d46f094bd6e84cb8df7b3ef952748d752a7d05"
 dependencies = [
  "unic-langid-impl",
  "unic-langid-macros",
@@ -4393,18 +4316,18 @@ dependencies = [
 
 [[package]]
 name = "unic-langid-impl"
-version = "0.9.5"
+version = "0.9.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0a5422c1f65949306c99240b81de9f3f15929f5a8bfe05bb44b034cc8bf593e5"
+checksum = "dce1bf08044d4b7a94028c93786f8566047edc11110595914de93362559bc658"
 dependencies = [
  "tinystr",
 ]
 
 [[package]]
 name = "unic-langid-macros"
-version = "0.9.5"
+version = "0.9.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0da1cd2c042d3c7569a1008806b02039e7a4a2bdf8f8e96bd3c792434a0e275e"
+checksum = "d5957eb82e346d7add14182a3315a7e298f04e1ba4baac36f7f0dbfedba5fc25"
 dependencies = [
  "proc-macro-hack",
  "tinystr",
@@ -4414,13 +4337,13 @@ dependencies = [
 
 [[package]]
 name = "unic-langid-macros-impl"
-version = "0.9.5"
+version = "0.9.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ed7f4237ba393424195053097c1516bd4590dc82b84f2f97c5c69e12704555b"
+checksum = "a1249a628de3ad34b821ecb1001355bca3940bcb2f88558f1a8bd82e977f75b5"
 dependencies = [
  "proc-macro-hack",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
  "unic-langid-impl",
 ]
 
@@ -4458,27 +4381,27 @@ dependencies = [
 
 [[package]]
 name = "unicase"
-version = "2.8.0"
+version = "2.8.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e51b68083f157f853b6379db119d1c1be0e6e4dec98101079dec41f6f5cf6df"
+checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539"
 
 [[package]]
 name = "unicode-casing"
-version = "0.1.0"
+version = "0.1.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "623f59e6af2a98bdafeb93fa277ac8e1e40440973001ca15cf4ae1541cd16d56"
+checksum = "061dbb8cc7f108532b6087a0065eff575e892a4bcb503dc57323a197457cc202"
 
 [[package]]
 name = "unicode-ident"
-version = "1.0.14"
+version = "1.0.22"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83"
+checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
 
 [[package]]
 name = "unicode-normalization"
-version = "0.1.24"
+version = "0.1.25"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956"
+checksum = "5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8"
 dependencies = [
  "tinyvec",
 ]
@@ -4521,9 +4444,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
 
 [[package]]
 name = "url"
-version = "2.5.4"
+version = "2.5.7"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60"
+checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b"
 dependencies = [
  "form_urlencoded",
  "idna",
@@ -4531,12 +4454,6 @@ dependencies = [
  "serde",
 ]
 
-[[package]]
-name = "utf16_iter"
-version = "1.0.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246"
-
 [[package]]
 name = "utf8_iter"
 version = "1.0.4"
@@ -4551,46 +4468,48 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
 
 [[package]]
 name = "uuid"
-version = "1.11.0"
+version = "1.18.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a"
+checksum = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2"
 dependencies = [
- "getrandom",
+ "getrandom 0.3.4",
+ "js-sys",
  "serde",
+ "wasm-bindgen",
 ]
 
 [[package]]
 name = "vergen"
-version = "9.0.2"
+version = "9.0.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "31f25fc8f8f05df455c7941e87f093ad22522a9ff33d7a027774815acf6f0639"
+checksum = "6b2bf58be11fc9414104c6d3a2e464163db5ef74b12296bda593cac37b6e4777"
 dependencies = [
  "anyhow",
  "derive_builder",
- "rustc_version 0.4.1",
+ "rustc_version",
  "rustversion",
  "vergen-lib",
 ]
 
 [[package]]
 name = "vergen-gitcl"
-version = "1.0.2"
+version = "1.0.8"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0227006d09f98ab00ea69e9a5e055e676a813cfbed4232986176c86a6080b997"
+checksum = "b9dfc1de6eb2e08a4ddf152f1b179529638bedc0ea95e6d667c014506377aefe"
 dependencies = [
  "anyhow",
  "derive_builder",
  "rustversion",
- "time 0.3.37",
+ "time",
  "vergen",
  "vergen-lib",
 ]
 
 [[package]]
 name = "vergen-lib"
-version = "0.1.5"
+version = "0.1.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0c767e6751c09fc85cde58722cf2f1007e80e4c8d5a4321fc90d83dc54ca147"
+checksum = "9b07e6010c0f3e59fcb164e0163834597da68d1f864e2b8ca49f74de01e9c166"
 dependencies = [
  "anyhow",
  "derive_builder",
@@ -4624,42 +4543,39 @@ dependencies = [
 
 [[package]]
 name = "wasi"
-version = "0.11.0+wasi-snapshot-preview1"
+version = "0.11.1+wasi-snapshot-preview1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
+checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
 
 [[package]]
-name = "wasm-bindgen"
-version = "0.2.99"
+name = "wasip2"
+version = "1.0.1+wasi-0.2.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a474f6281d1d70c17ae7aa6a613c87fce69a127e2624002df63dcb39d6cf6396"
+checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7"
 dependencies = [
- "cfg-if 1.0.0",
- "once_cell",
- "wasm-bindgen-macro",
+ "wit-bindgen",
 ]
 
 [[package]]
-name = "wasm-bindgen-backend"
-version = "0.2.99"
+name = "wasm-bindgen"
+version = "0.2.105"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f89bb38646b4f81674e8f5c3fb81b562be1fd936d84320f3264486418519c79"
+checksum = "da95793dfc411fbbd93f5be7715b0578ec61fe87cb1a42b12eb625caa5c5ea60"
 dependencies = [
- "bumpalo",
- "log",
- "proc-macro2",
- "quote",
- "syn 2.0.90",
+ "cfg-if 1.0.4",
+ "once_cell",
+ "rustversion",
+ "wasm-bindgen-macro",
  "wasm-bindgen-shared",
 ]
 
 [[package]]
 name = "wasm-bindgen-futures"
-version = "0.4.49"
+version = "0.4.55"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38176d9b44ea84e9184eff0bc34cc167ed044f816accfe5922e54d84cf48eca2"
+checksum = "551f88106c6d5e7ccc7cd9a16f312dd3b5d36ea8b4954304657d5dfba115d4a0"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 1.0.4",
  "js-sys",
  "once_cell",
  "wasm-bindgen",
@@ -4668,9 +4584,9 @@ dependencies = [
 
 [[package]]
 name = "wasm-bindgen-macro"
-version = "0.2.99"
+version = "0.2.105"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2cc6181fd9a7492eef6fef1f33961e3695e4579b9872a6f7c83aee556666d4fe"
+checksum = "04264334509e04a7bf8690f2384ef5265f05143a4bff3889ab7a3269adab59c2"
 dependencies = [
  "quote",
  "wasm-bindgen-macro-support",
@@ -4678,22 +4594,25 @@ dependencies = [
 
 [[package]]
 name = "wasm-bindgen-macro-support"
-version = "0.2.99"
+version = "0.2.105"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30d7a95b763d3c45903ed6c81f156801839e5ee968bb07e534c44df0fcd330c2"
+checksum = "420bc339d9f322e562942d52e115d57e950d12d88983a14c79b86859ee6c7ebc"
 dependencies = [
+ "bumpalo",
  "proc-macro2",
  "quote",
- "syn 2.0.90",
- "wasm-bindgen-backend",
+ "syn 2.0.111",
  "wasm-bindgen-shared",
 ]
 
 [[package]]
 name = "wasm-bindgen-shared"
-version = "0.2.99"
+version = "0.2.105"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "943aab3fdaaa029a6e0271b35ea10b72b943135afe9bffca82384098ad0e06a6"
+checksum = "76f218a38c84bcb33c25ec7059b07847d465ce0e0a76b995e134a45adcb6af76"
+dependencies = [
+ "unicode-ident",
+]
 
 [[package]]
 name = "wasm-streams"
@@ -4710,9 +4629,9 @@ dependencies = [
 
 [[package]]
 name = "web-sys"
-version = "0.3.76"
+version = "0.3.82"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "04dd7223427d52553d3702c004d3b2fe07c148165faa56313cb00211e31c12bc"
+checksum = "3a1f95c0d03a47f4ae1f7a64643a6bb97465d9b740f0fa8f90ea33915c99a9a1"
 dependencies = [
  "js-sys",
  "wasm-bindgen",
@@ -4730,25 +4649,13 @@ dependencies = [
 
 [[package]]
 name = "webpki-roots"
-version = "0.26.7"
+version = "1.0.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5d642ff16b7e79272ae451b7322067cdc17cadf68c23264be9d94a32319efe7e"
+checksum = "b2878ef029c47c6e8cf779119f20fcf52bde7ad42a731b2a304bc221df17571e"
 dependencies = [
  "rustls-pki-types",
 ]
 
-[[package]]
-name = "which"
-version = "4.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7"
-dependencies = [
- "either",
- "home",
- "once_cell",
- "rustix",
-]
-
 [[package]]
 name = "winapi"
 version = "0.3.9"
@@ -4767,11 +4674,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
 
 [[package]]
 name = "winapi-util"
-version = "0.1.9"
+version = "0.1.11"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
+checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
 dependencies = [
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
 ]
 
 [[package]]
@@ -4781,52 +4688,68 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
 
 [[package]]
-name = "windows"
-version = "0.52.0"
+name = "windows-core"
+version = "0.62.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be"
+checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb"
 dependencies = [
- "windows-core",
- "windows-targets 0.52.6",
+ "windows-implement",
+ "windows-interface",
+ "windows-link 0.2.1",
+ "windows-result",
+ "windows-strings",
 ]
 
 [[package]]
-name = "windows-core"
-version = "0.52.0"
+name = "windows-implement"
+version = "0.60.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9"
+checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf"
 dependencies = [
- "windows-targets 0.52.6",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.111",
 ]
 
 [[package]]
-name = "windows-registry"
-version = "0.2.0"
+name = "windows-interface"
+version = "0.59.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0"
+checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358"
 dependencies = [
- "windows-result",
- "windows-strings",
- "windows-targets 0.52.6",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.111",
 ]
 
+[[package]]
+name = "windows-link"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a"
+
+[[package]]
+name = "windows-link"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
+
 [[package]]
 name = "windows-result"
-version = "0.2.0"
+version = "0.4.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e"
+checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5"
 dependencies = [
- "windows-targets 0.52.6",
+ "windows-link 0.2.1",
 ]
 
 [[package]]
 name = "windows-strings"
-version = "0.1.0"
+version = "0.5.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10"
+checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091"
 dependencies = [
- "windows-result",
- "windows-targets 0.52.6",
+ "windows-link 0.2.1",
 ]
 
 [[package]]
@@ -4873,11 +4796,20 @@ dependencies = [
 
 [[package]]
 name = "windows-sys"
-version = "0.59.0"
+version = "0.60.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
+checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
 dependencies = [
- "windows-targets 0.52.6",
+ "windows-targets 0.53.5",
+]
+
+[[package]]
+name = "windows-sys"
+version = "0.61.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
+dependencies = [
+ "windows-link 0.2.1",
 ]
 
 [[package]]
@@ -4919,13 +4851,30 @@ dependencies = [
  "windows_aarch64_gnullvm 0.52.6",
  "windows_aarch64_msvc 0.52.6",
  "windows_i686_gnu 0.52.6",
- "windows_i686_gnullvm",
+ "windows_i686_gnullvm 0.52.6",
  "windows_i686_msvc 0.52.6",
  "windows_x86_64_gnu 0.52.6",
  "windows_x86_64_gnullvm 0.52.6",
  "windows_x86_64_msvc 0.52.6",
 ]
 
+[[package]]
+name = "windows-targets"
+version = "0.53.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3"
+dependencies = [
+ "windows-link 0.2.1",
+ "windows_aarch64_gnullvm 0.53.1",
+ "windows_aarch64_msvc 0.53.1",
+ "windows_i686_gnu 0.53.1",
+ "windows_i686_gnullvm 0.53.1",
+ "windows_i686_msvc 0.53.1",
+ "windows_x86_64_gnu 0.53.1",
+ "windows_x86_64_gnullvm 0.53.1",
+ "windows_x86_64_msvc 0.53.1",
+]
+
 [[package]]
 name = "windows_aarch64_gnullvm"
 version = "0.42.2"
@@ -4944,6 +4893,12 @@ version = "0.52.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
 
+[[package]]
+name = "windows_aarch64_gnullvm"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53"
+
 [[package]]
 name = "windows_aarch64_msvc"
 version = "0.42.2"
@@ -4962,6 +4917,12 @@ version = "0.52.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
 
+[[package]]
+name = "windows_aarch64_msvc"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006"
+
 [[package]]
 name = "windows_i686_gnu"
 version = "0.42.2"
@@ -4980,12 +4941,24 @@ version = "0.52.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
 
+[[package]]
+name = "windows_i686_gnu"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3"
+
 [[package]]
 name = "windows_i686_gnullvm"
 version = "0.52.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
 
+[[package]]
+name = "windows_i686_gnullvm"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c"
+
 [[package]]
 name = "windows_i686_msvc"
 version = "0.42.2"
@@ -5004,6 +4977,12 @@ version = "0.52.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
 
+[[package]]
+name = "windows_i686_msvc"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2"
+
 [[package]]
 name = "windows_x86_64_gnu"
 version = "0.42.2"
@@ -5022,6 +5001,12 @@ version = "0.52.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
 
+[[package]]
+name = "windows_x86_64_gnu"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499"
+
 [[package]]
 name = "windows_x86_64_gnullvm"
 version = "0.42.2"
@@ -5040,6 +5025,12 @@ version = "0.52.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
 
+[[package]]
+name = "windows_x86_64_gnullvm"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1"
+
 [[package]]
 name = "windows_x86_64_msvc"
 version = "0.42.2"
@@ -5059,25 +5050,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
 
 [[package]]
-name = "write16"
-version = "1.0.0"
+name = "windows_x86_64_msvc"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650"
+
+[[package]]
+name = "wit-bindgen"
+version = "0.46.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936"
+checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"
 
 [[package]]
 name = "writeable"
-version = "0.5.5"
+version = "0.6.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51"
+checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9"
 
 [[package]]
 name = "xattr"
-version = "1.3.1"
+version = "1.6.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f"
+checksum = "32e45ad4206f6d2479085147f02bc2ef834ac85886624a23575ae137c8aa8156"
 dependencies = [
  "libc",
- "linux-raw-sys",
  "rustix",
 ]
 
@@ -5107,11 +5103,10 @@ dependencies = [
 
 [[package]]
 name = "yoke"
-version = "0.7.5"
+version = "0.8.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40"
+checksum = "72d6e5c6afb84d73944e5cedb052c4680d5657337201555f9f2a16b7406d4954"
 dependencies = [
- "serde",
  "stable_deref_trait",
  "yoke-derive",
  "zerofrom",
@@ -5119,70 +5114,81 @@ dependencies = [
 
 [[package]]
 name = "yoke-derive"
-version = "0.7.5"
+version = "0.8.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154"
+checksum = "b659052874eb698efe5b9e8cf382204678a0086ebf46982b79d6ca3182927e5d"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
- "synstructure 0.13.1",
+ "syn 2.0.111",
+ "synstructure 0.13.2",
 ]
 
 [[package]]
 name = "zerocopy"
-version = "0.7.35"
+version = "0.8.28"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
+checksum = "43fa6694ed34d6e57407afbccdeecfa268c470a7d2a5b0cf49ce9fcc345afb90"
 dependencies = [
- "byteorder",
  "zerocopy-derive",
 ]
 
 [[package]]
 name = "zerocopy-derive"
-version = "0.7.35"
+version = "0.8.28"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
+checksum = "c640b22cd9817fae95be82f0d2f90b11f7605f6c319d16705c459b27ac2cbc26"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
 
 [[package]]
 name = "zerofrom"
-version = "0.1.5"
+version = "0.1.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e"
+checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5"
 dependencies = [
  "zerofrom-derive",
 ]
 
 [[package]]
 name = "zerofrom-derive"
-version = "0.1.5"
+version = "0.1.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808"
+checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
- "synstructure 0.13.1",
+ "syn 2.0.111",
+ "synstructure 0.13.2",
 ]
 
 [[package]]
 name = "zeroize"
-version = "1.8.1"
+version = "1.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
+checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0"
+
+[[package]]
+name = "zerotrie"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2a59c17a5562d507e4b54960e8569ebee33bee890c70aa3fe7b97e85a9fd7851"
+dependencies = [
+ "displaydoc",
+ "yoke",
+ "zerofrom",
+]
 
 [[package]]
 name = "zerovec"
-version = "0.10.4"
+version = "0.11.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079"
+checksum = "6c28719294829477f525be0186d13efa9a3c602f7ec202ca9e353d310fb9a002"
 dependencies = [
+ "serde",
  "yoke",
  "zerofrom",
  "zerovec-derive",
@@ -5190,11 +5196,11 @@ dependencies = [
 
 [[package]]
 name = "zerovec-derive"
-version = "0.10.3"
+version = "0.11.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
+checksum = "eadce39539ca5cb3985590102671f2567e659fca9666581ad3411d59207951f3"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.90",
+ "syn 2.0.111",
 ]
diff --git a/swift/Cargo.toml b/swift/Cargo.toml
index 12f555bf..276aa45a 100644
--- a/swift/Cargo.toml
+++ b/swift/Cargo.toml
@@ -1,7 +1,7 @@
 [package]
 name = "kcl-lib-c"
-version = "0.11.2"
-edition = "2021"
+version = "0.12.0"
+edition = "2024"
 publish = false
 
 [lib]
@@ -12,4 +12,4 @@ doc = false
 cbindgen = "0.26.0"
 
 [dependencies]
-kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.11.2" }
+kcl-api = { git = "https://github.com/kcl-lang/kcl", version = "0.12.0" }
diff --git a/swift/Sources/KclLib/API.swift b/swift/Sources/KclLib/API.swift
index 1058b278..3731d9a4 100644
--- a/swift/Sources/KclLib/API.swift
+++ b/swift/Sources/KclLib/API.swift
@@ -8,128 +8,128 @@ public class API: Service {
   public init() {}
 
   // Parses a single KCL file and returns its Abstract Syntax Tree (AST) as a JSON string.
-  public func parseFile(_ args: ParseFile_Args) throws -> ParseFile_Result {
-    return try ParseFile_Result(
-      serializedBytes: callNative(name: "KclvmService.ParseFile", args: try args.serializedBytes()))
+  public func parseFile(_ args: ParseFileArgs) throws -> ParseFileResult {
+    return try ParseFileResult(
+      serializedBytes: callNative(name: "KclService.ParseFile", args: try args.serializedBytes()))
   }
 
   // Parses a KCL program and returns the Abstract Syntax Tree (AST) in JSON format.
-  public func parseProgram(_ args: ParseProgram_Args) throws -> ParseProgram_Result {
-    return try ParseProgram_Result(
+  public func parseProgram(_ args: ParseProgramArgs) throws -> ParseProgramResult {
+    return try ParseProgramResult(
       serializedBytes: callNative(
-        name: "KclvmService.ParseProgram", args: try args.serializedBytes()))
+        name: "KclService.ParseProgram", args: try args.serializedBytes()))
   }
 
   // Loads a KCL package and retrieves AST, symbol, type, and definition information.
-  public func loadPackage(_ args: LoadPackage_Args) throws -> LoadPackage_Result {
-    return try LoadPackage_Result(
+  public func loadPackage(_ args: LoadPackageArgs) throws -> LoadPackageResult {
+    return try LoadPackageResult(
       serializedBytes: callNative(
-        name: "KclvmService.LoadPackage", args: try args.serializedBytes()))
+        name: "KclService.LoadPackage", args: try args.serializedBytes()))
   }
 
   // Executes a KCL file with provided arguments.
-  public func execProgram(_ args: ExecProgram_Args) throws -> ExecProgram_Result {
-    return try ExecProgram_Result(
+  public func execProgram(_ args: ExecProgramArgs) throws -> ExecProgramResult {
+    return try ExecProgramResult(
       serializedBytes: callNative(
-        name: "KclvmService.ExecProgram", args: try args.serializedBytes()))
+        name: "KclService.ExecProgram", args: try args.serializedBytes()))
   }
 
   // Overrides specified elements in a KCL file according to given arguments.
-  public func overrideFile(_ args: OverrideFile_Args) throws -> OverrideFile_Result {
-    return try OverrideFile_Result(
+  public func overrideFile(_ args: OverrideFileArgs) throws -> OverrideFileResult {
+    return try OverrideFileResult(
       serializedBytes: callNative(
-        name: "KclvmService.OverrideFile", args: try args.serializedBytes()))
+        name: "KclService.OverrideFile", args: try args.serializedBytes()))
   }
 
   // Lists all variables declared in a KCL file.
-  public func listVariables(_ args: ListVariables_Args) throws -> ListVariables_Result {
-    return try ListVariables_Result(
+  public func listVariables(_ args: ListVariablesArgs) throws -> ListVariablesResult {
+    return try ListVariablesResult(
       serializedBytes: callNative(
-        name: "KclvmService.ListVariables", args: try args.serializedBytes()))
+        name: "KclService.ListVariables", args: try args.serializedBytes()))
   }
 
   // Lists all options defined in a KCL program.
-  public func listOptions(_ args: ParseProgram_Args) throws -> ListOptions_Result {
-    return try ListOptions_Result(
+  public func listOptions(_ args: ParseProgramArgs) throws -> ListOptionsResult {
+    return try ListOptionsResult(
       serializedBytes: callNative(
-        name: "KclvmService.ListOptions", args: try args.serializedBytes()))
+        name: "KclService.ListOptions", args: try args.serializedBytes()))
   }
 
   // Retrieves the full schema type mapping for a KCL program.
-  public func getSchemaTypeMapping(_ args: GetSchemaTypeMapping_Args) throws
-    -> GetSchemaTypeMapping_Result
+  public func getSchemaTypeMapping(_ args: GetSchemaTypeMappingArgs) throws
+    -> GetSchemaTypeMappingResult
   {
-    return try GetSchemaTypeMapping_Result(
+    return try GetSchemaTypeMappingResult(
       serializedBytes: callNative(
-        name: "KclvmService.GetSchemaTypeMapping", args: try args.serializedBytes()))
+        name: "KclService.GetSchemaTypeMapping", args: try args.serializedBytes()))
   }
 
   // Formats source code according to KCL style guidelines.
-  public func formatCode(_ args: FormatCode_Args) throws -> FormatCode_Result {
-    return try FormatCode_Result(
-      serializedBytes: callNative(name: "KclvmService.FormatCode", args: try args.serializedBytes())
+  public func formatCode(_ args: FormatCodeArgs) throws -> FormatCodeResult {
+    return try FormatCodeResult(
+      serializedBytes: callNative(name: "KclService.FormatCode", args: try args.serializedBytes())
     )
   }
 
   // Formats KCL files or directories to conform to style guidelines.
-  public func formatPath(_ args: FormatPath_Args) throws -> FormatPath_Result {
-    return try FormatPath_Result(
-      serializedBytes: callNative(name: "KclvmService.FormatPath", args: try args.serializedBytes())
+  public func formatPath(_ args: FormatPathArgs) throws -> FormatPathResult {
+    return try FormatPathResult(
+      serializedBytes: callNative(name: "KclService.FormatPath", args: try args.serializedBytes())
     )
   }
 
   // Runs linting checks on KCL files and reports errors and warnings.
-  public func lintPath(_ args: LintPath_Args) throws -> LintPath_Result {
-    return try LintPath_Result(
-      serializedBytes: callNative(name: "KclvmService.LintPath", args: try args.serializedBytes()))
+  public func lintPath(_ args: LintPathArgs) throws -> LintPathResult {
+    return try LintPathResult(
+      serializedBytes: callNative(name: "KclService.LintPath", args: try args.serializedBytes()))
   }
 
   // Validates a data string against a schema defined in a KCL code string.
-  public func validateCode(_ args: ValidateCode_Args) throws -> ValidateCode_Result {
-    return try ValidateCode_Result(
+  public func validateCode(_ args: ValidateCodeArgs) throws -> ValidateCodeResult {
+    return try ValidateCodeResult(
       serializedBytes: callNative(
-        name: "KclvmService.ValidateCode", args: try args.serializedBytes()))
+        name: "KclService.ValidateCode", args: try args.serializedBytes()))
   }
 
   // Builds configuration from settings files.
-  public func loadSettingsFiles(_ args: LoadSettingsFiles_Args) throws -> LoadSettingsFiles_Result {
-    return try LoadSettingsFiles_Result(
+  public func loadSettingsFiles(_ args: LoadSettingsFilesArgs) throws -> LoadSettingsFilesResult {
+    return try LoadSettingsFilesResult(
       serializedBytes: callNative(
-        name: "KclvmService.LoadSettingsFiles", args: try args.serializedBytes()))
+        name: "KclService.LoadSettingsFiles", args: try args.serializedBytes()))
   }
 
   // Renames symbols across files within a KCL package.
-  public func rename(_ args: Rename_Args) throws -> Rename_Result {
-    return try Rename_Result(
-      serializedBytes: callNative(name: "KclvmService.Rename", args: try args.serializedBytes()))
+  public func rename(_ args: RenameArgs) throws -> RenameResult {
+    return try RenameResult(
+      serializedBytes: callNative(name: "KclService.Rename", args: try args.serializedBytes()))
   }
 
   // Renames symbols in source code without modifying files directly.
-  public func renameCode(_ args: RenameCode_Args) throws -> RenameCode_Result {
-    return try RenameCode_Result(
-      serializedBytes: callNative(name: "KclvmService.RenameCode", args: try args.serializedBytes())
+  public func renameCode(_ args: RenameCodeArgs) throws -> RenameCodeResult {
+    return try RenameCodeResult(
+      serializedBytes: callNative(name: "KclService.RenameCode", args: try args.serializedBytes())
     )
   }
 
   // Executes tests on KCL packages using specified test arguments.
-  public func test(_ args: Test_Args) throws -> Test_Result {
-    return try Test_Result(
-      serializedBytes: callNative(name: "KclvmService.Test", args: try args.serializedBytes()))
+  public func test(_ args: TestArgs) throws -> TestResult {
+    return try TestResult(
+      serializedBytes: callNative(name: "KclService.Test", args: try args.serializedBytes()))
   }
 
   // Updates dependencies for a KCL project based on defined specifications.
-  public func updateDependencies(_ args: UpdateDependencies_Args) throws
-    -> UpdateDependencies_Result
+  public func updateDependencies(_ args: UpdateDependenciesArgs) throws
+    -> UpdateDependenciesResult
   {
-    return try UpdateDependencies_Result(
+    return try UpdateDependenciesResult(
       serializedBytes: callNative(
-        name: "KclvmService.UpdateDependencies", args: try args.serializedBytes()))
+        name: "KclService.UpdateDependencies", args: try args.serializedBytes()))
   }
 
   // Retrieves version information about the KCL service.
-  public func getVersion(_ args: GetVersion_Args) throws -> GetVersion_Result {
-    return try GetVersion_Result(
-      serializedBytes: callNative(name: "KclvmService.GetVersion", args: try args.serializedBytes())
+  public func getVersion(_ args: GetVersionArgs) throws -> GetVersionResult {
+    return try GetVersionResult(
+      serializedBytes: callNative(name: "KclService.GetVersion", args: try args.serializedBytes())
     )
   }
 
diff --git a/swift/Sources/KclLib/Service.swift b/swift/Sources/KclLib/Service.swift
index 353ee800..23c20814 100644
--- a/swift/Sources/KclLib/Service.swift
+++ b/swift/Sources/KclLib/Service.swift
@@ -3,56 +3,56 @@ import Foundation
 // Define the protocol for services that manage various operations on KCL programs.
 public protocol Service {
   // Parses a single KCL file and returns its Abstract Syntax Tree (AST) as a JSON string.
-  func parseFile(_ args: ParseFile_Args) throws -> ParseFile_Result
+  func parseFile(_ args: ParseFileArgs) throws -> ParseFileResult
 
   // Parses a KCL program and returns the Abstract Syntax Tree (AST) in JSON format.
-  func parseProgram(_ args: ParseProgram_Args) throws -> ParseProgram_Result
+  func parseProgram(_ args: ParseProgramArgs) throws -> ParseProgramResult
 
   // Loads a KCL package and retrieves AST, symbol, type, and definition information.
-  func loadPackage(_ args: LoadPackage_Args) throws -> LoadPackage_Result
+  func loadPackage(_ args: LoadPackageArgs) throws -> LoadPackageResult
 
   // Executes a KCL file with provided arguments.
-  func execProgram(_ args: ExecProgram_Args) throws -> ExecProgram_Result
+  func execProgram(_ args: ExecProgramArgs) throws -> ExecProgramResult
 
   // Overrides specified elements in a KCL file according to given arguments.
-  func overrideFile(_ args: OverrideFile_Args) throws -> OverrideFile_Result
+  func overrideFile(_ args: OverrideFileArgs) throws -> OverrideFileResult
 
   // Lists all variables declared in a KCL file.
-  func listVariables(_ args: ListVariables_Args) throws -> ListVariables_Result
+  func listVariables(_ args: ListVariablesArgs) throws -> ListVariablesResult
 
   // Lists all options defined in a KCL program.
-  func listOptions(_ args: ParseProgram_Args) throws -> ListOptions_Result
+  func listOptions(_ args: ParseProgramArgs) throws -> ListOptionsResult
 
   // Retrieves the full schema type mapping for a KCL program.
-  func getSchemaTypeMapping(_ args: GetSchemaTypeMapping_Args) throws -> GetSchemaTypeMapping_Result
+  func getSchemaTypeMapping(_ args: GetSchemaTypeMappingArgs) throws -> GetSchemaTypeMappingResult
 
   // Formats source code according to KCL style guidelines.
-  func formatCode(_ args: FormatCode_Args) throws -> FormatCode_Result
+  func formatCode(_ args: FormatCodeArgs) throws -> FormatCodeResult
 
   // Formats KCL files or directories to conform to style guidelines.
-  func formatPath(_ args: FormatPath_Args) throws -> FormatPath_Result
+  func formatPath(_ args: FormatPathArgs) throws -> FormatPathResult
 
   // Runs linting checks on KCL files and reports errors and warnings.
-  func lintPath(_ args: LintPath_Args) throws -> LintPath_Result
+  func lintPath(_ args: LintPathArgs) throws -> LintPathResult
 
   // Validates a data string against a schema defined in a KCL code string.
-  func validateCode(_ args: ValidateCode_Args) throws -> ValidateCode_Result
+  func validateCode(_ args: ValidateCodeArgs) throws -> ValidateCodeResult
 
   // Builds configuration from settings files.
-  func loadSettingsFiles(_ args: LoadSettingsFiles_Args) throws -> LoadSettingsFiles_Result
+  func loadSettingsFiles(_ args: LoadSettingsFilesArgs) throws -> LoadSettingsFilesResult
 
   // Renames symbols across files within a KCL package.
-  func rename(_ args: Rename_Args) throws -> Rename_Result
+  func rename(_ args: RenameArgs) throws -> RenameResult
 
   // Renames symbols in source code without modifying files directly.
-  func renameCode(_ args: RenameCode_Args) throws -> RenameCode_Result
+  func renameCode(_ args: RenameCodeArgs) throws -> RenameCodeResult
 
   // Executes tests on KCL packages using specified test arguments.
-  func test(_ args: Test_Args) throws -> Test_Result
+  func test(_ args: TestArgs) throws -> TestResult
 
   // Updates dependencies for a KCL project based on defined specifications.
-  func updateDependencies(_ args: UpdateDependencies_Args) throws -> UpdateDependencies_Result
+  func updateDependencies(_ args: UpdateDependenciesArgs) throws -> UpdateDependenciesResult
 
   // Retrieves version information about the KCL service.
-  func getVersion(_ args: GetVersion_Args) throws -> GetVersion_Result
+  func getVersion(_ args: GetVersionArgs) throws -> GetVersionResult
 }
diff --git a/swift/Sources/KclLib/spec.pb.swift b/swift/Sources/KclLib/spec.pb.swift
index db06351b..afa75788 100644
--- a/swift/Sources/KclLib/spec.pb.swift
+++ b/swift/Sources/KclLib/spec.pb.swift
@@ -107,7 +107,7 @@ public struct Message: Sendable {
 }
 
 /// Message for ping request arguments.
-public struct Ping_Args: Sendable {
+public struct PingArgs: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -121,7 +121,7 @@ public struct Ping_Args: Sendable {
 }
 
 /// Message for ping response.
-public struct Ping_Result: Sendable {
+public struct PingResult: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -135,7 +135,7 @@ public struct Ping_Result: Sendable {
 }
 
 /// Message for version request arguments. Empty message.
-public struct GetVersion_Args: Sendable {
+public struct GetVersionArgs: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -146,7 +146,7 @@ public struct GetVersion_Args: Sendable {
 }
 
 /// Message for version response.
-public struct GetVersion_Result: Sendable {
+public struct GetVersionResult: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -169,7 +169,7 @@ public struct GetVersion_Result: Sendable {
 }
 
 /// Message for list method request arguments. Empty message.
-public struct ListMethod_Args: Sendable {
+public struct ListMethodArgs: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -180,7 +180,7 @@ public struct ListMethod_Args: Sendable {
 }
 
 /// Message for list method response.
-public struct ListMethod_Result: Sendable {
+public struct ListMethodResult: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -194,7 +194,7 @@ public struct ListMethod_Result: Sendable {
 }
 
 /// Message for parse file request arguments.
-public struct ParseFile_Args: Sendable {
+public struct ParseFileArgs: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -214,7 +214,7 @@ public struct ParseFile_Args: Sendable {
 }
 
 /// Message for parse file response.
-public struct ParseFile_Result: Sendable {
+public struct ParseFileResult: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -234,7 +234,7 @@ public struct ParseFile_Result: Sendable {
 }
 
 /// Message for parse program request arguments.
-public struct ParseProgram_Args: Sendable {
+public struct ParseProgramArgs: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -254,7 +254,7 @@ public struct ParseProgram_Args: Sendable {
 }
 
 /// Message for parse program response.
-public struct ParseProgram_Result: Sendable {
+public struct ParseProgramResult: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -274,14 +274,14 @@ public struct ParseProgram_Result: Sendable {
 }
 
 /// Message for load package request arguments.
-public struct LoadPackage_Args: Sendable {
+public struct LoadPackageArgs: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
 
   /// Arguments for parsing the program.
-  public var parseArgs: ParseProgram_Args {
-    get {return _parseArgs ?? ParseProgram_Args()}
+  public var parseArgs: ParseProgramArgs {
+    get {return _parseArgs ?? ParseProgramArgs()}
     set {_parseArgs = newValue}
   }
   /// Returns true if `parseArgs` has been explicitly set.
@@ -302,11 +302,11 @@ public struct LoadPackage_Args: Sendable {
 
   public init() {}
 
-  fileprivate var _parseArgs: ParseProgram_Args? = nil
+  fileprivate var _parseArgs: ParseProgramArgs? = nil
 }
 
 /// Message for load package response.
-public struct LoadPackage_Result: Sendable {
+public struct LoadPackageResult: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -347,7 +347,7 @@ public struct LoadPackage_Result: Sendable {
 }
 
 /// Message for list options response.
-public struct ListOptions_Result: Sendable {
+public struct ListOptionsResult: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -524,7 +524,7 @@ public struct ScopeIndex: Sendable {
 }
 
 /// Message for execute program request arguments.
-public struct ExecProgram_Args: @unchecked Sendable {
+public struct ExecProgramArgs: @unchecked Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -645,7 +645,7 @@ public struct ExecProgram_Args: @unchecked Sendable {
 }
 
 /// Message for execute program response.
-public struct ExecProgram_Result: Sendable {
+public struct ExecProgramResult: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -668,14 +668,14 @@ public struct ExecProgram_Result: Sendable {
 }
 
 /// Message for build program request arguments.
-public struct BuildProgram_Args: Sendable {
+public struct BuildProgramArgs: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
 
   /// Arguments for executing the program.
-  public var execArgs: ExecProgram_Args {
-    get {return _execArgs ?? ExecProgram_Args()}
+  public var execArgs: ExecProgramArgs {
+    get {return _execArgs ?? ExecProgramArgs()}
     set {_execArgs = newValue}
   }
   /// Returns true if `execArgs` has been explicitly set.
@@ -690,11 +690,11 @@ public struct BuildProgram_Args: Sendable {
 
   public init() {}
 
-  fileprivate var _execArgs: ExecProgram_Args? = nil
+  fileprivate var _execArgs: ExecProgramArgs? = nil
 }
 
 /// Message for build program response.
-public struct BuildProgram_Result: Sendable {
+public struct BuildProgramResult: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -708,7 +708,7 @@ public struct BuildProgram_Result: Sendable {
 }
 
 /// Message for execute artifact request arguments.
-public struct ExecArtifact_Args: Sendable {
+public struct ExecArtifactArgs: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -717,8 +717,8 @@ public struct ExecArtifact_Args: Sendable {
   public var path: String = String()
 
   /// Arguments for executing the program.
-  public var execArgs: ExecProgram_Args {
-    get {return _execArgs ?? ExecProgram_Args()}
+  public var execArgs: ExecProgramArgs {
+    get {return _execArgs ?? ExecProgramArgs()}
     set {_execArgs = newValue}
   }
   /// Returns true if `execArgs` has been explicitly set.
@@ -730,11 +730,11 @@ public struct ExecArtifact_Args: Sendable {
 
   public init() {}
 
-  fileprivate var _execArgs: ExecProgram_Args? = nil
+  fileprivate var _execArgs: ExecProgramArgs? = nil
 }
 
 /// Message for format code request arguments.
-public struct FormatCode_Args: Sendable {
+public struct FormatCodeArgs: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -748,7 +748,7 @@ public struct FormatCode_Args: Sendable {
 }
 
 /// Message for format code response.
-public struct FormatCode_Result: @unchecked Sendable {
+public struct FormatCodeResult: @unchecked Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -762,7 +762,7 @@ public struct FormatCode_Result: @unchecked Sendable {
 }
 
 /// Message for format file path request arguments.
-public struct FormatPath_Args: Sendable {
+public struct FormatPathArgs: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -776,7 +776,7 @@ public struct FormatPath_Args: Sendable {
 }
 
 /// Message for format file path response.
-public struct FormatPath_Result: Sendable {
+public struct FormatPathResult: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -790,7 +790,7 @@ public struct FormatPath_Result: Sendable {
 }
 
 /// Message for lint file path request arguments.
-public struct LintPath_Args: Sendable {
+public struct LintPathArgs: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -804,7 +804,7 @@ public struct LintPath_Args: Sendable {
 }
 
 /// Message for lint file path response.
-public struct LintPath_Result: Sendable {
+public struct LintPathResult: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -818,7 +818,7 @@ public struct LintPath_Result: Sendable {
 }
 
 /// Message for override file request arguments.
-public struct OverrideFile_Args: Sendable {
+public struct OverrideFileArgs: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -838,7 +838,7 @@ public struct OverrideFile_Args: Sendable {
 }
 
 /// Message for override file response.
-public struct OverrideFile_Result: Sendable {
+public struct OverrideFileResult: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -855,7 +855,7 @@ public struct OverrideFile_Result: Sendable {
 }
 
 /// Message for list variables options.
-public struct ListVariables_Options: Sendable {
+public struct ListVariablesOptions: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -883,7 +883,7 @@ public struct VariableList: Sendable {
 }
 
 /// Message for list variables request arguments.
-public struct ListVariables_Args: Sendable {
+public struct ListVariablesArgs: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -895,8 +895,8 @@ public struct ListVariables_Args: Sendable {
   public var specs: [String] = []
 
   /// Options for listing variables.
-  public var options: ListVariables_Options {
-    get {return _options ?? ListVariables_Options()}
+  public var options: ListVariablesOptions {
+    get {return _options ?? ListVariablesOptions()}
     set {_options = newValue}
   }
   /// Returns true if `options` has been explicitly set.
@@ -908,11 +908,11 @@ public struct ListVariables_Args: Sendable {
 
   public init() {}
 
-  fileprivate var _options: ListVariables_Options? = nil
+  fileprivate var _options: ListVariablesOptions? = nil
 }
 
 /// Message for list variables response.
-public struct ListVariables_Result: Sendable {
+public struct ListVariablesResult: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -984,14 +984,14 @@ public struct MapEntry: Sendable {
 }
 
 /// Message for get schema type mapping request arguments.
-public struct GetSchemaTypeMapping_Args: Sendable {
+public struct GetSchemaTypeMappingArgs: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
 
   /// Arguments for executing the program.
-  public var execArgs: ExecProgram_Args {
-    get {return _execArgs ?? ExecProgram_Args()}
+  public var execArgs: ExecProgramArgs {
+    get {return _execArgs ?? ExecProgramArgs()}
     set {_execArgs = newValue}
   }
   /// Returns true if `execArgs` has been explicitly set.
@@ -1006,11 +1006,11 @@ public struct GetSchemaTypeMapping_Args: Sendable {
 
   public init() {}
 
-  fileprivate var _execArgs: ExecProgram_Args? = nil
+  fileprivate var _execArgs: ExecProgramArgs? = nil
 }
 
 /// Message for get schema type mapping response.
-public struct GetSchemaTypeMapping_Result: Sendable {
+public struct GetSchemaTypeMappingResult: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -1024,7 +1024,7 @@ public struct GetSchemaTypeMapping_Result: Sendable {
 }
 
 /// Message for validate code request arguments.
-public struct ValidateCode_Args: Sendable {
+public struct ValidateCodeArgs: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -1056,7 +1056,7 @@ public struct ValidateCode_Args: Sendable {
 }
 
 /// Message for validate code response.
-public struct ValidateCode_Result: Sendable {
+public struct ValidateCodeResult: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -1093,7 +1093,7 @@ public struct Position: Sendable {
 }
 
 /// Message for list dependency files request arguments.
-public struct ListDepFiles_Args: Sendable {
+public struct ListDepFilesArgs: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -1116,7 +1116,7 @@ public struct ListDepFiles_Args: Sendable {
 }
 
 /// Message for list dependency files response.
-public struct ListDepFiles_Result: Sendable {
+public struct ListDepFilesResult: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -1136,7 +1136,7 @@ public struct ListDepFiles_Result: Sendable {
 }
 
 /// Message for load settings files request arguments.
-public struct LoadSettingsFiles_Args: Sendable {
+public struct LoadSettingsFilesArgs: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -1153,7 +1153,7 @@ public struct LoadSettingsFiles_Args: Sendable {
 }
 
 /// Message for load settings files response.
-public struct LoadSettingsFiles_Result: Sendable {
+public struct LoadSettingsFilesResult: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -1243,7 +1243,7 @@ public struct KeyValuePair: Sendable {
 }
 
 /// Message for rename request arguments.
-public struct Rename_Args: Sendable {
+public struct RenameArgs: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -1266,7 +1266,7 @@ public struct Rename_Args: Sendable {
 }
 
 /// Message for rename response.
-public struct Rename_Result: Sendable {
+public struct RenameResult: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -1280,7 +1280,7 @@ public struct Rename_Result: Sendable {
 }
 
 /// Message for rename code request arguments.
-public struct RenameCode_Args: Sendable {
+public struct RenameCodeArgs: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -1303,7 +1303,7 @@ public struct RenameCode_Args: Sendable {
 }
 
 /// Message for rename code response.
-public struct RenameCode_Result: Sendable {
+public struct RenameCodeResult: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -1317,14 +1317,14 @@ public struct RenameCode_Result: Sendable {
 }
 
 /// Message for test request arguments.
-public struct Test_Args: Sendable {
+public struct TestArgs: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
 
   /// Execution program arguments.
-  public var execArgs: ExecProgram_Args {
-    get {return _execArgs ?? ExecProgram_Args()}
+  public var execArgs: ExecProgramArgs {
+    get {return _execArgs ?? ExecProgramArgs()}
     set {_execArgs = newValue}
   }
   /// Returns true if `execArgs` has been explicitly set.
@@ -1345,11 +1345,11 @@ public struct Test_Args: Sendable {
 
   public init() {}
 
-  fileprivate var _execArgs: ExecProgram_Args? = nil
+  fileprivate var _execArgs: ExecProgramArgs? = nil
 }
 
 /// Message for test response.
-public struct Test_Result: Sendable {
+public struct TestResult: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -1386,7 +1386,7 @@ public struct TestCaseInfo: Sendable {
 }
 
 /// Message for update dependencies request arguments.
-public struct UpdateDependencies_Args: Sendable {
+public struct UpdateDependenciesArgs: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -1403,7 +1403,7 @@ public struct UpdateDependencies_Args: Sendable {
 }
 
 /// Message for update dependencies response.
-public struct UpdateDependencies_Result: Sendable {
+public struct UpdateDependenciesResult: Sendable {
   // SwiftProtobuf.Message conformance is added in an extension below. See the
   // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
   // methods supported on all messages.
@@ -1741,8 +1741,8 @@ extension Message: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBa
   }
 }
 
-extension Ping_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "Ping_Args"
+extension PingArgs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "PingArgs"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .same(proto: "value"),
   ]
@@ -1766,15 +1766,15 @@ extension Ping_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: Ping_Args, rhs: Ping_Args) -> Bool {
+  public static func ==(lhs: PingArgs, rhs: PingArgs) -> Bool {
     if lhs.value != rhs.value {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
     return true
   }
 }
 
-extension Ping_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "Ping_Result"
+extension PingResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "PingResult"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .same(proto: "value"),
   ]
@@ -1798,15 +1798,15 @@ extension Ping_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: Ping_Result, rhs: Ping_Result) -> Bool {
+  public static func ==(lhs: PingResult, rhs: PingResult) -> Bool {
     if lhs.value != rhs.value {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
     return true
   }
 }
 
-extension GetVersion_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "GetVersion_Args"
+extension GetVersionArgs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "GetVersionArgs"
   public static let _protobuf_nameMap = SwiftProtobuf._NameMap()
 
   public mutating func decodeMessage(decoder: inout D) throws {
@@ -1818,14 +1818,14 @@ extension GetVersion_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: GetVersion_Args, rhs: GetVersion_Args) -> Bool {
+  public static func ==(lhs: GetVersionArgs, rhs: GetVersionArgs) -> Bool {
     if lhs.unknownFields != rhs.unknownFields {return false}
     return true
   }
 }
 
-extension GetVersion_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "GetVersion_Result"
+extension GetVersionResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "GetVersionResult"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .same(proto: "version"),
     2: .same(proto: "checksum"),
@@ -1864,7 +1864,7 @@ extension GetVersion_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: GetVersion_Result, rhs: GetVersion_Result) -> Bool {
+  public static func ==(lhs: GetVersionResult, rhs: GetVersionResult) -> Bool {
     if lhs.version != rhs.version {return false}
     if lhs.checksum != rhs.checksum {return false}
     if lhs.gitSha != rhs.gitSha {return false}
@@ -1874,8 +1874,8 @@ extension GetVersion_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem
   }
 }
 
-extension ListMethod_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "ListMethod_Args"
+extension ListMethodArgs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "ListMethodArgs"
   public static let _protobuf_nameMap = SwiftProtobuf._NameMap()
 
   public mutating func decodeMessage(decoder: inout D) throws {
@@ -1887,14 +1887,14 @@ extension ListMethod_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: ListMethod_Args, rhs: ListMethod_Args) -> Bool {
+  public static func ==(lhs: ListMethodArgs, rhs: ListMethodArgs) -> Bool {
     if lhs.unknownFields != rhs.unknownFields {return false}
     return true
   }
 }
 
-extension ListMethod_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "ListMethod_Result"
+extension ListMethodResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "ListMethodResult"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .standard(proto: "method_name_list"),
   ]
@@ -1918,15 +1918,15 @@ extension ListMethod_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: ListMethod_Result, rhs: ListMethod_Result) -> Bool {
+  public static func ==(lhs: ListMethodResult, rhs: ListMethodResult) -> Bool {
     if lhs.methodNameList != rhs.methodNameList {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
     return true
   }
 }
 
-extension ParseFile_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "ParseFile_Args"
+extension ParseFileArgs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "ParseFileArgs"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .same(proto: "path"),
     2: .same(proto: "source"),
@@ -1960,7 +1960,7 @@ extension ParseFile_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: ParseFile_Args, rhs: ParseFile_Args) -> Bool {
+  public static func ==(lhs: ParseFileArgs, rhs: ParseFileArgs) -> Bool {
     if lhs.path != rhs.path {return false}
     if lhs.source != rhs.source {return false}
     if lhs.externalPkgs != rhs.externalPkgs {return false}
@@ -1969,8 +1969,8 @@ extension ParseFile_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement
   }
 }
 
-extension ParseFile_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "ParseFile_Result"
+extension ParseFileResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "ParseFileResult"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .standard(proto: "ast_json"),
     2: .same(proto: "deps"),
@@ -2004,7 +2004,7 @@ extension ParseFile_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: ParseFile_Result, rhs: ParseFile_Result) -> Bool {
+  public static func ==(lhs: ParseFileResult, rhs: ParseFileResult) -> Bool {
     if lhs.astJson != rhs.astJson {return false}
     if lhs.deps != rhs.deps {return false}
     if lhs.errors != rhs.errors {return false}
@@ -2013,8 +2013,8 @@ extension ParseFile_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
   }
 }
 
-extension ParseProgram_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "ParseProgram_Args"
+extension ParseProgramArgs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "ParseProgramArgs"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .same(proto: "paths"),
     2: .same(proto: "sources"),
@@ -2048,7 +2048,7 @@ extension ParseProgram_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: ParseProgram_Args, rhs: ParseProgram_Args) -> Bool {
+  public static func ==(lhs: ParseProgramArgs, rhs: ParseProgramArgs) -> Bool {
     if lhs.paths != rhs.paths {return false}
     if lhs.sources != rhs.sources {return false}
     if lhs.externalPkgs != rhs.externalPkgs {return false}
@@ -2057,8 +2057,8 @@ extension ParseProgram_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem
   }
 }
 
-extension ParseProgram_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "ParseProgram_Result"
+extension ParseProgramResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "ParseProgramResult"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .standard(proto: "ast_json"),
     2: .same(proto: "paths"),
@@ -2092,7 +2092,7 @@ extension ParseProgram_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: ParseProgram_Result, rhs: ParseProgram_Result) -> Bool {
+  public static func ==(lhs: ParseProgramResult, rhs: ParseProgramResult) -> Bool {
     if lhs.astJson != rhs.astJson {return false}
     if lhs.paths != rhs.paths {return false}
     if lhs.errors != rhs.errors {return false}
@@ -2101,8 +2101,8 @@ extension ParseProgram_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl
   }
 }
 
-extension LoadPackage_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "LoadPackage_Args"
+extension LoadPackageArgs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "LoadPackageArgs"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .standard(proto: "parse_args"),
     2: .standard(proto: "resolve_ast"),
@@ -2145,7 +2145,7 @@ extension LoadPackage_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: LoadPackage_Args, rhs: LoadPackage_Args) -> Bool {
+  public static func ==(lhs: LoadPackageArgs, rhs: LoadPackageArgs) -> Bool {
     if lhs._parseArgs != rhs._parseArgs {return false}
     if lhs.resolveAst != rhs.resolveAst {return false}
     if lhs.loadBuiltin != rhs.loadBuiltin {return false}
@@ -2155,8 +2155,8 @@ extension LoadPackage_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
   }
 }
 
-extension LoadPackage_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "LoadPackage_Result"
+extension LoadPackageResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "LoadPackageResult"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .same(proto: "program"),
     2: .same(proto: "paths"),
@@ -2225,7 +2225,7 @@ extension LoadPackage_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImple
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: LoadPackage_Result, rhs: LoadPackage_Result) -> Bool {
+  public static func ==(lhs: LoadPackageResult, rhs: LoadPackageResult) -> Bool {
     if lhs.program != rhs.program {return false}
     if lhs.paths != rhs.paths {return false}
     if lhs.parseErrors != rhs.parseErrors {return false}
@@ -2241,8 +2241,8 @@ extension LoadPackage_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImple
   }
 }
 
-extension ListOptions_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "ListOptions_Result"
+extension ListOptionsResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "ListOptionsResult"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     2: .same(proto: "options"),
   ]
@@ -2266,7 +2266,7 @@ extension ListOptions_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImple
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: ListOptions_Result, rhs: ListOptions_Result) -> Bool {
+  public static func ==(lhs: ListOptionsResult, rhs: ListOptionsResult) -> Bool {
     if lhs.options != rhs.options {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
     return true
@@ -2543,8 +2543,8 @@ extension ScopeIndex: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementatio
   }
 }
 
-extension ExecProgram_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "ExecProgram_Args"
+extension ExecProgramArgs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "ExecProgramArgs"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .standard(proto: "work_dir"),
     2: .standard(proto: "k_filename_list"),
@@ -2719,7 +2719,7 @@ extension ExecProgram_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: ExecProgram_Args, rhs: ExecProgram_Args) -> Bool {
+  public static func ==(lhs: ExecProgramArgs, rhs: ExecProgramArgs) -> Bool {
     if lhs._storage !== rhs._storage {
       let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in
         let _storage = _args.0
@@ -2751,8 +2751,8 @@ extension ExecProgram_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
   }
 }
 
-extension ExecProgram_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "ExecProgram_Result"
+extension ExecProgramResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "ExecProgramResult"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .standard(proto: "json_result"),
     2: .standard(proto: "yaml_result"),
@@ -2791,7 +2791,7 @@ extension ExecProgram_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImple
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: ExecProgram_Result, rhs: ExecProgram_Result) -> Bool {
+  public static func ==(lhs: ExecProgramResult, rhs: ExecProgramResult) -> Bool {
     if lhs.jsonResult != rhs.jsonResult {return false}
     if lhs.yamlResult != rhs.yamlResult {return false}
     if lhs.logMessage != rhs.logMessage {return false}
@@ -2801,8 +2801,8 @@ extension ExecProgram_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImple
   }
 }
 
-extension BuildProgram_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "BuildProgram_Args"
+extension BuildProgramArgs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "BuildProgramArgs"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .standard(proto: "exec_args"),
     2: .same(proto: "output"),
@@ -2835,7 +2835,7 @@ extension BuildProgram_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: BuildProgram_Args, rhs: BuildProgram_Args) -> Bool {
+  public static func ==(lhs: BuildProgramArgs, rhs: BuildProgramArgs) -> Bool {
     if lhs._execArgs != rhs._execArgs {return false}
     if lhs.output != rhs.output {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
@@ -2843,8 +2843,8 @@ extension BuildProgram_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem
   }
 }
 
-extension BuildProgram_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "BuildProgram_Result"
+extension BuildProgramResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "BuildProgramResult"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .same(proto: "path"),
   ]
@@ -2868,15 +2868,15 @@ extension BuildProgram_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: BuildProgram_Result, rhs: BuildProgram_Result) -> Bool {
+  public static func ==(lhs: BuildProgramResult, rhs: BuildProgramResult) -> Bool {
     if lhs.path != rhs.path {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
     return true
   }
 }
 
-extension ExecArtifact_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "ExecArtifact_Args"
+extension ExecArtifactArgs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "ExecArtifactArgs"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .same(proto: "path"),
     2: .standard(proto: "exec_args"),
@@ -2909,7 +2909,7 @@ extension ExecArtifact_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: ExecArtifact_Args, rhs: ExecArtifact_Args) -> Bool {
+  public static func ==(lhs: ExecArtifactArgs, rhs: ExecArtifactArgs) -> Bool {
     if lhs.path != rhs.path {return false}
     if lhs._execArgs != rhs._execArgs {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
@@ -2917,8 +2917,8 @@ extension ExecArtifact_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem
   }
 }
 
-extension FormatCode_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "FormatCode_Args"
+extension FormatCodeArgs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "FormatCodeArgs"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .same(proto: "source"),
   ]
@@ -2942,15 +2942,15 @@ extension FormatCode_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: FormatCode_Args, rhs: FormatCode_Args) -> Bool {
+  public static func ==(lhs: FormatCodeArgs, rhs: FormatCodeArgs) -> Bool {
     if lhs.source != rhs.source {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
     return true
   }
 }
 
-extension FormatCode_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "FormatCode_Result"
+extension FormatCodeResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "FormatCodeResult"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .same(proto: "formatted"),
   ]
@@ -2974,15 +2974,15 @@ extension FormatCode_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: FormatCode_Result, rhs: FormatCode_Result) -> Bool {
+  public static func ==(lhs: FormatCodeResult, rhs: FormatCodeResult) -> Bool {
     if lhs.formatted != rhs.formatted {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
     return true
   }
 }
 
-extension FormatPath_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "FormatPath_Args"
+extension FormatPathArgs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "FormatPathArgs"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .same(proto: "path"),
   ]
@@ -3006,15 +3006,15 @@ extension FormatPath_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: FormatPath_Args, rhs: FormatPath_Args) -> Bool {
+  public static func ==(lhs: FormatPathArgs, rhs: FormatPathArgs) -> Bool {
     if lhs.path != rhs.path {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
     return true
   }
 }
 
-extension FormatPath_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "FormatPath_Result"
+extension FormatPathResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "FormatPathResult"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .standard(proto: "changed_paths"),
   ]
@@ -3038,15 +3038,15 @@ extension FormatPath_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: FormatPath_Result, rhs: FormatPath_Result) -> Bool {
+  public static func ==(lhs: FormatPathResult, rhs: FormatPathResult) -> Bool {
     if lhs.changedPaths != rhs.changedPaths {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
     return true
   }
 }
 
-extension LintPath_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "LintPath_Args"
+extension LintPathArgs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "LintPathArgs"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .same(proto: "paths"),
   ]
@@ -3070,15 +3070,15 @@ extension LintPath_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: LintPath_Args, rhs: LintPath_Args) -> Bool {
+  public static func ==(lhs: LintPathArgs, rhs: LintPathArgs) -> Bool {
     if lhs.paths != rhs.paths {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
     return true
   }
 }
 
-extension LintPath_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "LintPath_Result"
+extension LintPathResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "LintPathResult"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .same(proto: "results"),
   ]
@@ -3102,15 +3102,15 @@ extension LintPath_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: LintPath_Result, rhs: LintPath_Result) -> Bool {
+  public static func ==(lhs: LintPathResult, rhs: LintPathResult) -> Bool {
     if lhs.results != rhs.results {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
     return true
   }
 }
 
-extension OverrideFile_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "OverrideFile_Args"
+extension OverrideFileArgs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "OverrideFileArgs"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .same(proto: "file"),
     2: .same(proto: "specs"),
@@ -3144,7 +3144,7 @@ extension OverrideFile_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: OverrideFile_Args, rhs: OverrideFile_Args) -> Bool {
+  public static func ==(lhs: OverrideFileArgs, rhs: OverrideFileArgs) -> Bool {
     if lhs.file != rhs.file {return false}
     if lhs.specs != rhs.specs {return false}
     if lhs.importPaths != rhs.importPaths {return false}
@@ -3153,8 +3153,8 @@ extension OverrideFile_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem
   }
 }
 
-extension OverrideFile_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "OverrideFile_Result"
+extension OverrideFileResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "OverrideFileResult"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .same(proto: "result"),
     2: .standard(proto: "parse_errors"),
@@ -3183,7 +3183,7 @@ extension OverrideFile_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: OverrideFile_Result, rhs: OverrideFile_Result) -> Bool {
+  public static func ==(lhs: OverrideFileResult, rhs: OverrideFileResult) -> Bool {
     if lhs.result != rhs.result {return false}
     if lhs.parseErrors != rhs.parseErrors {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
@@ -3191,8 +3191,8 @@ extension OverrideFile_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl
   }
 }
 
-extension ListVariables_Options: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "ListVariables_Options"
+extension ListVariablesOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "ListVariablesOptions"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .standard(proto: "merge_program"),
   ]
@@ -3216,7 +3216,7 @@ extension ListVariables_Options: SwiftProtobuf.Message, SwiftProtobuf._MessageIm
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: ListVariables_Options, rhs: ListVariables_Options) -> Bool {
+  public static func ==(lhs: ListVariablesOptions, rhs: ListVariablesOptions) -> Bool {
     if lhs.mergeProgram != rhs.mergeProgram {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
     return true
@@ -3255,8 +3255,8 @@ extension VariableList: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat
   }
 }
 
-extension ListVariables_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "ListVariables_Args"
+extension ListVariablesArgs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "ListVariablesArgs"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .same(proto: "files"),
     2: .same(proto: "specs"),
@@ -3294,7 +3294,7 @@ extension ListVariables_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImple
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: ListVariables_Args, rhs: ListVariables_Args) -> Bool {
+  public static func ==(lhs: ListVariablesArgs, rhs: ListVariablesArgs) -> Bool {
     if lhs.files != rhs.files {return false}
     if lhs.specs != rhs.specs {return false}
     if lhs._options != rhs._options {return false}
@@ -3303,8 +3303,8 @@ extension ListVariables_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImple
   }
 }
 
-extension ListVariables_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "ListVariables_Result"
+extension ListVariablesResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "ListVariablesResult"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .same(proto: "variables"),
     2: .standard(proto: "unsupported_codes"),
@@ -3338,7 +3338,7 @@ extension ListVariables_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImp
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: ListVariables_Result, rhs: ListVariables_Result) -> Bool {
+  public static func ==(lhs: ListVariablesResult, rhs: ListVariablesResult) -> Bool {
     if lhs.variables != rhs.variables {return false}
     if lhs.unsupportedCodes != rhs.unsupportedCodes {return false}
     if lhs.parseErrors != rhs.parseErrors {return false}
@@ -3445,8 +3445,8 @@ extension MapEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
   }
 }
 
-extension GetSchemaTypeMapping_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "GetSchemaTypeMapping_Args"
+extension GetSchemaTypeMappingArgs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "GetSchemaTypeMappingArgs"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .standard(proto: "exec_args"),
     2: .standard(proto: "schema_name"),
@@ -3479,7 +3479,7 @@ extension GetSchemaTypeMapping_Args: SwiftProtobuf.Message, SwiftProtobuf._Messa
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: GetSchemaTypeMapping_Args, rhs: GetSchemaTypeMapping_Args) -> Bool {
+  public static func ==(lhs: GetSchemaTypeMappingArgs, rhs: GetSchemaTypeMappingArgs) -> Bool {
     if lhs._execArgs != rhs._execArgs {return false}
     if lhs.schemaName != rhs.schemaName {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
@@ -3487,8 +3487,8 @@ extension GetSchemaTypeMapping_Args: SwiftProtobuf.Message, SwiftProtobuf._Messa
   }
 }
 
-extension GetSchemaTypeMapping_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "GetSchemaTypeMapping_Result"
+extension GetSchemaTypeMappingResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "GetSchemaTypeMappingResult"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .standard(proto: "schema_type_mapping"),
   ]
@@ -3512,15 +3512,15 @@ extension GetSchemaTypeMapping_Result: SwiftProtobuf.Message, SwiftProtobuf._Mes
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: GetSchemaTypeMapping_Result, rhs: GetSchemaTypeMapping_Result) -> Bool {
+  public static func ==(lhs: GetSchemaTypeMappingResult, rhs: GetSchemaTypeMappingResult) -> Bool {
     if lhs.schemaTypeMapping != rhs.schemaTypeMapping {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
     return true
   }
 }
 
-extension ValidateCode_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "ValidateCode_Args"
+extension ValidateCodeArgs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "ValidateCodeArgs"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .same(proto: "datafile"),
     2: .same(proto: "data"),
@@ -3574,7 +3574,7 @@ extension ValidateCode_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: ValidateCode_Args, rhs: ValidateCode_Args) -> Bool {
+  public static func ==(lhs: ValidateCodeArgs, rhs: ValidateCodeArgs) -> Bool {
     if lhs.datafile != rhs.datafile {return false}
     if lhs.data != rhs.data {return false}
     if lhs.file != rhs.file {return false}
@@ -3587,8 +3587,8 @@ extension ValidateCode_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem
   }
 }
 
-extension ValidateCode_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "ValidateCode_Result"
+extension ValidateCodeResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "ValidateCodeResult"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .same(proto: "success"),
     2: .standard(proto: "err_message"),
@@ -3617,7 +3617,7 @@ extension ValidateCode_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: ValidateCode_Result, rhs: ValidateCode_Result) -> Bool {
+  public static func ==(lhs: ValidateCodeResult, rhs: ValidateCodeResult) -> Bool {
     if lhs.success != rhs.success {return false}
     if lhs.errMessage != rhs.errMessage {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
@@ -3669,8 +3669,8 @@ extension Position: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
   }
 }
 
-extension ListDepFiles_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "ListDepFiles_Args"
+extension ListDepFilesArgs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "ListDepFilesArgs"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .standard(proto: "work_dir"),
     2: .standard(proto: "use_abs_path"),
@@ -3709,7 +3709,7 @@ extension ListDepFiles_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: ListDepFiles_Args, rhs: ListDepFiles_Args) -> Bool {
+  public static func ==(lhs: ListDepFilesArgs, rhs: ListDepFilesArgs) -> Bool {
     if lhs.workDir != rhs.workDir {return false}
     if lhs.useAbsPath != rhs.useAbsPath {return false}
     if lhs.includeAll != rhs.includeAll {return false}
@@ -3719,8 +3719,8 @@ extension ListDepFiles_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem
   }
 }
 
-extension ListDepFiles_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "ListDepFiles_Result"
+extension ListDepFilesResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "ListDepFilesResult"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .same(proto: "pkgroot"),
     2: .same(proto: "pkgpath"),
@@ -3754,7 +3754,7 @@ extension ListDepFiles_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: ListDepFiles_Result, rhs: ListDepFiles_Result) -> Bool {
+  public static func ==(lhs: ListDepFilesResult, rhs: ListDepFilesResult) -> Bool {
     if lhs.pkgroot != rhs.pkgroot {return false}
     if lhs.pkgpath != rhs.pkgpath {return false}
     if lhs.files != rhs.files {return false}
@@ -3763,8 +3763,8 @@ extension ListDepFiles_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl
   }
 }
 
-extension LoadSettingsFiles_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "LoadSettingsFiles_Args"
+extension LoadSettingsFilesArgs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "LoadSettingsFilesArgs"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .standard(proto: "work_dir"),
     2: .same(proto: "files"),
@@ -3793,7 +3793,7 @@ extension LoadSettingsFiles_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageI
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: LoadSettingsFiles_Args, rhs: LoadSettingsFiles_Args) -> Bool {
+  public static func ==(lhs: LoadSettingsFilesArgs, rhs: LoadSettingsFilesArgs) -> Bool {
     if lhs.workDir != rhs.workDir {return false}
     if lhs.files != rhs.files {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
@@ -3801,8 +3801,8 @@ extension LoadSettingsFiles_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageI
   }
 }
 
-extension LoadSettingsFiles_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "LoadSettingsFiles_Result"
+extension LoadSettingsFilesResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "LoadSettingsFilesResult"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .standard(proto: "kcl_cli_configs"),
     2: .standard(proto: "kcl_options"),
@@ -3835,7 +3835,7 @@ extension LoadSettingsFiles_Result: SwiftProtobuf.Message, SwiftProtobuf._Messag
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: LoadSettingsFiles_Result, rhs: LoadSettingsFiles_Result) -> Bool {
+  public static func ==(lhs: LoadSettingsFilesResult, rhs: LoadSettingsFilesResult) -> Bool {
     if lhs._kclCliConfigs != rhs._kclCliConfigs {return false}
     if lhs.kclOptions != rhs.kclOptions {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
@@ -3979,8 +3979,8 @@ extension KeyValuePair: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat
   }
 }
 
-extension Rename_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "Rename_Args"
+extension RenameArgs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "RenameArgs"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .standard(proto: "package_root"),
     2: .standard(proto: "symbol_path"),
@@ -4019,7 +4019,7 @@ extension Rename_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: Rename_Args, rhs: Rename_Args) -> Bool {
+  public static func ==(lhs: RenameArgs, rhs: RenameArgs) -> Bool {
     if lhs.packageRoot != rhs.packageRoot {return false}
     if lhs.symbolPath != rhs.symbolPath {return false}
     if lhs.filePaths != rhs.filePaths {return false}
@@ -4029,8 +4029,8 @@ extension Rename_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati
   }
 }
 
-extension Rename_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "Rename_Result"
+extension RenameResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "RenameResult"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .standard(proto: "changed_files"),
   ]
@@ -4054,15 +4054,15 @@ extension Rename_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: Rename_Result, rhs: Rename_Result) -> Bool {
+  public static func ==(lhs: RenameResult, rhs: RenameResult) -> Bool {
     if lhs.changedFiles != rhs.changedFiles {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
     return true
   }
 }
 
-extension RenameCode_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "RenameCode_Args"
+extension RenameCodeArgs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "RenameCodeArgs"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .standard(proto: "package_root"),
     2: .standard(proto: "symbol_path"),
@@ -4101,7 +4101,7 @@ extension RenameCode_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: RenameCode_Args, rhs: RenameCode_Args) -> Bool {
+  public static func ==(lhs: RenameCodeArgs, rhs: RenameCodeArgs) -> Bool {
     if lhs.packageRoot != rhs.packageRoot {return false}
     if lhs.symbolPath != rhs.symbolPath {return false}
     if lhs.sourceCodes != rhs.sourceCodes {return false}
@@ -4111,8 +4111,8 @@ extension RenameCode_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen
   }
 }
 
-extension RenameCode_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "RenameCode_Result"
+extension RenameCodeResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "RenameCodeResult"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .standard(proto: "changed_codes"),
   ]
@@ -4136,15 +4136,15 @@ extension RenameCode_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: RenameCode_Result, rhs: RenameCode_Result) -> Bool {
+  public static func ==(lhs: RenameCodeResult, rhs: RenameCodeResult) -> Bool {
     if lhs.changedCodes != rhs.changedCodes {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
     return true
   }
 }
 
-extension Test_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "Test_Args"
+extension TestArgs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "TestArgs"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .standard(proto: "exec_args"),
     2: .standard(proto: "pkg_list"),
@@ -4187,7 +4187,7 @@ extension Test_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: Test_Args, rhs: Test_Args) -> Bool {
+  public static func ==(lhs: TestArgs, rhs: TestArgs) -> Bool {
     if lhs._execArgs != rhs._execArgs {return false}
     if lhs.pkgList != rhs.pkgList {return false}
     if lhs.runRegexp != rhs.runRegexp {return false}
@@ -4197,8 +4197,8 @@ extension Test_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementation
   }
 }
 
-extension Test_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "Test_Result"
+extension TestResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "TestResult"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     2: .same(proto: "info"),
   ]
@@ -4222,7 +4222,7 @@ extension Test_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementati
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: Test_Result, rhs: Test_Result) -> Bool {
+  public static func ==(lhs: TestResult, rhs: TestResult) -> Bool {
     if lhs.info != rhs.info {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
     return true
@@ -4279,8 +4279,8 @@ extension TestCaseInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat
   }
 }
 
-extension UpdateDependencies_Args: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "UpdateDependencies_Args"
+extension UpdateDependenciesArgs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "UpdateDependenciesArgs"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     1: .standard(proto: "manifest_path"),
     2: .same(proto: "vendor"),
@@ -4309,7 +4309,7 @@ extension UpdateDependencies_Args: SwiftProtobuf.Message, SwiftProtobuf._Message
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: UpdateDependencies_Args, rhs: UpdateDependencies_Args) -> Bool {
+  public static func ==(lhs: UpdateDependenciesArgs, rhs: UpdateDependenciesArgs) -> Bool {
     if lhs.manifestPath != rhs.manifestPath {return false}
     if lhs.vendor != rhs.vendor {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
@@ -4317,8 +4317,8 @@ extension UpdateDependencies_Args: SwiftProtobuf.Message, SwiftProtobuf._Message
   }
 }
 
-extension UpdateDependencies_Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
-  public static let protoMessageName: String = "UpdateDependencies_Result"
+extension UpdateDependenciesResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+  public static let protoMessageName: String = "UpdateDependenciesResult"
   public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
     3: .standard(proto: "external_pkgs"),
   ]
@@ -4342,7 +4342,7 @@ extension UpdateDependencies_Result: SwiftProtobuf.Message, SwiftProtobuf._Messa
     try unknownFields.traverse(visitor: &visitor)
   }
 
-  public static func ==(lhs: UpdateDependencies_Result, rhs: UpdateDependencies_Result) -> Bool {
+  public static func ==(lhs: UpdateDependenciesResult, rhs: UpdateDependenciesResult) -> Bool {
     if lhs.externalPkgs != rhs.externalPkgs {return false}
     if lhs.unknownFields != rhs.unknownFields {return false}
     return true
diff --git a/swift/Tests/KclLibTests/KclLibTests.swift b/swift/Tests/KclLibTests/KclLibTests.swift
index 8fd1f898..c8e6c554 100644
--- a/swift/Tests/KclLibTests/KclLibTests.swift
+++ b/swift/Tests/KclLibTests/KclLibTests.swift
@@ -5,7 +5,7 @@ import XCTest
 final class KClLibTests: XCTestCase {
     func testExecProgram() throws {
         let api = API()
-        var execArgs = ExecProgram_Args()
+        var execArgs = ExecProgramArgs()
         execArgs.kFilenameList.append("test_data/schema.k")
         do {
             let result = try api.execProgram(execArgs)
diff --git a/swift/src/lib.rs b/swift/src/lib.rs
index 9f31af9f..7248c65a 100644
--- a/swift/src/lib.rs
+++ b/swift/src/lib.rs
@@ -1,6 +1,6 @@
-extern crate kclvm_api;
+extern crate kcl_api;
 
-#[no_mangle]
+#[unsafe(no_mangle)]
 pub extern "C" fn callNative(
     name_ptr: *const u8,
     name_len: usize,
@@ -8,5 +8,5 @@ pub extern "C" fn callNative(
     args_len: usize,
     result_ptr: *mut u8,
 ) -> usize {
-    kclvm_api::call_native(name_ptr, name_len, args_ptr, args_len, result_ptr)
+    kcl_api::call_native(name_ptr, name_len, args_ptr, args_len, result_ptr)
 }
diff --git a/wasm/.gitignore b/wasm/.gitignore
index 3b999bbd..a5e693bb 100644
--- a/wasm/.gitignore
+++ b/wasm/.gitignore
@@ -10,6 +10,7 @@ yarn-debug.log*
 yarn-error.log*
 lerna-debug.log*
 package-lock.json
+pnpm-lock.yaml
 
 # Diagnostic reports (https://nodejs.org/api/report.html)
 report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
diff --git a/wasm/README.md b/wasm/README.md
index 9618f4bf..f83353c7 100644
--- a/wasm/README.md
+++ b/wasm/README.md
@@ -89,7 +89,7 @@ npm install
 ### Building
 
 ```shell
-npm run compile
+npm run build
 ```
 
 ### Testing
diff --git a/wasm/examples/rust/Cargo.toml b/wasm/examples/rust/Cargo.toml
index 4d6b3969..cc80afc6 100644
--- a/wasm/examples/rust/Cargo.toml
+++ b/wasm/examples/rust/Cargo.toml
@@ -1,7 +1,7 @@
 [package]
 name = "kcl-wasm-lib"
 version = "0.1.0"
-edition = "2021"
+edition = "2024"
 
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
diff --git a/wasm/package.json b/wasm/package.json
index d11b21d5..2db9e6ac 100644
--- a/wasm/package.json
+++ b/wasm/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@kcl-lang/wasm-lib",
-  "version": "0.11.1",
+  "version": "0.12.0",
   "description": "KCL WASM module",
   "files": [
     "kcl.wasm",
@@ -23,8 +23,9 @@
     "prettier": "^2.8.4"
   },
   "devDependencies": {
+    "@jest/globals": "^30.2.0",
     "@types/jest": "^29.5.12",
-    "@types/node": "^20.11.1",
+    "@types/node": "^20.12.0",
     "jest": "^29.7.0",
     "prettier": "^2.8.4",
     "ts-jest": "^29.2.5",
diff --git a/wasm/src/index.ts b/wasm/src/index.ts
index d2e335ae..f2f98fd0 100644
--- a/wasm/src/index.ts
+++ b/wasm/src/index.ts
@@ -38,7 +38,7 @@ export interface KCLWasmLoadOptions {
    *
    * @default - The kcl.wasm bundled with this package is read from disk.
    */
-  data?: Uint8Array;
+  data?: BufferSource;
 
   readonly log?: (...args: any[]) => void;
 }
@@ -76,7 +76,7 @@ export async function load(opts?: KCLWasmLoadOptions) {
 
   let bytes: BufferSource;
   if (options.data) {
-    bytes = options.data;
+    bytes = options.data as BufferSource;
   } else {
     if (typeof window !== "undefined") {
       const response = await fetch("../kcl.wasm");
@@ -85,11 +85,12 @@ export async function load(opts?: KCLWasmLoadOptions) {
       const fs = require("fs");
       const path = require("path");
       const wasmPath = path.resolve(__dirname, "../kcl.wasm");
-      bytes = fs.readFileSync(wasmPath);
+      bytes = fs.readFileSync(wasmPath) as unknown as BufferSource;
     } else {
       throw new Error("Unsupported environment");
     }
   }
+
   const imports = {
     env: {
       kclvm_plugin_invoke_json_wasm: (
@@ -97,15 +98,13 @@ export async function load(opts?: KCLWasmLoadOptions) {
         _args: number,
         _kwargs: number
       ) => {
-        // TODO: KCL WASM plugin impl
         return 0;
       },
     },
     ...(options.imports ?? {}),
-  } as object;
+  } as const;
 
   const module = await WebAssembly.compile(bytes);
-  // Instantiate the WASI module
   return w.instantiate(module, imports);
 }
 
@@ -116,7 +115,7 @@ export function invokeKCLRun(
   instance: WebAssembly.Instance,
   opts: RunOptions
 ): string {
-  const exports = instance.exports as any;
+  const exports = instance.exports as Record;
   const [filenamePtr, filenamePtrLength] = copyStringToWasmMemory(
     instance,
     opts.filename
@@ -125,7 +124,8 @@ export function invokeKCLRun(
     instance,
     opts.source
   );
-  let result;
+  let result = "";
+
   try {
     const resultPtr = exports[RUN_FUNCTION_NAME](filenamePtr, sourcePtr);
     const [resultStr, resultPtrLength] = copyCStrFromWasmMemory(
@@ -135,16 +135,17 @@ export function invokeKCLRun(
     exports.kcl_free(resultPtr, resultPtrLength);
     result = resultStr;
   } catch (error) {
-    let runtimeErrPtrLength = 1024;
-    let runtimeErrPtr = exports.kcl_malloc(runtimeErrPtrLength);
+    const runtimeErrPtrLength = 1024;
+    const runtimeErrPtr = exports.kcl_malloc(runtimeErrPtrLength);
     exports[RUNTIME_ERR_FUNCTION_NAME](runtimeErrPtr, runtimeErrPtrLength);
-    const [runtimeErrStr, _] = copyCStrFromWasmMemory(instance, runtimeErrPtr);
+    const [runtimeErrStr] = copyCStrFromWasmMemory(instance, runtimeErrPtr);
     exports.kcl_free(runtimeErrPtr, runtimeErrPtrLength);
     result = "ERROR:" + runtimeErrStr;
   } finally {
     exports.kcl_free(filenamePtr, filenamePtrLength);
     exports.kcl_free(sourcePtr, sourcePtrLength);
   }
+
   return result;
 }
 
@@ -155,7 +156,7 @@ export function invokeKCLFmt(
   instance: WebAssembly.Instance,
   opts: FmtOptions
 ): string {
-  const exports = instance.exports as any;
+  const exports = instance.exports as Record;
   const [sourcePtr, sourcePtrLength] = copyStringToWasmMemory(
     instance,
     opts.source
@@ -165,6 +166,7 @@ export function invokeKCLFmt(
     instance,
     resultPtr
   );
+
   exports.kcl_free(sourcePtr, sourcePtrLength);
   exports.kcl_free(resultPtr, resultPtrLength);
   return resultStr;
@@ -174,29 +176,28 @@ function copyStringToWasmMemory(
   instance: WebAssembly.Instance,
   str: string
 ): [number, number] {
-  const exports = instance.exports as any;
+  const exports = instance.exports as Record;
   const encodedString = new TextEncoder().encode(str);
-  const pointer = exports.kcl_malloc(encodedString.length + 1); // Allocate memory and get pointer
-  const buffer = new Uint8Array(
-    exports.memory.buffer,
-    pointer,
-    encodedString.length + 1
-  );
+  const strLength = encodedString.length + 1;
+  const pointer = exports.kcl_malloc(strLength);
+  const memoryBuffer = exports.memory.buffer as ArrayBuffer;
+  const buffer = new Uint8Array(memoryBuffer, pointer, strLength);
+
   buffer.set(encodedString);
-  buffer[encodedString.length] = 0; // Null-terminate the string
-  return [pointer, encodedString.length + 1];
+  buffer[encodedString.length] = 0;
+  return [pointer, strLength];
 }
 
 function copyCStrFromWasmMemory(
   instance: WebAssembly.Instance,
   ptr: number
 ): [string, number] {
-  const exports = instance.exports as any;
-  const memory = new Uint8Array(exports.memory.buffer);
+  const exports = instance.exports as Record;
+  const memoryBuffer = exports.memory.buffer as ArrayBuffer;
+  const memory = new Uint8Array(memoryBuffer);
+
   let end = ptr;
-  while (memory[end] !== 0) {
-    end++;
-  }
+  while (memory[end] !== 0) end++;
   const result = new TextDecoder().decode(memory.slice(ptr, end));
-  return [result, end + 1 - ptr];
+  return [result, end - ptr + 1];
 }
diff --git a/zig/.gitignore b/zig/.gitignore
index 647ecf84..1cd8801e 100644
--- a/zig/.gitignore
+++ b/zig/.gitignore
@@ -13,11 +13,7 @@ zz_*
 /_build*
 *.dylib
 *.lock
-.kclvm
 
-# KCL cache and temp output
-.kclvm
-.kclvm_cov
 *.dylib
 *.so
 *.dll
diff --git a/zig/README.md b/zig/README.md
index 8e202969..3b6c9af0 100644
--- a/zig/README.md
+++ b/zig/README.md
@@ -6,7 +6,7 @@ This repo is under development, PRs welcome!
 
 ### Prerequisites
 
-+ Zig 0.13.0+
++ Zig 0.15.0+
 
 ### Build and Test
 
diff --git a/zig/build.zig b/zig/build.zig
index 252c74d6..2b12a7c6 100644
--- a/zig/build.zig
+++ b/zig/build.zig
@@ -17,13 +17,13 @@ pub fn build(b: *std.Build) void {
 
     const os = target.query.os_tag orelse builtin.os.tag;
 
-    const lib = b.addStaticLibrary(.{
+    const lib = b.addLibrary(.{
         .name = "kcl_lib_zig",
-        // In this case the main source file is merely a path, however, in more
-        // complicated build scripts, this could be a generated file.
-        .root_source_file = b.path("src/root.zig"),
-        .target = target,
-        .optimize = optimize,
+        .root_module = b.createModule(.{
+            .root_source_file = b.path("src/root.zig"),
+            .target = b.graph.host,
+            .optimize = optimize,
+        }),
     });
 
     lib.linkLibC();
@@ -44,9 +44,11 @@ pub fn build(b: *std.Build) void {
     // Creates a step for unit testing. This only builds the test executable
     // but does not run it.
     const lib_unit_tests = b.addTest(.{
-        .root_source_file = b.path("src/root.zig"),
-        .target = target,
-        .optimize = optimize,
+        .root_module = b.createModule(.{
+            .root_source_file = b.path("src/root.zig"),
+            .target = b.graph.host,
+            .optimize = optimize,
+        }),
     });
 
     lib_unit_tests.linkLibC();
@@ -79,7 +81,7 @@ fn linkMacOSLibraries(lib: *std.Build.Step.Compile) void {
 }
 
 fn kclLibName() []const u8 {
-    return "kclvm_cli_cdylib";
+    return "kcl";
 }
 
 fn kclLibPath(b: *std.Build, target: *const std.Build.ResolvedTarget) std.Build.LazyPath {
diff --git a/zig/build.zig.zon b/zig/build.zig.zon
index dcd2abff..af77aa43 100644
--- a/zig/build.zig.zon
+++ b/zig/build.zig.zon
@@ -11,7 +11,7 @@
 
     // This is a [Semantic Version](https://semver.org/).
     // In a future version of Zig it will be used for package deduplication.
-    .version = "0.11.2",
+    .version = "0.12.0",
 
     // Together with name, this represents a globally unique package
     // identifier. This field is generated by the Zig toolchain when the
@@ -31,7 +31,7 @@
     // This field is optional.
     // This is currently advisory only; Zig does not yet do anything
     // with this value.
-    //.minimum_zig_version = "0.11.1",
+    //.minimum_zig_version = "0.12.0",
 
     // This field is optional.
     // Each dependency must either provide a `url` and `hash`, or a `path`.